@charset 'utf-8'; @import '../../../../ucap-webmessenger-app/src/assets/scss/global/common'; %list-item { position: relative; display: flex; align-items: center; width: 100%; height: $listH-row2; border-bottom: $line-basic; padding: 20px; } %presence { display: inline-block; width: $presence-size; height: $presence-size; align-self: flex-start; align-items: center; text-indent: -10000000px; margin-right: 4px; border-radius: 100px; } %msg-status { display: inline-block; height: 40px; background-color: $bg-list-item-msg; font-size: 11px; padding: 2px 6px; vertical-align: middle; align-items: center; @include ellipsis(2); @include border-radius(4px); } .list-item { @extend %list-item; &:hover { background-color: $bg-list-hover; } .presence { @extend %presence; &.pcOn { @include presence-status(pcOn); } &.pcOut { @include presence-status(pcOut); } &.pcOff { @include presence-status(pcOff); } &.pcOther { @include presence-status(pcOther); } } .mat-checkbox { padding-left: 10px; } } .item-default { display: flex; width: 100%; dt{ flex:none; .thumbnail { width: $thumbnail-msize; height: $thumbnail-msize; margin-right: 16px; @include border-radius(50%); } } .info{ position: relative; display: inline-block; margin: 0; padding: 0; width: calc(100% - 50px); .detail{ flex-flow: column; .name { font-size: 13px; margin-bottom: 2px; color: $font-dark; @include ellipsis(1); b { font-size: 16px; font-weight: 600; } } .dept { font-size: 12px; color: $font-mid; @include ellipsis(1); } .msg-status { display: inline-block; float: right; @extend %msg-status; } } } } //가변에 따른 list-item width값 변경 .list-item { .presence { + .item-default { width: calc(100% - 20px); } } &.checkbox { .presence { + .item-default { width: calc(100% - 50px); } } .item-default { width: calc(100% - 30px); .info { .detail { width: 100%; } .msg-status { @include visible(none); } } } } }