From 61f83fe7f9f91219ccfa986410fe4e84a7d852c7 Mon Sep 17 00:00:00 2001 From: Daniel Wilkowski Date: Tue, 15 Oct 2024 10:46:05 +0200 Subject: [PATCH] Inline deprecated scss variable $text-color --- resources/sass/components/forum/_post.scss | 4 ++-- resources/sass/core/_panels.scss | 2 +- resources/sass/helpers/_variables.scss | 15 ++++----------- 3 files changed, 7 insertions(+), 14 deletions(-) diff --git a/resources/sass/components/forum/_post.scss b/resources/sass/components/forum/_post.scss index 28aeac9bf..7cc2dd2d8 100644 --- a/resources/sass/components/forum/_post.scss +++ b/resources/sass/components/forum/_post.scss @@ -183,10 +183,10 @@ font-size: 11px; padding: 5px 0; margin-top: 10px; - color: $text-color; + color: $body-color; a { - color: $text-color; + color: $body-color; } .btn-history { diff --git a/resources/sass/core/_panels.scss b/resources/sass/core/_panels.scss index 959de8540..b04dc5a66 100644 --- a/resources/sass/core/_panels.scss +++ b/resources/sass/core/_panels.scss @@ -75,7 +75,7 @@ a { display: block; - color: $text-color; + color: $body-color; padding: 6px 10px; font-size: 12px; text-shadow: #fff 0 1px 0; diff --git a/resources/sass/helpers/_variables.scss b/resources/sass/helpers/_variables.scss index 91cc2a515..1da33dc5f 100644 --- a/resources/sass/helpers/_variables.scss +++ b/resources/sass/helpers/_variables.scss @@ -8,7 +8,6 @@ $warning: #d98d0d; $danger: #d9534f; $body-bg: #fafafa; -$text-color: #333; // @deprecated $body-color: #333; $code-color: rgba(51, 51, 51, .9); @@ -52,7 +51,7 @@ $card-border-color: #ddd; $pagination-bg: #ddd; $pagination-disabled-bg: $gray-lighter; -$pagination-color: $text-color; +$pagination-color: $body-color; $pagination-border-width: 0; $pagination-active-color: #fff; $pagination-active-bg: $gray-dark; @@ -62,7 +61,7 @@ $pagination-padding-x: .55rem; $dropdown-link-active-color: inherit; $dropdown-link-active-bg: inherit; -$custom-control-indicator-checked-color: $text-color; +$custom-control-indicator-checked-color: $body-color; $custom-control-indicator-checked-bg: #fff; $custom-control-indicator-checked-border-color: #adb5bd; @@ -82,7 +81,6 @@ $progress-border-radius: 10px; $alert-border-width: 2px; - // DEPRECATED!!! // nieco ciemniszy kolor linkow (w sytuacji gdy wiele linkow jest obok siebie domyslny kolor jest zbyt jasny) @@ -99,23 +97,18 @@ $alt-link-hover-color: #d7661c; // kolor naglowka

znajdujacego sie w elemencie .box (elementy sekcji) $box-header-color: #646466; -// kolor tla dla nieprzeczytanych elementow -$unread-bg: #fff3cd; -// :hover dla nowych elementow (powiadomienia, wiadomosci) -$unread-bg-hover: #ffdca5; +$unread-bg: #fff3cd; // kolor tla dla nieprzeczytanych elementow +$unread-bg-hover: #ffdca5; // :hover dla nowych elementow (powiadomienia, wiadomosci) // Tag clouds, tag dropdown list and tag editor // ---------------------------------------------- -//$tag-color: $text-color; $tag-color: $gray; $tag-bg: $gray-lighter; -//$tag-bg: $pagination-bg; $tag-counter-color: lighten($tag-color, 10%); $tag-hover-color: $alt-link-hover-color; $tag-hover-bg: darken($gray-lighter, 2%); - // Keyboard notation // ----------------------------------------------