@import "../../colors"; @import "../../frameless"; .dropdown { display: none; position: absolute; right: 0; border: 1px solid $active-gray; border-radius: 0 0 5px 5px; background-color: $ui-blue; padding: 10px; max-width: 260px; overflow: visible; color: $type-white; font-size: .8125rem; font-weight: normal; &.staging { background-color: $ui-orange; } &.open { display: block; } a { &:link, &:visited, &:active { background-color: transparent; color: $type-white; } } input { // 100% minus border and padding margin-bottom: 12px; width: calc(100% - 30px); } label { display: block; margin-bottom: 5px; } > li { display: block; line-height: 30px; &.divider { margin-top: 10px; border-top: 1px solid $active-gray; } a { display: block; padding: 0 10px; &:hover { background-color: $active-gray; text-decoration: none; } } } &.with-arrow { $arrow-border-width: 14px; margin-top: $arrow-border-width; border-radius: 5px; overflow: visible; &:before { display: block; position: absolute; top: -$arrow-border-width / 2; right: 10%; transform: rotate(45deg); border-top: 1px solid $active-gray; border-left: 1px solid $active-gray; border-radius: 5px; background-color: $ui-blue; width: $arrow-border-width; height: $arrow-border-width; content: ""; } } @media only screen and (max-width: $tablet - 1) { min-width: 160px; } }