less-plugin-dls
Version:
Less plugin for Baidu Light DLS.
27 lines (20 loc) • 957 B
text/less
@import "../global.less";
@import "./input.less";
// Height of single select is defined in Input,
// and height of multiple select is fit to content.
// default width
@dls-select-width: @dls-input-width;
// multiple select
@dls-select-tag-height-xs: dls-sum(@dls-height-xs, @dls-height-unit * -2);
@dls-select-tag-height-s: dls-sum(@dls-height-s, @dls-height-unit * -2);
@dls-select-tag-height-m: dls-sum(@dls-height-m, @dls-height-unit * -2);
@dls-select-tag-height-l: dls-sum(@dls-height-l, @dls-height-unit * -2);
@dls-select-padding-x: @dls-input-padding;
@dls-select-padding-y: @dls-padding-unit * 1;
@dls-select-content-spacing: @dls-input-content-spacing;
@dls-select-tag-spacing: @dls-padding-unit * 1;
@dls-select-icon-size-aux: @dls-icon-size-aux;
@dls-select-icon-color-aux: @dls-icon-color-aux;
@dls-select-icon-color-aux-disabled: @dls-icon-color-aux-disabled;
// See Input for other input styles
// See Option for dropdown option styles