summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-21 19:25:48 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-21 19:25:48 +0100
commit7882976a1447d60909dc044adc265483fbdc310a (patch)
tree347c55f0d222555e83ffc1abcd4d88e85624240a /core
parent0f353b2f6776953922334510180c6c7e42850036 (diff)
downloadnextcloud-server-7882976a1447d60909dc044adc265483fbdc310a.tar.gz
nextcloud-server-7882976a1447d60909dc044adc265483fbdc310a.zip
Remove quota focus and unwanted state classes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/inputs.scss34
1 files changed, 16 insertions, 18 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index 19deb59b1d7..1dc43d2e365 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -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;
}