mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 17:11:48 +02:00
Colors rewrite (#30622)
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
border-color: $border;
|
||||
|
||||
.alert-link {
|
||||
color: darken($color, 10%);
|
||||
color: shade-color($color, 20%);
|
||||
}
|
||||
}
|
||||
|
@@ -7,11 +7,11 @@
|
||||
$background,
|
||||
$border,
|
||||
$color: color-contrast($background),
|
||||
$hover-background: if($color == $color-contrast-light, darken($background, 7.5%), lighten($background, 7.5%)),
|
||||
$hover-border: if($color == $color-contrast-light, darken($border, 10%), lighten($border, 5%)),
|
||||
$hover-background: if($color == $color-contrast-light, shade-color($background, 15%), tint-color($background, 15%)),
|
||||
$hover-border: if($color == $color-contrast-light, shade-color($border, 20%), tint-color($border, 10%)),
|
||||
$hover-color: color-contrast($hover-background),
|
||||
$active-background: if($color == $color-contrast-light, darken($background, 10%), lighten($background, 10%)),
|
||||
$active-border: if($color == $color-contrast-light, darken($border, 12.5%), lighten($border, 5%)),
|
||||
$active-background: if($color == $color-contrast-light, shade-color($background, 20%), tint-color($background, 20%)),
|
||||
$active-border: if($color == $color-contrast-light, shade-color($border, 25%), tint-color($border, 10%)),
|
||||
$active-color: color-contrast($active-background),
|
||||
$disabled-background: $background,
|
||||
$disabled-border: $border,
|
||||
|
@@ -9,7 +9,7 @@
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $color;
|
||||
background-color: darken($background, 5%);
|
||||
background-color: shade-color($background, 10%);
|
||||
}
|
||||
|
||||
&.active {
|
||||
|
Reference in New Issue
Block a user