base_ui/assets/common/scss/components/_select.scss
2025-02-01 13:04:55 +03:30

77 lines
1.3 KiB
SCSS

/****** SELECT ********/
/* The container must be positioned relative: */
.order-select {
position: relative;
}
.order-select select {
display: none; /*hide original SELECT element: */
}
.select-selected {
background-color: transparent;
display: flex;
align-items: center;
}
.select-selected:after {
font-family: "niafam" !important;
speak: never;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 18px;
content: "\e946";
display: flex;
justify-content: center;
align-items: center;
margin-right: 1px;
margin-left: 0px;
}
.select-items div,
.select-selected {
border: 1px solid transparent;
cursor: pointer;
}
.select-items div {
color: var(--color-2);
text-align: right;
font-size: 14px;
display: flex;
align-items: center;
padding: 8px 24px 8px 24px;
}
.select-selected {
text-align: left;
color: #92a2b2;
font-size: 12px;
}
.select-items {
position: absolute;
background-color: #fff;
border: 1px solid #bac4ce;
border-radius: 10px;
padding: 15px 0px;
min-width: 195px;
top: 100%;
left: 0;
z-index: 99;
}
.select-hide {
display: none;
}
.select-items div:hover,
.same-as-selected {
background-color: #e8fcff;
}