PLT-946 Add status icon to the left of the username in DM channel (#3258)

Add a StatusIcon component to be able to display a status icon from anywhere
Этот коммит содержится в:
Kevyn Bruyere
2016-06-15 14:30:32 +02:00
коммит произвёл Christopher Speller
родитель dbcf8572e5
Коммит d6fdd93679
9 изменённых файлов: 126 добавлений и 56 удалений

33
webapp/sass/components/_status-icon.scss Обычный файл
Просмотреть файл

@@ -0,0 +1,33 @@
@charset 'UTF-8';
.status {
display: inline-block;
margin-right: 6px;
position: relative;
top: 1px;
width: 12px;
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;
}
}