]> source.dussan.org Git - nextcloud-server.git/commitdiff
Always give primary button a border for light primary colors 12558/head
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 21 Nov 2018 13:30:05 +0000 (14:30 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 21 Nov 2018 13:30:05 +0000 (14:30 +0100)
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
apps/theming/css/theming.scss
core/css/inputs.scss

index e2cd8fb11eeb06b02e3a7f478c10468708acff10..ea3792458fa5cc9b4748f1406023bf3f2e5f2ae2 100644 (file)
@@ -82,10 +82,9 @@ $invert: luma($color-primary) > 0.6;
                        @include icon-color('checkbox-mark', 'actions', $color-white, 1, true);
                }
        }
-       #body-user {
-               .primary {
-                       border: 1px solid transparent;
-               }
+       /* Always give primary button a border for light primary colors */
+       .primary {
+               border-color: var(--color-border) !important;
        }
 } @else {
        #appmenu:not(.inverted) svg {
index e96f055f2436439036705ceae75e2b830c38ea42..8b4198644da6d7ca20acc9932fa6978eb21938e8 100644 (file)
@@ -90,7 +90,7 @@ div[contenteditable=true],
                cursor: pointer;
 
                /* Apply border to primary button if on log in page (and not in a dark container) or if in header */
-               #body-login :not(body-login-container) &,
+               #body-login :not(.body-login-container) &,
                #header & {
                        border-color: var(--color-primary-text);
                }