Switch avatars to be built out of CSS and only overlayed with the gravatar when a non-default exists
This commit is contained in:
parent
2d8d0c6fd3
commit
27a9b84587
94 changed files with 663 additions and 303 deletions
23
static/css/directives/ui/avatar.css
Normal file
23
static/css/directives/ui/avatar.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
.avatar-element {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
color: white !important;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
background: white;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.avatar-element.team {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.avatar-element img {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
.avatar-element .letter {
|
||||
cursor: default !important;
|
||||
}
|
Reference in a new issue