diff options
author | Volpeon <git@volpeon.ink> | 2025-03-28 17:56:46 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2025-03-28 17:56:46 +0100 |
commit | bab68e50056ad739b1eab604b154184ffecdf3ac (patch) | |
tree | 3610123e2968228c53f4b4582a1739404fe7ceff | |
parent | Bugfixes (diff) | |
download | furbase-design-2024-bab68e50056ad739b1eab604b154184ffecdf3ac.tar.gz furbase-design-2024-bab68e50056ad739b1eab604b154184ffecdf3ac.tar.bz2 furbase-design-2024-bab68e50056ad739b1eab604b154184ffecdf3ac.zip |
More fixes
-rw-r--r-- | src/_ck-editor.scss | 9 | ||||
-rw-r--r-- | src/_core.vars.scss | 59 | ||||
-rw-r--r-- | src/_sidebar.scss | 21 | ||||
-rw-r--r-- | src/classic.scss | 2 | ||||
-rw-r--r-- | src/light.scss | 2 |
5 files changed, 62 insertions, 31 deletions
diff --git a/src/_ck-editor.scss b/src/_ck-editor.scss new file mode 100644 index 0000000..513c85a --- /dev/null +++ b/src/_ck-editor.scss | |||
@@ -0,0 +1,9 @@ | |||
1 | @use 'iro-sass/src/props'; | ||
2 | |||
3 | @use 'core'; | ||
4 | |||
5 | @mixin styles { | ||
6 | .ck.ck-editor, .ck.ck-body { | ||
7 | --ck-color-base-background: #{props.get(core.$theme, --bg-editor)}; | ||
8 | } | ||
9 | } | ||
diff --git a/src/_core.vars.scss b/src/_core.vars.scss index 5233708..e30afe3 100644 --- a/src/_core.vars.scss +++ b/src/_core.vars.scss | |||
@@ -80,12 +80,14 @@ $themes-spec: ( | |||
80 | ), | 80 | ), |
81 | 81 | ||
82 | --semantic: ( | 82 | --semantic: ( |
83 | --bg-content: --base --50, | 83 | --bg-content: --base --50, |
84 | --bg-l1: --base --75, | 84 | --bg-content-item: --base --75, |
85 | --bg-base: --base --100, | 85 | --bg-l1: --base --75, |
86 | --bg-sidebar: --base --75, | 86 | --bg-base: --base --100, |
87 | --bg-footer-box: --base --100, | 87 | --bg-sidebar: --base --75, |
88 | --bg-footer: --base --700, | 88 | --bg-sidebar-item: --base --100, |
89 | --bg-footer-box: --base --100, | ||
90 | --bg-footer: --base --700, | ||
89 | 91 | ||
90 | --link: ( | 92 | --link: ( |
91 | --fg: --red --1000, | 93 | --fg: --red --1000, |
@@ -181,6 +183,11 @@ $themes-spec: ( | |||
181 | --wcfStatusSuccessBackground: --green --100, | 183 | --wcfStatusSuccessBackground: --green --100, |
182 | --wcfStatusSuccessBorder: --green --300, | 184 | --wcfStatusSuccessBorder: --green --300, |
183 | --wcfStatusSuccessText: --green --1100, | 185 | --wcfStatusSuccessText: --green --1100, |
186 | |||
187 | --wcfEditorButtonBackground: --base --600, | ||
188 | --wcfEditorButtonBackgroundActive: --base --800, | ||
189 | --wcfEditorButtonText: --base --600-text, | ||
190 | --wcfEditorButtonTextActive: --base --800-text, | ||
184 | ), | 191 | ), |
185 | ), | 192 | ), |
186 | 193 | ||
@@ -244,13 +251,16 @@ $themes-spec: ( | |||
244 | ), | 251 | ), |
245 | 252 | ||
246 | --semantic: ( | 253 | --semantic: ( |
247 | --bg-content: --base --100, | 254 | --bg-content: --base --100, |
248 | --bg-l1: --base --300, | 255 | --bg-content-item: --base --200, |
249 | --bg-base: --base --75, | 256 | --bg-l1: --base --300, |
250 | --bg-sidebar: --base --100, | 257 | --bg-base: --base --75, |
251 | --bg-nav: --base --75, | 258 | --bg-sidebar: --base --100, |
252 | --bg-footer-box: --base --100, | 259 | --bg-sidebar-item: --base --200, |
253 | --bg-footer: --base --600, | 260 | --bg-nav: --base --75, |
261 | --bg-footer-box: --base --100, | ||
262 | --bg-footer: --base --600, | ||
263 | --bg-editor: --base --50, | ||
254 | 264 | ||
255 | --link: ( | 265 | --link: ( |
256 | --fg: --red --1200, | 266 | --fg: --red --1200, |
@@ -269,8 +279,12 @@ $themes-spec: ( | |||
269 | --wcfContentText: --base --800, | 279 | --wcfContentText: --base --800, |
270 | 280 | ||
271 | --wcfSidebarBackground: --base --75, | 281 | --wcfSidebarBackground: --base --75, |
282 | --wcfSidebarBorder: --wcfContentBorder, | ||
272 | 283 | ||
273 | --wcfUserMenuBackground: --base --75, | 284 | --wcfUserMenuBackground: --base --75, |
285 | --wcfUserMenuBorder: --base --200, | ||
286 | --wcfUserMenuBackgroundActive: --base --100, | ||
287 | --wcfUserMenuTextActive: --base --800, | ||
274 | 288 | ||
275 | --wcfTabularBoxBackgroundActive: --base --75, | 289 | --wcfTabularBoxBackgroundActive: --base --75, |
276 | 290 | ||
@@ -284,6 +298,8 @@ $themes-spec: ( | |||
284 | --wcfButtonPrimaryBackgroundActive: --red --1200, | 298 | --wcfButtonPrimaryBackgroundActive: --red --1200, |
285 | --wcfButtonPrimaryTextActive: --red --1200-text, | 299 | --wcfButtonPrimaryTextActive: --red --1200-text, |
286 | 300 | ||
301 | --wcfInputBorder: --base --300, | ||
302 | |||
287 | --wcfStatusSuccessBackground: --green --1000, | 303 | --wcfStatusSuccessBackground: --green --1000, |
288 | --wcfStatusSuccessBorder: --green --1000, | 304 | --wcfStatusSuccessBorder: --green --1000, |
289 | --wcfStatusSuccessText: --green --100, | 305 | --wcfStatusSuccessText: --green --100, |
@@ -334,13 +350,14 @@ $themes-spec: ( | |||
334 | ), | 350 | ), |
335 | 351 | ||
336 | --semantic: ( | 352 | --semantic: ( |
337 | --bg-base: --base --75, | 353 | --bg-base: --base --75, |
338 | --bg-l1: --base --100, | 354 | --bg-l1: --base --100, |
339 | --bg-content: --base --200, | 355 | --bg-content: --base --200, |
340 | --bg-sidebar: --base --100, | 356 | --bg-content-item: --base --300, |
341 | --bg-nav: --base --75, | 357 | --bg-sidebar: --base --100, |
342 | --bg-footer-box: --base --75, | 358 | --bg-nav: --base --75, |
343 | --bg-footer: --base --75, | 359 | --bg-footer-box: --base --75, |
360 | --bg-footer: --base --75, | ||
344 | 361 | ||
345 | --wcfHeaderBackground: --bg-base, | 362 | --wcfHeaderBackground: --bg-base, |
346 | --wcfHeaderMenuBackground: --base --50, | 363 | --wcfHeaderMenuBackground: --base --50, |
diff --git a/src/_sidebar.scss b/src/_sidebar.scss index 5ddb188..b71c50d 100644 --- a/src/_sidebar.scss +++ b/src/_sidebar.scss | |||
@@ -9,21 +9,22 @@ | |||
9 | border-radius: 0; | 9 | border-radius: 0; |
10 | 10 | ||
11 | &:not(:first-child) { | 11 | &:not(:first-child) { |
12 | margin-block-start: 0; | 12 | margin-block-start: -1px; |
13 | padding-block-start: 10px; | ||
14 | |||
15 | &::before { | ||
16 | content: ""; | ||
17 | display: block; | ||
18 | block-size: 1px; | ||
19 | margin-block-end: 30px; | ||
20 | background-color: var(--wcfContentBorderInner); | ||
21 | } | ||
22 | } | 13 | } |
23 | 14 | ||
24 | &:not(.boxBorderless) { | 15 | &:not(.boxBorderless) { |
25 | background-color: props.get(core.$theme, --bg-sidebar); | 16 | background-color: props.get(core.$theme, --bg-sidebar); |
26 | } | 17 | } |
18 | |||
19 | .boxMenu { | ||
20 | li { | ||
21 | &.active { | ||
22 | > .boxMenuLink { | ||
23 | background-color: props.get(core.$theme, --bg-sidebar-item); | ||
24 | } | ||
25 | } | ||
26 | } | ||
27 | } | ||
27 | } | 28 | } |
28 | 29 | ||
29 | a { | 30 | a { |
diff --git a/src/classic.scss b/src/classic.scss index 80be2c6..bc60776 100644 --- a/src/classic.scss +++ b/src/classic.scss | |||
@@ -15,6 +15,7 @@ | |||
15 | @use 'footer'; | 15 | @use 'footer'; |
16 | @use 'gallery'; | 16 | @use 'gallery'; |
17 | @use 'flexible-button-group'; | 17 | @use 'flexible-button-group'; |
18 | @use 'ck-editor'; | ||
18 | 19 | ||
19 | @include core.styles--classic; | 20 | @include core.styles--classic; |
20 | @include common.styles; | 21 | @include common.styles; |
@@ -30,3 +31,4 @@ | |||
30 | @include footer.styles; | 31 | @include footer.styles; |
31 | @include gallery.styles; | 32 | @include gallery.styles; |
32 | @include flexible-button-group.styles; | 33 | @include flexible-button-group.styles; |
34 | @include ck-editor.styles; | ||
diff --git a/src/light.scss b/src/light.scss index a7e70b9..09ccea2 100644 --- a/src/light.scss +++ b/src/light.scss | |||
@@ -15,6 +15,7 @@ | |||
15 | @use 'footer'; | 15 | @use 'footer'; |
16 | @use 'gallery'; | 16 | @use 'gallery'; |
17 | @use 'flexible-button-group'; | 17 | @use 'flexible-button-group'; |
18 | @use 'ck-editor'; | ||
18 | 19 | ||
19 | @include core.styles; | 20 | @include core.styles; |
20 | @include common.styles; | 21 | @include common.styles; |
@@ -30,3 +31,4 @@ | |||
30 | @include footer.styles; | 31 | @include footer.styles; |
31 | @include gallery.styles; | 32 | @include gallery.styles; |
32 | @include flexible-button-group.styles; | 33 | @include flexible-button-group.styles; |
34 | @include ck-editor.styles; | ||