Merge branch 'MDL-39158-master' of git://github.com/damyon/moodle

This commit is contained in:
Dan Poltawski
2013-04-29 14:20:39 +01:00
3 changed files with 49 additions and 2 deletions
+6
View File
@@ -18,6 +18,12 @@
@iconSpritePath: ~"[[pix:theme|glyphicons-halflings]]";
@iconWhiteSpritePath: ~"[[pix:theme|glyphicons-halflings-white]]";
// Increase form label width.
@horizontalComponentOffset: 200px;
// On Wider screens.
@horizontalComponentOffset768: 220px;
@horizontalComponentOffset980: 265px;
// Roll back nameclashes.
@import "moodle/undo";
@@ -14,6 +14,27 @@
float: right;
}
}
// Wider form labels.
.form-item .form-label,
.mform .fitem div.fitemtitle,
.userprofile dl.list dt,
.form-horizontal .control-label {
width: @horizontalComponentOffset980 - 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: @horizontalComponentOffset980;
}
.path-admin .buttons,
.form-buttons {
padding-left: @horizontalComponentOffset980;
}
}
// login page
@@ -233,6 +254,26 @@
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) {
File diff suppressed because one or more lines are too long