Commit 6dde8fd4 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add style for disabled buttons

parent ca279041
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -215,6 +215,11 @@ button, a.btn {
    margin-right: 2px;
}

button[disabled], a.btn[disabled] {
    box-shadow: none;
    color: #60788c;
}

button + button, button + a.btn, a.btn + button, a.btn + a.btn {
    margin-left: 5px;
}
@@ -225,11 +230,11 @@ button.big, a.btn.big {
    min-width: 33%;
}

button:hover, a.btn:hover {
button:not([disabled]):hover, a.btn:not([disabled]):hover {
    background-color: #60788c;
}

button:active, a.btn:active {
button:not([disabled]):active, a.btn:not([disabled]):active {
    box-shadow: none;
    position: relative;
    top: 2px;
@@ -242,7 +247,12 @@ button.primary, a.btn.primary {
    color: #001220;
}

button.primary:hover, a.btn.primary:hover {
button.primary[disabled], a.btn.primary[disabled] {
    background-color: #60788c;
    border-color: #60788c;
}

button.primary:not([disabled]):hover, a.btn.primary:not([disabled]):hover {
    background-color: #ffe88e;
}