mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-14 19:54:43 +08:00
254 lines
4.3 KiB
Text
254 lines
4.3 KiB
Text
|
|
@folderItemPadding: 7px;
|
|
@subPadding: 15px;
|
|
|
|
.b-folders {
|
|
|
|
> * {
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
}
|
|
|
|
.move-action-content-wrapper {
|
|
z-index: -1;
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
opacity: 0.05;
|
|
background-color: #fff;
|
|
background-size: 60px 60px;
|
|
background-image: linear-gradient(135deg, #000 25%, transparent 25%,
|
|
transparent 50%, #000 50%, #000 75%,
|
|
transparent 75%, transparent);
|
|
}
|
|
|
|
.b-toolbar {
|
|
top: 0;
|
|
height: 30px;
|
|
padding: 10px 0 0 @rlLowMargin;
|
|
color: #fff;
|
|
z-index: 101;
|
|
}
|
|
|
|
.b-footer {
|
|
bottom: 10px;
|
|
height: 30px;
|
|
padding: 0 10px 0 5px;
|
|
z-index: 101;
|
|
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.b-content {
|
|
bottom: 32px + @rlLowMargin + @rlBottomMargin;
|
|
top: 50px + @rlLowMargin;
|
|
overflow: hidden;
|
|
overflow-y: auto;
|
|
min-width: 100px;
|
|
}
|
|
|
|
hr {
|
|
margin: 10px;
|
|
border-color: #999;
|
|
}
|
|
|
|
li {
|
|
display: block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
|
|
a {
|
|
display: block;
|
|
position: relative;
|
|
z-index: 1;
|
|
height: 34px;
|
|
line-height: 34px;
|
|
background-color: transparent;
|
|
vertical-align: middle;
|
|
color: var(--folders-disabled-color, #666);
|
|
font-size: 14px;
|
|
border-left: 3px solid transparent;
|
|
|
|
padding: 0 2em 0 @folderItemPadding;
|
|
|
|
text-decoration: none;
|
|
|
|
&.selectable {
|
|
|
|
color: var(--folders-color, #333);
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: var(--folders-hover-bg-color, #333);
|
|
color: var(--folders-hover-color, #eee);
|
|
}
|
|
|
|
&.droppableHover {
|
|
background-color: var(--folders-drop-bg-color, #333);
|
|
color: var(--folders-drop-color, #eee);
|
|
}
|
|
|
|
&.droppableHover * {
|
|
pointer-events: none;
|
|
}
|
|
|
|
&.focused {
|
|
background-color: var(--folders-focused-bg-color, #333);
|
|
color: var(--folders-focused-color, #eee);
|
|
}
|
|
|
|
&.selected {
|
|
background-color: var(--folders-selected-bg-color, #333);
|
|
color: var(--folders-selected-color, #eee);
|
|
}
|
|
}
|
|
&:not(.selectable) {
|
|
cursor: default;
|
|
font-style: italic;
|
|
}
|
|
|
|
&.focused {
|
|
background-color: #888;
|
|
border-left-color: #fff;
|
|
}
|
|
|
|
&.unread-sub {
|
|
font-weight: bold;
|
|
}
|
|
|
|
&.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.e-collapsed-sign {
|
|
cursor: pointer;
|
|
font-size: 150%;
|
|
vertical-align: inherit;
|
|
}
|
|
}
|
|
|
|
a[data-unread] {
|
|
font-weight: bold;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
ul.collapsed {
|
|
max-height: 0;
|
|
height: 0;
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.b-folders-system a[data-unread]::after,
|
|
.b-folders-user a[data-unread]:not(.system)::after
|
|
{
|
|
content: attr(data-unread);
|
|
background-color: @grayLight;
|
|
border-radius: 9px;
|
|
color: @white;
|
|
font-size: 11px;
|
|
line-height: 19px;
|
|
margin-top: 5px;
|
|
min-width: 1em;
|
|
padding: 1px 4px;
|
|
text-align: center;
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
|
position: absolute;
|
|
right: 3px;
|
|
}
|
|
|
|
.flag-icon {
|
|
margin-left: 7px;
|
|
}
|
|
.flag-icon::after {
|
|
content:'☆';
|
|
opacity: .5;
|
|
}
|
|
.is-flagged {
|
|
.flag-icon::after {
|
|
color: orange;
|
|
content:'★';
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.b-folders-system {
|
|
font-weight: bold;
|
|
}
|
|
|
|
li li a {
|
|
padding-left: @subPadding * 1 + @folderItemPadding;
|
|
}
|
|
li li li a {
|
|
padding-left: @subPadding * 2 + @folderItemPadding;
|
|
}
|
|
li li li li a {
|
|
padding-left: @subPadding * 3 + @folderItemPadding;
|
|
}
|
|
li li li li li a {
|
|
padding-left: @subPadding * 4 + @folderItemPadding;
|
|
}
|
|
|
|
/**/
|
|
&.single-root-inbox .b-folders-user > li > a {
|
|
display: none !important;
|
|
}
|
|
|
|
&.single-root-inbox {
|
|
li li a {
|
|
padding-left: @folderItemPadding;
|
|
}
|
|
li li li a {
|
|
padding-left: @subPadding * 1 + @folderItemPadding;
|
|
}
|
|
li li li li a {
|
|
padding-left: @subPadding * 2 + @folderItemPadding;
|
|
}
|
|
li li li li li a {
|
|
padding-left: @subPadding * 3 + @folderItemPadding;
|
|
}
|
|
}
|
|
/**/
|
|
}
|
|
|
|
.btn {
|
|
&.buttonCompose {
|
|
width: calc(100% - 85px);
|
|
max-width: -moz-fit-content;
|
|
max-width: -webkit-fit-content;
|
|
max-width: fit-content;
|
|
overflow: hidden;
|
|
height: 19px;
|
|
margin-top: 1px;
|
|
padding: 4px 8px;
|
|
}
|
|
}
|
|
|
|
html.rl-left-panel-disabled {
|
|
.buttonComposeText{
|
|
display: none;
|
|
}
|
|
.btn.buttonCompose {
|
|
width: auto;
|
|
}
|
|
.btn.buttonContacts {
|
|
margin-top: 10px !important;
|
|
margin-left: 0 !important;
|
|
}
|
|
&.rl-mobile #rl-left {
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
html.rl-mobile .b-folders .b-content {
|
|
bottom: 0;
|
|
}
|