323 lines
5.4 KiB
SCSS
323 lines
5.4 KiB
SCSS
@import './style/nativeSelect.scss';
|
|
@import './style/scrollbar.scss';
|
|
@import './style/svgStyle.scss';
|
|
@import './style/whiteTheme.scss';
|
|
@import './style/displayMode.scss';
|
|
@import './style/classicTheme.scss';
|
|
@import './style/darkTheme.scss';
|
|
|
|
// ----Layout----
|
|
.cg-dropdown {
|
|
min-width: 235px;
|
|
margin-left: 0;
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
|
|
border-radius: 10px;
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-ms-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
}
|
|
|
|
.cg-select {
|
|
-webkit-box-flex: 1;
|
|
-ms-flex-positive: 1;
|
|
flex-grow: 1;
|
|
|
|
min-height: 50px;
|
|
padding: 5px;
|
|
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-webkit-box-pack: justify;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
border: none;
|
|
cursor: pointer;
|
|
|
|
border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-ms-border-radius: 5px;
|
|
-o-border-radius: 5px;
|
|
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
|
|
.selected {
|
|
max-width: 195px;
|
|
margin: 5px;
|
|
}
|
|
|
|
&:hover {
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
}
|
|
}
|
|
|
|
.caret {
|
|
width: 0;
|
|
height: 0;
|
|
margin-right: 10px;
|
|
border-left: 5px solid transparent;
|
|
border-right: 5px solid transparent;
|
|
border-top: 6px solid #fff;
|
|
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
|
|
&_rotate {
|
|
transform: rotate(180deg);
|
|
-webkit-transform: rotate(180deg);
|
|
-moz-transform: rotate(180deg);
|
|
-ms-transform: rotate(180deg);
|
|
-o-transform: rotate(180deg);
|
|
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
}
|
|
}
|
|
|
|
.list {
|
|
max-height: 230px;
|
|
overflow-y: auto;
|
|
position: absolute;
|
|
|
|
width: 220px;
|
|
padding: 7px;
|
|
margin-top: -0.2px;
|
|
list-style: none;
|
|
|
|
border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-ms-border-radius: 5px;
|
|
-o-border-radius: 5px;
|
|
|
|
box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.5);
|
|
-webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.5);
|
|
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
|
|
opacity: 0;
|
|
display: none;
|
|
z-index: 1;
|
|
|
|
&__item {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
|
|
padding: 15px;
|
|
|
|
&:hover {
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
transition: 0.5s;
|
|
|
|
cursor: pointer;
|
|
background: #8282822c;
|
|
}
|
|
}
|
|
|
|
.inputSearch {
|
|
background: transparent;
|
|
border: none;
|
|
width: 90%;
|
|
border-bottom: 1px solid white;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.multiselect-tag {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
padding: 2px 4px 2px 4px;
|
|
background: #76767659;
|
|
height: 20px;
|
|
margin: 0 5px 5px 0;
|
|
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
border-radius: 5px;
|
|
-webkit-border-radius: 5px;
|
|
-moz-border-radius: 5px;
|
|
-ms-border-radius: 5px;
|
|
-o-border-radius: 5px;
|
|
}
|
|
|
|
&__button {
|
|
width: 15px;
|
|
height: 16px;
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.category {
|
|
height: 20px;
|
|
margin: 6px 5px 0 7px;
|
|
font-size: 17px;
|
|
border-bottom: 1px solid;
|
|
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
input[type='checkbox'] {
|
|
cursor: pointer;
|
|
margin: 0 5px 0 0;
|
|
}
|
|
|
|
.label {
|
|
color: white;
|
|
}
|
|
|
|
//-------Behavior--------
|
|
|
|
.active {
|
|
text-align: start;
|
|
background: #8282822c;
|
|
}
|
|
|
|
.open {
|
|
transition: 0.5s;
|
|
-webkit-transition: 0.5s;
|
|
-moz-transition: 0.5s;
|
|
-ms-transition: 0.5s;
|
|
-o-transition: 0.5s;
|
|
|
|
display: block !important;
|
|
opacity: 1;
|
|
|
|
&_none {
|
|
opacity: 0 !important;
|
|
}
|
|
}
|
|
|
|
.disabled {
|
|
background-color: #8f9195 !important;
|
|
}
|
|
|
|
.overflow-hidden {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.displayHide {
|
|
display: none !important;
|
|
}
|
|
|
|
/*320px - 576px*/
|
|
@media (max-width: 576px) {
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.list {
|
|
width: 98% !important;
|
|
}
|
|
|
|
.listModal {
|
|
width: 88% !important;
|
|
}
|
|
|
|
.cg-select {
|
|
width: 100% !important;
|
|
}
|
|
|
|
.example-select {
|
|
&_title {
|
|
padding: 24px 0 0px 15px;
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
pre {
|
|
overflow-x: scroll;
|
|
}
|
|
}
|