@import 'colors'; .dropdown { position: absolute; right: 0; min-width: 160px; max-width: 220px; background-color: $base-background-color; overflow: hidden; border-radius: 0px 0px 4px 4px; box-shadow: inset 0 1px 1px rgba(100,100,100,.25),0 1px 1px rgba(0,0,0,.25); color: white; font-weight: normal; font-size: 0.8125rem; display: none; &.open { display: block; } a { color: white; } input { // 100% minus border and padding width: calc(100% - 2px - 8px); margin-bottom: 9px; } label { display: block; margin-bottom: 5px; } > li { display: block; line-height: 30px; &.divider { border-top: 1px solid #149acb; margin-top: 10px; } a { display: block; padding: 0 10px; &:hover { background-color: $active-background-color; text-decoration: none; } } } &.with-arrow { $arrow-border-width: 11px; overflow: visible; margin-top: $arrow-border-width; border-radius: 4px; &:before { position: absolute; display: block; right: 10%; top: -$arrow-border-width; left: auto; border-color: transparent; border-bottom-color: $base-background-color; border-style: solid; border-width: 0 $arrow-border-width $arrow-border-width $arrow-border-width; content: " "; } } }