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 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) (limited to 'public') 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 { -- cgit v1.2.3