Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit33508d2823fba4fc8715bfa935121491fa512562 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-04 15:40:54 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-04 15:40:54 +0800
Filese2327cc9eed782cee10a133799d0f4c373027a13 /src
Spectre-Dark-Gruvbox-33508d2823fba4fc8715bfa935121491fa512562.tar
Spectre-Dark-Gruvbox-33508d2823fba4fc8715bfa935121491fa512562.tar.gz
Spectre-Dark-Gruvbox-33508d2823fba4fc8715bfa935121491fa512562.zip
Parent21aaa73dbcd839ea8061f3e2a05b6aa19cb77be6 (diff)
update avatars code and add avatar child style
1 files changed, 25 insertions, 0 deletions
-rw-r--r--src/avatars.less25
diff --git a/src/avatars.less b/src/avatars.less
index 1576698..fc9ce12 100644
--- a/src/avatars.less
+++ b/src/avatars.less
@@ -9,6 +9,7 @@
border-radius: 50%;
vertical-align: middle;
position: relative;
+ overflow: hidden;
&::after {
content: attr(data-initial);
@@ -39,4 +40,28 @@
height: 6.4rem;
font-size: 2.6rem;
}
+}
+.avatar-container {
+ display: inline-block;
+ position: relative;
+
+ .avatar-icon {
+ width: 46%;
+ height: 46%;
+ padding: 3%;
+ background-color: #fff;
+ position: absolute;
+ right: -6%;
+ bottom: -6%;
+ }
+}
+.avatar-status {
+ &::after {
+ content: '';
+ display: block;
+ width: 1rem;
+ height: 1rem;
+ border-radius: 50%;
+ background-color: @control-color-success;
+ }
} \ No newline at end of file