UNPKG

zp-bee

Version:

zp-bee,是一款基于 Dumi,由 React + TypeScript 开发的组件库 🎉。

62 lines (53 loc) 1.25 kB
@import '../../style/themes/index'; @import '../../style/mixins/index'; @import './mixin'; @import './affix'; @import './allow-clear'; // Input styles .@{zp-prefix}-input { .reset-component(); .input(); font-size: @default-font-size; //== Style for input-group: input with label, with button or dropdown... &-group { .reset-component(); .input-group(~'@{zp-prefix}-input'); &-wrapper { display: inline-block; width: 100%; text-align: start; vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403 } } &-password-icon { color: @text-color-secondary; cursor: pointer; transition: all 0.3s; &:hover { color: @input-icon-hover-color; } } &[type='color'] { height: @input-height-base; &.@{zp-prefix}-input-lg { height: @input-height-lg; } &.@{zp-prefix}-input-sm { height: @input-height-sm; padding-top: 3px; padding-bottom: 3px; } } &-textarea { &-show-count::after { float: right; color: @text-color-secondary; white-space: nowrap; content: attr(data-count); pointer-events: none; } } } @import './search-input'; @import './rtl'; @import './IE11';