style: refine hourly forecast scrollbar
This commit is contained in:
@@ -50,4 +50,30 @@ select {
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.weather-scrollbar {
|
||||
scrollbar-color: rgba(14, 116, 144, 0.55) rgba(255, 255, 255, 0.16);
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.weather-scrollbar::-webkit-scrollbar {
|
||||
height: 0.55rem;
|
||||
}
|
||||
|
||||
.weather-scrollbar::-webkit-scrollbar-track {
|
||||
border-radius: 9999px;
|
||||
background: rgba(255, 255, 255, 0.16);
|
||||
}
|
||||
|
||||
.weather-scrollbar::-webkit-scrollbar-thumb {
|
||||
border: 2px solid transparent;
|
||||
border-radius: 9999px;
|
||||
background: rgba(14, 116, 144, 0.55);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.weather-scrollbar::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(8, 145, 178, 0.78);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user