@import "variables"; vn-chip { border-radius: 1em; background-color: $color-bg; color: $color-font; font-size: .9rem; margin: .25em; display: inline-flex; align-items: center; text-overflow: ellipsis; white-space: nowrap; height: 2em; padding: 0 .7em; overflow: hidden; max-width: 100%; box-sizing: border-box; &.colored { background-color: $color-main; color: $color-font-dark; } & > div { display: flex; align-items: center; height: 100%; padding: 0 .7em; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; line-height: 2em; & > vn-avatar { margin-left: -0.7em; margin-right: .3em; vertical-align: middle; height: 1.9em; width: 2em; } } & > vn-icon { margin-right: .12em; margin-left: -.12em; vertical-align: middle; opacity: .6; cursor: pointer; transition: opacity 250ms ease-out; &:hover, &:focus { opacity: 1; } } } vn-avatar { display: inline-block; height: 2em; width: 2em; min-width: 2em; border-radius: 50%; }