From e5193a7f3b1638215442e2a250f2ad5848b3ad1f Mon Sep 17 00:00:00 2001 From: clash99 Date: Wed, 27 Jul 2016 10:19:23 -0500 Subject: [PATCH] Page content css bug fix Fixing css for page-content Reg form css --- cadasta/core/static/css/main.css | 20 ++++++++++++++------ cadasta/core/static/css/main.scss | 9 +++++++-- cadasta/core/static/css/reg.scss | 10 +++++++--- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/cadasta/core/static/css/main.css b/cadasta/core/static/css/main.css index 8e9550903..bf2ac4ab7 100644 --- a/cadasta/core/static/css/main.css +++ b/cadasta/core/static/css/main.css @@ -3775,13 +3775,17 @@ body.tinted-bg { margin: 0 auto; max-width: 500px; background: #fff; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + border-radius: 4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border: 1px solid #ddd; padding: 30px 40px; margin-top: 30px; z-index: 100; - position: relative; } + position: relative; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .form-narrow h1 { text-align: center; margin: 4px auto 24px; } @@ -5336,10 +5340,14 @@ header { #page-content { z-index: 800; position: relative; - padding-top: 30px; - padding-bottom: 20px; + padding-bottom: 20px; } + +#projects #page-content, +#organizations #page-content, +#users #page-content { max-width: 1220px; margin: -190px auto 10px; + padding-top: 30px; background: #fff; -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); diff --git a/cadasta/core/static/css/main.scss b/cadasta/core/static/css/main.scss index 3aa38b1e2..52e6c21df 100644 --- a/cadasta/core/static/css/main.scss +++ b/cadasta/core/static/css/main.scss @@ -533,13 +533,18 @@ header { /* =Page Content -------------------------------------------------------------- */ -#page-content { // for page content default for index pages without subnav that overlap page-header +#page-content { // for page content z-index: 800; position: relative; - padding-top: 30px; padding-bottom: 20px; +} + +#projects #page-content, +#organizations #page-content, +#users #page-content { // index pages without subnav that overlap page-header max-width: 1220px; margin: -190px auto 10px; + padding-top: 30px; background: #fff; -webkit-box-shadow: 0 0 6px rgba(0,0,0,.3); -moz-box-shadow: 0 0 6px rgba(0,0,0,.3); diff --git a/cadasta/core/static/css/reg.scss b/cadasta/core/static/css/reg.scss index 22e1ffe7e..a68d5da55 100644 --- a/cadasta/core/static/css/reg.scss +++ b/cadasta/core/static/css/reg.scss @@ -13,13 +13,17 @@ body.tinted-bg { // photo for login and register forms margin: 0 auto; max-width: 500px; background: #fff; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; + border-radius: 4px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border: 1px solid #ddd; padding: 30px 40px; margin-top: 30px; z-index: 100; position: relative; + -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05); + -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05); + box-shadow: 0 1px 1px rgba(0,0,0,.05); h1 { text-align: center; margin: 4px auto 24px;