1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +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:
Tobias Ahlin 2021-12-06 09:37:43 +01:00 committed by GitHub
parent 8e9ba62d30
commit 4abb1af95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": patch
---
Marketing: Add disabled states for buttons (and tweak hover)

View File

@ -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 {