snappymail/dev/Styles/User/SystemDropDown.less
2022-12-22 10:31:19 +01:00

115 lines
1.8 KiB
Text

#top-system-dropdown-id {
overflow: hidden;
padding-left: 8px;
padding-right: 6px;
}
.rl-left-panel-disabled #more-list-dropdown-id + .dropdown-menu {
position: fixed;
top: 40px;
}
#V-SystemDropDown {
position: absolute;
top: 0;
right: 0;
padding: 10px @rlLowMargin;
z-index: 103;
.email-title {
text-overflow: ellipsis;
overflow: hidden;
padding-right: 32px;
}
.audioPlace {
cursor: pointer;
display: inline-block;
font-size: 30px;
height: 1em;
margin-right: 10px;
width: 1em;
.stopIcon {
color: orange;
display: none;
}
&:hover {
.playIcon {
display: none;
}
.stopIcon {
display: inline-block;
}
}
}
.accountPlace {
background-color: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: #fff;
display: inline-block;
font-weight: bold;
font-size: 16px;
line-height: 29px;
max-width: 25vw;
overflow: hidden;
padding: 1px 8px;
text-overflow: ellipsis;
text-shadow: 0 1px 0 #000;
white-space: nowrap;
}
a[data-unread]::after {
content: attr(data-unread);
background-color: var(--unread-count-bg-color, #999);
border-radius: 1em;
color: var(--unread-count-color, #fff);
font-size: 11px;
line-height: 1.5em;
min-width: 1.7em;
padding: 1px 4px;
text-align: center;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
position: absolute;
right: 3px;
}
}
@keyframes equaliserBar {
0% { top: 30%; }
50% { top: 100%; }
100% { top: 30%; }
}
.playIcon {
margin-top: 5px;
height: 20px;
position: relative;
*, &::before, &::after {
animation: equaliserBar 1s infinite;
background: orange;
bottom:0;
left: calc(1em / 2 - 2px);
position: absolute;
width: 5px;
content: '';
}
&::before {
left: calc(1em / 2 - 9px);
animation-delay: -0.33s;
}
&::after {
left: calc(1em / 2 + 5px);
animation-delay: -0.66s;
}
}