Fix background and padding of login and error pages
This commit is contained in:
parent
6689224a90
commit
1dd7c97886
4 changed files with 10 additions and 7 deletions
|
@ -6,6 +6,10 @@ html {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #EAEBEC !important;
|
background-color: #EAEBEC !important;
|
||||||
|
|
||||||
|
&.navless {
|
||||||
|
background-color: white !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
@ -18,8 +22,8 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.navless-container {
|
.navless-container {
|
||||||
padding-top: $header-height;
|
margin-top: $header-height;
|
||||||
margin-top: 30px;
|
padding-top: $gl-padding * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container-limited {
|
.container-limited {
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
/* Login Page */
|
/* Login Page */
|
||||||
.login-page {
|
.login-page {
|
||||||
background-color: white;
|
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
}
|
}
|
||||||
|
@ -21,6 +19,7 @@
|
||||||
h1:first-child {
|
h1:first-child {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
!!! 5
|
!!! 5
|
||||||
%html{ lang: "en"}
|
%html{ lang: "en"}
|
||||||
= render "layouts/head"
|
= render "layouts/head"
|
||||||
%body.ui_charcoal.login-page.application
|
%body.ui_charcoal.login-page.application.navless
|
||||||
= render "layouts/header/empty"
|
= render "layouts/header/empty"
|
||||||
= render "layouts/broadcast"
|
= render "layouts/broadcast"
|
||||||
.container.navless-container
|
.container.navless-container
|
||||||
.content
|
.content
|
||||||
= render "layouts/flash"
|
= render "layouts/flash"
|
||||||
.row.prepend-top-20
|
.row
|
||||||
.col-sm-5.pull-right
|
.col-sm-5.pull-right
|
||||||
= yield
|
= yield
|
||||||
.col-sm-7.brand-holder.pull-left
|
.col-sm-7.brand-holder.pull-left
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
!!! 5
|
!!! 5
|
||||||
%html{ lang: "en"}
|
%html{ lang: "en"}
|
||||||
= render "layouts/head"
|
= render "layouts/head"
|
||||||
%body{class: "#{user_application_theme} application"}
|
%body{class: "#{user_application_theme} application navless"}
|
||||||
= render "layouts/header/empty"
|
= render "layouts/header/empty"
|
||||||
.container.navless-container
|
.container.navless-container
|
||||||
= render "layouts/flash"
|
= render "layouts/flash"
|
||||||
|
|
Loading…
Reference in a new issue