-
Notifications
You must be signed in to change notification settings - Fork 185
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
Fix disabled buttons #121
base: master
Are you sure you want to change the base?
Fix disabled buttons #121
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Another thing I noticed is that I can add it to |
Oh, just came here to make this PR. Glad to see it's already being taken care of! |
Hey @h-banii really appreciate your PR! Sorry I've taken long to get back to this, but the reason I did not merge this PR is the usage of advanced sass functions like I feel I already failed to do that by writing it in sass and may get rid of it someday. Regardless I don't want to complicate the nesting structure at the moment. Do you think you could implement this in a way without Thanks and cheers! 🌸 |
@oxalorg , no problem! Yes, I can do it without I'll make a commit when I get some free time (near friday/saturday) |
c816fe4
to
8d7700f
Compare
8d7700f
to
4477ab2
Compare
4477ab2
to
4ad38db
Compare
4ad38db
to
1629764
Compare
Done, let me know if there's any more changes needed .button, button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type=file]::file-selector-button {
display: inline-block;
padding: 5px 10px;
text-align: center;
text-decoration: none;
white-space: nowrap;
background-color: $color-blossom;
color: $color-bg;
border-radius: 1px;
border: 1px solid $color-blossom;
cursor: pointer;
box-sizing: border-box;
&:hover {
background-color: $color-fade;
color: $color-bg;
outline: 0;
}
}
.button, button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type=file] {
&[disabled] {
cursor: default;
opacity: .5;
}
&:focus-visible {
outline-style: solid;
outline-width: 2px;
}
} I also added a "disabled file input" to Here's how it looks on firefox, chromium and webkit |
Fixes #120