mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
50 lines
1012 B
SCSS
50 lines
1012 B
SCSS
@import 'variables';
|
|
|
|
$am-avatar-size: 40px;
|
|
|
|
$am-avatar-light-bg: rgba(white, .15);
|
|
$am-avatar-dark-bg: rgba(black, .15);
|
|
|
|
:host {
|
|
font-weight: lighter;
|
|
position: relative;
|
|
|
|
color: $alfresco-white;
|
|
line-height: 20px;
|
|
|
|
.am-avatar {
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
width: $am-avatar-size;
|
|
height: $am-avatar-size;
|
|
line-height: $am-avatar-size;
|
|
font-size: 1.2em;
|
|
text-align: center;
|
|
color: inherit;
|
|
border-radius: 100%;
|
|
|
|
&--light {
|
|
background: $am-avatar-light-bg;
|
|
}
|
|
|
|
&--dark {
|
|
background: $am-avatar-dark-bg;
|
|
}
|
|
}
|
|
|
|
.current-user__full-name {
|
|
width: 100px;
|
|
text-align: right;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display:inline-block;
|
|
height: 20px;
|
|
font-size: 14px;
|
|
line-height: 1.43;
|
|
letter-spacing: -0.2px;
|
|
}
|
|
}
|