From ef2a7aead7bf70ae30e11a767ca32d2b5f8bb1a7 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 8 Oct 2021 14:01:24 +0200 Subject: [PATCH] menu --- app/assets/stylesheets/admin/styles.sass | 33 +++++++++++++----------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/admin/styles.sass b/app/assets/stylesheets/admin/styles.sass index 96b252537..16b3d9b0a 100644 --- a/app/assets/stylesheets/admin/styles.sass +++ b/app/assets/stylesheets/admin/styles.sass @@ -4,21 +4,24 @@ h1 .sidebar-nav .fas min-width: 20px -body, body[data-theme=dark] - .sidebar - background: black - .sidebar-content - background-color: black - background-image: asset-url('sun.svg') - background-repeat: no-repeat - background-position-x: center - background-position-y: -420px - background-size: 400% - .sidebar-brand - padding: 90px 80px 120px - .disabled - opacity: 0.6 - pointer-events: none +.sidebar + background: black +.sidebar-content + background-color: black + background-image: asset-url('sun.svg') + background-repeat: no-repeat + background-position-x: center + background-position-y: -420px + background-size: 400% +.sidebar-brand + padding: 90px 80px 120px +.disabled + opacity: 0.6 + pointer-events: none +.sidebar-link, a.sidebar-link + color: rgba(255, 255, 255, 0.8) +.sidebar-item.active .sidebar-link:hover, .sidebar-item.active > .sidebar-link + color: white #topbar padding-left: 2.5rem -- GitLab