1 $nav-item-shaded-bg: $gray-light url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAyCAMAAABI+VrBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFQTFRF/////f39/v7+/Pz8+/v7+fn56+vr+vr69PT09vb28/Pz9fX1xcXF9/f3+Pj45+fn8PDwycnJ7+/v6enpzc3N19fX8fHx8vLy7u7u6Ojo7Ozs3Nzc5OTk7e3t4uLi2dnZ39/fxsbG29vb0dHR3d3d4ODg4+Pj6urqyMjI09PT5eXl0NDQ1dXV2NjYysrKx8fH5ubmzs7O3t7exMTE4eHh2tray8vLz8/PzMzM1NTU1tbWhgtdWwAAAOFJREFUeNok0NWSxCAURdFDhCQkMx3tuLe7jP//h829NC+rqIKNAK8hhGEQjmUyrm+ziVTs50O6jkA6b+J3gSCqpWfiGZxL1yKyhbIQEDQLxj7xTYy7SXoCY1RXbwLXy6OgfdevIbYFdulHaBuI7t3SIY5Nbhm4zAdF/Ow5gvTEEaR/W49Ov2eSIvjuW+Y4tdTCXHML+1XI/A7cwmmdM1nHLZwbl+kPPj9lunELq5LuRWy5hUFyC+uKI+hazabgCJpYcws5gsXS5F8qc02i9C9Jn9ejelHoMkJdhrJ5xb8AAwBmihB0TS21nQAAAABJRU5ErkJggg==) no-repeat right 0;
2 $nav-border-color: rgb(232, 232, 232);
4 $z-index-nav-hover: 1001;
5 $nav-hover-gradient: linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%);
6 $nav-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.12);
9 @include display-flex();
10 @include align-items(center);
11 height: $top-nav-height;
13 //margin-bottom: $main-content-top-margin;
17 @include display-flex();
18 @include align-items(center);
19 @include user-select(none);
22 @include display-flex();
23 @include align-items(center);
39 background: url("../../images/burger-icon.png") 50% 100% no-repeat;
40 background-size: cover;
45 background-position: 50% 0;
52 @include display-flex();
53 @include justify-content(flex-end);
62 @include display-flex();
70 text-transform: uppercase;
71 @include user-select(none);
75 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPJJREFUeNpiyc/Pn8XAwDATiM8yEAaMQBwBxHxMQMIdiE8D8Vog1sGjyQGqbhkQK4A0PoKaFATEF4F4MRCrImnQBuJtQLwfiI2hYk9AGl2AuB2I/wAxiB8DxNeAeA4QzwXiS0DsCdXwHIj9gHgqSOFPIK4CYksgvgJVwALEyUCcBDWMAeoSkO2bGZAEQeAM1CmtUNth4BkQ+wJxHBC/hwkyoQXALyCuAWILIL4MxIugAbYFI3iNZ54BR4fNtcXo0QEy9B+ywBGtWMzoAAquBWLk6EDXhBIdLNDokINGRwBQAUiiCYhvI0VHN1LIjpjoAAgwAMoSTlKlzAY4AAAAAElFTkSuQmCC) no-repeat;
77 display: inline-block;
86 @include display-flex();
87 @include align-items(center);
88 padding: 0 $default-padding;
90 z-index: $z-index-nav-hover + 1; // ensure on top of expandee
96 // @include display-flex();
97 // @include flex-direction(row);
98 // //visibility: hidden;
99 // pointer-events: none;
100 // transition: opacity 300ms ease-in-out 200ms;
105 z-index: $z-index-nav-hover;
108 @include box-sizing(border-box);
109 background-color: $gray-light;
110 padding: $default-padding 0;
121 background-image: $nav-hover-gradient;
125 background-image: $nav-hover-gradient;
139 background-image: $nav-hover-gradient;
143 font-size: $nav-font-size - 0.1;
144 padding: $default-padding - 5 0 0 0;
149 border-bottom: 1px solid $nav-border-color;
157 text-overflow: ellipsis;
160 // Hide 3rd level articles.
175 @include display-inline-flex();
176 @include align-self(stretch);
177 @include align-items(center);
179 padding: 0 $default-padding;
185 @include user-select(none);
189 padding: $default-padding;
191 input[type="search"] {
193 @include box-sizing(border-box);
194 background: url("../../images/search.png") no-repeat 15px 55%;
195 background-size: 20px;
196 background-color: white;
197 border: $default-border;
198 //border-color: $gray-light-dark;
199 padding: 10px 10px 10px 40px;
202 font-family: inherit;
208 @media only screen and (min-width: $break-small) {
216 &.highlight .toplevel {
220 background: $nav-item-shaded-bg;
224 background-position: 0% -5px;
229 @include display-flex();
230 @include flex-direction(row);
232 // pointer-events: all;
234 // //visibility: visible;
238 background-image: linear-gradient(bottom,rgba(255, 255, 255, 0) 0,rgba(211, 211, 211, 0.5) 25%,rgb(211, 211, 211) 50%,rgba(211, 211, 211, 0.5) 75%,rgba(255, 255, 255, 0) 100%);
242 width: 1px !important;
250 font-size: $nav-font-size;
251 box-shadow: $nav-box-shadow;
252 top: $top-nav-height;
255 padding: 0 $default-padding;
256 border-right: 1px solid $nav-border-color;
269 background: $nav-item-shaded-bg;
273 top: $top-nav-height;
281 @media only screen and (max-width: $break-small) {
283 @include flex-direction(column);
290 //@include transition(all 1s); // TODO(ericbidelman): janky on close
292 background: $gray-light;
295 max-height: 5000px; // TODO(ericbidelman): Hack. Make nav bigger than we'll ever need.
300 @include flex-direction(column);
306 @include align-items(center);
307 @include justify-content(center);
308 @include display-inline-flex();
312 @include flex-direction(column);
314 border-bottom: $default-border;
315 //border-color: $gray-medium;
328 background-color: rgba(229,229,229,.7);
332 padding: $default-padding / 2 $default-padding - 5;
333 //border-bottom: none;
336 border-color: #ccc;//$gray-light-dark;
340 background-color: inherit;;
362 @include display-flex();
363 @include align-items(center);
365 padding: 15px 15px 0 15px;