144 lines
2.7 KiB
CSS
144 lines
2.7 KiB
CSS
.wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
/* border-left: solid thin $gray-light !important; */
|
|
padding: 10px;
|
|
width: fit-content;
|
|
justify-content: flex-start;
|
|
position: relative;
|
|
user-select: none;
|
|
height: 50px;
|
|
/* border: solid thin $gray-light; */
|
|
border-radius: 3px;
|
|
margin: 0 10px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: $active-blue;
|
|
/* border: solid thin $active-blue-border; */
|
|
& .dropdownIcon {
|
|
transform: rotate(180deg);
|
|
transition: all 0.2s;
|
|
}
|
|
& .menu {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
& .dropdownIcon {
|
|
transition: all 0.4s;
|
|
margin: 0;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
& [data-can-disable=true] {
|
|
& > li {
|
|
&:first-child {
|
|
pointer-events: none;
|
|
}
|
|
&:not(:first-child) {
|
|
opacity: 0.3;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
}
|
|
& .menu {
|
|
display: none;
|
|
position: absolute;
|
|
top: 50px;
|
|
left: -1px;
|
|
background-color: white;
|
|
min-width: 200px;
|
|
z-index: 2;
|
|
border-radius: 3px;
|
|
border: 1px solid rgb(238, 238, 238);
|
|
}
|
|
|
|
& ul {
|
|
margin: 0;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
padding: 10px;
|
|
|
|
&::-webkit-scrollbar {
|
|
width: 2px;
|
|
}
|
|
|
|
& li {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
cursor: pointer;
|
|
list-style-type: none;
|
|
border: solid thin transparent;
|
|
/* border-top: none; */
|
|
padding: 10px;
|
|
transition: all 0.2s;
|
|
line-height: 17px;
|
|
border-radius: 3px;
|
|
text-transform: capitalize;
|
|
|
|
&:hover {
|
|
background-color: $active-blue;
|
|
border-color: $active-blue-border;
|
|
transition: all 0.2s;
|
|
color: $teal;
|
|
svg {
|
|
fill: $teal;
|
|
}
|
|
}
|
|
&:first-child {
|
|
/* border-top: 1px solid $gray-light; */
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.headerSelect {
|
|
border: none !important;
|
|
display: flex !important;
|
|
align-items: center;
|
|
border-radius: 0 !important;
|
|
}
|
|
|
|
.currentSite {
|
|
max-width: 130px;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.statusGreenIcon {
|
|
display: block;
|
|
margin: 2px 10px 0 5px;
|
|
background-image: svg-load(signal-green.svg, fill=#CCC);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
width: 11px;
|
|
height: 22px;
|
|
}
|
|
|
|
.statusRedIcon {
|
|
display: block;
|
|
margin: 2px 10px 0 5px;
|
|
background-image: svg-load(signal-red.svg, fill=#CCC);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
width: 11px;
|
|
height: 22px;
|
|
}
|
|
|
|
.btnNew {
|
|
&:hover {
|
|
background-color: $gray-lightest;
|
|
transition: all 0.2s;
|
|
}
|
|
}
|
|
|
|
.disabled {
|
|
pointer-events: none;
|
|
opacity: 0.5;
|
|
}
|