summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-04 09:24:42 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-04 09:24:42 +0000
commitde3a17548678ed4828f2588621e01a3003e77a3f (patch)
tree5cd4db3e7e72c274901a7cd69ee3e1edf01050d3 /app/assets
parent14010b9efff6fda4ec5dda59611c74d29d2db3c7 (diff)
parent1dd7c978862b900b92bde355f99ce5e869a98328 (diff)
downloadgitlab-ce-de3a17548678ed4828f2588621e01a3003e77a3f.tar.gz
Merge branch 'ui/login-page' into 'master'
Fix background and padding of login and error pages Was gray, is white again. See merge request !1978
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/layout.scss8
-rw-r--r--app/assets/stylesheets/pages/login.scss3
2 files changed, 7 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index a60940a8bee..aa5acb93cc5 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -6,6 +6,10 @@ html {
body {
background-color: #EAEBEC !important;
+
+ &.navless {
+ background-color: white !important;
+ }
}
.container {
@@ -18,8 +22,8 @@ body {
}
.navless-container {
- padding-top: $header-height;
- margin-top: 30px;
+ margin-top: $header-height;
+ padding-top: $gl-padding * 2;
}
.container-limited {
diff --git a/app/assets/stylesheets/pages/login.scss b/app/assets/stylesheets/pages/login.scss
index edd51705136..f9c6f1b39f9 100644
--- a/app/assets/stylesheets/pages/login.scss
+++ b/app/assets/stylesheets/pages/login.scss
@@ -1,7 +1,5 @@
/* Login Page */
.login-page {
- background-color: white;
-
.container {
max-width: 960px;
}
@@ -21,6 +19,7 @@
h1:first-child {
font-weight: normal;
margin-bottom: 30px;
+ margin-top: 0;
}
img {