|
13 | 13 | .header { |
14 | 14 | @include themed using ($t) { |
15 | 15 | background: linear-gradient(t($t, white, $fade-900), transparent) |
16 | | - t($t, color.change(white, $alpha: 0.8), color.change($fade-900, $alpha: 0.85)); |
| 16 | + t($t, color.change(white, $alpha: 0.85), color.change($fade-900, $alpha: 0.9)); |
17 | 17 | } |
18 | 18 |
|
19 | | - transition: background-color linear 0.2s, border-color linear 0.2s; |
20 | | - backdrop-filter: saturate(200%) blur(8px); |
| 19 | + transition: background-color 0.25s ease-out, border-color 0.25s ease-out; |
| 20 | + backdrop-filter: saturate(180%) blur(12px); |
21 | 21 | border-bottom: 1px solid var(--line-color); |
22 | 22 | position: fixed; |
23 | 23 | z-index: 50; |
|
97 | 97 | border: none; |
98 | 98 | border-radius: 0.5rem; |
99 | 99 | padding: 0.5rem 1rem; |
100 | | - transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; |
101 | | - transition-timing-function: ease-in-out; |
102 | | - transition-duration: 300ms; |
| 100 | + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, transform; |
| 101 | + transition-timing-function: ease-out; |
| 102 | + transition-duration: 150ms; |
103 | 103 | white-space: nowrap; |
| 104 | + |
| 105 | + &:active { |
| 106 | + transform: scale(0.97); |
| 107 | + } |
104 | 108 | } |
105 | 109 |
|
106 | 110 | .iconLink, |
|
111 | 115 | margin: 0.5em; |
112 | 116 | font-size: 150%; |
113 | 117 | cursor: pointer; |
114 | | - transition: color 0.1s linear; |
| 118 | + transition: color 0.15s ease, transform 0.15s ease; |
115 | 119 | width: 1em; |
116 | 120 | height: 1em; |
117 | 121 | line-height: 1; |
118 | 122 |
|
119 | 123 | &:hover { |
120 | 124 | color: var(--font-color-hover); |
| 125 | + transform: scale(1.1); |
| 126 | + } |
| 127 | + |
| 128 | + &:active { |
| 129 | + transform: scale(0.95); |
121 | 130 | } |
122 | 131 | } |
123 | 132 |
|
|
0 commit comments