UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

207 lines (175 loc) 3.82 kB
@import '../../style/themes/index'; @import '../../style/mixins/index'; @modal-base-prefix-cls: ~'@{ant-prefix}-modal'; @modal-prefix-cls: ~'@{ant-prefix}-modal-user'; @tag-base-prefix-cls: ~'@{ant-prefix}-tag'; @tree-base-prefix-cls: ~'@{ant-prefix}-tree'; .@{modal-prefix-cls} { &-select { position: relative; display: inline-block; width: 100%; padding: 2px 34px 2px 7px; font-size: 0; vertical-align: top; background-color: #fff; border: 1px solid @border-color-base; border-radius: 2px; cursor: pointer; transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); &-sm { padding: 2px 28px 2px 7px; } &-lg { padding-right: 32px; } &-warp { // Fix 修复表单样式错乱 display: inline-flex; width: 100%; } &-box { position: relative; display: flex; flex: auto; flex-wrap: wrap; align-items: center; max-width: 100%; min-height: @modal-user-size; &-sm { min-height: @modal-user-size-sm; & .@{tag-base-prefix-cls} { line-height: @modal-user-size-sm; } } &-lg { min-height: @modal-user-size-lg; & .@{tag-base-prefix-cls} { line-height: @modal-user-size-lg; } } } &-arrow { position: absolute; top: 53%; right: 11px; width: 12px; height: 12px; margin-top: -6px; color: inherit; color: @disabled-color; font-size: 12px; font-style: normal; line-height: 0; line-height: 1; text-align: center; text-transform: none; vertical-align: -0.125em; pointer-events: none; text-rendering: optimizeLegibility; } &-tag { display: flex; flex-flow: row wrap; & > .@{tag-base-prefix-cls} { margin-bottom: 4px; } &-sm > .@{tag-base-prefix-cls} { margin-bottom: 3px; } } &-placeholder { position: relative; display: flex; flex: auto; flex: 1; flex-wrap: wrap; max-width: 100%; height: 26px; overflow: hidden; color: #bfbfbf; font-size: 14px; line-height: 26px; white-space: nowrap; text-overflow: ellipsis; pointer-events: none; } &-disabled { cursor: not-allowed; } } &-user { position: relative; display: flex; align-items: flex-start; padding: 8px; &-box { cursor: pointer; &:hover { background: #f5f5f5; } } &-core { width: 200px; } &-title { display: block; width: 200px; } &-close { position: absolute; top: 50%; right: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px; color: rgba(0, 0, 0, 0.45); font-size: 16px; transform: translateY(-50%); &:hover { color: rgba(0, 0, 0, 0.75); } } &-icon { display: block; margin-top: 5px; color: rgba(0, 0, 0, 0.45); } &-member { display: block; margin-top: 1px; } } &-tree { & .@{tree-base-prefix-cls}-node-content-wrapper { height: auto !important; } & span.@{tree-base-prefix-cls}-checkbox { margin-top: -1px !important; } } &-divider { display: block; height: calc(100% - 16px); margin: 0 auto; } &-modal { height: 416px; padding: 8px 4px 0 8px; & .@{ant-prefix}-container-scroll { padding: 0 !important; } } &-empty { justify-content: space-between; width: 100%; height: 32px; margin-bottom: 16px; } &-tags { & .@{ant-prefix}-tag { margin-bottom: 0 !important; } } }