From 8b43a3f8ef6dabe4934e96a7b5b2edf153d8557b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 10 Jul 2016 23:11:15 +0200 Subject: bootstrap light --- public/static/default.css | 50 ++++++++++++++++++++++++++++++++++++++++++- templates/landingpage.html.ep | 5 ++++- 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/public/static/default.css b/public/static/default.css index 498dc00..91d19b0 100644 --- a/public/static/default.css +++ b/public/static/default.css @@ -503,14 +503,62 @@ div.field { margin-bottom: 0.6em; } -input, select { +input, select, .button { + display: inline-block; width: 20em; max-width: 100%; min-height: 1.8em; + border-radius: 4px; + color: #000; + background-color: #fff; + border: 1px solid #ccc; + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + font-size: 90%; + text-align: center; + vertical-align: middle; +} + +input[type="text"] { + width: 19em; + padding-left: 0.5em; + padding-right: 0.5em; + text-align: left; +} + +select { + min-height: 2em; } input[type="checkbox"] { width: 1.5em; + box-shadow: none; +} + +input[type="submit"], .button { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + cursor: pointer; + box-shadow: none; + padding-top: 0.9ex; + padding-bottom: 0.9ex; +} + +.button { + padding-top: 1.1ex; + padding-bottom: 0; +} + +input[type="submit"]:active, +input[type="submit"]:focus, +input[type="submit"]:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} + +input[type="submit"]:active { + box-shadow: inset 0 3px 5px rgba(0,0,0,.125); } div.notes { diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 551cbe6..4a50dbe 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -8,6 +8,9 @@ Alle Angaben ohne Gewähr.

+

+Oder hier angeben:

% } -- cgit v1.2.3