UNPKG

qt-public-ui

Version:

新设计规范下业务组件库

93 lines (89 loc) 1.91 kB
@import (reference) '../../style/common.less'; .umui-category-select { &-popup { max-height: 100%; } &-content { border-right: 1px solid @border-color-split; max-height: 100%; height: 100%; } &-block { height: 100%; } &-tabs { height: 100%; display: flex; max-height: 100%; } &-tabs-level-1 { border-right: 1px solid @border-color-split; min-width: 93px; max-height: 100%; overflow-y: auto; & > li { line-height: 20px; padding: 10px 9px 10px 16px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; color: @text-color; cursor: pointer; white-space: nowrap; &:hover, &.tab-active { color: @primary-color; background-color: @item-hover-bg; font-weight: 500; i.anticon { color: @primary-color; } } i.anticon { width: 16px; height: 16px; color: @text-color-secondary; font-size: 12px; display: flex; align-items: center; margin-right: 0; } } } &-tabs-level-2 { border-left: none; min-width: 200px; & > .search-box { .@{ant-prefix}-input-affix-wrapper { padding: 0 11px; } .umui-input-underline .@{ant-prefix}-input:not(:last-child) { padding: 8px 16px; height: 35px; } } .umui-level-2-item { padding: 4px 16px; line-height: 20px; margin: 4px 0; color: @text-color; cursor: pointer; &:hover, &.active { color: @primary-color; background-color: @item-hover-bg; font-weight: 500; } } } &-footer { border-top: 1px solid @border-color-split; min-height: 40px; } &-custom-template { color: @text-color; overflow: auto; padding: 16px; } }