PLT-5122 - Switching to circular status icons (#5049)

* PLT-5122 - Switching to circular status icons

* Adding profile pic crop for status indicators

* Updating status indicators in LHS

* Updating else statements
Этот коммит содержится в:
Asaad Mahmood
2017-01-30 19:38:06 +05:00
коммит произвёл Corey Hulen
родитель c01d9ad6cf
Коммит 83ead5cac7
9 изменённых файлов: 72 добавлений и 62 удалений

Просмотреть файл

@@ -1,13 +1,13 @@
@charset 'UTF-8';
.emoticon {
background-repeat: no-repeat;
background-position: 50% 50%;
background-repeat: no-repeat;
background-size: contain;
display: inline-block;
height: 1.3em;
height: 20px;
vertical-align: text-top;
width: 1.3em;
width: 20px;
}
.emoticon-suggestion {

Просмотреть файл

@@ -514,30 +514,6 @@
}
.status-wrapper {
display: inline-block;
height: 32px;
position: relative;
&:after {
border-radius: 100%;
bottom: -2px;
content: '';
display: block;
height: 8px;
position: absolute;
right: 0;
width: 8px;
}
&.status-offline {
&:after {
background: #D3D3D3;
}
}
}
.more-modal__list {
display: flex;
flex-direction: column;
@@ -556,12 +532,6 @@
.more-modal__row {
padding: 5px 10px;
.status-wrapper {
&:after {
bottom: 0;
}
}
}
.more-modal__name {
@@ -575,12 +545,6 @@
flex-shrink: 0;
margin-top: 2px;
max-width: none;
.status-wrapper {
&:after {
bottom: 3px;
}
}
}
.more-modal__details {

Просмотреть файл

@@ -1,5 +1,34 @@
@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;
}
svg {
max-height: 11px;
position: relative;
top: 2px;
}
}
}
.status {
display: inline-block;
margin-right: 6px;
@@ -30,4 +59,5 @@
position: relative;
top: -1px;
}
}
}

Просмотреть файл

@@ -926,9 +926,11 @@
text-align: right;
width: 53px;
svg {
height: 32px;
width: 32px;
.icon {
svg {
height: 32px;
width: 32px;
}
}
path {