Summary Files Commits Branches @commit @diff @stats
path: root / src / avatars.less
diff options
context:
space:
mode:
1 files changed, 4 insertions, 10 deletions
-rw-r--r--src/avatars.less14
diff --git a/src/avatars.less b/src/avatars.less
index fa0d49f..b764846 100644
--- a/src/avatars.less
+++ b/src/avatars.less
@@ -2,7 +2,7 @@
.avatar {
background: @primary-color;
border-radius: 50%;
- color: fade(@gray-color-lighter, 75%);
+ color: fade(@gray-color-lighter, 85%);
display: inline-block;
font-size: @font-size;
font-weight: 300;
@@ -14,6 +14,7 @@
width: 3.2rem;
&.avatar-xs {
+ font-size: .8rem;
height: 1.6rem;
width: 1.6rem;
}
@@ -38,7 +39,7 @@
height: 100%;
position: relative;
width: 100%;
- z-index: 99;
+ z-index: @z-index-z1;
}
.avatar-icon {
@@ -58,13 +59,6 @@
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
- vertical-align: middle;
- z-index: 1;
- }
-
- &.avatar-xs {
- &[data-initial]::before {
- transform: translate(-50%, -50%) scale(.5);
- }
+ z-index: @z-index-z0;
}
}