From 60ce7256e8bb38f7f7dd98b0e5540346bffcdea4 Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Mon, 24 Sep 2012 03:05:54 +0200 Subject: Add `logout_required; Add bootstrap for forms --- static/bootstrap-form.css | 67 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 static/bootstrap-form.css (limited to 'static') diff --git a/static/bootstrap-form.css b/static/bootstrap-form.css new file mode 100644 index 0000000..8c84910 --- /dev/null +++ b/static/bootstrap-form.css @@ -0,0 +1,67 @@ +/*! + * based on + * Bootstrap v2.1.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. + */ + + +.form-horizontal .control-label, +.form-horizontal label { + float: left; + width: 10em; + text-align: right; +} + +.form-horizontal input, +.form-horizontal textarea, +.form-horizontal select { + display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; + margin-bottom: 0; + vertical-align: middle; +} +.control-group { + margin-bottom: .4em; +} +.form-horizontal .control-group:before, +.form-horizontal .control-group:after { + display: table; + content: ""; + line-height: 0; +} +.form-horizontal .control-group:after { + clear: both; +} +.form-horizontal .control-label { + float: left; + width: 10em; + text-align: right; +} +.form-horizontal .controls { + *display: inline-block; + *padding-left: 20px; + margin-left: 11em; + *margin-left: 0; +} +.form-horizontal .controls:first-child { + *padding-left: 11em; +} +.form-horizontal .help-block { + margin-bottom: 0; +} +.form-horizontal input + .help-block, +.form-horizontal select + .help-block, +.form-horizontal textarea + .help-block { + margin-top: 10px; +} +.form-horizontal .form-actions { + padding-left: 11em; +} -- cgit v1.2.3-1-g7c22