// Dropdown styles // ---------------------------------------------- /* SG # Forms/Dropdowns ```












``` */ .CDB-DropdownContainer { position: relative; height: 250px; } .CDB-Dropdown { display: flex; position: absolute; top: 40px; flex-direction: row; max-height: 200px; } .CDB-Dropdown-calculations { box-sizing: border-box; padding: $sMargin-element; border-right: 1px solid $cMainLine; border-radius: 4px 0 0 4px; background-color: $cSecondaryBackground; } .CDB-Dropdown-calculationsElement { margin-bottom: $sLineHeight-medium; color: $cMainBg; font-size: $sFontSize-small; &:last-child { margin-bottom: 0; } } .CDB-Dropdown-options { width: $baseSize * 20; border-radius: 0 4px 4px 0; background-color: $cWhite; vertical-align: top; } .CDB-Dropdown-optionsElement { @include text-overflow(); padding: 12px 10px; border-bottom: 1px solid $cMainLine; color: $cBlue; &:last-child { border-bottom: 0; } &:hover { background-color: rgba($cBlue, 0.08); color: $cMainBg; cursor: pointer; } &.is-selected { color: $cMainBg; } &.is-disabled { color: $cHintText; &:hover { background-color: transparent; cursor: default; } } }