Skip to content

Commit

Permalink
MDL-63303 core: add new icons for messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwyllie committed Nov 15, 2018
1 parent 456e6d8 commit 7b91dcf
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/classes/output/icon_system_fontawesome.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ public function get_core_icon_map() {
'core:i/scheduled' => 'fa-calendar-check-o',
'core:i/search' => 'fa-search',
'core:i/section' => 'fa-folder-o',
'core:i/sendmessage' => 'fa-paper-plane',
'core:i/settings' => 'fa-cog',
'core:i/show' => 'fa-eye-slash',
'core:i/siteevent' => 'fa-globe',
Expand Down Expand Up @@ -332,6 +333,7 @@ public function get_core_icon_map() {
'core:t/collapsed_empty' => 'fa-plus-square-o',
'core:t/collapsed_rtl' => 'fa-plus-square',
'core:t/collapsed' => 'fa-plus-square',
'core:t/collapsedcaret' => 'fa-caret-right',
'core:t/contextmenu' => 'fa-cog',
'core:t/copy' => 'fa-copy',
'core:t/delete' => 'fa-trash',
Expand Down
Binary file added pix/i/sendmessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions pix/i/sendmessage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/i/trash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions pix/i/trash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/i/window_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions pix/i/window_close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pix/t/sendmessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions pix/t/sendmessage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions theme/boost/scss/moodle/icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ $iconsizes: map-merge((
.icon {
height: $length !important; /* stylelint-disable-line declaration-no-important */
width: $length !important; /* stylelint-disable-line declaration-no-important */
font-size: $length !important; /* stylelint-disable-line declaration-no-important */
}
}
}
Expand Down
12 changes: 12 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -10518,36 +10518,48 @@ div.editor_atto_toolbar button .icon {
height: 0 !important;
/* stylelint-disable-line declaration-no-important */
width: 0 !important;
/* stylelint-disable-line declaration-no-important */
font-size: 0 !important;
/* stylelint-disable-line declaration-no-important */ }

.icon-size-1 .icon {
height: 4px !important;
/* stylelint-disable-line declaration-no-important */
width: 4px !important;
/* stylelint-disable-line declaration-no-important */
font-size: 4px !important;
/* stylelint-disable-line declaration-no-important */ }

.icon-size-2 .icon {
height: 8px !important;
/* stylelint-disable-line declaration-no-important */
width: 8px !important;
/* stylelint-disable-line declaration-no-important */
font-size: 8px !important;
/* stylelint-disable-line declaration-no-important */ }

.icon-size-3 .icon {
height: 16px !important;
/* stylelint-disable-line declaration-no-important */
width: 16px !important;
/* stylelint-disable-line declaration-no-important */
font-size: 16px !important;
/* stylelint-disable-line declaration-no-important */ }

.icon-size-4 .icon {
height: 24px !important;
/* stylelint-disable-line declaration-no-important */
width: 24px !important;
/* stylelint-disable-line declaration-no-important */
font-size: 24px !important;
/* stylelint-disable-line declaration-no-important */ }

.icon-size-5 .icon {
height: 48px !important;
/* stylelint-disable-line declaration-no-important */
width: 48px !important;
/* stylelint-disable-line declaration-no-important */
font-size: 48px !important;
/* stylelint-disable-line declaration-no-important */ }

.helplink .icon {
Expand Down

0 comments on commit 7b91dcf

Please sign in to comment.