Newer
Older
@import "../helpers/mixins";
@import "../helpers/variables";
@import "../helpers/functions";
Brian Canini
committed
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
background: transparent;
color: #333333;
Brian Canini
committed
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
background-color: transparent;
}
.dropdown-submenu.pull-left {
float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
left: -100%;
margin-left: 10px;
@include border-radius(6px 0 6px 6px)
}
Brian Canini
committed
.navbar-nav li:last-child > .dropdown-menu .dropdown-submenu > a:after {
float: left;
content: "\e079";
}
.navbar-nav li:last-child > .dropdown-menu .dropdown-submenu > .dropdown-menu {
left: -100%;
}
#superfish-main.sf-style-white {
margin-bottom: 0;
a {
text-transform: uppercase;
color: $white;
text-decoration: none;
font-weight: 400;
&:hover {
background: rgba(#D8D8D8, .25);
}
}
li {
background: transparent;
ul {
background: $menu-gray;
a {
color: $brand-gray;
Brian Canini
committed
text-transform: none;
&:hover {
background: $brand-red;
color: $white;
}
}
}
}
.sfHover a.sf-depth-1:after {
content: '';
position: absolute;
left: 50%;
bottom: 0;
margin: 0 0 0 -8px;
border-bottom: 7px solid $menu-gray;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
z-index: 400;
}
a.sf-depth-1 {
Brian Canini
committed
svg, i {
display: none;
}
}
a.sf-with-ul {
padding: 0.75em 1em;
}
Brian Canini
committed
svg, i {
Brian Canini
committed
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
.search-box{
background: #E8E8E4;
position: absolute;
top: 54px;
right: 28.7%;
width: 350px;
height: 60px;
line-height: 60px;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
border-top:4px solid #D80B15;
display: none;
&:before{
content: "";
position: absolute;
top: -32px;
right: 13px;
border-left: 12px solid transparent;
border-right: 12px solid transparent;
border-top: 14px solid transparent;
border-bottom: 14px solid #D80B15;
}
input[type="text"]{
width: 200px;
padding: 5px 10px;
margin-left: 23px;
border: 1px solid #D80B15;
outline: none;
}
input[type="button"]{
width: 80px;
padding: 5px 0;
background: #D80B15;
color: #fff;
margin-left: -6px;
border: 1px solid #D80B15;
outline: none;
cursor: $point;
}
}
#superfish-main {
Brian Canini
committed
}
#superfish-main.sf-style-white a:focus {
color: #373535;
}
#superfish-main.sf-style-white a:hover {
color: $white;
}
Brian Canini
committed
// --------------------------------------------------
//## Accessibility Instructions.
#main-nav-menubar-instructions {
background-color: rgba(0,0,0,0.9);
position: absolute;
top: -5em;
left: 200px;
padding: .4em .6em;
font-size: 16px;
display: none;
width: 450px;
p {
color: $white;
}
}
// --------------------------------------------------
//## Accessibility Menu.
.bux-container {
padding: 0 !important;
background-color: transparent !important;
font-weight: 400 !important;
float: left;
.bux-menu__item {
margin: 0 !important;
.bux-menu__link {
border-bottom: none !important;
padding: 0.75em 1em !important;
color: $white !important;
min-width: 0 !important;
text-transform: uppercase;
padding: 10px 12px !important;
&:hover:after {
display: block;
left: 50%;
bottom: 0;
right: revert !important;
top: revert !important;
margin: 0 0 0 -8px;
border-bottom: 7px solid #E0E0E0;
border-left: 8px solid transparent !important;
border-right: 8px solid transparent !important;
border-top: none !important;
transform: rotate(0deg) !important;
}
&:hover {
background: rgba(216,216,216,0.25);
border-top: none !important;
}
.asc-submenu {
height: 1px;
margin: -1px;
overflow: hidden;
position: absolute;
width: 1px;
padding: 0 !important;
width: 12em !important;
background: $menu-gray !important;
top: 3em !important;
.bux-menu__item {
margin: 0 !important;
a[aria-haspopup=true]:after {
right: 1em !important;
top: 1.25em !important;
}
.a11y-navbar-submenu {
top: 0 !important;
}
}
}
@media (max-width: 768px) {
float: none;
font-weight: 700 !important;
.a11y-navbar-menuitem {
color: $filter-color-hover !important;
}
.bux-menu__item {
.bux-menu__link {
color: $filter-color-hover !important;
min-width: 44px !important;
}
}
.asc-submenu.a11y-navbar-menu-open {
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
width: 100% !important;
.a11y-navbar-submenu {
.bux-menu__item {
a{
padding-left: 3em !important;
color: $filter-color-hover !important;
}
.bux-menu__item {
a {
padding-left: 4em !important;
color: $filter-color-hover !important;
}
.bux-menu__item {
a {
padding-left: 5em !important;
color: $filter-color-hover !important;
}
}
}
}
}
.bux-menu__item {
a {
padding-left: 2em !important;
}
}
}
}
}
@media (max-width: 768px) {
background: $white !important;
ul[role=menubar].a11y-navbar-orientation-horizontal li ul[role=menu] li ul[role=menu] li a[role=menuitem] {
background-color: $white !important;
}
}
}
.search-container {
margin-bottom: 0 !important;
.search-icon {
padding: 5px 0;
&:hover {
background: rgba(216,216,216,0.25);
}
.fa-search:hover {
background: transparent;
}
}
}
.a11y-navbar-toggle {
padding: 0.75rem 50px 0.75rem 0.5rem !important;
}
.search-icon-mobile {
float: none;
text-align: right;
margin: 0;
padding: 5px 15px;
}
}
.bux-container--menu nav.a11y-navbar ul[role=menubar] li {
margin: 0;
}
// --------------------------------------------------
//## Sticky Nav.
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
position: fixed;
top: 0;
width: 100%;
@media (max-width: 768px) {
position: inherit;
display: block;
}
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
padding-top: 60px;
}
Brian Canini
committed
// --------------------------------------------------
//## Mobile styles.
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
@media (max-width: 768px) {
#main-nav .container {
padding-left: 0;
padding-right: 0;
&:after {
content: "";
display: none;
}
.clearfix:after {
content: "";
display: none;
}
}
div.sf-accordion-toggle.sf-style-white > a:after {
content: "";
display: none;
}
ul.sf-menu.sf-accordion.sf-accordion-with-buttons li.sf-expanded > .sf-accordion-button:after {
content: "";
display: none;
}
#block-dummyheader img {
width: 100%;
}
div.sf-accordion-toggle.sf-style-white a {
background: transparent;
border: none;
font-size: 30px;
span {
display: none;
}
}
div.sf-accordion-toggle.sf-style-white a.sf-expanded {
background: transparent;
}
ul.sf-menu.sf-accordion.sf-accordion-with-buttons .sf-accordion-button:after {
content: "";
margin: 0;
}
ul.sf-menu.sf-style-white.sf-accordion li.sf-expanded {
background: $brand-lgray;
}
ul.sf-menu.sf-style-white li, ul.sf-menu.sf-style-white.sf-navbar {
border: solid 1px #979797;
}
ul.sf-menu.sf-style-white.sf-accordion li li a, ul.sf-menu.sf-style-white.sf-accordion li li span.nolink {
background: $menu-gray;
}
ul.sf-menu.sf-style-white a, ul.sf-menu.sf-style-white a:visited, ul.sf-menu.sf-style-white span.nolink {
color: #373735;
}
.sf-menu {
.sf-depth-1 a {
text-transform: uppercase;
font-weight: 600;
font-size: 18px;
}
.sf-depth-2 a {
Brian Canini
committed
text-transform: none;
font-weight: 400;
}
.hidetxt {
position: absolute;
left: -99999999px;
width: 0;
height: 0;
}
.sf-accordion-button {
padding: 5px 15px 0;
Brian Canini
committed
border-left: solid 1px #979797 !important;
background: $menu-gray !important;
Brian Canini
committed
svg, i {
div.sf-accordion-toggle.sf-style-white a {
padding: .05em .5em;
}
.bux-container--menu nav.a11y-navbar.a11y-navbar-responsive ul[role=menubar].a11y-navbar-orientation-horizontal li:first-child {
margin-left: 0;
}
.bux-container--menu nav.a11y-navbar.a11y-navbar-responsive ul[role=menubar].a11y-navbar-orientation-horizontal li:last-child {
margin-right: 0;
}