mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Also convert template body-background-image to var()
And cleanup more CSS
This commit is contained in:
parent
d9bece04b2
commit
5e9941d58f
15 changed files with 46 additions and 207 deletions
|
|
@ -1,13 +1,21 @@
|
|||
/**
|
||||
* 1. Correct the line height in all browsers.
|
||||
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
||||
*/
|
||||
|
||||
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-color: var(--main-bg-color, #e3e3e3);
|
||||
background-image: var(--main-bg-image);
|
||||
background-size: var(--main-bg-size);
|
||||
color: var(--main-color, #000);
|
||||
|
||||
|
|
@ -29,14 +37,10 @@ option:disabled {
|
|||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
* {
|
||||
*, select:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
select:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
html.mobile *, html.rl-mobile * {
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue