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
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
dbcf8572e5
Коммит
d6fdd93679
33
webapp/sass/components/_status-icon.scss
Обычный файл
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;
|
||||
}
|
||||
}
|
||||
Ссылка в новой задаче
Block a user