From 03a9219a7c329430a66547025c30423b83b83651 Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 27 Mar 2020 22:01:43 -0700 Subject: [PATCH] Fixed duplicate color: attribute --- resources/assets/less/skins/skin-black.less | 10 ++++++---- resources/assets/less/skins/skin-blue.less | 4 ++-- resources/assets/less/skins/skin-green.less | 4 ++-- resources/assets/less/skins/skin-orange.less | 4 ++-- resources/assets/less/skins/skin-purple.less | 4 ++-- resources/assets/less/skins/skin-red.less | 4 ++-- resources/assets/less/skins/skin-yellow.less | 4 ++-- 7 files changed, 18 insertions(+), 16 deletions(-) diff --git a/resources/assets/less/skins/skin-black.less b/resources/assets/less/skins/skin-black.less index bcac8f6275..879687bb5d 100755 --- a/resources/assets/less/skins/skin-black.less +++ b/resources/assets/less/skins/skin-black.less @@ -60,7 +60,7 @@ .btn, .btn:hover { - + text-decoration: none; &.btn-primary, .btn-primary:link { background-color: @dark-gray; border-color: darken(@gray, 10%); @@ -75,12 +75,14 @@ } &.btn-white:link { - color: @black; color: #fff; } &.btn-white:hover { - color: darken(@black, 30%); + color: #fff; + } + + &.btn-white:visited { color: #fff; } } @@ -101,6 +103,6 @@ a { color: darken(@black, 20%); } -.skin-black .main-header .navbar .nav>li>a { +.skin-black .main-header .navbar .nav>li>a, .skin-black .main-header .navbar .nav>li>a { text-decoration: none; } diff --git a/resources/assets/less/skins/skin-blue.less b/resources/assets/less/skins/skin-blue.less index 167ec04b19..ba620f852d 100755 --- a/resources/assets/less/skins/skin-blue.less +++ b/resources/assets/less/skins/skin-blue.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@light-blue, 10%); + background-color: darken(@light-blue, 10%); color: #fff; } &.btn-white:hover { - color: darken(@light-blue, 30%); + background-color: darken(@light-blue, 30%); color: #fff; } } diff --git a/resources/assets/less/skins/skin-green.less b/resources/assets/less/skins/skin-green.less index 2f4ac71a83..0b8af5498c 100755 --- a/resources/assets/less/skins/skin-green.less +++ b/resources/assets/less/skins/skin-green.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@green, 10%); + background-color: darken(@green, 10%); color: #fff; } &.btn-white:hover { - color: darken(@green, 30%); + background-color: darken(@green, 30%); color: #fff; } } diff --git a/resources/assets/less/skins/skin-orange.less b/resources/assets/less/skins/skin-orange.less index d1b3f4077d..194b2fe1b1 100644 --- a/resources/assets/less/skins/skin-orange.less +++ b/resources/assets/less/skins/skin-orange.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@orange, 10%); + background-color: darken(@orange, 10%); color: #fff; } &.btn-white:hover { - color: darken(@orange, 30%); + background-color: darken(@orange, 30%); color: #fff; } } diff --git a/resources/assets/less/skins/skin-purple.less b/resources/assets/less/skins/skin-purple.less index 54bf80386b..32b2009921 100755 --- a/resources/assets/less/skins/skin-purple.less +++ b/resources/assets/less/skins/skin-purple.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@purple, 10%); + background-color: darken(@purple, 10%); color: #fff; } &.btn-white:hover { - color: darken(@purple, 30%); + background-color: darken(@purple, 30%); color: #fff; } } diff --git a/resources/assets/less/skins/skin-red.less b/resources/assets/less/skins/skin-red.less index bbfa3cc3cf..cd8b0d430f 100755 --- a/resources/assets/less/skins/skin-red.less +++ b/resources/assets/less/skins/skin-red.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@red, 10%); + background-color: darken(@red, 10%); color: #fff; } &.btn-white:hover { - color: darken(@red, 30%); + background-color: darken(@red, 30%); color: #fff; } } diff --git a/resources/assets/less/skins/skin-yellow.less b/resources/assets/less/skins/skin-yellow.less index 34306c2a9b..9b149e0562 100755 --- a/resources/assets/less/skins/skin-yellow.less +++ b/resources/assets/less/skins/skin-yellow.less @@ -75,12 +75,12 @@ } &.btn-white:link { - color: darken(@yellow, 10%); + background-color: darken(@yellow, 10%); color: #fff; } &.btn-white:hover { - color: darken(@yellow, 30%); + background-color: darken(@yellow, 30%); color: #fff; } }