Remove quota focus and unwanted state classes

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2017-01-21 19:25:48 +01:00
parent 0f353b2f67
commit 7882976a14
No known key found for this signature in database
GPG key ID: FB5ACEED51955BF8

View file

@ -30,22 +30,20 @@ textarea,
border: 1px solid #ddd;
outline: none;
border-radius: 3px;
&:not(:disabled):not(.disabled):not(.primary) {
&:hover, &.hover, &:focus, &.focus {
&:not(:disabled):not(.primary) {
&:not(#quota):hover,
&:focus {
border-color: #0082c9;
outline: none;
}
&:active,
&.active {
&:active {
outline: none;
}
&:active,
&.active {
&:active {
background-color: #fff;
}
}
&:disabled,
&.disabled {
&:disabled {
background-color: rgba(0, 0, 0, 0.1);
color: #999;
cursor: default;
@ -57,17 +55,16 @@ textarea,
background-color: #00a2e9;
color: #fff;
cursor: pointer;
&:not(:disabled):not(.disabled) {
&:hover, &.hover, &:focus, &.focus {
&:not(:disabled) {
&:hover,
&:focus {
background-color: #0092d9;
}
&:active,
&.active {
&:active {
background-color: #00a2e9;
}
}
&:disabled,
&.disabled {
&:disabled {
background-color: #00a2e9;
color: #bbb;
}
@ -119,8 +116,7 @@ input[type='reset'] {
box-sizing: border-box;
background-color: #fafafa;
box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, 0.15);
&:active,
&.active {
&:active {
box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
}
}
@ -142,8 +138,10 @@ textarea {
cursor: text;
font-family: inherit;
height: auto;
&:not(:disabled):not(.disabled) {
&:active, &.active, &:hover, &.hover, &:focus, &.focus {
&:not(:disabled) {
&:active,
&:hover,
&:focus {
border-color: #ddd !important;
background-color: #fff !important;
}