summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-24 03:05:54 +0200
committerMarian Sigler <m@qjym.de>2012-09-24 03:05:54 +0200
commit60ce7256e8bb38f7f7dd98b0e5540346bffcdea4 (patch)
treeb4292cbfe83e151416ff5539643e872802c06ba6 /static
parenteda695239430f65ee198b7185e99619a5a080a34 (diff)
downloadweb-60ce7256e8bb38f7f7dd98b0e5540346bffcdea4.tar.gz
web-60ce7256e8bb38f7f7dd98b0e5540346bffcdea4.tar.bz2
web-60ce7256e8bb38f7f7dd98b0e5540346bffcdea4.zip
Add `logout_required; Add bootstrap for forms
Diffstat (limited to 'static')
-rw-r--r--static/bootstrap-form.css67
1 files changed, 67 insertions, 0 deletions
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;
+}