@media (min-width: 768px) { body:not(.global-nav-is-open) .global-navigation { display: none; // Hide the global navigation when the .global-nav-is-open class is not present on the body } body:not(.global-nav-is-open) #itrp-backdrop { display: none; // Hide the backdrop } body.global-nav-is-open .global-navigation { background: white; // white background color display: block; // Show the menu position: fixed; // Fix its position... top: 40px; // ...to about 40px from the top of the screen (just underneath the hamburger menu) z-index: 1000; // Put the menu on top of everything. min-height: 0; // no minimal height, just long enough to contain all menu items } body.global-nav-is-open #itrp-backdrop { display: block; // Show the backdrop position: fixed; // Fix its position... top: 0; bottom: 0; left: 0; right: 0; // ... to the entire browser window z-index: 999; // Put the backdrop on top of everything, except the navigation menu } } @media (max-width: 767px) { // Only on small screens body .global-navigation { position: fixed; // Fix the navigation menu... top: 0; // ... to the top of the screen width: 14em; // Make it 14em wide left: -14em; // And put it just outside the visible window (so that it is initially hidden) transition: transform 300ms;// When the menu is 'transformed', animate the transition for a duration of 300 millisecs } body.global-nav-is-open .global-navigation { // When the menu is open... background: white; // White background color color: #40474d; // And grey text color transform: translate3d(14em, 0, 0); // ...move the menu 14em to the right, so that it becomes visible. min-height: 0; // no minimal height, just long enough to contain all menu items } } body { background-color: White; } .global-header-outer-container { background: white; border-bottom: transparent; box-shadow: none; .global-header-inner-container { background: #ff6600; } .widget-hamburger-menu { color: white; } .gmenu-toggler { background: transparent; border-color: transparent; } .global_search_link.header-button { visibility: hidden; } .widget-time-spent-today.header-button { visibility: hidden; } } .page-container { box-shadow: none; border-left: 1px solid #ccc; border-right: 1px solid #ccc; } #menu-timesheet { display: block !important; } .global-navigation { .logo { margin: 20px; img { width: 100%; } } ul { margin: 20px; } .widget-search { margin: 0px 10px; } } .widget-search { .search-component { .search-container { .search-phrases { background: white; padding: 0; } .search-fields { height: inherit; } .search-q { height: inherit; padding-left: 1.5rem; border-radius: 2px; border-color: #ccc; &:focus { box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16); } } } } } .avatar_person { border-radius: 100% !important; } .widget-user-menu li#user-info { background: #ff6600; }