1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00
appwrite/public/styles/comps/avatar.less
2020-02-13 15:49:05 +02:00

50 lines
753 B
Plaintext

.avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: var(--config-color-background-focus);
display: inline-block;
overflow: hidden;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.09);
position: relative;
z-index: 1;
opacity: 1!important;
&:before {
content: "";
position: absolute;
width: 100%;
height: 100%;
z-index: 0;
background: var(--config-color-background-focus);
}
&.inline {
display: inline-block;
vertical-align: middle;
}
&.trans {
background: transparent;
}
&.xs {
width: 20px;
height: 20px;
}
&.small {
width: 50px;
height: 50px;
}
&.big {
width: 100px;
height: 100px;
}
&.huge {
width: 150px;
height: 150px;
}
}