github.com/mithrandie/csvq@v1.18.1/docs/_sass/components/_dropdown.scss (about) 1 .dropdown-content { 2 @extend .z-depth-1; 3 background-color: $dropdown-bg-color; 4 margin: 0; 5 display: none; 6 min-width: 100px; 7 max-height: 650px; 8 overflow-y: auto; 9 opacity: 0; 10 position: absolute; 11 z-index: 999; 12 will-change: width, height; 13 14 li { 15 clear: both; 16 color: $off-black; 17 cursor: pointer; 18 min-height: $dropdown-item-height; 19 line-height: 1.5rem; 20 width: 100%; 21 text-align: left; 22 text-transform: none; 23 24 &:hover, &.active, &.selected { 25 background-color: $dropdown-hover-bg-color; 26 } 27 28 &.active.selected { 29 background-color: darken($dropdown-hover-bg-color, 5%); 30 } 31 32 &.divider { 33 min-height: 0; 34 height: 1px; 35 } 36 37 & > a, & > span { 38 font-size: 16px; 39 color: $dropdown-color; 40 display: block; 41 line-height: 22px; 42 padding: (($dropdown-item-height - 22) / 2) 16px; 43 } 44 45 & > span > label { 46 top: 1px; 47 left: 0; 48 height: 18px; 49 } 50 51 // Icon alignment override 52 & > a > i { 53 height: inherit; 54 line-height: inherit; 55 float: left; 56 margin: 0 24px 0 0; 57 width: 24px; 58 } 59 } 60 } 61 62 // Input field specificity bugfix 63 .input-field.col .dropdown-content [type="checkbox"] + label { 64 top: 1px; 65 left: 0; 66 height: 18px; 67 } 68