From 8b35d42e19d3037ff845fb48c77eec03d255b5c1 Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Sun, 17 Jan 2021 19:37:09 +0100 Subject: [PATCH] Tweak table row colors to differentiate from buttons --- default-dark/default-dark-variables.scss | 28 +++++++++++----------- solarized/solarized-variables.scss | 30 ++++++++++++------------ template.scss | 6 +++++ 3 files changed, 35 insertions(+), 29 deletions(-) diff --git a/default-dark/default-dark-variables.scss b/default-dark/default-dark-variables.scss index 310e763..e430ac0 100644 --- a/default-dark/default-dark-variables.scss +++ b/default-dark/default-dark-variables.scss @@ -140,32 +140,32 @@ $table-background-color: transparent; $table-alt-background-color: $secondary-focus-color; $table-default-text-color: $text-color; -$table-default-background-color: #222222; -$table-default-focus-background-color: $table-default-background-color; +$table-default-background-color: darken(#222222, 10%); +$table-default-focus-background-color: darken($table-default-background-color, 10%); $table-success-text-color: $text-color; -$table-success-background-color: $success-color; -$table-success-focus-background-color: $success-focus-color; +$table-success-background-color: darken($success-color, 10%); +$table-success-focus-background-color: darken($success-focus-color, 10%); $table-info-text-color: $text-color; -$table-info-background-color: $info-color; -$table-info-focus-background-color: $info-focus-color; +$table-info-background-color: darken($info-color, 10%); +$table-info-focus-background-color: darken($info-focus-color, 10%); $table-warning-text-color: $text-color; -$table-warning-background-color: $warning-color; -$table-warning-focus-background-color: $warning-focus-color; +$table-warning-background-color: darken($warning-color, 10%); +$table-warning-focus-background-color: darken($warning-focus-color, 10%); $table-danger-text-color: $text-color; -$table-danger-background-color: $danger-color; -$table-danger-focus-background-color: $danger-focus-color; +$table-danger-background-color: darken($danger-color, 10%); +$table-danger-focus-background-color: darken($danger-focus-color, 10%); $table-light-text-color: $text-color; -$table-light-background-color: $light-color; -$table-light-focus-background-color: $light-focus-color; +$table-light-background-color: darken($light-color, 10%); +$table-light-focus-background-color: darken($light-focus-color, 10%); $table-dark-text-color: $text-color; -$table-dark-background-color: $dark-color; -$table-dark-focus-background-color: $dark-focus-color; +$table-dark-background-color: darken($dark-color, 10%); +$table-dark-focus-background-color: darken($dark-focus-color, 10%); // Lists diff --git a/solarized/solarized-variables.scss b/solarized/solarized-variables.scss index 848a62e..703fbab 100644 --- a/solarized/solarized-variables.scss +++ b/solarized/solarized-variables.scss @@ -8,8 +8,8 @@ $secondary-focus-color: #6f8183; $success-color: #2aa198; $success-focus-color: #22837b; -$info-color: #2076b2; -$info-focus-color: #268bd2; +$info-color: #268bd2; +$info-focus-color: #2076b2; $warning-color: #cb4b16; $warning-focus-color: #a83e12; @@ -140,32 +140,32 @@ $table-background-color: transparent; $table-alt-background-color: rgba(#ffffff, 0.075); $table-default-text-color: $text-color; -$table-default-background-color: $background-color; +$table-default-background-color: darken($background-color, 10%); $table-default-focus-background-color: $table-default-background-color; $table-success-text-color: #d9c27a; -$table-success-background-color: $success-color; -$table-success-focus-background-color: $success-focus-color; +$table-success-background-color: darken($success-color, 10%); +$table-success-focus-background-color: darken($success-focus-color, 10%); $table-info-text-color: #d9c27a; -$table-info-background-color: $info-color; -$table-info-focus-background-color: $info-focus-color; +$table-info-background-color: darken($info-color, 10%); +$table-info-focus-background-color: darken($info-focus-color, 10%); $table-warning-text-color: #d9c27a; -$table-warning-background-color: $warning-color; -$table-warning-focus-background-color: $warning-focus-color; +$table-warning-background-color: darken($warning-color, 10%); +$table-warning-focus-background-color: darken($warning-focus-color, 10%); $table-danger-text-color: #d9c27a; -$table-danger-background-color: $danger-color; -$table-danger-focus-background-color: $danger-focus-color; +$table-danger-background-color: darken($danger-color, 10%); +$table-danger-focus-background-color: darken($danger-focus-color, 10%); $table-light-text-color: $text-alt-color; -$table-light-background-color: $light-color; -$table-light-focus-background-color: $light-focus-color; +$table-light-background-color: darken($light-color, 10%); +$table-light-focus-background-color: darken($light-focus-color, 10%); $table-dark-text-color: #d9c27a; -$table-dark-background-color: $dark-color; -$table-dark-focus-background-color: $dark-focus-color; +$table-dark-background-color: darken($dark-color, 10%); +$table-dark-focus-background-color: darken($dark-focus-color, 10%); // Lists diff --git a/template.scss b/template.scss index 4291541..6359dda 100644 --- a/template.scss +++ b/template.scss @@ -730,6 +730,12 @@ a:hover { background-color: $panel-background-focus-color !important; border-color: $panel-border-color; } +.panel-heading h1 a, +.panel-heading h2 a, +.panel-heading h3 a, +.panel-heading h4 a { + color: $panel-text-default-color; +} .panel-heading a { color: $panel-text-color; }