Get theme background working in Nextcloud #558

This commit is contained in:
the-djmaze 2022-10-19 23:31:44 +02:00
parent 7211869636
commit 4a89edec01
3 changed files with 6 additions and 6 deletions

View file

@ -5,14 +5,14 @@
} }
html, body { html, body {
font-family: var(--fontSans);
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body { #rl-app {
background: var(--main-bg-color, #aaa); background-color: var(--main-bg-color, #aaa);
color: var(--main-color, #333); color: var(--main-color, #333);
font-family: var(--fontSans);
} }
#rl-loading, #rl-loading-error { #rl-loading, #rl-loading-error {

View file

@ -10,7 +10,7 @@ html, body {
-webkit-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */
} }
body { #rl-app {
-webkit-touch-callout: none; -webkit-touch-callout: none;
font-size: @baseFontSize; font-size: @baseFontSize;
position: fixed; position: fixed;
@ -26,7 +26,7 @@ html.list-loading body {
} }
@media screen and (min-width: 1000px) { @media screen and (min-width: 1000px) {
body { #rl-app {
background-image: var(--main-bg-image); background-image: var(--main-bg-image);
background-size: var(--main-bg-size); background-size: var(--main-bg-size);
background-repeat: var(--main-bg-repeat); background-repeat: var(--main-bg-repeat);

View file

@ -1,7 +1,7 @@
/* /*
This stylesheet is used when SnappyMail runs in embed mode. This stylesheet is used when SnappyMail runs in embed mode.
*/ */
#rl-app { #content #rl-app {
position: relative; position: relative;
min-width: 100%; min-width: 100%;
min-height: 100%; min-height: 100%;