You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/10/01 23:33:43 UTC
git commit: updated refs/heads/ui-restyle to 7b6be2d
Updated Branches:
refs/heads/ui-restyle f6de5ca46 -> 7b6be2d7b
createForm: Fix checkbox alignment
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7b6be2d7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7b6be2d7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7b6be2d7
Branch: refs/heads/ui-restyle
Commit: 7b6be2d7b10c3d817abb5d331b41c99413c5d113
Parents: f6de5ca
Author: Brian Federle <br...@citrix.com>
Authored: Tue Oct 1 14:33:31 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Oct 1 14:33:31 2013 -0700
----------------------------------------------------------------------
ui/stylesheets/csui/_form.scss | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7b6be2d7/ui/stylesheets/csui/_form.scss
----------------------------------------------------------------------
diff --git a/ui/stylesheets/csui/_form.scss b/ui/stylesheets/csui/_form.scss
index a7fd0ca..a73417a 100644
--- a/ui/stylesheets/csui/_form.scss
+++ b/ui/stylesheets/csui/_form.scss
@@ -82,7 +82,7 @@
.message {
@include row;
}
-
+
form {
margin-top: 20px;
margin-bottom: 20px;
@@ -93,7 +93,7 @@
.form-item {
@include row;
@include span-columns(12);
-
+
display: inline-block; // Needed for legacy code in JS
margin-top: 5px;
margin-bottom: 5px;
@@ -108,7 +108,14 @@
}
input, select, .dynamic-input {
- @include span-columns(7);
+ &:not([type=checkbox]) {
+ @include span-columns(7);
+ }
+
+ &[type=checkbox], [type=radio] {
+ @include span-columns(1);
+ }
+
@include shift(0.2);
}
}
@@ -121,7 +128,7 @@
.form-item {
margin: 0;
-
+
label {
@include span-columns(4);
}