From b77c163aad47960ae74c62aaccf86f170763edea Mon Sep 17 00:00:00 2001 From: Xu Date: Mon, 7 Dec 2020 21:02:43 +0100 Subject: [PATCH] themes: fixed some colors mainly for code tag --- resources/assets/themes/base.less | 1 - resources/assets/themes/theme1.less | 8 +++++++- resources/assets/themes/theme10.less | 6 ++++++ resources/assets/themes/theme11.less | 6 ++++++ resources/assets/themes/theme12.less | 6 ++++++ resources/assets/themes/theme4.less | 6 ++++++ resources/assets/themes/theme6.less | 6 ++++++ resources/assets/themes/theme7.less | 11 +++++++++++ resources/assets/themes/theme8.less | 6 ++++++ resources/assets/themes/theme9.less | 6 ++++++ 10 files changed, 60 insertions(+), 2 deletions(-) diff --git a/resources/assets/themes/base.less b/resources/assets/themes/base.less index 50d298e1..c0b43774 100644 --- a/resources/assets/themes/base.less +++ b/resources/assets/themes/base.less @@ -420,4 +420,3 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { } } } - diff --git a/resources/assets/themes/theme1.less b/resources/assets/themes/theme1.less index 58d86be4..e18a3e2e 100644 --- a/resources/assets/themes/theme1.less +++ b/resources/assets/themes/theme1.less @@ -201,7 +201,7 @@ THE SOFTWARE. //** `` background color @input-bg: @gray-darker; //** `` background color -@input-bg-disabled: @gray-lighter; +@input-bg-disabled: lighten(@gray-lighter,15%); //** Text color for ``s @input-color: @text-color; @@ -1042,3 +1042,9 @@ a.thumbnail.active { color: #fff; } } + +// code tag +code { + background-color: @state-info-bg; + color: @state-info-text; +} diff --git a/resources/assets/themes/theme10.less b/resources/assets/themes/theme10.less index 6b514d23..3537ab38 100644 --- a/resources/assets/themes/theme10.less +++ b/resources/assets/themes/theme10.less @@ -1039,6 +1039,12 @@ a.thumbnail.active { } } +// code tag +code { + background-color: @input-bg-disabled; + color: @input-color; +} + // Specials for cccamp19 design diff --git a/resources/assets/themes/theme11.less b/resources/assets/themes/theme11.less index ca0ad352..7384a01a 100644 --- a/resources/assets/themes/theme11.less +++ b/resources/assets/themes/theme11.less @@ -1050,3 +1050,9 @@ a.thumbnail.active { .panel-info .panel-title { color: #000; } + +// code tag +code { + background-color: @btn-default-bg; + color: @input-color; +} diff --git a/resources/assets/themes/theme12.less b/resources/assets/themes/theme12.less index ec470976..515a1141 100644 --- a/resources/assets/themes/theme12.less +++ b/resources/assets/themes/theme12.less @@ -1062,3 +1062,9 @@ a.thumbnail.active { } } } + +// code tag +code { + background-color: @btn-default-bg; + color: @input-color; +} diff --git a/resources/assets/themes/theme4.less b/resources/assets/themes/theme4.less index 08575b1d..c4cb5a94 100644 --- a/resources/assets/themes/theme4.less +++ b/resources/assets/themes/theme4.less @@ -1048,3 +1048,9 @@ a.thumbnail.active { .panel-success .panel-heading, .panel-success .panel-heading a { color: @gray-darker; } + +// code tag +code { + background-color: @state-info-bg; + color: @state-info-text; +} diff --git a/resources/assets/themes/theme6.less b/resources/assets/themes/theme6.less index 118840ac..9f720cd2 100644 --- a/resources/assets/themes/theme6.less +++ b/resources/assets/themes/theme6.less @@ -1055,3 +1055,9 @@ a.thumbnail.active { color: #fff; } } + +// code tag +code { + background-color: @input-bg; + color: @input-color; +} diff --git a/resources/assets/themes/theme7.less b/resources/assets/themes/theme7.less index 7e1849f2..209f3bcc 100644 --- a/resources/assets/themes/theme7.less +++ b/resources/assets/themes/theme7.less @@ -1068,3 +1068,14 @@ a.thumbnail.active { .label-warning { color: #000; } + +// code tag +code { + background-color: @state-info-bg; + color: @state-info-text; +} +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { + code { + color: @headings-color; + } +} diff --git a/resources/assets/themes/theme8.less b/resources/assets/themes/theme8.less index 827f405e..585a27e6 100644 --- a/resources/assets/themes/theme8.less +++ b/resources/assets/themes/theme8.less @@ -1039,6 +1039,12 @@ a.thumbnail.active { } } +// code tag +code { + background-color: @input-bg-disabled; + color: @input-color; +} + // Specials for cccamp19 design diff --git a/resources/assets/themes/theme9.less b/resources/assets/themes/theme9.less index 748d6534..6c4f1500 100644 --- a/resources/assets/themes/theme9.less +++ b/resources/assets/themes/theme9.less @@ -1039,6 +1039,12 @@ a.thumbnail.active { } } +// code tag +code { + background-color: @input-bg-disabled; + color: @input-color; +} + // Specials for cccamp19 design