2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Rewrite custom docs buttons

- Use CSS variables wherever possible
- Rename purple-bright to violet for brevity, add CSS vars versions
- Rename download to accent
This commit is contained in:
Mark Otto
2022-02-09 14:15:15 -08:00
committed by Mark Otto
parent 85938bb2ed
commit 3e6265ac55
9 changed files with 50 additions and 65 deletions
+3 -3
View File
@@ -40,7 +40,7 @@
&:focus {
color: rgba($black, .85);
text-decoration: if($link-hover-decoration == underline, none, null);
background-color: rgba($bd-purple-bright, .1);
background-color: rgba($bd-violet, .1);
}
}
@@ -55,11 +55,11 @@
&:hover,
&:focus {
color: rgba($black, .85);
background-color: rgba($bd-purple-bright, .1);
background-color: rgba($bd-violet, .1);
}
&:focus {
box-shadow: 0 0 0 1px rgba($bd-purple-bright, .7);
box-shadow: 0 0 0 1px rgba($bd-violet, .7);
}
// Add chevron if there's a submenu