mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Adds a yet unstyled selector.
This commit is contained in:
parent
39cb681bf9
commit
e62591bf1c
2 changed files with 72 additions and 2 deletions
|
@ -9,6 +9,45 @@
|
|||
background-color: rgba(0,0,0,0.01);
|
||||
}
|
||||
|
||||
#selector {
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
top: 8px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #555;
|
||||
border-radius: 100px;
|
||||
opacity: 0.7;
|
||||
cursor: pointer;
|
||||
|
||||
.on-selected, .on-not-selected {
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.item.selected {
|
||||
#selector {
|
||||
.on-not-selected {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.item:not(.selected) {
|
||||
#selector {
|
||||
.on-selected {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@item-border-col-sep: @col-border;
|
||||
|
||||
@item-background-col-hover: rgba(0,0,0,0.02);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue