Commit 7190ad80 authored by Dries's avatar Dries

Issue #2400863 by alex-arriaga, MacMladen, emma.maria, oriol_e9g, idebr,...

Issue #2400863 by alex-arriaga, MacMladen, emma.maria, oriol_e9g, idebr, betovarg: Add the correct classes and styles for disabled buttons in Bartik
parent 32273990
......@@ -20,7 +20,24 @@
.button:hover,
.button:active,
.button:focus {
text-decoration: none;
color: #5a5a5a;
background: #dedede;
color: #5a5a5a;
text-decoration: none;
}
.button.is-disabled:hover,
.button.is-disabled:active,
.button.is-disabled:focus,
.button.is-disabled {
background: #ededed;
border-color: #bbb;
color: #717171;
cursor: default;
}
.image-button.is-disabled:hover,
.image-button.is-disabled:active,
.image-button.is-disabled:focus,
.image-button.is-disabled {
background: transparent;
opacity: 0.5;
cursor: default;
}
......@@ -171,24 +171,11 @@ input.form-submit:focus {
/* Disabled form elements */
.form-disabled input,
.form-disabled select,
.form-disabled textarea,
.form-button-disabled,
.form-button-disabled:hover,
.form-button-disabled:active,
.form-button-disabled:focus
{
.form-disabled textarea {
background: #ededed;
border-color: #bbb;
color: #717171;
}
.image-button-disabled,
.image-button-disabled:hover,
.image-button-disabled:active,
.image-button-disabled:focus {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: .5;
}
.form-disabled label {
color: #717171;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment