ng-implementation/my-workspace/projects/sae-lib/inputs/multi-selector/multi-selector.scss

108 lines
1.6 KiB
SCSS
Raw Normal View History

2025-08-22 11:57:56 +02:00
@use '../../src/styles/variables';
.input-box {
margin-left: -1rem;
2025-09-02 13:58:35 +02:00
.d-none {
display: none;
}
2025-08-22 11:57:56 +02:00
i {
2025-09-02 13:58:35 +02:00
top: 10px;
left: 1rem;
&::before {
left: 10px;
top: 10px;
}
2025-09-10 16:02:31 +02:00
&.is-disabled {
2025-09-02 13:58:35 +02:00
color: #525668;
fill: #525668;
}
}
.search-placeholder,
.selector-button {
2025-08-22 11:57:56 +02:00
position: relative;
2025-09-02 13:58:35 +02:00
}
.search-placeholder {
top: 30px;
left: 16px;
}
2025-08-22 11:57:56 +02:00
2025-09-02 13:58:35 +02:00
.selector-button {
2025-09-10 16:02:31 +02:00
top: -36px;
right: -165px;
}
.selected-items-counter {
background: blue;
color: white;
border-radius: 200px;
padding: 10px;
display: inline-block;
line-height: 10px;
position: relative;
top: 33px;
left: 136px;
2025-08-22 11:57:56 +02:00
}
2025-09-02 13:58:35 +02:00
2025-08-22 11:57:56 +02:00
input {
border-radius: 8px;
border: 1px solid #8D91A4;
background: var(--color-background-card-on-base, #FFF);
2025-09-02 13:58:35 +02:00
padding: 10px 40px;
width: 210px;
height: 42px;
2025-08-22 11:57:56 +02:00
overflow: hidden;
color: var(--color-text-secondary, #525668);
text-overflow: ellipsis;
font-size: var(--Font-Base, 14px);
2025-09-02 13:58:35 +02:00
2025-09-10 16:02:31 +02:00
.is-disabled & {
2025-09-02 13:58:35 +02:00
border-color: #525668;
}
2025-08-22 11:57:56 +02:00
}
2025-09-02 14:40:47 +02:00
.dropdown {
background: white;
padding: 1rem;
border-radius: 8px;
position: relative;
display: block;
2025-09-10 16:02:31 +02:00
z-index: 10;
border-top-left-radius: 0;
border-top-right-radius: 0;
top: -28px;
border-left: 1px solid #8D91A4;
border-bottom: 1px solid #8D91A4;
border-right: 1px solid #8D91A4;
.dropdown-list {
max-height: 200px;
overflow-y: auto;
}
2025-09-02 14:40:47 +02:00
.dropdown-item {
padding: 4px;
cursor: pointer;
&:hover {
background: #525668;
color: white;
}
}
}
2025-08-22 11:57:56 +02:00
}