101 lines
1.5 KiB
SCSS
101 lines
1.5 KiB
SCSS
|
.userControl {
|
||
|
align-items: baseline;
|
||
|
display: flex;
|
||
|
|
||
|
@include font-size(1.7rem);
|
||
|
|
||
|
justify-content: flex-end;
|
||
|
|
||
|
@include media-breakpoint-down(md) {
|
||
|
padding: divide($container-padding-x, 2);
|
||
|
}
|
||
|
|
||
|
.circlewrap {
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.userControlItem {
|
||
|
align-items: center;
|
||
|
border: 2px solid #f6f6f6;
|
||
|
border-radius: 100%;
|
||
|
display: flex;
|
||
|
height: 2.4em;
|
||
|
justify-content: center;
|
||
|
margin-left: divide($container-padding-x, 2);
|
||
|
position: relative;
|
||
|
width: 2.4em;
|
||
|
|
||
|
@include media-breakpoint-up(sm) {
|
||
|
margin-left: 1.2rem;
|
||
|
}
|
||
|
|
||
|
.circlewrap {
|
||
|
height: 23px;
|
||
|
min-width: 23px;
|
||
|
width: 23px;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
border: none;
|
||
|
|
||
|
&:hover {
|
||
|
background: none;
|
||
|
|
||
|
&::before {
|
||
|
background-color: #000;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
filter: invert(1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
filter: invert(0);
|
||
|
transition: filter 0.3s;
|
||
|
}
|
||
|
|
||
|
&::before {
|
||
|
background-color: #fff;
|
||
|
border-radius: 100%;
|
||
|
content: '';
|
||
|
height: 100%;
|
||
|
left: 0;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
transition: background-color 0.3s;
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
height: 20px;
|
||
|
vertical-align: middle;
|
||
|
width: auto;
|
||
|
}
|
||
|
|
||
|
.text-label {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.userControlItemWritePost {
|
||
|
@include media-breakpoint-up(lg) {
|
||
|
.icon {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.text-label {
|
||
|
display: inline;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.userControlItemInbox,
|
||
|
.userControlItemSearch {
|
||
|
@include media-breakpoint-down(sm) {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|