Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1404 from mozilla/tabnav_fix
Browse files Browse the repository at this point in the history
Resolves the tab-nav issue in themes.
  • Loading branch information
pwnbus committed Jul 30, 2019
2 parents 3049f3e + 8f9ce17 commit f530f22
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 40 deletions.
2 changes: 1 addition & 1 deletion meteor/client/themes/side_nav_dark/menu.html
Expand Up @@ -7,7 +7,7 @@


<template name="side_nav_menu">
<div class="container itemcontainer">
<div class="container headercontainer">
<nav class="main-menu">
{{#if true }}
<ul>
Expand Down
18 changes: 5 additions & 13 deletions meteor/imports/themes/classic/mozdef.css
Expand Up @@ -287,19 +287,6 @@ caption, legend {
color: var(--txt-secondary-color);
}

/* incident/investigation styles */
.daterangepicker, .daterangepicker td {
color: var(--txt-secondary-color);
}

.tabcontent {
display: none;
}

.tabcontent.active {
display: block;
}

textarea {
overflow: auto;
vertical-align: top;
Expand Down Expand Up @@ -389,9 +376,14 @@ td {
}

.tabcontent {
display: none;
margin-top: 20px;
}

.tabcontent.active {
display: block;
}

.tabnav a {
color: rgb(173, 216, 230);
}
Expand Down
21 changes: 13 additions & 8 deletions meteor/imports/themes/dark/mozdef.css
Expand Up @@ -343,12 +343,12 @@ td {


.welcome {
height: 180px;
width: 600px;
margin-left: 25%;
text-align: center;
color: var(--txt-primary-color);
vertical-align: middle;
height: 180px;
width: 600px;
margin-left: 25%;
text-align: center;
color: var(--txt-primary-color);
vertical-align: middle;
}

.mozdeflogo{
Expand All @@ -357,11 +357,16 @@ td {
}

.tabcontent {
margin-top: 20px;
display: none;
margin-top: 20px;
}

.tabcontent.active {
display: block;
}

.tabnav a {
color: lightblue;
color: lightblue;
}

/* uncomment this login ui css to hide the local account/password signup options
Expand Down
29 changes: 13 additions & 16 deletions meteor/imports/themes/light/mozdef.css
Expand Up @@ -260,14 +260,6 @@ caption, legend {
color: var(--txt-primary-color);
}

.tabcontent {
display: none;
}

.tabcontent.active {
display: block;
}

textarea {
overflow: auto;
vertical-align: top;
Expand Down Expand Up @@ -343,12 +335,12 @@ td {
}

.welcome {
height: 180px;
width: 600px;
margin-left: 25%;
text-align: center;
color: var(--txt-primary-color);
vertical-align: middle;
height: 180px;
width: 600px;
margin-left: 25%;
text-align: center;
color: var(--txt-primary-color);
vertical-align: middle;
}

.mozdeflogo{
Expand All @@ -357,11 +349,16 @@ td {
}

.tabcontent {
margin-top: 20px;
display: none;
margin-top: 20px;
}

.tabcontent.active {
display: block;
}

.tabnav a {
color: lightblue;
color: lightblue;
}

/* don't float the 'create account' link*/
Expand Down
9 changes: 7 additions & 2 deletions meteor/imports/themes/side_nav_dark/mozdef.css
Expand Up @@ -416,8 +416,13 @@ td{
width: 500px;
}

.tabcontent{
margin-top: 20px;
.tabcontent {
display: none;
margin-top: 20px;
}

.tabcontent.active {
display: block;
}

.tabnav a{
Expand Down

0 comments on commit f530f22

Please sign in to comment.