From 41fb0e8aae3058d2233ebfb34197cad7053788b2 Mon Sep 17 00:00:00 2001 From: brian teeman Date: Thu, 1 Apr 2021 00:12:42 +0100 Subject: [PATCH] [4.0] Atum badge borders Some of the badges are set to have a border that is a color lighter than the badge text. Unfortunately that doesn't work if the text is white you get a white border. All the badges need to have a visible border otherwise the badges will appear visually to be of different sizes. This PR changes the border of the two existing white bordered badges to use the same shade of the dark text that the bg-info badge uses. Testers dont forget to run npm to rebuild the css The easies way to to check this would be in the article list after enabling the voting plugin --- .../templates/atum/scss/vendor/bootstrap/_badge.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/administrator/templates/atum/scss/vendor/bootstrap/_badge.scss b/administrator/templates/atum/scss/vendor/bootstrap/_badge.scss index 7642134628079..1c55fcc637374 100644 --- a/administrator/templates/atum/scss/vendor/bootstrap/_badge.scss +++ b/administrator/templates/atum/scss/vendor/bootstrap/_badge.scss @@ -15,13 +15,13 @@ &.bg-success { color: $success-txt; background-color: $success-bg !important; - border: 1px solid lighten($success-txt, 20%); + border: 1px solid lighten($atum-text-dark, 30%); } &.bg-danger { color: $danger-txt; background-color: $danger-bg !important; - border: 1px solid lighten($danger-txt, 30%); + border: 1px solid lighten($atum-text-dark, 30%); } &.bg-secondary,