@import "../variables"; @import "../mixins"; .exo-select { border: 1px solid $border; width: 35%; height: 100%; background-color: rgba($background, 0.5); overflow-y: auto; //scrollbar-color: $contrast $background; @include down(840) { width: 100%; max-height: 80vh; height: auto ; //height: max-content; //min-height: 100%; //max-height: 120vh; } } .head { display: flex; justify-content: space-between; font-weight: 900; margin: 3%; border-bottom: 1px solid $background; padding-bottom: 1%; & > p { margin-top: 0; transition: 0.3s; } & > .add:hover { transform: rotate(180deg); transition: 0.3s ease; cursor: pointer; } & > .add { font-size: 1.5em; } } .modal-list-container { width: max-content; // min-width: 30vw; max-width: 40vw; min-height: 1px; max-height: 70vh; background-color: $background-light; overflow-y: scroll; scrollbar-width: thin; scrollbar-color: $contrast $background; padding: 2%; min-width: 820px; & > p { cursor: pointer; } @include down(840) { width: 100%; height: 100%; max-width: 200%; max-height: 200%; min-width: 1px; } } .selected { color: grey; transition: 0.3s; } .item-in-modal { display: flex; align-items: center; & > div { margin-right: 0; } overflow: hidden; width: 100%; &:hover { background-color: darken($color: $background-light, $amount: 3); } } .modal-name { min-width: max-content; margin: 1.5%; } .tag-container { & > div { margin-right: 0; } } .no-select { text-align: center; font-style: italic; margin-bottom: 5%; } .error { width: 100%; text-align: center; } .error-empty { text-decoration: underline; font-weight: 700; } .search-container { display: flex; flex-direction: column; } .toggler-sort { width: max-content; padding: 0.8%; transition: 0.3s; border: 1px solid $border; border-radius: 4px; display: flex; align-items: center; margin: 0 1%; &:hover { background-color: darken($color: $background, $amount: 5); } } .toggler-active { background-color: darken($color: $background, $amount: 5); } .icon-container { position: absolute; top: 0; float: right; transition: 0.3s; width: 100%; text-align: end; & > .icon { margin: 2%; &:hover { transform: scale(1.2); } } }