diff options
author | 2023-07-25 09:20:43 -0600 | |
---|---|---|
committer | 2023-07-26 16:28:22 +0000 | |
commit | 4bd3d6764bfd48c881d9722825309ddb5956c758 (patch) | |
tree | 53296e94d91ab2cdc57c4d32a1fbcee071ae7923 /src/styles/infobox.scss | |
parent | chore: upgrade @octokit/core to latest (diff) | |
download | ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.gz ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.tar.zst ferdium-app-4bd3d6764bfd48c881d9722825309ddb5956c758.zip |
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
Diffstat (limited to 'src/styles/infobox.scss')
-rw-r--r-- | src/styles/infobox.scss | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/styles/infobox.scss b/src/styles/infobox.scss index e287e5be7..cf43de3c4 100644 --- a/src/styles/infobox.scss +++ b/src/styles/infobox.scss | |||
@@ -8,38 +8,44 @@ | |||
8 | margin-bottom: 30px; | 8 | margin-bottom: 30px; |
9 | padding: 15px 20px; | 9 | padding: 15px 20px; |
10 | 10 | ||
11 | a { color: #FFF; } | 11 | a { |
12 | color: #fff; | ||
13 | } | ||
12 | 14 | ||
13 | .infobox__content { flex: 1; } | 15 | .infobox__content { |
16 | flex: 1; | ||
17 | } | ||
14 | 18 | ||
15 | &.infobox--success { | 19 | &.infobox--success { |
16 | background: $theme-brand-success; | 20 | background: $theme-brand-success; |
17 | color: #FFF; | 21 | color: #fff; |
18 | } | 22 | } |
19 | 23 | ||
20 | &.infobox--primary { | 24 | &.infobox--primary { |
21 | background: $theme-brand-primary; | 25 | background: $theme-brand-primary; |
22 | color: #FFF; | 26 | color: #fff; |
23 | } | 27 | } |
24 | 28 | ||
25 | &.infobox--danger { | 29 | &.infobox--danger { |
26 | background: $theme-brand-danger; | 30 | background: $theme-brand-danger; |
27 | color: #FFF; | 31 | color: #fff; |
28 | } | 32 | } |
29 | 33 | ||
30 | &.infobox--warning { | 34 | &.infobox--warning { |
31 | background: $theme-brand-warning; | 35 | background: $theme-brand-warning; |
32 | color: #FFF; | 36 | color: #fff; |
33 | } | 37 | } |
34 | 38 | ||
35 | .mdi { margin-right: 10px; } | 39 | .mdi { |
40 | margin-right: 10px; | ||
41 | } | ||
36 | 42 | ||
37 | .infobox__cta { | 43 | .infobox__cta { |
38 | border-color: #FFF; | 44 | border-color: #fff; |
39 | border-radius: $theme-border-radius-small; | 45 | border-radius: $theme-border-radius-small; |
40 | border-style: solid; | 46 | border-style: solid; |
41 | border-width: 2px; | 47 | border-width: 2px; |
42 | color: #FFF; | 48 | color: #fff; |
43 | margin-left: 15px; | 49 | margin-left: 15px; |
44 | padding: 3px 8px; | 50 | padding: 3px 8px; |
45 | 51 | ||
@@ -54,7 +60,7 @@ | |||
54 | } | 60 | } |
55 | 61 | ||
56 | .infobox__delete { | 62 | .infobox__delete { |
57 | color: #FFF; | 63 | color: #fff; |
58 | margin-right: 0; | 64 | margin-right: 0; |
59 | } | 65 | } |
60 | } | 66 | } |