MDL-83016 course: set icon size when used as background in tree.

This commit is contained in:
Paul Holden
2024-09-04 12:42:45 +01:00
parent 526e04f540
commit b24887b168
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -612,9 +612,9 @@ span.editinstructions {
.coursebox > .info > .coursename a {
display: block;
background-image: url([[pix:moodle|i/course]]);
background-size: $icon-width $icon-height;
background-repeat: no-repeat;
padding-left: 21px;
background-position: left 0.2em;
}
}
@@ -690,6 +690,7 @@ span.editinstructions {
.course_category_tree .category.with_children > .info > .categoryname {
background-image: url([[pix:moodle|t/expanded]]);
background-size: $icon-width $icon-height;
background-repeat: no-repeat;
background-position: center left;
}
+2 -1
View File
@@ -28592,9 +28592,9 @@ span.editinstructions .alert-link {
#frontpage-category-combo .coursebox > .info > .coursename a {
display: block;
background-image: url([[pix:moodle|i/course]]);
background-size: 16px 16px;
background-repeat: no-repeat;
padding-left: 21px;
background-position: left 0.2em;
}
.coursebox > .info > .coursename {
@@ -28667,6 +28667,7 @@ span.editinstructions .alert-link {
.course_category_tree .category.with_children > .info > .categoryname {
background-image: url([[pix:moodle|t/expanded]]);
background-size: 16px 16px;
background-repeat: no-repeat;
background-position: center left;
}
+2 -1
View File
@@ -28592,9 +28592,9 @@ span.editinstructions .alert-link {
#frontpage-category-combo .coursebox > .info > .coursename a {
display: block;
background-image: url([[pix:moodle|i/course]]);
background-size: 16px 16px;
background-repeat: no-repeat;
padding-left: 21px;
background-position: left 0.2em;
}
.coursebox > .info > .coursename {
@@ -28667,6 +28667,7 @@ span.editinstructions .alert-link {
.course_category_tree .category.with_children > .info > .categoryname {
background-image: url([[pix:moodle|t/expanded]]);
background-size: 16px 16px;
background-repeat: no-repeat;
background-position: center left;
}