/home/bdqbpbxa/demo-subdomains/adaptiq.goodface.com.ua/frontend/css/ui-components/dropdowns.css
.--dropdown {
width: 296px;
}
.--dropdown__value {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
line-height: 100% !important;
width: 100%;
height: 64px;
border: 1px solid var(--grey);
border-radius: 32px;
cursor: pointer;
color: var(--background-dark);
padding: 16px 31px;
transition: border 0.4s, background 0.4s;
}
.--dropdown .plus {
position: absolute;
right: 31px;
top: 24px;
display: flex;
justify-content: center;
align-items: center;
width: 16px;
height: 16px;
border-radius: 50%;
transition: transform 0.4s, background 0.4s;
}
.--dropdown .plus span {
position: absolute;
display: block;
width: 8px;
height: 1px;
background: var(--text-dark);
transition: transform 0.4s, background 0.4s;
}
.--dropdown .plus span:last-child {
transform: rotate(90deg);
}
.--dropdown {
position: relative;
}
.--dropdown .--dropdown-content {
position: absolute;
left: 0;
bottom: 0;
z-index: 5;
background: var(--white);
border-radius: 4px;
overflow: hidden;
padding: 8px;
opacity: 0;
pointer-events: none;
transition: opacity 0.4s, transform 0.4s;
width: 100%;
max-height: 320px;
box-shadow: 0px 0px 20px rgb(0 0 0 / 10%);
transform: translateY(calc(100% + 30px));
}
.--dropdown.-active .--dropdown__value,
.--dropdown.-has-active-filter .--dropdown__value {
background: var(--white);
border-color: var(--white);
}
.--dropdown.-active .--dropdown-content {
opacity: 1;
pointer-events: auto;
transform: translateY(calc(100% + 16px));
}
.--dropdown.-active .plus,
.--dropdown.-has-active-filter .plus {
background: var(--text-dark);
}
.--dropdown.-active .plus span,
.--dropdown.-has-active-filter .plus span {
background: var(--white);
}
.--dropdown.-active .plus span:last-child {
transform: rotate(0);
}
.--dropdown-content li {
cursor: pointer;
transition: background 0.4s;
}
.--dropdown-content li .--checkbox .visible-part {
color: var(--dark-grey);
transition: color 0.4s, background 0.4s;
padding: 8px 40px;
width: 100%;
}
.--dropdown-content li .--checkbox .visible-part:before {
left: 8px;
top: 14px;
box-sizing: border-box;
background: rgba(0, 0, 0, 0);
border: 1px solid var(--grey);
transition: background 0.4s, border 0.4s;
}
.--dropdown-content li .--checkbox .visible-part:after {
left: 8px;
top: 14px;
background: no-repeat center / contain url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgOEw3IDEyTDEyIDQiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS4yNSIgc3Ryb2tlLWxpbmVqb2luPSJiZXZlbCIvPgo8L3N2Zz4K');
}
.--dropdown-content li .--checkbox.-checked .visible-part:before {
background: var(--text-dark);
border-color: var(--text-dark);
}
.--dropdown .--dropdown__clear {
display: none;
}
.--dropdown.-has-active-filter .--dropdown__clear {
display: block;
transition: opacity 0.4s;
}
.--custom-scrollbar .os-scrollbar-track {
border-radius: 2px !important;
}
.--custom-scrollbar .os-scrollbar {
top: 4px !important;
right: 0 !important;
bottom: 4px !important;
width: 5px !important;
padding: 0 4px 0 0 !important;
}
.--custom-scrollbar .os-scrollbar-handle {
background: var(--grey) !important;
}
.--custom-scrollbar .os-scrollbar-horizontal {
display: none !important;
}