diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/_board.scss | 13 | ||||
-rw-r--r-- | src/_common.scss | 4 | ||||
-rw-r--r-- | src/_common.vars.scss | 6 | ||||
-rw-r--r-- | src/_thread.scss | 18 | ||||
-rw-r--r-- | src/light.scss | 2 |
5 files changed, 34 insertions, 9 deletions
diff --git a/src/_board.scss b/src/_board.scss index da20fa3..42c29b3 100644 --- a/src/_board.scss +++ b/src/_board.scss | |||
@@ -63,13 +63,12 @@ | |||
63 | } | 63 | } |
64 | } | 64 | } |
65 | 65 | ||
66 | .messageGroupList .columnSubject > .statusDisplay { | 66 | .messageGroupList { |
67 | margin-block-start: -.1em; | 67 | a { |
68 | margin-block-end: -.2em; | 68 | &:hover { |
69 | } | 69 | text-decoration: underline; |
70 | 70 | } | |
71 | .messageSidebar a:hover { | 71 | } |
72 | text-decoration: underline; | ||
73 | } | 72 | } |
74 | 73 | ||
75 | @media screen and (max-width: 768px) { | 74 | @media screen and (max-width: 768px) { |
diff --git a/src/_common.scss b/src/_common.scss index f31fedb..8d4976b 100644 --- a/src/_common.scss +++ b/src/_common.scss | |||
@@ -9,4 +9,8 @@ | |||
9 | :root { | 9 | :root { |
10 | @include props.materialize(map.values(meta.module-variables('vars'))); | 10 | @include props.materialize(map.values(meta.module-variables('vars'))); |
11 | } | 11 | } |
12 | |||
13 | body { | ||
14 | background-color: props.get(vars.$vlpnBg); | ||
15 | } | ||
12 | } | 16 | } |
diff --git a/src/_common.vars.scss b/src/_common.vars.scss index eb72aed..427a1a3 100644 --- a/src/_common.vars.scss +++ b/src/_common.vars.scss | |||
@@ -2,6 +2,8 @@ | |||
2 | 2 | ||
3 | @use 'core'; | 3 | @use 'core'; |
4 | 4 | ||
5 | $vlpnBg: props.def(--vlpnBg, props.get(core.$theme, --base, --75)); | ||
6 | |||
5 | $vlpnLink: props.def(--vlpnLink, props.get(core.$theme, --red, --1000)); | 7 | $vlpnLink: props.def(--vlpnLink, props.get(core.$theme, --red, --1000)); |
6 | $vlpnLinkFg: props.def(--vlpnLinkFg, props.get(core.$theme, --red, --1000-text)); | 8 | $vlpnLinkFg: props.def(--vlpnLinkFg, props.get(core.$theme, --red, --1000-text)); |
7 | $vlpnLinkActive: props.def(--vlpnLinkActive, props.get(core.$theme, --red, --1300)); | 9 | $vlpnLinkActive: props.def(--vlpnLinkActive, props.get(core.$theme, --red, --1300)); |
@@ -22,7 +24,7 @@ $wcfNavigationText: props.def(--wcfNavigationText, props.get(core.$theme, --base | |||
22 | $wcfNavigationLink: props.def(--wcfNavigationLink, props.get(core.$theme, --base, --800)); | 24 | $wcfNavigationLink: props.def(--wcfNavigationLink, props.get(core.$theme, --base, --800)); |
23 | $wcfNavigationLinkActive: props.def(--wcfNavigationLinkActive, props.get(core.$theme, --base, --800)); | 25 | $wcfNavigationLinkActive: props.def(--wcfNavigationLinkActive, props.get(core.$theme, --base, --800)); |
24 | 26 | ||
25 | $wcfContentBackground: props.def(--wcfContentBackground, props.get(core.$theme, --base, --75)); | 27 | $wcfContentBackground: props.def(--wcfContentBackground, rgb(242, 242, 242)); |
26 | $wcfContentBorder: props.def(--wcfContentBorder, var(--wcfContentBorderInner)); | 28 | $wcfContentBorder: props.def(--wcfContentBorder, var(--wcfContentBorderInner)); |
27 | $wcfContentDimmedText: props.def(--wcfContentDimmedText, rgba(0, 0, 0, .6)); | 29 | $wcfContentDimmedText: props.def(--wcfContentDimmedText, rgba(0, 0, 0, .6)); |
28 | 30 | ||
@@ -40,7 +42,7 @@ $wcfFooterCopyrightText: props.def(--wcfFooterCopyrightText, props.get(core.$the | |||
40 | $wcfFooterCopyrightLink: props.def(--wcfFooterCopyrightLink, props.get(core.$theme, --base, --50)); | 42 | $wcfFooterCopyrightLink: props.def(--wcfFooterCopyrightLink, props.get(core.$theme, --base, --50)); |
41 | $wcfFooterCopyrightLinkActive: props.def(--wcfFooterCopyrightLinkActive, props.get(core.$theme, --base, --50)); | 43 | $wcfFooterCopyrightLinkActive: props.def(--wcfFooterCopyrightLinkActive, props.get(core.$theme, --base, --50)); |
42 | 44 | ||
43 | $wcfSidebarBackground: props.def(--wcfSidebarBackground, props.get($wcfContentBackground)); | 45 | $wcfSidebarBackground: props.def(--wcfSidebarBackground, props.get($vlpnBg)); |
44 | $wcfSidebarDimmedText: props.def(--wcfSidebarDimmedText, props.get($wcfContentDimmedText)); | 46 | $wcfSidebarDimmedText: props.def(--wcfSidebarDimmedText, props.get($wcfContentDimmedText)); |
45 | 47 | ||
46 | $wcfButtonBackground: props.def(--wcfButtonBackground, props.get(core.$theme, --base, --200)); | 48 | $wcfButtonBackground: props.def(--wcfButtonBackground, props.get(core.$theme, --base, --200)); |
diff --git a/src/_thread.scss b/src/_thread.scss new file mode 100644 index 0000000..f41de31 --- /dev/null +++ b/src/_thread.scss | |||
@@ -0,0 +1,18 @@ | |||
1 | @use 'iro-sass/src/props'; | ||
2 | |||
3 | @use 'common'; | ||
4 | |||
5 | @mixin styles { | ||
6 | .messageGroupList .columnSubject > .statusDisplay { | ||
7 | margin-block-start: -.1em; | ||
8 | margin-block-end: -.2em; | ||
9 | } | ||
10 | |||
11 | .messageSidebar { | ||
12 | background-color: props.get(common.$wcfContentBackground); | ||
13 | |||
14 | a:hover { | ||
15 | text-decoration: underline; | ||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/src/light.scss b/src/light.scss index f3115d2..64fd7bd 100644 --- a/src/light.scss +++ b/src/light.scss | |||
@@ -7,6 +7,7 @@ | |||
7 | @use 'header'; | 7 | @use 'header'; |
8 | @use 'sidebar'; | 8 | @use 'sidebar'; |
9 | @use 'board'; | 9 | @use 'board'; |
10 | @use 'thread'; | ||
10 | @use 'avatar'; | 11 | @use 'avatar'; |
11 | @use 'badge'; | 12 | @use 'badge'; |
12 | @use 'rank'; | 13 | @use 'rank'; |
@@ -18,6 +19,7 @@ | |||
18 | @include header.styles; | 19 | @include header.styles; |
19 | @include sidebar.styles; | 20 | @include sidebar.styles; |
20 | @include board.styles; | 21 | @include board.styles; |
22 | @include thread.styles; | ||
21 | @include avatar.styles; | 23 | @include avatar.styles; |
22 | @include badge.styles; | 24 | @include badge.styles; |
23 | @include rank.styles; | 25 | @include rank.styles; |