Summary Files Commits Branches @commit @diff @stats
path: root / src / avatars.less
diff options
context:
space:
mode:
Commite78b3c34348f26d40a813612c5a3786f1c56607a (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 18:07:53 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-29 18:07:53 +0800
Filesf857491026c5f728fe95fe1564ec30c931a1b30a /src/avatars.less
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.tar
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.tar.gz
Spectre-Dark-Gruvbox-e78b3c34348f26d40a813612c5a3786f1c56607a.zip
Parent66c492fd05c2d720c81e2be8d6845560b868e7ff (diff)
Initial SASS build
1 files changed, 0 insertions, 77 deletions
-rw-r--r--src/avatars.less77
diff --git a/src/avatars.less b/src/avatars.less
deleted file mode 100644
index 1fa075a..0000000
--- a/src/avatars.less
+++ /dev/null
@@ -1,77 +0,0 @@
-// Avatars
-.avatar {
- .avatar-base();
- background: @primary-color;
- border-radius: 50%;
- color: fade(@light-color, 85%);
- display: inline-block;
- font-weight: 300;
- line-height: 1;
- margin: 0;
- position: relative;
- vertical-align: middle;
-
- &.avatar-xs {
- .avatar-base(@unit-4);
- }
- &.avatar-sm {
- .avatar-base(@unit-6);
- }
- &.avatar-lg {
- .avatar-base(@unit-12);
- }
- &.avatar-xl {
- .avatar-base(@unit-16);
- }
-
- img {
- border-radius: 50%;
- height: 100%;
- position: relative;
- width: 100%;
- z-index: @zindex-0;
- }
-
- .avatar-icon,
- .avatar-presence {
- background: @bg-color-light;
- bottom: 14.64%;
- height: 50%;
- padding: @border-width-lg;
- position: absolute;
- 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 {
- color: currentColor;
- content: attr(data-initial);
- left: 50%;
- position: absolute;
- top: 50%;
- transform: translate(-50%, -50%);
- z-index: @zindex-0;
- }
-}