From 33c2145986e0ba16d67441452c18365c97e3b382 Mon Sep 17 00:00:00 2001 From: Luca Orlandini Date: Fri, 19 Nov 2021 14:26:30 +0100 Subject: [PATCH] Give more relevance to ationbar buttons (#557) --- .../client/themes/geonode/less/_menu.less | 19 +++++++++++++++++++ .../themes/geonode/less/_variables.less | 1 + 2 files changed, 20 insertions(+) diff --git a/geonode_mapstore_client/client/themes/geonode/less/_menu.less b/geonode_mapstore_client/client/themes/geonode/less/_menu.less index a1cda5b067..469ab2b60f 100644 --- a/geonode_mapstore_client/client/themes/geonode/less/_menu.less +++ b/geonode_mapstore_client/client/themes/geonode/less/_menu.less @@ -37,6 +37,25 @@ } } + #page-dataset-viewer{ + .gn-menu{ + &.gn-default{ + .gn-menu-content-side { + &.gn-menu-content-left { + .btn-default { + .border-color-var(@theme-vars[@button-default][button-action-border-color]); + .background-color-var(@theme-vars[main-bg]); + &:hover { + .background-color-var(@theme-vars[main-hover-bg]); + } + } + + } + } + } + } + } + } // ************** diff --git a/geonode_mapstore_client/client/themes/geonode/less/_variables.less b/geonode_mapstore_client/client/themes/geonode/less/_variables.less index e6065123c4..aa668eacb4 100644 --- a/geonode_mapstore_client/client/themes/geonode/less/_variables.less +++ b/geonode_mapstore_client/client/themes/geonode/less/_variables.less @@ -73,6 +73,7 @@ @button-default: { button-color: --gn-button-color, @gn-main-color; button-bg: --gn-button-bg, @gn-main-bg; + button-action-border-color: --gn-button-action-border-color, @gn-main-border-color; button-border-color: --gn-button-border-color, @gn-main-bg; button-focus-color: --gn-button-focus-color, @gn-main-color; button-focus-bg: --gn-button-focus-bg, darken(@gn-main-bg, 10%);