Browse files

MDL-43062 course: Content of label is left-aligned, regardless of ali…

…gnment chosen

Conflicts:
	theme/bootstrapbase/style/moodle.css
  • Loading branch information...
1 parent 3e6e38b commit 834f172c776ddcb8375d924a70486417cf0d6d27 @mouneyrac mouneyrac committed Dec 13, 2013
View
1 theme/base/style/core.css
@@ -799,6 +799,7 @@ body.tag .managelink {padding: 5px;}
.corelightbox img {position:fixed;top:50%; left: 50%;}
.mod-indent {display:table-cell;}
+.label .mod-indent {float:left; padding-top:20px}
.mod-indent-1 {width:30px;}
.mod-indent-2 {width:60px;}
.mod-indent-3 {width:90px;}
View
15 theme/base/style/course.css
@@ -45,6 +45,11 @@
padding-left: 24px;
}
+.section .label .mod-indent-outer {
+ padding-left: 24px;
+ display: block;
+}
+
.dir-rtl .section .activity .mod-indent-outer {
padding-left: auto;
padding-right: 24px;
@@ -91,6 +96,16 @@
padding-right: 32px;
height: 2em;
display: table-cell;
+
+}
+
+.sitetopic .section .label .activityinstance,
+.course-content .section .label .activityinstance,
+.sitetopic .section .label .contentwithoutlink,
+.course-content .section .label .contentwithoutlink {
+ padding-right: 32px;
+ display: block;
+ height: inherit;
}
.dir-rtl .sitetopic .section .activity .activityinstance,
View
4 theme/bootstrapbase/less/moodle/core.less
@@ -1169,6 +1169,10 @@ body.tag .managelink {
.mod-indent {
display: table-cell;
}
+.label .mod-indent {
+ float:left;
+ padding-top:20px
+}
.mod-indent-1 {
width: 30px;
}
View
13 theme/bootstrapbase/less/moodle/course.less
@@ -90,6 +90,19 @@
}
}
}
+ .label {
+ .contentwithoutlink,
+ .activityinstance {
+ padding-right: 32px;
+ display: block;
+ height: inherit;
+ }
+
+ .mod-indent-outer {
+ padding-left: 24px;
+ display: block;
+ }
+ }
.filler {
width: 16px;
View
2 theme/bootstrapbase/style/moodle.css
1 addition, 1 deletion not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 834f172

Please sign in to comment.