You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
841 B
CSS
44 lines
841 B
CSS
@set vselect {
|
|
:root {
|
|
display: block;
|
|
flow: stack;
|
|
overflow: hidden;
|
|
size: *;
|
|
}
|
|
|
|
:root > items {
|
|
behavior: select;
|
|
display: block;
|
|
overflow: hidden-scroll;
|
|
scroll-manner: scroll-manner(animation: false);
|
|
flow: vertical;
|
|
size: *;
|
|
}
|
|
|
|
:root > items[multiple] {
|
|
behavior: select-multiple;
|
|
}
|
|
|
|
//:root > items > *:current,
|
|
:root > items > *:checked {
|
|
background: #E2E2E2;
|
|
}
|
|
|
|
:root > scrollbar {
|
|
display: block;
|
|
width: 2dip;
|
|
margin: 3dip 3dip 3dip *;
|
|
hit-margin: 8dip;
|
|
padding-bottom: *;
|
|
background-color: rgba(0,0,0,0.01);
|
|
foreground-color: @indicatorColor;
|
|
foreground-clip: content-box;
|
|
transition: width 300ms quad-out, background-color 300ms linear;
|
|
}
|
|
|
|
:root > scrollbar:hover {
|
|
width: 10dip;
|
|
background-color: rgba(0,0,0,0.07);
|
|
}
|
|
}
|