From 7a781feaaa785d4976d17f81b2621a4c11013e19 Mon Sep 17 00:00:00 2001 From: Jean Cavallo Date: Mon, 30 Sep 2024 10:46:14 +0200 Subject: [PATCH 1/3] sao: Style tabs to be more visible Issue link: [https://coopengo.atlassian.net/browse/PCLAS-1198](https://coopengo.atlassian.net/browse/PCLAS-1198) Fix PCLAS-1198 --- sao/src/theme/coog/sao.less | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/sao/src/theme/coog/sao.less b/sao/src/theme/coog/sao.less index a881eda4834..0925986f499 100644 --- a/sao/src/theme/coog/sao.less +++ b/sao/src/theme/coog/sao.less @@ -9,6 +9,7 @@ @color-light-blue: rgb(0, 174, 229); // #00aee5 @color-lighter-blue: rgb(162, 218, 244); // #a2daf4 @color-lightest-blue: rgb(231, 244, 252); // #E7F4FC +@color-hint-blue: rgb(247, 252, 255); // #F7FCFF @color-lightest-red: rgb(255, 208, 205); // #ffd0cd @coog-background: @color-white; @@ -712,6 +713,41 @@ div.CodeMirror { height: @coog-rule-engine-height; } +/////////////////////////////////////////////////////////////////////////////// +// Notebooks +/////////////////////////////////////////////////////////////////////////////// +div.form-notebook > ul.nav.nav-tabs { + margin-bottom: 8px; + border-color: @color-lighter-blue; + > li { + > a { + padding: 8px 8px; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + border: solid @color-lighter-blue 1px; + &:hover { + .coog-group-header-colors(); + } + > span.badge-empty { + min-width: 0px; + padding: 0px 0px; + } + } + } + > li.active { + > a { + .coog-group-header-colors(); + border: solid @color-light-blue 1px; + &:hover { + border-bottom: none; + border: solid @color-light-blue 1px; + background-color: @color-lighter-blue; + .coog-group-header-colors(); + } + } + } +} + /////////////////////////////////////////////////////////////////////////////// // Pop up menu /////////////////////////////////////////////////////////////////////////////// From 5ee0862b2ec83a9edab4625289106d412920b5e0 Mon Sep 17 00:00:00 2001 From: Jean Cavallo Date: Mon, 30 Sep 2024 11:02:51 +0200 Subject: [PATCH 2/3] Better --- sao/src/theme/coog/sao.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sao/src/theme/coog/sao.less b/sao/src/theme/coog/sao.less index 0925986f499..6c0e898aa55 100644 --- a/sao/src/theme/coog/sao.less +++ b/sao/src/theme/coog/sao.less @@ -733,6 +733,10 @@ div.form-notebook > ul.nav.nav-tabs { padding: 0px 0px; } } + + &:not(active) > a { + box-shadow: none; + } } > li.active { > a { From c20ddd52c0c086365b188869d3647b281141af7f Mon Sep 17 00:00:00 2001 From: Jean Cavallo Date: Mon, 30 Sep 2024 11:09:23 +0200 Subject: [PATCH 3/3] Even better --- sao/src/theme/coog/sao.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/theme/coog/sao.less b/sao/src/theme/coog/sao.less index 6c0e898aa55..562bee9412a 100644 --- a/sao/src/theme/coog/sao.less +++ b/sao/src/theme/coog/sao.less @@ -734,7 +734,7 @@ div.form-notebook > ul.nav.nav-tabs { } } - &:not(active) > a { + &:not(active) &:not(focus) > a { box-shadow: none; } }