You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Styles/components/_select.scss

90 lines
1.7 KiB

2 years ago
.select {
display: flex;
flex-grow: 1;
position: relative;
&.autocomplete {
display: block;
& .select-input {
cursor: text;
}
& .input-adornment {
cursor: pointer;
}
}
&.autocomplete--with-progress {
& .select-input input {
padding-right: 3.5rem !important;
}
& .input-adorned-end input {
padding-right: 4.5rem !important;
}
& .select-input .icon-button {
display: none !important;
}
& .progress-indicator-circular {
position: absolute;
width: 100%;
top: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: flex-end;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
padding-right: 1rem;
}
& .progress-indicator-circular--with-adornment {
padding-right: 3rem;
}
& .progress-linear {
position: absolute;
bottom: -1px;
height: 2px;
}
}
.select-input {
cursor: pointer;
& .input-slot {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
& .input-adornment-end {
margin-left: 0;
}
&:disabled {
cursor: default;
}
}
.disabled {
.select-input {
cursor: default;
}
}
}
.select > .form-helpertext {
margin-top: -21px;
}
.select-all {
margin-top: 10px;
border-bottom: 1px solid lightgrey;
padding-bottom: 18px;
}