diff options
Diffstat (limited to 'web/cobrands/zurich/layout.scss')
-rw-r--r-- | web/cobrands/zurich/layout.scss | 90 |
1 files changed, 74 insertions, 16 deletions
diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 39bbb20b4..3a20d05c5 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -9,7 +9,7 @@ color: #3c3c3c; @include box-shadow(none); } -.ie6, .ie7, .ie8 { +.iel8 { .content { border: none; } @@ -18,7 +18,7 @@ body.mappage .content, body.frontpage .content { @include box-shadow(0 0 6px 1px #000); } -.ie6, .ie7, .ie8 { +.iel8 { body.mappage .content, body.frontpage .content { border: 1px solid #666; } @@ -111,9 +111,6 @@ body.mappage { padding-top: 18px; background: #fff url(logo_portal.x.jpg) top left repeat-x; } - #site-logo { - margin-left: 10px; - } .content { margin-top: 1em; } @@ -187,13 +184,6 @@ body.mappage { } body.mappage { - #main-nav { - width: auto; - } - #main-nav ul#main-menu li a, - #main-nav ul#main-menu li span { - padding: 0.75em; - } #zurich-footer { display: none; } @@ -249,10 +239,52 @@ body.fullwidthpage.admin .content { width: 100%; } -body.mappage.admin .content { - margin-top: 6em; - margin-left: 0.5em; +body.mappage.admin { + .content { + margin-top: 5em; + margin-left: 0; + padding: 0px; + width: 40em; + background: #fff url(/cobrands/zurich/admin-faux-columns.gif) top center repeat-y; + @include box-shadow(0 0 5px rgba(0,0,0,0.5)); + } +} + +.admin-report-edit { + padding: 1em; + width: 50%; + float: right; + font-size: 0.8em; + box-sizing: border-box; + + button, input[type="submit"], .btn { + padding: 0.5em 0.5em 0.3em 0.5em; + text-transform: none; + } + + h2 { + font-family: inherit; + font-size: inherit; + font-weight: bold; + } +} + +.admin-report-edit--details { + label[for="title"], + label[for="detail"] { + display: none; + } + + #title { + margin-top: 1em; + font-weight: bold; + } + + #detail { + margin-bottom: 1em; + } } + .admin { .content { margin: 2em 0 1em; @@ -270,22 +302,48 @@ body.mappage.admin .content { font-weight: bold; padding-right: 0.333em; } + :first-child > label { + // avoid empty space above first label in a container + margin-top: 0; + } + textarea { + min-height: 0; + } + } + + button, input[type=submit], .btn { + &.delete { + font-size: 0.75em; + color: #933; + margin: 2em 0; + + &:hover { + @include background(linear-gradient(#fcc, #daa 50%)); + }; + } } #zurich-footer { margin: 2em auto 3em auto; } + + .message-updated { + color: #060; + font-weight: bold; + position: absolute; + } } .admin-nav-wrapper { background-color: white; padding: 1.5em 0 1em; } + body.mappage .admin-nav-wrapper { box-sizing: border-box; padding-left: 10px; padding-right: 10px; position: fixed; width: 100%; - @include box-shadow(0 0 6px 1px #000); + @include box-shadow(0 0 5px rgba(0,0,0,0.5)); } |