salix/front/core/components/drop-down/style.scss

67 lines
1.4 KiB
SCSS
Raw Normal View History

2018-05-31 11:57:48 +00:00
@import "effects";
2019-02-06 10:24:29 +00:00
@import "variables";
2019-09-30 09:30:54 +00:00
.vn-drop-down {
display: flex;
flex-direction: column;
height: inherit;
2018-03-09 13:15:30 +00:00
2019-09-30 09:30:54 +00:00
& > .filter {
position: relative;
2018-03-09 13:15:30 +00:00
2019-09-30 09:30:54 +00:00
& > .search {
display: block;
width: 100%;
box-sizing: border-box;
2019-10-09 22:47:29 +00:00
padding: $spacing-sm;
}
2019-09-30 09:30:54 +00:00
& > vn-icon[icon=clear] {
display: none;
cursor: pointer;
position: absolute;
right: .5em;
top: .6em;
height: 1em;
color: #888;
border-radius: 50%;
background-color: rgba(255, 255, 255, .8);
font-size: 18px;
&:hover {
color: $color-font;
2018-03-09 13:15:30 +00:00
}
2019-09-30 09:30:54 +00:00
}
&:hover > vn-icon[icon=clear] {
display: block;
}
}
& > .list {
max-height: 20em;
overflow: auto;
ul {
padding: 0;
margin: 0;
list-style-type: none;
}
li, .status {
@extend %clickable;
padding: .6em;
white-space: nowrap;
display: flex;
2018-03-09 13:15:30 +00:00
2019-09-30 09:30:54 +00:00
& > input[type=checkbox] {
margin: 0;
margin-right: .6em;
}
2019-09-30 09:30:54 +00:00
&.active {
@extend %active;
2017-06-21 11:16:37 +00:00
}
}
2019-09-30 09:30:54 +00:00
.status {
color: $color-main;
font-weight: bold;
}
}
2018-03-09 13:15:30 +00:00
}