|
129 | 129 | */
|
130 | 130 |
|
131 | 131 | [role="button"] {
|
132 |
| - border: 1px solid hsl(0, 0%, 39%); |
| 132 | + border: 1px solid hsl(0deg, 0%, 39%); |
133 | 133 | border-radius: 5px;
|
134 |
| - box-shadow: 0 1px 2px hsl(0, 0%, 45%); |
| 134 | + box-shadow: 0 1px 2px hsl(0deg, 0%, 45%); |
135 | 135 | color: #fff;
|
136 |
| - text-shadow: 0 -1px 1px hsl(0, 0%, 15%); |
137 |
| - background-color: hsl(0, 0%, 31%); |
138 |
| - background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%)); |
| 136 | + text-shadow: 0 -1px 1px hsl(0deg, 0%, 15%); |
| 137 | + background-color: hsl(0deg, 0%, 31%); |
| 138 | + background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%)); |
139 | 139 | }
|
140 | 140 |
|
141 | 141 | [role="button"]:hover {
|
142 |
| - border-color: hsl(0, 0%, 19%); |
143 |
| - background-color: hsl(0, 0%, 21%); |
144 |
| - background-image: linear-gradient(to bottom, hsl(0, 0%, 23%), hsl(0, 0%, 17%)); |
| 142 | + border-color: hsl(0deg, 0%, 19%); |
| 143 | + background-color: hsl(0deg, 0%, 21%); |
| 144 | + background-image: linear-gradient(to bottom, hsl(0deg, 0%, 23%), hsl(0deg, 0%, 17%)); |
145 | 145 | cursor: pointer;
|
146 | 146 | }
|
147 | 147 |
|
|
158 | 158 | right: calc(-1px - 3px - 3px);
|
159 | 159 | bottom: calc(-1px - 3px - 3px);
|
160 | 160 | left: calc(-1px - 3px - 3px);
|
161 |
| - border: 3px solid hsl(0, 0%, 39%); |
| 161 | + border: 3px solid hsl(0deg, 0%, 39%); |
162 | 162 |
|
163 | 163 | /* button border radius + outline width + offset */
|
164 | 164 | border-radius: calc(5px + 3px + 3px);
|
165 | 165 | content: "";
|
166 | 166 | }
|
167 | 167 |
|
168 | 168 | [role="button"]:active {
|
169 |
| - border-color: hsl(0, 0%, 29%); |
170 |
| - background-color: hsl(0, 0%, 11%); |
171 |
| - background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%)); |
172 |
| - box-shadow: inset 0 3px 5px 1px hsl(0, 0%, 10%); |
| 169 | + border-color: hsl(0deg, 0%, 29%); |
| 170 | + background-color: hsl(0deg, 0%, 11%); |
| 171 | + background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%)); |
| 172 | + box-shadow: inset 0 3px 5px 1px hsl(0deg, 0%, 10%); |
173 | 173 | }
|
174 | 174 |
|
175 | 175 | [role="button"][aria-pressed] {
|
176 |
| - border-color: hsl(0, 0%, 29%); |
177 |
| - box-shadow: 0 1px 2px hsl(0, 0%, 35%); |
178 |
| - text-shadow: 0 -1px 1px hsl(0, 0%, 5%); |
179 |
| - background-color: hsl(0, 0%, 31%); |
180 |
| - background-image: linear-gradient(to bottom, hsl(0, 0%, 33%), hsl(0, 0%, 27%)); |
| 176 | + border-color: hsl(0deg, 0%, 29%); |
| 177 | + box-shadow: 0 1px 2px hsl(0deg, 0%, 35%); |
| 178 | + text-shadow: 0 -1px 1px hsl(0deg, 0%, 5%); |
| 179 | + background-color: hsl(0deg, 0%, 31%); |
| 180 | + background-image: linear-gradient(to bottom, hsl(0deg, 0%, 33%), hsl(0deg, 0%, 27%)); |
181 | 181 | }
|
182 | 182 |
|
183 | 183 | [role="button"][aria-pressed]:hover {
|
184 |
| - border-color: hsl(0, 0%, 9%); |
185 |
| - background-color: hsl(0, 0%, 31%); |
186 |
| - background-image: linear-gradient(to bottom, hsl(0, 0%, 13%), hsl(0, 0%, 7%)); |
| 184 | + border-color: hsl(0deg, 0%, 9%); |
| 185 | + background-color: hsl(0deg, 0%, 31%); |
| 186 | + background-image: linear-gradient(to bottom, hsl(0deg, 0%, 13%), hsl(0deg, 0%, 7%)); |
187 | 187 | }
|
188 | 188 |
|
189 | 189 | [role="button"][aria-pressed]:focus::before {
|
190 |
| - border-color: hsl(0, 0%, 29%); |
| 190 | + border-color: hsl(0deg, 0%, 29%); |
191 | 191 | }
|
0 commit comments