select.uniformSelect{ display:none; } .uniformSelect-edit{ @include text-overflow; position:relative; text-align: left; padding-right: 1.8em; &.active{ .uniformSelect-edit-icon{ svg{ transform: rotate(180deg); } } } .uniformSelect-edit-icon{ font-size:2em; @include position-v-center(); right:0; z-index:0; line-height: 0; svg{ fill: color('gray-darker'); transition: transform 0.2s; } } &.-invert{ background: color('gray'); color: white; border-color: color('gray-dark'); .uniformSelect-edit-icon{ svg { fill: white; } } } .uniformSelect-selection{ font-size: 0.8em; padding: 0.1em; padding-left: 0.2em; border: 1px solid color('gray'); background: color('gray-lighter'); display:inline-block; border-radius: 0.25em; } .uniformSelect-remove{ display: inline-block; width: 1em; height: 0.8em; margin-left: 0.25em; position: relative; &:after, &:before{ content: ""; width: 1px; height: 1em; transform-origin: 50% 50%; transform: rotate(-45deg); background: color('gray'); position:absolute; left: 50%; top: 0; } &:before{ transform: rotate(45deg); } &:hover{ &:after, &:before{ background: color('red'); } } } } .uniformSelect-options{ box-shadow: 0 0 15px 1px rgba(black, 0.2), 0 0 2px 1px rgba(black, 0.1) ; background: white; button{ appearance: none; outline: none; border: none; background: none; width: 100%; padding: 0.5em; &:hover{ background: lighten(color('blue'), 45); } } .uniformSelect-options-actions{ border-top: 1px solid color('gray'); border-bottom: 1px solid color('gray'); background: color('background'); padding: 0.5em; &:empty{ display:none; } } .uniformSelect-show-all { color: color('blue'); background: none; &:hover{ background: none; } } .uniformSelect-done{ border-radius: 0.25em; border: 1px solid color('gray'); background: white; } } .uniformSelect-option{ position:relative; cursor: pointer; &.active{ box-shadow:none; color: color('green-dark'); padding-left: 2.5em !important; font-weight: bold; } .uniformSelect-option-icon{ fill: color('green'); position: absolute; top: 0.2em; left: 0.2em; font-size: 1.5em; } } .uniformSelect-modal{ width: 100vw; min-height: 100vh; padding: 1em; button{ margin-bottom: 0.5em; border: 1px solid color('gray'); &.uniformSelect-done{ margin-bottom: 0; } } .uniformSelect-options-actions{ margin: 0 -1em; } }