|
1240 | 1240 |
|
1241 | 1241 | *::-webkit-scrollbar-thumb { |
1242 | 1242 | /* Thumb color */ |
1243 | | - background-color: var(--qwikui-slate-500); |
| 1243 | + background-color: hsla(var(--foreground) / 0.25); |
1244 | 1244 | border-radius: 0.5rem; |
1245 | 1245 | background-clip: padding-box; |
1246 | | - border-left: 0.3rem solid transparent; |
1247 | | - border-right: 0.3rem solid transparent; |
| 1246 | + border-left: 0.15rem solid transparent; |
| 1247 | + border-right: 0.15rem solid transparent; |
| 1248 | + } |
| 1249 | + |
| 1250 | + .navigation-docs::-webkit-scrollbar-thumb { |
| 1251 | + background-color: hsla(var(--foreground) / 0.1); |
| 1252 | + } |
| 1253 | + |
| 1254 | + .dark .navigation-docs::-webkit-scrollbar-thumb { |
| 1255 | + background-color: hsla(var(--foreground) / 0.2); |
1248 | 1256 | } |
1249 | 1257 |
|
1250 | 1258 | *::-webkit-scrollbar-corner { |
|
1256 | 1264 | border-left: 1px solid var(--qwikui-slate-300); |
1257 | 1265 | } |
1258 | 1266 |
|
1259 | | - .dark *::-webkit-scrollbar-thumb { |
1260 | | - background-color: var(--qwikui-slate-500); |
| 1267 | + .toc-scrollbar::-webkit-scrollbar-track, |
| 1268 | + .dark .toc-scrollbar::-webkit-scrollbar-track { |
| 1269 | + border-color: transparent; |
| 1270 | + } |
| 1271 | + |
| 1272 | + .toc-scrollbar::-webkit-scrollbar-thumb { |
| 1273 | + background-color: transparent; |
| 1274 | + } |
| 1275 | + |
| 1276 | + .toc-scrollbar:hover.toc-scrollbar::-webkit-scrollbar-thumb { |
| 1277 | + background-color: hsla(var(--foreground) / 0.15); |
1261 | 1278 | } |
1262 | 1279 |
|
1263 | 1280 | .dark *::-webkit-scrollbar-track { |
|
1272 | 1289 | } |
1273 | 1290 |
|
1274 | 1291 | .code-example *::-webkit-scrollbar-thumb { |
1275 | | - background: var(--qwikui-slate-500); |
| 1292 | + background-color: var(--qwikui-slate-600); |
1276 | 1293 | border-radius: 0.5rem; |
1277 | 1294 | background-clip: padding-box; |
1278 | 1295 | } |
|
1290 | 1307 | .dark .note-link a { |
1291 | 1308 | border-bottom: 1px solid white !important; |
1292 | 1309 | } |
| 1310 | + |
| 1311 | + .gif-container { |
| 1312 | + border-radius: var(--border-radius); |
| 1313 | + } |
1293 | 1314 | } |
1294 | 1315 |
|
1295 | 1316 | :root { |
@@ -1342,7 +1363,7 @@ body { |
1342 | 1363 | min-height: 100%; |
1343 | 1364 | } |
1344 | 1365 |
|
1345 | | -/* Utilities layer for animations. The current arbitrary & docs tailwind animation guidelines are not maintainable long term. |
| 1366 | +/* Utilities layer for animations. The current arbitrary & docs tailwind animation guidelines are not maintainable long term. |
1346 | 1367 | It would make more sense to supply the user with the animation declaration in the docs. |
1347 | 1368 | */ |
1348 | 1369 | @layer utilities { |
|
0 commit comments