From 4da11a636410d9f0038299e9d425598abb332798 Mon Sep 17 00:00:00 2001 From: Konrad Mohrfeldt Date: Sun, 16 Oct 2011 21:09:44 +0200 Subject: [PATCH] readded message styles (error, notice and success) --- .../templates/registration/loginForm.html | 6 +-- k4ever/media/css/style.css | 36 ++++++++++++++++- k4ever/media/css/style.less | 39 ++++++++++++++++++- 3 files changed, 74 insertions(+), 7 deletions(-) diff --git a/k4ever/main/templates/registration/loginForm.html b/k4ever/main/templates/registration/loginForm.html index fdc634a..1ff784c 100644 --- a/k4ever/main/templates/registration/loginForm.html +++ b/k4ever/main/templates/registration/loginForm.html @@ -2,8 +2,8 @@

Deine Logindaten sind fehlerhaft

Versuch es nochmal, aber achte auf CAPSLOCK und tippe nicht so schnell.

-

Falls du dein Passwort vergessen haben solltest (oder es nicht geht..), - dann melde dich bei deiner Local Antifa +

Falls du dein Passwort vergessen haben solltest (oder es nicht geht..), + dann melde dich bei deiner Local Antifa oder einem Admin unserer Wahl.

@@ -22,6 +22,6 @@
-

Das Kassensystem ist 'Aktiv' - nutzt euren Frunden-Account

+

Das Kassensystem ist 'Aktiv' - nutzt euren Frunden-Account

diff --git a/k4ever/media/css/style.css b/k4ever/media/css/style.css index 38dac52..54979bc 100644 --- a/k4ever/media/css/style.css +++ b/k4ever/media/css/style.css @@ -158,8 +158,6 @@ a:hover { background-color: #3398cc; } .content { - max-width: 1280px; - min-width: 800px; padding: 5px; } input, select { @@ -622,3 +620,37 @@ table.itemListContainer > tbody > tr:first-child ~ tr > td { .transaction input[type="text"], .transaction select { font-size: 16px; } +.notice, .error, .success { + position: fixed; + bottom: 0; + left: -5px; + width: 100%; + border-style: solid; + border-width: 1px 0 0 0; + padding: 7px 15px; + margin-top: 10px; + font-weight: bold; +} +.notice h2, .error h2, .success h2 { + font-size: 14px; + color: inherit; + border-bottom: 0; +} +.error + .notice { + bottom: 40px; +} +.notice { + background-color: #FFF6BF; + border-color: #FFD324; + color: #514721; +} +.error { + background: #FBE3E4; + color: #8A1F11; + border-color: #FBC2C4; +} +.success { + background: #E6EFC2; + color: #264409; + border-color: #C6D880; +} diff --git a/k4ever/media/css/style.less b/k4ever/media/css/style.less index 488ffe5..a9cec8d 100644 --- a/k4ever/media/css/style.less +++ b/k4ever/media/css/style.less @@ -164,8 +164,6 @@ a { } .content { - max-width: 1280px; - min-width: 800px; padding: 5px; } @@ -644,4 +642,41 @@ table.itemListContainer { input[type="text"], select { font-size: 16px; } +} + +.notice, .error, .success { + position: fixed; + bottom: 0; + left: -5px; + width: 100%; + border-style: solid; + border-width: 1px 0 0 0; + padding: 7px 15px; + margin-top: 10px; + font-weight: bold; + + h2 { + font-size: 14px; + color: inherit; + + border-bottom: 0; + } +} + +.notice { + background-color: #FFF6BF; + border-color: #FFD324; + color: #514721; +} + +.error { + background: #FBE3E4; + color: #8A1F11; + border-color: #FBC2C4; +} + +.success { + background: #E6EFC2; + color: #264409; + border-color: #C6D880; } \ No newline at end of file