Permalink
Browse files

MDL-39608 - Bootstrap - Chaning the thresholds and width values for t…

…he Form labels

Conflicts:
	theme/bootstrapbase/style/moodle.css
  • Loading branch information...
1 parent a1d43d9 commit 57ecff63565a662bb0a2b418cd798af1035c32ad @jsnfwlr jsnfwlr committed with Sam Hemelryk May 10, 2013
@@ -21,8 +21,9 @@
// Increase form label width.
@horizontalComponentOffset: 200px;
// On Wider screens.
-@horizontalComponentOffset768: 220px;
-@horizontalComponentOffset980: 265px;
+@horizontalComponentOffset980: 220px;
+@horizontalComponentOffset1200: 265px;
+
// Roll back nameclashes.
@import "moodle/undo";
@@ -14,6 +14,9 @@
float: right;
}
}
+}
+
+@media (min-width: 980px) and (max-width: 1199px) {
// Wider form labels.
.form-item .form-label,
.mform .fitem div.fitemtitle,
@@ -47,6 +50,27 @@
width: 48.717948717948715%;
*width: 48.664757228587014%;
}
+ // Wider form labels.
+ .form-item .form-label,
+ .mform .fitem div.fitemtitle,
+ .userprofile dl.list dt,
+ .form-horizontal .control-label {
+ width: @horizontalComponentOffset1200 - 20px;
+ }
+ .form-item .form-setting,
+ .form-item .form-description,
+ .mform .fitem .felement,
+ #page-mod-forum-search .c1,
+ .mform .fdescription.required,
+ .userprofile dl.list dd,
+ .form-horizontal .controls {
+ margin-left: @horizontalComponentOffset1200;
+ }
+ .path-admin .buttons,
+ .form-buttons {
+ padding-left: @horizontalComponentOffset1200;
+ }
+
}
@media (min-width: 980px) {
@@ -260,26 +284,6 @@
padding-left: 0;
padding-right: 0;
}
- // Wider form labels.
- .form-item .form-label,
- .mform .fitem div.fitemtitle,
- .userprofile dl.list dt,
- .form-horizontal .control-label {
- width: @horizontalComponentOffset768 - 20px;
- }
- .form-item .form-setting,
- .form-item .form-description,
- .mform .fitem .felement,
- #page-mod-forum-search .c1,
- .mform .fdescription.required,
- .userprofile dl.list dd,
- .form-horizontal .controls {
- margin-left: @horizontalComponentOffset768;
- }
- .path-admin .buttons,
- .form-buttons {
- padding-left: @horizontalComponentOffset768;
- }
}
@media (max-width: 979px) {

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 57ecff6

Please sign in to comment.