2021-02-05 22:31:42 +08:00
|
|
|
|
|
2021-07-20 22:45:55 +08:00
|
|
|
|
html.list-loading body {
|
|
|
|
|
/* cursor: wait;*/
|
|
|
|
|
cursor: progress;
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-28 16:11:34 +08:00
|
|
|
|
.toggleLeft::before {
|
|
|
|
|
content: '❮';
|
|
|
|
|
}
|
|
|
|
|
html.rl-left-panel-disabled .toggleLeft::before {
|
|
|
|
|
content: '❯';
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-23 20:54:32 +08:00
|
|
|
|
@media screen and (min-width: @maxMobileWidth + 1px) {
|
2022-10-20 05:31:44 +08:00
|
|
|
|
#rl-app {
|
2021-02-07 06:37:53 +08:00
|
|
|
|
background-image: var(--main-bg-image);
|
2021-02-15 22:20:22 +08:00
|
|
|
|
background-size: var(--main-bg-size);
|
|
|
|
|
background-repeat: var(--main-bg-repeat);
|
2021-02-07 06:37:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-11-16 06:21:12 +08:00
|
|
|
|
option:disabled {
|
|
|
|
|
color: #aaa;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
2021-02-05 22:31:42 +08:00
|
|
|
|
*, select:focus {
|
2013-11-16 06:21:12 +08:00
|
|
|
|
outline: none;
|
|
|
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
2014-11-06 03:40:20 +08:00
|
|
|
|
}
|
|
|
|
|
|
2023-02-12 03:00:40 +08:00
|
|
|
|
#rl-content:not([hidden]) {
|
2023-02-06 02:45:03 +08:00
|
|
|
|
display:flex;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
2021-11-08 06:49:01 +08:00
|
|
|
|
|
|
|
|
|
dialog::backdrop {
|
|
|
|
|
background: rgba(0,0,0,0.5);
|
|
|
|
|
}
|
|
|
|
|
.dialog-backdrop {
|
|
|
|
|
background: rgba(0,0,0,0.5);
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dialog {
|
|
|
|
|
border: 0;
|
2022-11-03 03:49:38 +08:00
|
|
|
|
background-color: var(--dialog-bg-clr, #fff);
|
2022-11-04 19:30:38 +08:00
|
|
|
|
border: 1px solid var(--dialog-border-clr, rgba(0,0,0,.3));
|
|
|
|
|
border-radius: var(--dialog-border-radius, 6px);
|
2021-11-08 06:49:01 +08:00
|
|
|
|
box-shadow: 0 5px 80px rgba(0,0,0,0.3);
|
2022-11-03 19:45:10 +08:00
|
|
|
|
color: var(--dialog-clr, #333);
|
2021-11-09 03:41:38 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2021-11-08 06:49:01 +08:00
|
|
|
|
margin: 10px auto;
|
2023-02-06 02:45:03 +08:00
|
|
|
|
max-height: calc(100vh - var(--smDialogShrink));
|
|
|
|
|
max-height: calc(100dvh - var(--smDialogShrink));
|
2021-11-08 06:49:01 +08:00
|
|
|
|
max-width: 560px;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
padding: 0;
|
2021-12-03 07:43:48 +08:00
|
|
|
|
position: fixed;
|
2021-11-08 06:49:01 +08:00
|
|
|
|
transition: all .2s ease-out;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: calc(100% - 20px);
|
|
|
|
|
}
|
|
|
|
|
dialog:not([open]) {
|
|
|
|
|
display: none !important;
|
2021-01-19 00:11:53 +08:00
|
|
|
|
}
|
2021-11-09 03:41:38 +08:00
|
|
|
|
dialog.animate {
|
2021-01-19 00:11:53 +08:00
|
|
|
|
opacity: 1;
|
2021-11-08 06:49:01 +08:00
|
|
|
|
}
|
2021-11-09 03:41:38 +08:00
|
|
|
|
dialog:not(.animate) {
|
2021-11-08 06:49:01 +08:00
|
|
|
|
background-color: rgba(0,0,0,0);
|
|
|
|
|
opacity: 0;
|
|
|
|
|
top: -25%;
|
2021-01-19 00:11:53 +08:00
|
|
|
|
}
|
|
|
|
|
|
2022-12-07 23:25:37 +08:00
|
|
|
|
/**
|
|
|
|
|
* https://github.com/the-djmaze/snappymail/issues/686
|
|
|
|
|
*/
|
2023-02-23 20:54:32 +08:00
|
|
|
|
@media screen and (max-width: @maxMobileWidth) {
|
|
|
|
|
dialog {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
/* max-height: calc(100vh - 86px);*/
|
|
|
|
|
/* max-height: 100dvh;*/
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2022-12-07 23:25:37 +08:00
|
|
|
|
}
|
|
|
|
|
|
2021-11-09 03:41:38 +08:00
|
|
|
|
dialog > header {
|
2021-11-16 23:22:05 +08:00
|
|
|
|
padding: 9px 15px;
|
2022-09-30 04:40:50 +08:00
|
|
|
|
border-bottom: 1px solid var(--border-color, #ddd);
|
2021-11-16 23:22:05 +08:00
|
|
|
|
|
|
|
|
|
// Close icon
|
|
|
|
|
.close {
|
|
|
|
|
margin-top: 2px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Heading
|
|
|
|
|
h3 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
line-height: 30px;
|
|
|
|
|
}
|
2021-01-19 00:11:53 +08:00
|
|
|
|
}
|
2021-11-08 06:49:01 +08:00
|
|
|
|
|
|
|
|
|
// Body (where all modal content resides)
|
|
|
|
|
dialog .modal-body {
|
2021-11-16 23:22:05 +08:00
|
|
|
|
overflow: auto;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 15px;
|
2022-03-10 19:19:00 +08:00
|
|
|
|
position: relative;
|
2021-11-08 06:49:01 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Footer (for actions)
|
2021-11-09 03:41:38 +08:00
|
|
|
|
dialog > footer {
|
2023-01-26 21:11:30 +08:00
|
|
|
|
padding: 9px 15px;
|
2021-11-16 23:22:05 +08:00
|
|
|
|
margin-bottom: 0;
|
2023-04-18 17:35:31 +08:00
|
|
|
|
text-align: var(--right, right); // right align buttons
|
2022-09-30 04:40:50 +08:00
|
|
|
|
border-top: 1px solid var(--border-color, #ddd);
|
2022-11-07 22:25:59 +08:00
|
|
|
|
border-radius: 0 0 var(--dialog-border-radius, 6px) var(--dialog-border-radius, 6px);
|
2021-11-16 23:22:05 +08:00
|
|
|
|
|
|
|
|
|
// Properly space out buttons
|
|
|
|
|
.btn + .btn {
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs
|
|
|
|
|
}
|
|
|
|
|
// but override that for button groups
|
|
|
|
|
.btn-group .btn + .btn {
|
|
|
|
|
margin-left: -1px;
|
|
|
|
|
}
|
2021-01-19 00:11:53 +08:00
|
|
|
|
}
|