]> source.dussan.org Git - nextcloud-server.git/commitdiff
Narrow error button styling scope 18817/head
authorJulius Härtl <jus@bitgrid.net>
Fri, 10 Jan 2020 15:50:20 +0000 (16:50 +0100)
committerJulius Härtl <jus@bitgrid.net>
Fri, 10 Jan 2020 15:50:20 +0000 (16:50 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
core/css/inputs.scss

index 566ce24b646f11bb724d750ebf8d777526a0bcd1..29a9138b19ac5084998db7abe504dac561bef092 100644 (file)
@@ -115,11 +115,6 @@ div[contenteditable=true],
                        cursor: default;
                }
        }
-
-       &.error {
-               background-color: var(--color-error) !important;
-               border-color: var(--color-error);
-       }
 }
 
 div[contenteditable=false] {
@@ -198,6 +193,12 @@ input[type='reset'] {
        &::-moz-focus-inner {
                border: 0;
        }
+
+       &.error {
+               background-color: var(--color-error) !important;
+               border-color: var(--color-error) !important;
+               color: #fff !important;
+       }
 }
 button, .button {
        > span {