2017-01-09 01:50:23 -06:00
|
|
|
#main-menu {
|
2017-01-12 06:39:28 -06:00
|
|
|
top: 39px;
|
2017-01-09 01:50:23 -06:00
|
|
|
height: 25px;
|
|
|
|
padding-left: 125px;
|
|
|
|
z-index: 1000;
|
|
|
|
outline: none;
|
2017-01-12 06:39:28 -06:00
|
|
|
background-color: transparent;
|
2017-01-09 01:50:23 -06:00
|
|
|
}
|
2017-01-09 02:45:24 -06:00
|
|
|
|
2017-02-17 08:24:11 -06:00
|
|
|
#main-menu.readonly {
|
|
|
|
top: 30px;
|
|
|
|
}
|
|
|
|
|
2017-01-10 09:48:05 -06:00
|
|
|
.header-wrapper {
|
|
|
|
background: #efefef; /* Fill up white areas with grey */
|
|
|
|
min-height: 70px; /* Map starts from 70px onwards in case of writer, calc */
|
|
|
|
}
|
|
|
|
.main-nav {
|
|
|
|
height: 30px; /* on mouseover menubar items, border emerges */
|
2017-01-12 06:39:28 -06:00
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2017-01-10 09:48:05 -06:00
|
|
|
}
|
|
|
|
|
2017-01-09 02:45:24 -06:00
|
|
|
/* Customizations to sm-simple theme to make it look like LO menu, lo-menu class */
|
|
|
|
.lo-menu {
|
|
|
|
border: none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
-moz-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu a, .lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active {
|
|
|
|
font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 15px;
|
|
|
|
}
|
|
|
|
|
2017-01-12 05:31:52 -06:00
|
|
|
.lo-menu ul a, .lo-menu ul a:hover, .lo-menu ul a:focus, .lo-menu ul a:active {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2017-01-09 02:45:24 -06:00
|
|
|
.lo-menu a.disabled {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.lo-menu > li > a.has-submenu {
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-top: 8px;
|
|
|
|
z-index: 500;
|
|
|
|
border-left: 1px solid #efefef;
|
|
|
|
border-right: 1px solid #efefef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu {
|
|
|
|
background: #efefef;
|
|
|
|
-webkit-touch-callout: none; /* iOS Safari */
|
|
|
|
-webkit-user-select: none; /* Chrome/Safari/Opera */
|
|
|
|
-khtml-user-select: none; /* Konqueror */
|
|
|
|
-moz-user-select: none; /* Firefox */
|
|
|
|
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
|
|
user-select: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
.lo-menu a, .lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active, .lo-menu a.highlighted {
|
2017-05-03 10:48:36 -05:00
|
|
|
padding: 5px 22px;
|
2017-01-09 02:45:24 -06:00
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
.lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active, .lo-menu a.highlighted {
|
|
|
|
background: #538ecd;
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-09-19 20:46:09 -05:00
|
|
|
.lo-menu > li, .lo-menu > li > a.disabled {
|
2017-01-10 12:08:06 -06:00
|
|
|
background: #efefef; /* top-level menus remain greyish */
|
|
|
|
}
|
2017-01-09 02:45:24 -06:00
|
|
|
.lo-menu > li > a:hover, .lo-menu > li > a:focus, .lo-menu > li > a:active, .lo-menu > li > a.highlighted {
|
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
border-color: #bbbbbb;
|
|
|
|
border-bottom: 1px solid #bbb;
|
|
|
|
}
|
|
|
|
.lo-menu > li > a.highlighted {
|
|
|
|
border-bottom-color: #fff;
|
|
|
|
}
|
|
|
|
.lo-menu > li > ul {
|
|
|
|
margin-top: -1px !important;
|
|
|
|
z-index: 400;
|
|
|
|
}
|
|
|
|
.lo-menu > li > a span.sub-arrow {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.lo-menu ul {
|
|
|
|
border: 1px solid #bbbbbb;
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
.lo-menu ul a span.sub-arrow {
|
|
|
|
right: 0;
|
|
|
|
margin-right: 5px;
|
2017-01-10 12:08:06 -06:00
|
|
|
background: transparent; /* we want them to be transparent always whether mobile or desktop */
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu ul > li {
|
|
|
|
border-left: 0;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
.lo-menu a.separator {
|
|
|
|
height: 1px;
|
|
|
|
margin: 4px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
|
|
|
/* lo-menu customizations end */
|
2017-01-10 12:08:06 -06:00
|
|
|
|
|
|
|
.main-nav:after {
|
|
|
|
clear: both;
|
|
|
|
content: "\00a0";
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
font: 0px/0 serif;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Mobile menu toggle button */
|
|
|
|
|
|
|
|
.main-menu-btn {
|
|
|
|
z-index: 2000;
|
2017-01-12 06:39:28 -06:00
|
|
|
float: right;
|
|
|
|
top: 5px;
|
2017-01-10 12:08:06 -06:00
|
|
|
margin: 2px 10px;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 21px;
|
|
|
|
height: 21px;
|
|
|
|
text-indent: 21px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* hamburger icon */
|
|
|
|
|
|
|
|
.main-menu-btn-icon,
|
|
|
|
.main-menu-btn-icon:before,
|
|
|
|
.main-menu-btn-icon:after {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 2px;
|
|
|
|
height: 2px;
|
|
|
|
width: 20px;
|
|
|
|
background: #555;
|
|
|
|
-webkit-transition: all 0.25s;
|
|
|
|
transition: all 0.25s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-menu-btn-icon:before {
|
|
|
|
content: '';
|
|
|
|
top: -7px;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-menu-btn-icon:after {
|
|
|
|
content: '';
|
|
|
|
top: 7px;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide menu state checkbox (keep it visible to screen readers) */
|
|
|
|
|
|
|
|
#main-menu-state {
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* hide the menu in mobile view */
|
|
|
|
|
|
|
|
#main-menu-state:not(:checked) ~ #main-menu {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#main-menu-state:checked ~ #main-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2017-02-17 08:24:11 -06:00
|
|
|
/* desktop mode */
|
2018-10-02 21:34:01 -05:00
|
|
|
@media (min-width: 769px) and (orientation: portrait),(min-height: 769px) and (orientation: landscape) {
|
2017-01-10 12:08:06 -06:00
|
|
|
/* hide the button in desktop view */
|
|
|
|
.main-menu-btn {
|
|
|
|
position: absolute;
|
|
|
|
top: -99999px;
|
|
|
|
}
|
|
|
|
/* always show the menu in desktop view */
|
|
|
|
#main-menu-state:not(:checked) ~ #main-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
#main-menu {
|
2017-02-17 08:24:11 -06:00
|
|
|
top: 0 !important;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
2017-01-12 06:39:28 -06:00
|
|
|
.main-nav {
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
|
|
|
}
|
2017-02-17 08:24:11 -06:00
|
|
|
/*
|
|
|
|
* In desktop mode, we already have the close button from the toolbar
|
|
|
|
*/
|
2017-01-12 10:03:49 -06:00
|
|
|
#menu-closedocument {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-06-13 04:53:21 -05:00
|
|
|
|
|
|
|
.readonly {
|
|
|
|
top: 3px;
|
2017-02-17 08:24:11 -06:00
|
|
|
}
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
2017-05-03 10:48:36 -05:00
|
|
|
|
|
|
|
/* Some more lo-menu specific customizations */
|
|
|
|
|
|
|
|
/* The smartmenus plugin doesn't seem to have support for icons, so implement our own pseudo-elements */
|
|
|
|
.lo-menu-item-checked::before {
|
|
|
|
position: absolute;
|
|
|
|
content: '\2713';
|
|
|
|
left: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu-item-checked:hover::before {
|
|
|
|
color: #fff;
|
|
|
|
}
|