From 2faa20f97fac7821b2acaa3098545c93ae48c25a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 20 Jul 2012 16:47:58 -0400 Subject: [PATCH] style: Increase z-index of top nav tabs so the are over the brand when the window is narrow --- static/june_2007_style/base.less | 5 +++++ static/june_2007_style/blue/base.css | 1 + 2 files changed, 6 insertions(+) diff --git a/static/june_2007_style/base.less b/static/june_2007_style/base.less index c2b17e3cdbb..e130b6cc4bc 100644 --- a/static/june_2007_style/base.less +++ b/static/june_2007_style/base.less @@ -417,6 +417,11 @@ div.unified-panel-body { } */ + .nav { + z-index: 10000; + background-color: @masthead_bg; + } + .nav > li > a { // Override height of navbar links padding: 6px 10px 8px; diff --git a/static/june_2007_style/blue/base.css b/static/june_2007_style/blue/base.css index febb54c844b..0b35c300d18 100644 --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -667,6 +667,7 @@ div.unified-panel-body{position:absolute;top:30px;bottom:0;width:100%;margin-top #masthead .navbar-link{color:#999999;}#masthead .navbar-link:hover{color:#ffffff;} #masthead .btn,#masthead .btn-group{margin-top:1px;} #masthead .btn-group .btn{margin:0;} +#masthead .nav{z-index:10000;background-color:#2c3143;} #masthead .nav>li>a{padding:6px 10px 8px;cursor:pointer;}#masthead .nav>li>a:hover{color:gold;} #masthead .dropdown-menu a,#masthead .dropdown-menu a:hover{text-decoration:none;} #masthead .title{position:absolute;left:0;top:0;font-family:verdana;font-weight:bold;font-size:20px;line-height:1;color:white;padding:5px 20px 12px;margin-left:-15px;z-index:2000;}#masthead .title img{display:inline;width:26px;vertical-align:top;}