This commit is contained in:
James 2020-04-04 10:43:54 +01:00
parent 508b3859ff
commit c3110e0b68

View File

@ -38,93 +38,3 @@ display: block !important;
*/ */
/* desktop */ /* desktop */
@media (min-width: 768px) { /* desktop */
/* transparent background*/
.navigation ul{
background-color: rgba(255,255,255,0) !important;
z-index: 100;
}
.navigation ul.level0{
background-color: rgba(255,255,255,0.95) !important;
width: 95% !important;
}
/* remove borders and shadow */
.navigation ul ul ul{
box-shadow: none !important;
border: none !important;
}
/* bold 1st level (headers) */
.navigation li.level1>a{
font-weight: bold;
/* remove icon*/
.ui-menu-icon{
display: none !important;
}
}
/* make all parents static so absolute positions work */
.navigation,
.navigation>ul,
.navigation>ul>.level0{
position: static !important;
}
/* put the sub menus into the layout columns */
.submenu.level1{
position: static !important;
display: block !important;
}
/* add the |> icon to the sub item items */
.submenu.level1>li>a::before{
content: "\25B6\00a0";
}
/* make the level 0 a flex layout so sub menus become columns */
/* and center it */
.submenu.level0[aria-expanded="true"]{
display: flex !important;
justify-content: center;
left: 50% !important;
transform: translateX(-50%);
padding-top: 55px !important;
}
/*
.submenu.level0>li{
flex-grow: 1;
flex-shrink: 1;
max-width: auto !important;
min-width: auto !important;
width: auto !important;
}
*/
.submenu.level0>li{
max-width: auto !important;
min-width: auto !important;
width: 15% !important;
}
}
/* make sure the menu doesn't dissapear behind any content elements
* https://philipwalton.com/articles/what-no-one-told-you-about-z-index/
*/
#maincontent{
opacity: .99;
}
/****/
.cms-heat-calculator-demo .side_contact,
.cms-heat-calculator .side_contact{
display:none;
}
#heatcalc #button_container button {
border: none !important;
background-color: transparent !important;
color: #990000 !important;
}
.field input{ margin:5px 2px;}