MDL-40759 icons: Fixes for icons used in CSS

This commit is contained in:
Damyon Wiese 2017-01-31 15:06:17 +08:00
parent 7776c9e112
commit 9d67a40862
3 changed files with 13 additions and 5 deletions

View file

@ -16,7 +16,7 @@
.block .block-controls { .block .block-controls {
.dropdown-toggle { .dropdown-toggle {
/* So that the caret takes the colour of the icon. */ /* So that the caret takes the colour of the icon. */
color: #999; color: $body-color;
} }
} }

View file

@ -19,6 +19,7 @@
.context-header-settings-menu .dropdown-toggle > .icon, .context-header-settings-menu .dropdown-toggle > .icon,
#region-main-settings-menu .dropdown-toggle > .icon { #region-main-settings-menu .dropdown-toggle > .icon {
height: 24px; height: 24px;
font-size: 24px;
width: auto; width: auto;
} }
/** Prevent user notifications overlapping with region main settings menu */ /** Prevent user notifications overlapping with region main settings menu */
@ -1459,6 +1460,7 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
.chooserdialogue-course-modchooser .modicon .icon { .chooserdialogue-course-modchooser .modicon .icon {
width: 24px; width: 24px;
height: 24px; height: 24px;
font-size: 24px;
} }
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {

View file

@ -594,10 +594,15 @@ span.editinstructions {
.coursebox > .info > .coursename a { .coursebox > .info > .coursename a {
display: block; display: block;
background-image: url([[pix:moodle|i/course]]); padding-left: 32px;
background-repeat: no-repeat; position: relative;
padding-left: 21px; }
background-position: left 0.2em; .coursebox > .info > .coursename a:before {
position: absolute;
font-family: 'FontAwesome';
top: 0;
left: 0;
content: "\f0ac";
} }
.coursebox > .info > .coursename, .coursebox > .info > .coursename,
@ -1193,4 +1198,5 @@ span.editinstructions {
.page-settings-menu .menubar > a > .icon { .page-settings-menu .menubar > a > .icon {
width: auto; width: auto;
height: 32px; height: 32px;
font-size: 32px;
} }