diff --git a/app/assets/stylesheets/components/_gather.scss b/app/assets/stylesheets/components/_gather.scss index 74eac0d..2f22b0e 100644 --- a/app/assets/stylesheets/components/_gather.scss +++ b/app/assets/stylesheets/components/_gather.scss @@ -109,8 +109,6 @@ .gather-columns { @include span-columns(12); @include row(table); - margin-left: - $column-border-width; - width: $max-width - ($column-border-width*2); } .data { @@ -118,9 +116,11 @@ @include pad; border-radius: $column-border-width + $column-border-radius; padding-bottom: 20px; - padding: 0px; position: relative; z-index: 100; + background: rgba(0, 0, 0, 0.2); + border: 10px solid transparent; + background-clip: padding-box; h4 { padding-bottom: 20px; @@ -135,22 +135,6 @@ ul { margin-bottom: 10px; } - - .contents { - margin: 20px; - padding: 10px; - } - - .contents:before { - border-radius: $base-border-radius; - content: ''; - background: rgba(0, 0, 0, 0.15); - position: absolute; - width: 90%; - height: 100%; - z-index: -1; - margin: -20px; - } } .players { diff --git a/app/assets/stylesheets/layout/_body.scss b/app/assets/stylesheets/layout/_body.scss index b50649e..bb6390e 100644 --- a/app/assets/stylesheets/layout/_body.scss +++ b/app/assets/stylesheets/layout/_body.scss @@ -28,6 +28,10 @@ body#tinymce { .wrapper { @include outer-container; + + &.body { + z-index: 10; + } } #content { diff --git a/app/assets/stylesheets/layout/_header.scss b/app/assets/stylesheets/layout/_header.scss index 2ea1372..53404e3 100644 --- a/app/assets/stylesheets/layout/_header.scss +++ b/app/assets/stylesheets/layout/_header.scss @@ -3,24 +3,11 @@ */ header .banner { - height: 125px; - - #logo { - @include span-columns(7 of 12); - min-height: 180px; - position: relative; - - img { - height: 180px; - position: absolute; - top: 30px; - left: -10px; - z-index: 1; - } - } + height: 180px; #authentication { @include span-columns(5 of 12); + @include shift(7); padding: 30px 0; padding-top: 50px; color: white; @@ -159,12 +146,9 @@ header .banner { &.authenticated { - #logo { - @include span-columns(9 of 12); - } - #authentication { @include span-columns(3 of 12); + @include shift(9); padding: 30px 0; } } diff --git a/app/assets/stylesheets/layout/_navigation.scss b/app/assets/stylesheets/layout/_navigation.scss index 8a62196..12f7c4a 100644 --- a/app/assets/stylesheets/layout/_navigation.scss +++ b/app/assets/stylesheets/layout/_navigation.scss @@ -11,9 +11,29 @@ $navigation-height: 50px; margin-top: -50px; background: image-url('layout/nav-background.png') top center repeat-x; height: 100px; - - nav { - @include outer-container; + position: relative; + z-index: 25; + + .wrapper { + position: relative; + } + + #logo { + position: absolute; + bottom: -15px; + left: -10px; + + a { + height: 180px; + display: block; + float: left; + position: relative; + z-index: 50; + + img { + height: 180px; + } + } } } diff --git a/app/views/application/_header.html.erb b/app/views/application/_header.html.erb index 4a7e75e..e234bfa 100644 --- a/app/views/application/_header.html.erb +++ b/app/views/application/_header.html.erb @@ -1,9 +1,6 @@