Bohora-rental/css/nice-select.css
2025-01-08 18:14:24 +05:45

144 lines
3.9 KiB
CSS

.nice-select {
-webkit-tap-highlight-color: transparent;
background-color: transparent;
border-radius: 5px;
border: solid 1px #3f3877;
box-sizing: border-box;
clear: both;
cursor: pointer;
display: block;
font-family: inherit;
font-size: 18px;
font-weight: normal;
outline: none;
padding: 14px 35px 14px 15px;
position: relative;
text-align: left !important;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
width: 160px;
}
.nice-select:hover {
border-color: #3f3877; }
.nice-select:active, .nice-select.open, .nice-select:focus {
border-color: #3f3877; }
.nice-select:after {
border-bottom: 2px solid #7b7c98;
border-right: 2px solid #7b7c98;
content: '';
display: block;
height: 12px;
margin-top: -6px;
pointer-events: none;
position: absolute;
right: 14px;
top: 50%;
-webkit-transform-origin: 66% 66%;
-ms-transform-origin: 66% 66%;
transform-origin: 66% 66%;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transition: all 0.15s ease-in-out;
transition: all 0.15s ease-in-out;
width: 12px; }
.nice-select.open:after {
-webkit-transform: rotate(-135deg);
-ms-transform: rotate(-135deg);
transform: rotate(-135deg); }
.nice-select.open .list {
opacity: 1;
display: block;
pointer-events: auto;
-webkit-transform: scale(1) translateY(0);
-ms-transform: scale(1) translateY(0);
transform: scale(1) translateY(0); }
.nice-select.disabled {
border-color: #3f3877;
color: #3f3877;
pointer-events: none; }
.nice-select.disabled:after {
border-color: #3f3877; }
.nice-select.wide {
width: 100%; }
.nice-select.wide .list {
left: 0 !important;
right: 0 !important; }
.nice-select.right {
float: right; }
.nice-select.right .list {
left: auto;
right: 0; }
.nice-select.small {
font-size: 12px;
height: 36px;
line-height: 34px; }
.nice-select.small:after {
height: 4px;
width: 4px; }
.nice-select.small .option {
line-height: 34px;
min-height: 34px; }
.nice-select .list {
background-color: #150145;
border-radius: 5px;
box-sizing: border-box;
margin-top: 4px;
opacity: 0;
width: 160px;
display: none;
overflow: hidden;
padding: 0;
pointer-events: none;
position: absolute;
right: 0;
-webkit-transform-origin: 50% 0;
-ms-transform-origin: 50% 0;
transform-origin: 50% 0;
-webkit-transform: scale(0.75) translateY(-21px);
-ms-transform: scale(0.75) translateY(-21px);
transform: scale(0.75) translateY(-21px);
-webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
z-index: 9;
margin-bottom: 4px;
}
.nice-select .list li:not(:last-child){
margin-right: 0 !important;
}
.nice-select .option {
cursor: pointer;
font-weight: 400;
line-height: 40px;
list-style: none;
min-height: 40px;
outline: none;
z-index: 9999999;
padding: 0px 10px;
border: 1px solid #121254;
text-align: left;
-webkit-transition: all 0.2s;
transition: all 0.2s;
}
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
background-color: #101046; }
.nice-select .option.selected {
font-weight: bold; }
.nice-select .option.disabled {
background-color: transparent;
color: #999;
cursor: default;
}
.no-csspointerevents .nice-select .list {
display: none; }
.no-csspointerevents .nice-select.open .list {
display: block; }