summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-26 12:01:47 +0100
committerGitHub <noreply@github.com>2019-11-26 12:01:47 +0100
commit2a2d0cd3126886ab12672d2983a04e8cb800fe98 (patch)
treeba1136ae37b4d6d778b926c18c0961b6db6dc3d9 /core/css
parent1fac8174b9d41bd150f214f7adfa8cbf6ab51bd7 (diff)
parent067ee3150c73e1ebc9461eaf7f8c8c4649071f21 (diff)
downloadnextcloud-server-2a2d0cd3126886ab12672d2983a04e8cb800fe98.tar.gz
nextcloud-server-2a2d0cd3126886ab12672d2983a04e8cb800fe98.zip
Merge pull request #18082 from nextcloud/design/style-update
Update style of log in page and header
Diffstat (limited to 'core/css')
-rw-r--r--core/css/guest.css19
-rw-r--r--core/css/header.scss2
-rw-r--r--core/css/styles.scss1
3 files changed, 13 insertions, 9 deletions
diff --git a/core/css/guest.css b/core/css/guest.css
index d9227124734..15bb83f576c 100644
--- a/core/css/guest.css
+++ b/core/css/guest.css
@@ -25,9 +25,10 @@ body {
text-align: center;
background-color: #0082c9;
background-image: url('../img/background.png?v=2');
+ background-image: url('../img/background.png?v=2'), linear-gradient(40deg, #0082c9 0%, rgba(28,175,255,1) 100%);
background-position: 50% 50%;
- background-repeat: no-repeat;
- background-size: cover;
+ background-repeat: repeat;
+ background-size: 275px, contain;
background-attachment: fixed; /* fix background gradient */
min-height: 100%; /* fix sticky footer */
height: auto;
@@ -524,22 +525,24 @@ form .warning input[type='checkbox']+label {
#remember_login {
margin: 18px 5px 0 16px !important;
}
-.remember-login-container,
.lost-password-container {
display: inline-block;
margin: 10px 0;
text-align: center;
width: 100%;
- text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
}
-.lost-password-container #lost-password,
-.lost-password-container #lost-password-back {
+#lost-password,
+#lost-password-back,
+#reset-password-wrapper + a {
display: inline-block;
- font-weight: normal;
+ font-weight: normal !important;
padding: 12px;
- margin-top: -6px;
color: #fff;
cursor: pointer;
+ text-shadow: 0 0 2px rgba(0, 0, 0, .4); /* better readability on bright background */
+}
+#lost-password {
+ margin-top: -6px;
}
#forgot-password {
padding: 11px;
diff --git a/core/css/header.scss b/core/css/header.scss
index 2b63dc978ac..5c09bdee82f 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -50,6 +50,7 @@
z-index: 2000;
height: $header-height;
background-color: var(--color-primary);
+ background-image: linear-gradient(40deg, var(--color-primary) 0%, rgba(28,175,255,1) 100%);
box-sizing: border-box;
justify-content: space-between;
}
@@ -444,7 +445,6 @@ nav[role='navigation'] {
text-overflow: initial;
width: auto;
overflow: hidden;
- background-color: var(--color-primary);
padding: 0 5px;
z-index: 2;
}
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 7e4af17c6a4..1ff81a17cbf 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -87,6 +87,7 @@ ul {
body {
background-color: var(--color-main-background);
+ background-color: linear-gradient(40deg, var(--color-main-background) 0%, rgba(28,175,255,1) 100%);
font-weight: normal;
/* bring the default font size up to 14px */
font-size: .875em;