mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 10:26:13 -04:00
style: dropdown label
This commit is contained in:
parent
6c80b87a80
commit
dbb9c25d78
10 changed files with 31 additions and 25 deletions
|
@ -2048,16 +2048,16 @@ nav li a + ul li a:active,
|
|||
nav li a + ul li a:focus-visible {
|
||||
background-color: var(--pico-dropdown-hover-background-color);
|
||||
}
|
||||
details[role=list] summary + ul li label,
|
||||
nav li button + ul li label,
|
||||
nav li a + ul li label {
|
||||
width: 100%;
|
||||
}
|
||||
details[role=list] summary + ul li:has(label):hover,
|
||||
nav li button + ul li:has(label):hover,
|
||||
nav li a + ul li:has(label):hover {
|
||||
background-color: var(--pico-dropdown-hover-background-color);
|
||||
}
|
||||
details[role=list] summary + ul li:has(label):hover label,
|
||||
nav li button + ul li:has(label):hover label,
|
||||
nav li a + ul li:has(label):hover label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
nav li button + ul,
|
||||
nav li a + ul {
|
||||
|
@ -2336,6 +2336,8 @@ progress::-webkit-progress-bar {
|
|||
}
|
||||
progress[value]::-webkit-progress-value {
|
||||
background-color: var(--pico-progress-color);
|
||||
-webkit-transition: inline-size var(--pico-transition);
|
||||
transition: inline-size var(--pico-transition);
|
||||
}
|
||||
progress::-moz-progress-bar {
|
||||
background-color: var(--pico-progress-color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue