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";
.vn-drop-down > .window > .content {
2019-09-30 09:30:54 +00:00
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;
2020-04-02 12:20:57 +00:00
right: 8px;
top: 9px;
height: 16px;
2019-09-30 09:30:54 +00:00
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 {
2020-04-02 12:20:57 +00:00
max-height: 320px;
2019-09-30 09:30:54 +00:00
overflow: auto;
ul {
padding: 0;
margin: 0;
list-style-type: none;
}
li, .status {
@extend %clickable;
2020-04-02 12:20:57 +00:00
padding: 9px;
2019-09-30 09:30:54 +00:00
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;
2020-04-02 12:20:57 +00:00
margin-right: 9px;
}
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
}