Permalink
Browse files

Make disabled buttons easier to spot

  • Loading branch information...
flack committed Jan 7, 2019
1 parent 7dde9ae commit 09aaed34b8b8cef881b35ca1e608d927c375695c
Showing with 11 additions and 4 deletions.
  1. +11 −4 themes/OpenPsa2/static/ui-elements.css
@@ -412,25 +412,32 @@ form.datamanager2 div.input .submit,
box-shadow: 2px 2px 8px #f3f3f3 inset, 1px 2px 3px rgba(0, 0, 0, 0.1);
border-color: #aaa #888 #888 #bbb;
border-style: solid;
cursor: pointer;
margin: .2em 0 .3em 0;
text-shadow: 1px 1px 2px white;
color: #222;
padding: .1em .4em
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.form_toolbar input[type="button"]:hover,
input[type="submit"]:not([disabled]):hover,
button[type="submit"]:not([disabled]):hover,
.form_toolbar input[type="button"]:not([disabled]):hover,
.area_toolbar a.button:hover
{
cursor: pointer;
background-color: #f6f5f4;
border-color: #bbb #aaa #999 #bbb;
box-shadow: 2px 2px 10px #efefef inset, 1px 1px 2px rgba(0, 0, 0, 0.2);
color: black;
text-decoration: none;
}

input[type="submit"][disabled],
button[type="submit"][disabled],
.form_toolbar input[type="button"][disabled]
{
color: rgba(0, 0, 0, .5)
}

form.datamanager2 div.form_toolbar .submit
{
background-position: 3px center;

0 comments on commit 09aaed3

Please sign in to comment.