Summary Files Commits Branches @commit @diff @stats
path: root / src / avatars.less
diff options
context:
space:
mode:
Commit66c492fd05c2d720c81e2be8d6845560b868e7ff (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-28 13:30:48 +0800
Committer
 GitHub <noreply@github.com>
2017-08-28 13:30:48 +0800
Files8547f648c647b8cf82c81a731c95c5b8e2d06240 /src/avatars.less
Spectre-Dark-Gruvbox-0.3.2.tar
Spectre-Dark-Gruvbox-0.3.2.tar.gz
Spectre-Dark-Gruvbox-0.3.2.zip
Parent7395257d70d8c60b5c4499f297f03b75db5af230 (diff)
Parent00f87b240e52065f6a07641999315aafb89be781 (diff)
Merge pull request #262 from picturepan2/0.3.2 v0.3.2
0.3.2
1 files changed, 24 insertions, 2 deletions
-rw-r--r--src/avatars.less26
diff --git a/src/avatars.less b/src/avatars.less
index b964146..1fa075a 100644
--- a/src/avatars.less
+++ b/src/avatars.less
@@ -29,10 +29,11 @@
height: 100%;
position: relative;
width: 100%;
- z-index: @zindex-1;
+ z-index: @zindex-0;
}
- .avatar-icon {
+ .avatar-icon,
+ .avatar-presence {
background: @bg-color-light;
bottom: 14.64%;
height: 50%;
@@ -41,6 +42,27 @@
right: 14.64%;
transform: translate(50%, 50%);
width: 50%;
+ z-index: @zindex-0 + 1;
+ }
+
+ .avatar-presence {
+ background: @gray-color;
+ box-shadow: 0 0 0 @border-width-lg @light-color;
+ border-radius: 50%;
+ height: .5em;
+ width: .5em;
+
+ &.online {
+ background: @success-color;
+ }
+
+ &.busy {
+ background: @error-color;
+ }
+
+ &.away {
+ background: @warning-color;
+ }
}
&[data-initial]::before {