diff --git a/assets/images/icons.svg b/assets/images/icons.svg index c5a5845a..c443245f 100644 --- a/assets/images/icons.svg +++ b/assets/images/icons.svg @@ -852,12 +852,67 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/stylesheets/additionals.css b/assets/stylesheets/additionals.css index 936d4c11..5f8a5999 100644 --- a/assets/stylesheets/additionals.css +++ b/assets/stylesheets/additionals.css @@ -1,15 +1,3 @@ -#admin-menu a.additionals::before { - font-family: 'Font Awesome 5 Free'; - font-size: 1.1em; - font-weight: 900; - content: '\f085'; /* fas fa-cogs */ - padding-right: 4px; -} - -#admin-menu a.additionals { - padding-left: 0; -} - #top-menu a.top-submenu { padding-bottom: 10px; } @@ -143,11 +131,6 @@ svg.a-s12 { height: 0.75rem; } -/* Mobile menu style FontAwesome icon */ -.flyout-is-active #admin-menu li a.additionals { - padding-left: 8px !important; -} - .sudo-admin { color: #d80000; } .nodata.nodata-left { text-align: left; } diff --git a/init.rb b/init.rb index 5b729423..20e75bd1 100644 --- a/init.rb +++ b/init.rb @@ -41,7 +41,12 @@ requires_redmine version_or_higher: '6.0' - menu :admin_menu, :additionals, { controller: 'settings', action: 'plugin', id: 'additionals' }, caption: :label_additionals + menu :admin_menu, + :additionals, + { controller: 'settings', action: 'plugin', id: 'additionals' }, + caption: :label_additionals, + plugin: 'additionals', + icon: 'additionals' end RedminePluginKit::Loader.persisting do