mirror of
https://github.com/primer/css.git
synced 2024-11-29 14:14:26 +03:00
Marketing: Add disabled states for buttons (and tweak hover) (#1768)
* Add disabled styles * Make sure links aren't decorated * Create orange-camels-heal.md * Stylelint auto-fixes Co-authored-by: Actions Auto Build <actions@github.com>
This commit is contained in:
parent
8e9ba62d30
commit
4abb1af95b
5
.changeset/orange-camels-heal.md
Normal file
5
.changeset/orange-camels-heal.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Marketing: Add disabled states for buttons (and tweak hover)
|
@ -38,6 +38,7 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
box-shadow: var(--color-mktg-btn-shadow-hover) !important;
|
||||
}
|
||||
|
||||
@ -68,6 +69,13 @@
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled,
|
||||
&[disabled] {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-muted-mktg {
|
||||
|
Loading…
Reference in New Issue
Block a user