Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-09 13:43:17 +0300
committerJoas Schilling <coding@schilljs.com>2022-03-09 13:43:17 +0300
commit4032f0b2c89ff2fad98e287bf247278421847e6e (patch)
tree9fba3356802b31968ff005140ac8ad79a304e553
parent4d612359af9ba19a36ed63c0e68f3e619e23915c (diff)
Fix alternative login buttonsbugfix/noid/fix-alternativ-login-buttons
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/theming/css/theming.scss13
-rw-r--r--core/css/guest.css10
-rw-r--r--core/css/styles.scss21
3 files changed, 15 insertions, 29 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss
index 81b1b1a87ec..52337d2105f 100644
--- a/apps/theming/css/theming.scss
+++ b/apps/theming/css/theming.scss
@@ -167,8 +167,7 @@ $invert: luma($color-primary) > 0.6;
}
}
-input.primary,
-.alternative-logins a, {
+input.primary {
background-color: $color-primary-element;
border: 1px solid $color-primary-text;
color: $color-primary-text;
@@ -202,17 +201,15 @@ input.primary,
}
}
- input,
- .alternative-logins a {
+ input {
border: 1px solid nc-lighten($color-primary-text, 50%);
}
input.primary,
- button.primary,
- .alternative-logins a {
+ button.primary {
background-color: $color-primary;
color: $color-primary-text;
}
- a,
+ :not(div.alternative-logins) > a,
label,
footer p,
.alternative-logins legend,
@@ -257,7 +254,7 @@ input.primary,
}
#body-login {
- a, label, p {
+ :not(.alternative-logins) a, label, p {
color: $color-primary-text;
}
diff --git a/core/css/guest.css b/core/css/guest.css
index a648f75f64f..d48713061ec 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -587,11 +587,19 @@ form .warning input[type='checkbox']+label {
display: inline-block;
text-align: center;
box-sizing: border-box;
+ border: 2px solid #ffffff;
background-color: #0082c9;
- color: white;
+ color: #ffffff;
border-radius: 100px; /* --border-radius-pill */
}
+.alternative-logins a.button:focus,
+.alternative-logins li a:focus {
+ border: 2px solid #000000;
+ background-image: linear-gradient(40deg, #0082c9 0%, #30b6ff 100%);
+ background-position: initial;
+}
+
/* fixes for update page TODO should be fixed some time in a proper way */
/* this is just for an error while updating the ownCloud instance */
.updateProgress .error {
diff --git a/core/css/styles.scss b/core/css/styles.scss
index ad7d9d1666b..8a15cfa19d8 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -381,26 +381,7 @@ body {
}
/* fixes for update page TODO should be fixed some time in a proper way */
-/* this is just for an error while updating the ownCloud instance */
-
-/* Alternative Logins */
-
-#alternative-logins {
- legend {
- margin-bottom: 10px;
- }
- li {
- height: 40px;
- display: inline-block;
- white-space: nowrap;
- }
-}
-
-/* Log in and install button */
-
-#remember_login {
- margin: 18px 5px 0 16px !important;
-}
+/* this is just for an error while updating the Nextcloud instance */
/* Sticky footer */