atom-nuclide
Version:
A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.
42 lines (34 loc) • 794 B
text/less
@import "ui-variables";
@icon-width: 2.4em;
.nuclide-dropdown-container {
display: inline-block;
position: relative;
> .icon {
pointer-events: none;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
&::before {
font-size: 11px;
}
}
}
.nuclide-dropdown {
display: flex;
}
/* Match specificity of `.btn.btn-*` to override padding set by that selector. */
.btn.btn.nuclide-dropdown {
/* Provide space for the right .icon */
padding-right: @icon-width;
-webkit-appearance: none;
}
.nuclide-dropdown-flat {
background: transparent;
border: none;
border-radius: 0;
border-right: 1px solid @pane-item-border-color;
/* Provide space for the right .icon */
padding-right: @icon-width;
-webkit-appearance: none;
}