diff options
Diffstat (limited to 'assets/css/components')
-rw-r--r-- | assets/css/components/_header.scss | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/assets/css/components/_header.scss b/assets/css/components/_header.scss index eb5438d..90ed827 100644 --- a/assets/css/components/_header.scss +++ b/assets/css/components/_header.scss | |||
@@ -40,19 +40,19 @@ | |||
40 | color: prop(--colors --fg); | 40 | color: prop(--colors --fg); |
41 | background-color: prop(--colors --bg); | 41 | background-color: prop(--colors --bg); |
42 | text-decoration: none; | 42 | text-decoration: none; |
43 | transition: background-color .2s, color .2s; | 43 | transition: background-color .2s, color .2s, border-left-color .2s; |
44 | |||
45 | &:hover { | ||
46 | color: prop(--colors --hover --fg); | ||
47 | background-color: prop(--colors --hover --bg); | ||
48 | } | ||
49 | 44 | ||
50 | @include next-twin-element { | 45 | @include next-twin-element { |
51 | //padding-left: calc(0.5 * #{prop(--dims --pad-x)}); | ||
52 | //margin-left: calc(-0.5 * #{prop(--dims --pad-x)}); | ||
53 | border-left: 1px solid prop(--colors --border); | 46 | border-left: 1px solid prop(--colors --border); |
54 | } | 47 | } |
55 | 48 | ||
49 | &:hover, | ||
50 | &:focus { | ||
51 | color: prop(--colors --hover --fg); | ||
52 | background-color: prop(--colors --hover --bg); | ||
53 | border-left-color: prop(--colors --hover --bg); | ||
54 | } | ||
55 | |||
56 | @include modifier('icon') { | 56 | @include modifier('icon') { |
57 | display: flex; | 57 | display: flex; |
58 | align-items: center; | 58 | align-items: center; |