snappymail/dev/Styles/Main.less
djmaze 48424e213b Allow themes in mobile mode
Cleanup themes and drop the template.less
2021-02-06 23:37:53 +01:00

75 lines
1.1 KiB
Plaintext

/**
* 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-size: var(--main-bg-size);
color: var(--main-color, #333);
-webkit-touch-callout: none;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
/*
.rl-mobile / .no-mobile
*/
@media screen and (min-width: 1000px) {
body {
background-image: var(--main-bg-image);
}
}
textarea {
resize: none;
}
option:disabled {
color: #aaa;
cursor: not-allowed;
}
*, select:focus {
outline: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
input[type="search"]{
box-sizing: content-box;
}
.button-confirm-delete {
margin-right: 15px;
opacity: 0;
visibility: hidden;
}
.button-confirm-delete.delete-access {
margin-right: 0;
opacity: 1;
visibility: visible;
}
.drag-handle {
color: #eee;
cursor: grab;
}
tr:hover .drag-handle {
color: #aaa;
}