@import url('../../styles/common.scss'); @import url('../../styles/icon.scss'); .TUI-group { position: relative; width: 100%; height: 100%; background: #ffffff; box-sizing: border-box; /* font:12px/22px"\5B8B\4F53",Arial,Helvetica,sans-serif; */ font-weight: 400; display: flex; &-left { width: 270px; overflow-y: auto; header { position: sticky; top: 0; z-index: 1; padding: 12px; display: flex; justify-content: space-between; align-items: center; input { flex: 1; margin-right: 20px; } } .TUI-group-list { list-style: none; } .TUI-group-item { position: relative; padding: 12px; display: flex; align-items: center; &:hover { background: #EDF0F5; .icon-close { display: inline-block; } } .left { position: relative; width: 36px; height: 36px; .num { position: absolute; display: inline-block; right: -8px; top: -8px; background: red; width: 20px; height: 20px; font-size: 10px; text-align: center; line-height: 20px; border-radius: 50%; color: #ffffff; } .avatar { width: 100%; border-radius: 5px; } } .content { flex: 1; padding-left: 8px; p { width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 14px; color: #000000; line-height: 16px; } } } .selected { background: #EDF0F5; } } &-main { flex: 1; display: flex; justify-content: center; align-items: center; &-show { ul { display: flex; flex-direction: column; li { padding: 10px 0; label { display: inline-block; width: 84px; } } } } &-created { li { display: flex; align-items: center; input { margin-right: 20px; } } } } } input { box-sizing: border-box; border: 1px solid #dddddd; border-radius: 5px; padding: 10px; } .plus { position: relative; display: inline-block; width: 36px; height: 36px; border: 1px solid #dddddd; &::before, &::after{ position: absolute; content: ""; background: #dddddd; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } &::before { width: 50%; height: 1px; } &::after { width: 1px; height: 50%; } } .reduce { position: relative; display: inline-block; width: 36px; height: 36px; border: 1px solid #dddddd; &::before{ position: absolute; content: ""; width: 50%; height: 1px; background: #dddddd; top: 0; bottom: 0; left: 0; right: 0; margin: auto; } } .center { display: flex; justify-content: center; } .btn { padding: 8px 20px; border-radius: 4px; border: none; font-weight: 400; font-size: 14px; color: #FFFFFF; letter-spacing: 0; text-align: center; line-height: 20px; &-cancel { border: 1px solid #dddddd; color: #666666; } &-default { background: #006EFF; border: 1px solid #006EFF; } &:disabled { opacity: 0.3; } }