From 1c148b187d81a589fd8eee35719819330289b9a0 Mon Sep 17 00:00:00 2001 From: Jared Esparza Date: Thu, 7 Oct 2021 14:32:46 +0200 Subject: [PATCH] Add sao_colors.diff [sao] | #047241 --- sao_colors.diff | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ series | 1 + 2 files changed, 69 insertions(+) create mode 100644 sao_colors.diff diff --git a/sao_colors.diff b/sao_colors.diff new file mode 100644 index 0000000..1c49c3f --- /dev/null +++ b/sao_colors.diff @@ -0,0 +1,68 @@ +diff --git a/sao/src/sao-variables.less b/sao/src/sao-variables.less +index 7c27f22..e1b5ee0 100644 +--- a/sao/src/sao-variables.less ++++ b/sao/src/sao-variables.less +@@ -1,8 +1,9 @@ + /* This file is part of Tryton. The COPYRIGHT file at the top level of + this repository contains the full copyright notices and license terms. */ +-@brand-primary: #267f82; +-@brand-success: #32ad52; +-@brand-info: #71bdc1; ++@brand-headers:#F8F8F8; ++@brand-primary: #337ab7; ++@brand-success: #3465A4; ++@brandinfo: #337ab7; + @brand-warning: #e78e42; + @brand-danger: #e74842; + +@@ -12,17 +13,18 @@ + + @input-border-focus: lighten(@brand-primary, 25%); + +-@navbar-inverse-bg: @brand-primary; ++@navbar-inverse-bg: @brand-headers; + +-@navbar-inverse-link-color: lighten(@brand-primary, 30%); ++@navbar-inverse-link-color: #555; ++@navbar-inverse-link-hover-color:#333; + + @navbar-inverse-toggle-hover-bg: rgba(0,0,0,0.5); + @navbar-inverse-toggle-icon-bar-bg: rgba(0,0,0,0.5); + + @nav-tabs-justified-link-border-color: @nav-tabs-border-color; + +-@panel-default-text: #fff; +-@panel-default-heading-bg: @brand-primary; ++@panel-default-text: #333; ++@panel-default-heading-bg: @brand-headers; + + @icon-font-path: "../bower_components/bootstrap/fonts/"; + +diff --git a/sao/src/sao.less b/sao/src/sao.less +index f30d758..b0e317a 100644 +--- a/sao/src/sao.less ++++ b/sao/src/sao.less +@@ -63,6 +63,12 @@ html[theme="default"] { + } + } + ++.navbar-inverse .navbar-brand:hover, ++.navbar-inverse .navbar-brand:focus { ++ color: @navbar-inverse-link-hover-color; ++ background-color: transparent; ++} ++ + .navbar { + .icon { + display: inline-block; +@@ -90,8 +96,8 @@ html[theme="default"] { + } + + .modal-header { +- background-color: @brand-primary; +- color: #fff; ++ background-color: @brand-headers; ++ color: #333; + } + + #tablist > li > a { \ No newline at end of file diff --git a/series b/series index cc2ad09..abf940e 100644 --- a/series +++ b/series @@ -27,3 +27,4 @@ issue9802.diff # [stock] Improve performance when partially assigning moves issue10464.diff # [currency] Update currency rates fails +sao_colors.diff # [sao] Use the same colors as 5.4 version \ No newline at end of file