Skip to content

Commit

Permalink
MDL-83109 theme: Update core:t/completion_fail icon and resize it
Browse files Browse the repository at this point in the history
This commit:
- Updates core:t/completion_fail from fa-times to fa-xmark
- Reduces the font size of course index completion icons from 12px to 10px.
  • Loading branch information
sarjona committed Sep 13, 2024
1 parent 09e56f2 commit 086757b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/classes/output/icon_system_fontawesome.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function get_core_icon_map() {
'core:t/collapsedchevron_rtl' => 'fa-chevron-left',
'core:t/collapsedchevron_up' => 'fa-chevron-up',
'core:t/completion_complete' => 'fa-circle',
'core:t/completion_fail' => 'fa-times',
'core:t/completion_fail' => 'fa-xmark',
'core:t/completion_incomplete' => 'fa-regular fa-circle',
'core:t/contextmenu' => 'fa-ellipsis-vertical',
'core:t/copy' => 'fa-solid fa-clone',
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/scss/moodle/courseindex.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ $courseindex-item-current: $primary !default;

// General icons size.
.icon {
font-size: 12px;
font-size: 10px;
}

// Element visible only on editing mode.
Expand Down
2 changes: 1 addition & 1 deletion theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -38749,7 +38749,7 @@ div.editor_atto_toolbar button .icon {
width: 100%;
}
.courseindex .icon {
font-size: 12px;
font-size: 10px;
}
.courseindex .d-flex-noedit {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -38683,7 +38683,7 @@ div.editor_atto_toolbar button .icon {
width: 100%;
}
.courseindex .icon {
font-size: 12px;
font-size: 10px;
}
.courseindex .d-flex-noedit {
display: none;
Expand Down

0 comments on commit 086757b

Please sign in to comment.