Skip to content
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

Disable behaviour #46

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open

Conversation

Sparviero-Sughero
Copy link

.button.disable {
opacity: 0.5;
cursor: default;
}
.button.disable:hover
.button.disable:focus,
.button.disable:active {
background-color: #ececec;
background: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
background: -moz-linear-gradient(#f4f4f4, #ececec);
background: -ms-linear-gradient(#f4f4f4, #ececec);
background: -o-linear-gradient(#f4f4f4, #ececec);
background: linear-gradient(#f4f4f4, #ececec);
}

…perty values. Addition of :focus and :active styles to improve accessibility and provide feedback to keyboard users.
…value set in demo.css. Changed padding and border-radius values to em units, works better with different font sizes.
…ge with CSS gradient. Easier to modify and gives further independence from font size. Interaction states modified to be much closer to github's style.
… and merged what was needed into demo.css, removed empty spans used for icons
…volved modifying how backgrounds are applied to the default button. Restructured CSS file.
… and changed the page's look so that buttons are more prominent
…distinct from normal buttons, and it works in older browsers
… Redesigned example page and using prettyPrint for code syntax highlighting. Changed icon classes on the buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants