From fbe4f6b6aadeb004f215c4554a1ec6d7249bf0ed Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Thu, 1 Dec 2022 17:35:04 +0100 Subject: [PATCH] icons --- app/assets/stylesheets/admin/pure/style.sass | 3 +++ .../bootstrap-icons.sass => commons/_bootstrap-icons.sass} | 0 app/assets/stylesheets/extranet.sass | 2 +- app/views/admin/layouts/themes/pure/_nav.html.erb | 4 ++-- 4 files changed, 6 insertions(+), 3 deletions(-) rename app/assets/stylesheets/{extranet/bootstrap-icons.sass => commons/_bootstrap-icons.sass} (100%) diff --git a/app/assets/stylesheets/admin/pure/style.sass b/app/assets/stylesheets/admin/pure/style.sass index 3b97ec32d..1eb25c7eb 100644 --- a/app/assets/stylesheets/admin/pure/style.sass +++ b/app/assets/stylesheets/admin/pure/style.sass @@ -3,6 +3,9 @@ left: 0 right: 0 padding-top: $spacing2 + .bi + font-size: 26px + vertical-align: middle .navbar-brand img width: 100px diff --git a/app/assets/stylesheets/extranet/bootstrap-icons.sass b/app/assets/stylesheets/commons/_bootstrap-icons.sass similarity index 100% rename from app/assets/stylesheets/extranet/bootstrap-icons.sass rename to app/assets/stylesheets/commons/_bootstrap-icons.sass diff --git a/app/assets/stylesheets/extranet.sass b/app/assets/stylesheets/extranet.sass index 5dd30c32a..b0734c2c9 100644 --- a/app/assets/stylesheets/extranet.sass +++ b/app/assets/stylesheets/extranet.sass @@ -9,8 +9,8 @@ @import 'gdpr/cookie_consent' @import 'cropperjs/dist/cropper' @import 'commons/summernote' +@import 'commons/bootstrap-icons' // Default -@import 'extranet/bootstrap-icons' @import 'extranet/layout/*' @import 'extranet/pages/*' diff --git a/app/views/admin/layouts/themes/pure/_nav.html.erb b/app/views/admin/layouts/themes/pure/_nav.html.erb index 938dd2e09..bd5daa075 100644 --- a/app/views/admin/layouts/themes/pure/_nav.html.erb +++ b/app/views/admin/layouts/themes/pure/_nav.html.erb @@ -12,7 +12,7 @@ aria-expanded="false" aria-label="Afficher la navigation"> Menu - <i class="fas fa-bars"></i> + <i class="bi bi-list"></i> </button> </div> </nav> @@ -31,7 +31,7 @@ aria-expanded="false" aria-label="Masquer la navigation"> Fermer - <i class="fas fa-xmark"></i> + <i class="bi bi-x-lg"></i> </button> </div> </div> -- GitLab