MDL-42782 usability: fix for extreme course page indenting

This commit is contained in:
Jetha Chan 2014-06-03 11:15:00 +08:00
parent bd29ed2770
commit bd77886b41
3 changed files with 18 additions and 47 deletions

View File

@ -976,8 +976,9 @@ x#fitem_id_availabilityconditionsjson input[type=text] {
.mod-indent-12 {width:360px;}
.mod-indent-13 {width:390px;}
.mod-indent-14 {width:420px;}
.mod-indent-15,
.mod-indent-huge {width:420px;}
.mod-indent-15 {width:450px;}
.mod-indent-16,
.mod-indent-huge {width:480px;}
.dir-rtl .mform .fitem .felement {margin-right: 16%;margin-left:auto;text-align: right;}
.dir-rtl .mform .fitem .felement input[name=email],

View File

@ -1223,52 +1223,22 @@ body.tag .managelink {
float:left;
padding-top:20px
}
.mod-indent-1 {
width: 30px;
/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
@mod-indent-size: 30px;
@mod-indent-levels: 16;
.mod-indent-generate(@n, @i: 1) when (@i =< @n) {
.mod-indent-@{i} {
width: (@i * @mod-indent-size);
}
.mod-indent-generate(@n, (@i + 1));
}
.mod-indent-2 {
width: 60px;
}
.mod-indent-3 {
width: 90px;
}
.mod-indent-4 {
width: 120px;
}
.mod-indent-5 {
width: 150px;
}
.mod-indent-6 {
width: 180px;
}
.mod-indent-7 {
width: 210px;
}
.mod-indent-8 {
width: 240px;
}
.mod-indent-9 {
width: 270px;
}
.mod-indent-10 {
width: 300px;
}
.mod-indent-11 {
width: 330px;
}
.mod-indent-12 {
width: 360px;
}
.mod-indent-13 {
width: 390px;
}
.mod-indent-14 {
width: 420px;
}
.mod-indent-15,
.mod-indent-huge {
width: 420px;
.mod-indent-generate(@n, @i: 1) when (@i = @n) {
.mod-indent-huge {
width: (@i * @mod-indent-size);
}
}
.mod-indent-generate(@mod-indent-levels);
/* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
.resourcecontent .mediaplugin_mp3 object {

File diff suppressed because one or more lines are too long