From: Wouter Admiraal Date: Mon, 17 Dec 2018 13:08:34 +0000 (+0100) Subject: SONARCLOUD-209 Fix missing navigation when navigating back from SC homepage X-Git-Tag: 7.6~212 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c314c417d0ffefcb23e731767744ee6ab3cd80e1;p=sonarqube.git SONARCLOUD-209 Fix missing navigation when navigating back from SC homepage --- diff --git a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/NavBars.css b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/NavBars.css index 14105074ab5..1214d237fc1 100644 --- a/server/sonar-web/src/main/js/apps/about/sonarcloud/components/NavBars.css +++ b/server/sonar-web/src/main/js/apps/about/sonarcloud/components/NavBars.css @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -.navbar { +.sc-page .navbar { position: fixed; background-color: #fff; width: 100%; @@ -30,7 +30,7 @@ top: -100px; } -.navbar-inner { +.sc-page .navbar-inner { position: relative; } @@ -45,13 +45,13 @@ margin-top: 12px; } -.navbar img { +.sc-page .navbar img { height: 40px; vertical-align: middle; } .top-navbar ul, -.navbar ul { +.sc-page .navbar ul { float: right; } @@ -60,7 +60,7 @@ } .top-navbar ul li, -.navbar ul li { +.sc-page .navbar ul li { display: inline-block; margin: 0 0 0 30px; line-height: 30px; @@ -68,19 +68,19 @@ transition: all 0.2s ease; } -.navbar ul li { +.sc-page .navbar ul li { line-height: 54px; } .top-navbar ul li a, -.navbar ul li a { +.sc-page .navbar ul li a { font-family: var(--sonarcloudFontFamily); color: var(--sonarcloudBlack800); font-weight: 700; display: inline-block; } -.navbar ul li.outline { +.sc-page .navbar ul li.outline { line-height: 30px; } @@ -89,7 +89,7 @@ } .top-navbar ul li.outline a, -.navbar ul li.outline a { +.sc-page .navbar ul li.outline a { height: 30px; border: 1px solid var(--sonarcloudBlack800); padding: 0 10px; @@ -106,14 +106,14 @@ border-bottom: 2px solid #fff; } -.navbar ul li a.active, -.navbar ul li a:hover { +.sc-page .navbar ul li a.active, +.sc-page .navbar ul li a:hover { border-bottom: 2px solid var(--sonarcloudOrange500); color: var(--sonarcloudOrange500); } .top-navbar ul li.outline a:hover, -.navbar ul li.outline a:hover { +.sc-page .navbar ul li.outline a:hover { border-bottom-width: 1px; background: var(--sonarcloudOrange500); color: #fff; @@ -124,7 +124,7 @@ color: var(--sonarcloudOrange500); } -.navbar ul li.outline:hover a { +.sc-page .navbar ul li.outline:hover a { border-color: var(--sonarcloudOrange500); }