From 5fee600c6ef8d7467a394ef04dbf9aa681cb540b Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 13 May 2020 14:48:02 -0400 Subject: alps theme: theme the login page --- themes/alps/assets/style.css | 46 ++++++++++++++++++++++++++++++++++++++++---- themes/alps/login.html | 43 ++++++++++++++++++++++------------------- themes/alps/nav.html | 2 +- 3 files changed, 66 insertions(+), 25 deletions(-) (limited to 'themes/alps') diff --git a/themes/alps/assets/style.css b/themes/alps/assets/style.css index b1c2ab7..b256b93 100644 --- a/themes/alps/assets/style.css +++ b/themes/alps/assets/style.css @@ -127,13 +127,40 @@ aside { flex: 0 0 180px; } aside a { width: 100%; display: block; padding: 0.4rem 0 0.4rem 0.5rem; } aside a.active { font-weight: bold; color: black; text-decoration: none; } aside img { display: block; } -main { flex: 1 100%; display: flex; flex-direction: column; padding: 0.5rem 1rem 0.5rem 0.5rem; min-width: 0; } +main { + flex: 1 100%; + display: flex; + flex-direction: column; + padding: 0.5rem 1rem 0.5rem 0.5rem; + min-width: 0; + background-color: #f6f6f6; +} + +main.login { + justify-content: center; +} + +main.login > section { + align-self: center; + background: white; + min-width: 20rem; + padding: 1rem; +} aside a.active, -main { background-color: #f6f6f6; } -aside a.new.active { color: #008d47; } +aside a.new.active { + background-color: #f6f6f6; +} + +aside a.new.active { + color: #008d47; +} + aside a.new.active, -main.compose { background-color: #f6fff6; } +main.compose { + background-color: #f6fff6; +} + main.compose { flex: 1 auto; padding: 1rem; } main.compose form { flex: 1 auto; display: flex; flex-direction: column; } main.compose form label { margin-top: 5px; } @@ -316,14 +343,25 @@ main table tfoot { margin-right: 0.3rem; } +.action-group:not(:last-child) { + margin-bottom: 1rem; +} + .actions-wrap .action-group { margin-left: 0.3rem; + margin-bottom: 0; } .action-group.grow { flex-grow: 1; } +.action-group label, +.action-group input { + display: block; + width: 100%; +} + .actions-message, .actions-contacts { display: flex; diff --git a/themes/alps/login.html b/themes/alps/login.html index f599535..e642050 100644 --- a/themes/alps/login.html +++ b/themes/alps/login.html @@ -1,26 +1,29 @@ {{template "head.html" .}} -

alps webmail

-
-

-

+
+

Webmail Login

+ + +
+ - -

-
-

-

+ +
+ - -

-
-

- -

- +
+ +
+ +
+ +
+
{{template "foot.html"}} diff --git a/themes/alps/nav.html b/themes/alps/nav.html index 3c26166..1678434 100644 --- a/themes/alps/nav.html +++ b/themes/alps/nav.html @@ -2,7 +2,7 @@