77 lines
1.3 KiB
SCSS
77 lines
1.3 KiB
SCSS
/***** User info in header *****/
|
|
.user-info {
|
|
display: inline-block;
|
|
|
|
.dropdown-toggle::after {
|
|
@include tablet { display: inline-block;}
|
|
display: none;
|
|
}
|
|
|
|
> button {
|
|
border: 0;
|
|
color: $link_color;
|
|
min-width: 0;
|
|
padding: 0;
|
|
white-space: nowrap;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: $link_color;
|
|
background-color: transparent;
|
|
}
|
|
|
|
&::after {
|
|
color: $link_color;
|
|
padding-right: 15px;
|
|
|
|
[dir="rtl"] & {
|
|
padding-left: 15px;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Selector is this strong to override the styles set with ids
|
|
#user #user-name {
|
|
@include tablet { display: inline-block; }
|
|
display: none;
|
|
font-size: 14px;
|
|
|
|
&:hover { text-decoration: underline; }
|
|
}
|
|
|
|
/***** User avatar *****/
|
|
.user-avatar {
|
|
height: 25px;
|
|
width: 25px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.avatar {
|
|
display: inline-block;
|
|
position: relative;
|
|
|
|
img {
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
.icon-agent {
|
|
color: $brand_color;
|
|
border: 2px solid #fff;
|
|
border-radius: 50%;
|
|
bottom: -4px;
|
|
background-color: $brand_text_color;
|
|
font-size: 17px;
|
|
height: 17px;
|
|
line-height: 17px;
|
|
position: absolute;
|
|
right: -2px;
|
|
text-align: center;
|
|
width: 17px;
|
|
}
|
|
}
|