Merge branch 'wip-MDL-39608-master' of git://github.com/phalacee/moodle

Conflicts:
	theme/bootstrapbase/style/moodle.css
This commit is contained in:
Sam Hemelryk 2013-06-10 14:26:04 +12:00
commit 111f5291f9
3 changed files with 28 additions and 23 deletions

View File

@ -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";

View File

@ -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) {

File diff suppressed because one or more lines are too long