Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitd2a4b399fa4872ff228943e29237037189d50eb5 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 17:17:37 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-03-28 17:17:37 +0800
Filesf1fa67cdcd10d0884bef851594c12fc472062fa4 /src
Spectre-Dark-Gruvbox-d2a4b399fa4872ff228943e29237037189d50eb5.tar
Spectre-Dark-Gruvbox-d2a4b399fa4872ff228943e29237037189d50eb5.tar.gz
Spectre-Dark-Gruvbox-d2a4b399fa4872ff228943e29237037189d50eb5.zip
Parentfe73c2d01b5bd34bd231fe8444884fb3448c0b62 (diff)
add form horizontal code
1 files changed, 23 insertions, 0 deletions
-rw-r--r--src/forms.less23
diff --git a/src/forms.less b/src/forms.less
index 110b747..8d4cbc4 100644
--- a/src/forms.less
+++ b/src/forms.less
@@ -2,6 +2,29 @@
.form-group:not(:last-child) {
margin-bottom: 1rem;
}
+.form-horizontal {
+ .col-12,
+ .col-11,
+ .col-10,
+ .col-9,
+ .col-8,
+ .col-7,
+ .col-6,
+ .col-5,
+ .col-4,
+ .col-3,
+ .col-2,
+ .col-1 {
+ float: left;
+ }
+ .form-label {
+ padding: .8rem .4rem;
+ }
+ .form-checkbox,
+ .form-radio {
+ margin: .5rem 0;
+ }
+}
// Form element: Input boxes
.form-input {
position: relative;