@import "../buttons"; .button-dropdown { position: relative; display: inline-block; &.open { .secondary-picker { border-bottom-right-radius: 0; } .secondary-items { display:block; } } .primary-item { .btn(); height: 32px; border-radius: 4px 0 0 4px; padding-top: 7px; vertical-align:top; } .secondary-picker { .btn(); height: 32px; border-radius: 0 4px 4px 0; border-left: 0; padding: 7px 8px 3px 8px; vertical-align:top; img { vertical-align: baseline; } } .secondary-items { &:hover { cursor: default; } border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px 0 4px 4px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.20); z-index: 2; background-color: @background-primary; line-height: 14px; position: absolute; width: 110px; right: -1px; // -1, because of the border above display:none; .menu { .footer-container, .header-container { display:none; } .content-container { background: transparent; margin-top:0; } .item { padding: 6px 15px; img { margin-right:4px; vertical-align: text-bottom; } &.selected { background-color: inherit; color:@text-color; } } .item:first-child { padding-top: 9px; border-top-left-radius: 4px; } .item:last-child { padding-bottom: 9px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; } .item:hover { background-color: darken(@background-primary, 3%); color:inherit; } } } img { background-color: @text-color; } }