-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
187 color scheme for disabled button #252
Conversation
Code Coverage Summary
Diff against main
Results for commit: 7fcd93b Minimum allowed coverage is ♻️ This comment has been updated with latest results |
Unit Tests Summary 1 files 18 suites 12s ⏱️ Results for commit 7fcd93b. ♻️ This comment has been updated with latest results. |
Please be careful and check it out on all 3 bootstrap versions. |
the download buttons are a tags in Shiny, and the solution is probably to edit the already existing rule from the same file. /* Disable any anchor with disabled class */
a.disabled {
color: grey;
cursor: not-allowed;
pointer-events: none;
text-decoration: none;
}
|
Good point 👍
This was intentional. I didn't want to affect other |
The |
Another good point 🙂 |
Well, styling by class only seems to work with BS 3 🤷 |
I assumed we wanted to fix Bootstrap 3 only, and omitting a rule for versions 4 and 5 seemed ok to me. /* Disable any anchor with disabled class */
a.disabled {
color: white !important;
cursor: not-allowed;
pointer-events: none;
text-decoration: none;
} |
I am wary of using How about |
Awesome, thanks for checking 👍 🙂 |
Closes #187
Updated background color of two buttons (anchor elements) identified by partial ids in disabled state.
The background color is
darkgrey
nad text color iswhite
.