From 4bd3d6764bfd48c881d9722825309ddb5956c758 Mon Sep 17 00:00:00 2001 From: MCMXC <16797721+mcmxcdev@users.noreply.github.com> Date: Tue, 25 Jul 2023 09:20:43 -0600 Subject: style: reformat all files properly - remove .json from .eslintignore - add type intellisense to .prettierrc.js - install missing @jest/types which is used in jest.config.js - split up typecheck and lint into two separate commands - remove --require-pragma flag from reformat-files which leads to unformatted files - install suggested @types/prop-types and @types/react-loader dependencies - add @ts-expect-error to Loader usages - reformat all scss files automatically with reformat-files command --- src/styles/info-bar.scss | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) (limited to 'src/styles/info-bar.scss') diff --git a/src/styles/info-bar.scss b/src/styles/info-bar.scss index d3010942f..514da8839 100644 --- a/src/styles/info-bar.scss +++ b/src/styles/info-bar.scss @@ -3,7 +3,7 @@ .info-bar { align-items: center; background: $theme-brand-primary; - box-shadow: 0 0 8px rgba(black, .2); + box-shadow: 0 0 8px rgba(black, 0.2); display: flex; height: 50px; justify-content: center; @@ -15,21 +15,23 @@ .info-bar__content { height: auto; - .mdi { margin-right: 5px; } + .mdi { + margin-right: 5px; + } } .info-bar__close { - color: #FFF; + color: #fff; position: absolute; right: 10px; } .info-bar__cta { - border-color: #FFF; + border-color: #fff; border-radius: $theme-border-radius-small; border-style: solid; border-width: 2px; - color: #FFF; + color: #fff; margin-left: 15px; padding: 3px 8px; @@ -47,26 +49,34 @@ color: white; } - &.info-bar--bottom { order: 10; } + &.info-bar--bottom { + order: 10; + } &.info-bar--primary { background: $theme-brand-primary; - color: #FFF; + color: #fff; - a { color: #FFF; } + a { + color: #fff; + } } &.info-bar--warning { background: $theme-brand-warning; - color: #FFF; + color: #fff; - a { color: #FFF; } + a { + color: #fff; + } } &.info-bar--danger { background: $theme-brand-danger; - color: #FFF; + color: #fff; - a { color: #FFF; } + a { + color: #fff; + } } } -- cgit v1.2.3-70-g09d2