mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-25 00:21:29 +08:00
Improve desktop mode in mobile mode
This commit is contained in:
parent
0d6335ed2c
commit
33214c1a33
3 changed files with 7 additions and 14 deletions
|
@ -1,13 +1,12 @@
|
|||
html, body {
|
||||
background-color: #eee;
|
||||
font-family: "DejaVu Sans", Verdana, Geneva, "Bitstream Vera Sans", "DejaVu LGC Sans", sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #aaa;
|
||||
color: #333;
|
||||
background: var(--main-bg-color, #aaa);
|
||||
color: var(--main-color, #333);
|
||||
}
|
||||
|
||||
#rl-loading, #rl-loading-error {
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
.UserBackground body {
|
||||
background-size: cover;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
|
|
@ -4,31 +4,26 @@
|
|||
*/
|
||||
|
||||
html, body {
|
||||
font-family: Arial, Verdana, Geneva, sans-serif;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
line-height: 1.15; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--main-bg-color, #e3e3e3);
|
||||
color: var(--main-color, #333);
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
.rl-mobile
|
||||
*/
|
||||
html:not(.rl-mobile) {
|
||||
min-width: 700px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1000px) {
|
||||
body {
|
||||
background-image: var(--main-bg-image);
|
||||
|
|
Loading…
Reference in a new issue