2019-02-06 10:24:29 +00:00
|
|
|
@import "variables";
|
2018-09-04 09:49:00 +00:00
|
|
|
|
|
|
|
vn-chip {
|
2019-10-30 15:57:14 +00:00
|
|
|
border-radius: 1em;
|
2019-10-18 19:36:30 +00:00
|
|
|
background-color: $color-bg;
|
|
|
|
color: $color-font;
|
2019-10-30 15:57:14 +00:00
|
|
|
font-size: .9rem;
|
2019-10-31 14:24:28 +00:00
|
|
|
margin: .25em;
|
2019-10-18 19:36:30 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
2019-10-30 15:57:14 +00:00
|
|
|
height: 2em;
|
|
|
|
max-width: 100%;
|
|
|
|
box-sizing: border-box;
|
2018-09-14 07:10:30 +00:00
|
|
|
|
2019-10-18 19:36:30 +00:00
|
|
|
&.colored {
|
|
|
|
background-color: $color-main;
|
|
|
|
color: $color-font-dark;
|
2018-09-07 10:20:57 +00:00
|
|
|
}
|
2019-10-18 19:36:30 +00:00
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 100%;
|
2019-10-30 15:57:14 +00:00
|
|
|
padding: 0 .7em;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 2em;
|
2018-09-07 10:20:57 +00:00
|
|
|
|
2019-10-18 19:36:30 +00:00
|
|
|
& > vn-avatar {
|
|
|
|
margin-left: -0.7em;
|
2019-10-30 15:57:14 +00:00
|
|
|
margin-right: .3em;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 1.9em;
|
|
|
|
width: 2em;
|
2019-10-18 19:36:30 +00:00
|
|
|
}
|
2018-09-04 09:49:00 +00:00
|
|
|
}
|
2019-10-18 19:36:30 +00:00
|
|
|
& > vn-icon {
|
2019-10-30 15:57:14 +00:00
|
|
|
margin-right: .12em;
|
|
|
|
margin-left: -.12em;
|
2019-10-18 19:36:30 +00:00
|
|
|
vertical-align: middle;
|
|
|
|
opacity: .6;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: opacity 250ms ease-out;
|
2018-09-14 07:10:30 +00:00
|
|
|
|
2019-10-18 19:36:30 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-09-14 07:10:30 +00:00
|
|
|
}
|
2019-10-18 19:36:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
vn-avatar {
|
|
|
|
display: inline-block;
|
2019-10-30 15:57:14 +00:00
|
|
|
min-width: 2em;
|
2019-10-18 19:36:30 +00:00
|
|
|
border-radius: 50%;
|
2018-09-04 09:49:00 +00:00
|
|
|
}
|