Files
mostlymatter/webapp/sass/components/_status-icon.scss
2017-07-11 01:27:35 +08:00

98 строки
1.6 KiB
SCSS

@charset 'UTF-8';
.status-wrapper {
display: inline-block;
height: 32px;
position: relative;
.status {
border-radius: 100px;
bottom: -4px;
height: 15px;
line-height: 0;
margin: 0;
position: absolute;
right: -3px;
top: auto;
width: 15px;
.modal & {
bottom: -6px;
}
&.status-edit {
text-align: center;
i {
@include opacity(1);
font-size: 10px;
position: relative;
top: 4px;
}
}
svg {
max-height: 11px;
position: relative;
top: 2px;
}
}
}
.status {
display: inline-block;
margin: 0 7px 0 1px;
position: relative;
top: 2px;
width: 15px;
&.status--group {
border-radius: 2px;
font-size: 10px;
font-weight: 600;
height: 15px;
left: 1px;
line-height: 14px;
margin: 0 9px 0 -1px;
text-align: center;
top: -2px;
width: 15px;
.mentions__name & {
height: 18px;
left: 0;
line-height: 18px;
margin-left: 0;
margin-right: 6px;
text-align: center;
width: 17px;
}
}
svg {
max-height: 14px;
}
i,
path,
ellipse {
@include opacity(.5);
&.online--icon,
&.away--icon {
@include opacity(1);
}
}
.fa-lock {
margin-left: 1px;
}
.fa-globe {
position: relative;
top: -1px;
}
}