mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-11 09:45:54 +08:00
308 lines
4.4 KiB
Text
308 lines
4.4 KiB
Text
|
|
.UserBackground body {
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
#rl-center, #rl-top, #rl-left, #rl-right {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
#rl-content {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
#rl-center {
|
|
min-width: 600px;
|
|
min-height: 400px;
|
|
}
|
|
|
|
html.rl-mobile {
|
|
|
|
#rl-center {
|
|
min-width: 250px;
|
|
min-height: 250px;
|
|
}
|
|
|
|
&:not(.rl-left-panel-disabled) #rl-right {
|
|
right: -150px;
|
|
}
|
|
|
|
&.rl-left-panel-disabled #rl-right {
|
|
left: 5px !important;
|
|
}
|
|
}
|
|
|
|
#rl-top {
|
|
bottom: auto;
|
|
z-index: 2;
|
|
}
|
|
|
|
#rl-left {
|
|
width: @rlLeftWidth;
|
|
}
|
|
|
|
/*
|
|
.resizable::after {
|
|
background-color: #aaa;
|
|
bottom: 0;
|
|
content: '';
|
|
height: 22px;
|
|
pointer-events: none;
|
|
position: absolute;
|
|
right: 0;
|
|
text-align: center;
|
|
width: 20px;
|
|
}
|
|
.resizable::-webkit-resizer {
|
|
background: #aaa;
|
|
background: rgba(255,255,255,0.5);
|
|
}
|
|
*/
|
|
|
|
.resizable > .resizer {
|
|
background: #aaa;
|
|
background: rgba(255,255,255,0.5);
|
|
display: none;
|
|
opacity: 0;
|
|
position: absolute;
|
|
z-index: 102;
|
|
}
|
|
.resizable > .resizer:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
html:not(.rl-left-panel-disabled) #rl-left.resizable {
|
|
resize: horizontal;
|
|
overflow: hidden;
|
|
min-width: 155px;
|
|
max-width: 350px;
|
|
}
|
|
#rl-left > .resizer {
|
|
cursor: ew-resize;
|
|
height: 100%;
|
|
right: 0;
|
|
top: 0;
|
|
width: 5px;
|
|
}
|
|
|
|
.b-message-list-wrapper.resizable {
|
|
resize: vertical;
|
|
overflow: hidden;
|
|
min-height: 200px;
|
|
max-height: 500px;
|
|
}
|
|
.b-message-list-wrapper > .resizer {
|
|
cursor: ns-resize;
|
|
height: 5px;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
html:not(.rl-left-panel-disabled) #rl-left.resizable > .resizer,
|
|
.b-message-list-wrapper > .resizer {
|
|
display: block;
|
|
}
|
|
|
|
#rl-right {
|
|
z-index: 1;
|
|
left: @rlLeftWidth;
|
|
}
|
|
|
|
#rl-sub-left {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 50%;
|
|
}
|
|
|
|
#rl-sub-right {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 50%;
|
|
|
|
.b-message-view-backdrop {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, .4);
|
|
z-index: 10;
|
|
text-align: center;
|
|
|
|
.backdrop-message {
|
|
position: relative;
|
|
display: inline-block;
|
|
color: white;
|
|
font-size: 20px;
|
|
line-height: 30px;
|
|
background: rgba(0, 0, 0, .6);
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
text-shadow: 0 1px 1px #000;
|
|
transform: translateY(-50%);
|
|
top: 50%;
|
|
}
|
|
}
|
|
}
|
|
|
|
/*
|
|
#rl-popups > dialog {
|
|
top: 0;
|
|
margin: 10px auto;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
*/
|
|
#rl-popups > .rl-view-model {
|
|
position: fixed;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1100;
|
|
overflow: auto;
|
|
background-color: rgba(0,0,0,0.3);
|
|
// -webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.b-settings-content {
|
|
padding:20px 20px 20px 30px;
|
|
}
|
|
|
|
/* desktop */
|
|
@media screen and (min-width: 1000px) {
|
|
}
|
|
|
|
/* desktop-large */
|
|
@media screen and (min-width: 1401px) {
|
|
#rl-left {
|
|
width: @rlLeftWidth + 20;
|
|
}
|
|
|
|
#rl-right {
|
|
left: @rlLeftWidth + 20;
|
|
}
|
|
|
|
#rl-sub-left {
|
|
width: 40%;
|
|
}
|
|
|
|
#rl-sub-right {
|
|
left: 40%;
|
|
}
|
|
}
|
|
|
|
/* mobile and tablet */
|
|
@media screen and (max-width: 999px) {
|
|
#rl-left {
|
|
width: 155px;
|
|
}
|
|
|
|
#rl-right {
|
|
left: 155px;
|
|
}
|
|
|
|
.b-settings-content {
|
|
padding: 10px 10px 10px 20px;
|
|
}
|
|
}
|
|
|
|
html:not(.rl-ctrl-key-pressed) .visible-on-ctrl-btn,
|
|
html.rl-ctrl-key-pressed .hidden-on-ctrl-btn,
|
|
.show-on-panel-disabled {
|
|
display: none;
|
|
}
|
|
|
|
html.rl-left-panel-disabled {
|
|
|
|
#rl-left {
|
|
width: 60px !important;
|
|
|
|
.show-on-panel-disabled {
|
|
display: block;
|
|
}
|
|
|
|
.opacity-on-panel-disabled {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.hide-on-panel-disabled {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
#rl-right {
|
|
left: 60px !important;
|
|
}
|
|
}
|
|
|
|
html.rl-mobile,
|
|
html.rl-no-preview-pane {
|
|
|
|
#rl-sub-left {
|
|
right: @rlBottomMargin !important;
|
|
width: inherit;
|
|
}
|
|
|
|
#rl-sub-right {
|
|
left: 0 !important;
|
|
}
|
|
}
|
|
|
|
html.rl-mobile #rl-left > .resizer,
|
|
html.rl-side-preview-pane:not(.rl-mobile) #rl-right .resizer {
|
|
display: none !important;
|
|
}
|
|
|
|
html.rl-bottom-preview-pane:not(.rl-mobile) {
|
|
|
|
#rl-sub-left {
|
|
right: @rlBottomMargin !important;
|
|
width: inherit;
|
|
|
|
.b-message-list-wrapper {
|
|
bottom: inherit;
|
|
height: 300px;
|
|
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
#rl-sub-right {
|
|
|
|
left: 0 !important;
|
|
|
|
.b-message-view-wrapper {
|
|
top: 356px;
|
|
left: 0;
|
|
right: 5px;
|
|
box-shadow: none;
|
|
background-color: var(--message-bg-color, #fff);
|
|
}
|
|
}
|
|
}
|
|
|
|
html.rl-mobile .hide-mobile,
|
|
html:not(.rl-mobile) .show-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
html.rl-mobile .width100-on-mobile {
|
|
width: 100% !important;
|
|
}
|