snappymail/dev/Styles/User/SystemDropDown.less

110 lines
1.7 KiB
Text
Raw Normal View History

2021-02-09 00:37:21 +08:00
#top-system-dropdown-id {
padding: 0 6px;
2021-02-09 00:37:21 +08:00
}
.rl-left-panel-disabled #more-list-dropdown-id + .dropdown-menu {
2021-03-09 19:12:30 +08:00
position: fixed;
top: 40px;
2021-02-09 00:37:21 +08:00
}
#V-SystemDropDown {
position: absolute;
top: 0;
right: 0;
padding: 10px @rlLowMargin;
z-index: 103;
.email-title {
text-overflow: ellipsis;
overflow: hidden;
}
2015-04-10 16:17:49 +08:00
.audioPlace {
2021-09-09 23:00:31 +08:00
cursor: pointer;
2021-02-09 00:37:21 +08:00
display: inline-block;
font-size: 30px;
height: 1em;
2015-04-29 04:28:30 +08:00
margin-right: 10px;
2021-02-09 00:37:21 +08:00
width: 1em;
2015-04-10 16:17:49 +08:00
2015-04-11 05:52:15 +08:00
.stopIcon {
2021-09-09 23:00:31 +08:00
color: orange;
2015-04-11 05:52:15 +08:00
display: none;
}
2015-04-10 16:17:49 +08:00
2015-04-11 05:52:15 +08:00
&:hover {
.playIcon {
display: none;
}
.stopIcon {
display: inline-block;
}
2015-04-10 16:17:49 +08:00
}
}
.accountPlace {
border-right: 1px solid var(--btn-border-clr, rgba(0, 0, 0, 0.2));
display: inline-block;
2023-03-21 05:38:02 +08:00
font-weight: 600;
2023-03-21 17:06:00 +08:00
line-height: 1.3;
margin: 0 6px -4px 0;
2021-04-22 19:37:43 +08:00
max-width: 25vw;
2023-03-21 17:06:00 +08:00
/* max-width: calc(100vw - 300px);*/
overflow: hidden;
padding-right: 6px;
text-overflow: ellipsis;
}
2022-12-08 17:27:42 +08:00
a[data-unread]::after {
2022-12-08 00:36:04 +08:00
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;
}
}
2021-09-09 23:00:31 +08:00
@keyframes equaliserBar {
0% { top: 30%; }
50% { top: 100%; }
100% { top: 30%; }
2015-04-11 05:52:15 +08:00
}
2021-09-09 23:00:31 +08:00
.playIcon {
2015-04-11 05:52:15 +08:00
2021-02-09 00:37:21 +08:00
margin-top: 5px;
2015-04-11 05:52:15 +08:00
height: 20px;
position: relative;
2021-09-09 23:00:31 +08:00
*, &::before, &::after {
animation: equaliserBar 1s infinite;
2015-04-11 05:52:15 +08:00
background: orange;
bottom:0;
2021-02-09 00:37:21 +08:00
left: calc(1em / 2 - 2px);
2021-09-09 23:00:31 +08:00
position: absolute;
width: 5px;
content: '';
2015-04-11 05:52:15 +08:00
}
2021-09-09 23:00:31 +08:00
&::before {
left: calc(1em / 2 - 9px);
animation-delay: -0.33s;
}
&::after {
left: calc(1em / 2 + 5px);
animation-delay: -0.66s;
2015-04-11 05:52:15 +08:00
}
2016-05-01 09:07:10 +08:00
}