2017-01-09 01:50:23 -06:00
|
|
|
#main-menu {
|
2020-09-03 09:41:01 -05:00
|
|
|
top: 0;
|
|
|
|
height: 25px;
|
|
|
|
z-index: 1000;
|
|
|
|
outline: none;
|
|
|
|
float: left;
|
|
|
|
background-color: transparent;
|
|
|
|
margin-left: 5px;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: inline;
|
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 {
|
2020-09-03 09:41:01 -05:00
|
|
|
top: 0px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#document-header {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: relative;
|
|
|
|
background: #ffffff;
|
|
|
|
margin-right: 5px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
2020-09-18 07:23:54 -05:00
|
|
|
/*avoid multiple document-headers in readonly mode*/
|
|
|
|
.main-nav.hasnotebookbar.readonly > #main-menu #document-header {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-03-12 10:40:55 -05:00
|
|
|
.document-logo {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: relative;
|
|
|
|
width: 22px;
|
|
|
|
height: 30px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.document-title {
|
2020-09-03 09:41:01 -05:00
|
|
|
height: 30px;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#document-titlebar {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: relative;
|
|
|
|
display: inline-table; /*new*/
|
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 5px 0;
|
|
|
|
max-height: 39px;
|
|
|
|
z-index: 1000;
|
|
|
|
width: calc(100% - 890px);
|
|
|
|
right: 0px;
|
2020-08-20 05:35:10 -05:00
|
|
|
}
|
|
|
|
|
2020-09-18 07:23:54 -05:00
|
|
|
.main-nav.hasnotebookbar:not(.readonly) #document-titlebar {
|
2020-11-03 05:06:33 -06:00
|
|
|
top: -11px;
|
2017-02-17 08:24:11 -06:00
|
|
|
}
|
2020-09-18 07:23:54 -05:00
|
|
|
.main-nav.readonly #document-titlebar {
|
|
|
|
top: 1px;
|
|
|
|
}
|
2020-11-06 04:31:30 -06:00
|
|
|
.main-nav.readonly #table-optionstoolboxdown {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-01-10 09:48:05 -06:00
|
|
|
.main-nav {
|
2020-09-03 09:41:01 -05:00
|
|
|
height: 32px; /* on mouseover menubar items, border emerges */
|
|
|
|
width: auto;
|
|
|
|
background: #ffffff;
|
|
|
|
margin: 3px;
|
|
|
|
white-space: nowrap;
|
2017-01-10 09:48:05 -06:00
|
|
|
}
|
2020-09-18 07:23:54 -05:00
|
|
|
.main-nav.readonly {
|
|
|
|
top: -1px; /*update .main-nav.readonly #document-titlebar*/
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.main-nav.hasnotebookbar:not(.readonly) {
|
2021-03-16 05:22:12 -05:00
|
|
|
background: var(--gray-light-bg-color);
|
2021-02-11 03:47:15 -06:00
|
|
|
margin: 0px;
|
2020-07-14 07:09:06 -05: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 {
|
2020-09-03 09:41:01 -05:00
|
|
|
border: none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
-moz-box-shadow: none;
|
|
|
|
box-shadow: none;
|
|
|
|
background: #ffffff;
|
|
|
|
-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;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu a, .lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active {
|
2020-09-03 09:41:01 -05:00
|
|
|
font-family: var(--loleaflet-font);
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 15px;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
|
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 {
|
2020-09-03 09:41:01 -05:00
|
|
|
font-size: 12px;
|
2017-01-12 05:31:52 -06:00
|
|
|
}
|
|
|
|
|
2017-01-09 02:45:24 -06:00
|
|
|
.lo-menu a.disabled {
|
2020-09-03 09:41:01 -05:00
|
|
|
cursor: default;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
2018-11-12 12:32:48 -06:00
|
|
|
|
|
|
|
.lo-menu > li > a, .lo-menu > li > a.has-submenu {
|
2020-09-03 09:41:01 -05:00
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-top: 8px;
|
2020-11-23 04:06:25 -06:00
|
|
|
z-index: 400;
|
2020-09-03 09:41:01 -05:00
|
|
|
border-left: 1px solid #ffffff;
|
|
|
|
border-right: 1px solid #ffffff;
|
|
|
|
border-top: 1px solid transparent;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu a, .lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active, .lo-menu a.highlighted {
|
2020-09-03 09:41:01 -05:00
|
|
|
padding: 5px 22px;
|
|
|
|
color: #000;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu a:hover, .lo-menu a:focus, .lo-menu a:active, .lo-menu a.highlighted {
|
2020-09-03 09:41:01 -05:00
|
|
|
background: #0b87e7;
|
|
|
|
color: #fff;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
2020-10-06 09:26:54 -05:00
|
|
|
.lo-menu > li, .lo-menu > li > .disabled {
|
2020-09-03 09:41:01 -05:00
|
|
|
background: #ffffff; /* top-level menus remain greyish */
|
|
|
|
border-left-color: transparent;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
2020-10-06 09:26:54 -05:00
|
|
|
.lo-menu > li .disabled {
|
|
|
|
color: var(--gray-light-txt--color);
|
|
|
|
}
|
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 {
|
2020-09-03 09:41:01 -05:00
|
|
|
background: #fff;
|
|
|
|
color: #000;
|
|
|
|
border-color: #bbbbbb;
|
|
|
|
border-bottom: 1px solid #bbb;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu > li > a.highlighted {
|
2020-09-03 09:41:01 -05:00
|
|
|
border-bottom-color: #fff;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu > li > ul {
|
2020-09-03 09:41:01 -05:00
|
|
|
margin-top: -1px !important;
|
|
|
|
z-index: 400;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu > li > a span.sub-arrow {
|
2020-09-03 09:41:01 -05:00
|
|
|
display: none;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu ul {
|
2020-09-03 09:41:01 -05:00
|
|
|
border: 1px solid #bbbbbb;
|
|
|
|
background: white;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu ul a span.sub-arrow {
|
2020-09-03 09:41:01 -05:00
|
|
|
right: 0;
|
|
|
|
margin-right: 5px;
|
2020-09-23 05:25:50 -05:00
|
|
|
background: transparent url('images/lc_menu_chevron.svg') no-repeat center right; /* we want them to be transparent always whether mobile or desktop */
|
|
|
|
color: transparent;
|
|
|
|
/*transform: rotate(180deg);*/
|
|
|
|
}
|
|
|
|
.lo-menu ul a:hover > span.sub-arrow {
|
|
|
|
-webkit-filter: brightness(100);
|
|
|
|
filter: brightness(100);
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu ul > li {
|
2020-09-03 09:41:01 -05:00
|
|
|
border-left: 0;
|
|
|
|
border-top: none;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
.lo-menu a.separator {
|
2020-09-03 09:41:01 -05:00
|
|
|
height: 1px;
|
|
|
|
margin: 4px 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-top: 0;
|
|
|
|
padding-bottom: 0;
|
2021-03-16 05:22:12 -05:00
|
|
|
background-color: var(--gray-light-bg-color);
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
/* lo-menu customizations end */
|
2017-01-10 12:08:06 -06:00
|
|
|
|
|
|
|
.main-nav:after {
|
2020-09-03 09:41:01 -05:00
|
|
|
clear: both;
|
|
|
|
content: '\00a0';
|
|
|
|
display: block;
|
|
|
|
height: 0;
|
|
|
|
font: 0px/0 serif;
|
|
|
|
overflow: hidden;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
2020-03-19 09:27:36 -05:00
|
|
|
/* Hamburger button */
|
2017-01-10 12:08:06 -06:00
|
|
|
|
|
|
|
.main-menu-btn {
|
2020-09-03 09:41:01 -05:00
|
|
|
margin: 2px 10px;
|
|
|
|
position: relative;
|
|
|
|
display: none;
|
|
|
|
width: 17px;
|
|
|
|
height: 21px;
|
|
|
|
text-indent: 17px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
2020-03-19 09:27:36 -05:00
|
|
|
/* Hamburger icon */
|
2017-01-10 12:08:06 -06:00
|
|
|
|
|
|
|
.main-menu-btn-icon,
|
|
|
|
.main-menu-btn-icon:before,
|
|
|
|
.main-menu-btn-icon:after {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 1px;
|
|
|
|
height: 2px;
|
|
|
|
width: 17px;
|
|
|
|
background: #555;
|
|
|
|
-webkit-transition: all 0.25s;
|
|
|
|
transition: all 0.25s;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-menu-btn-icon:before {
|
2020-09-03 09:41:01 -05:00
|
|
|
content: '';
|
|
|
|
top: -7px;
|
|
|
|
left: 0;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-menu-btn-icon:after {
|
2020-09-03 09:41:01 -05:00
|
|
|
content: '';
|
|
|
|
top: 7px;
|
|
|
|
left: 0;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
/* hide menu state checkbox (keep it visible to screen readers) */
|
|
|
|
|
|
|
|
#main-menu-state {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-09-11 08:03:57 -05:00
|
|
|
/* always show the menu in desktop view */
|
2017-01-10 12:08:06 -06:00
|
|
|
#main-menu-state:not(:checked) ~ #main-menu {
|
2020-09-03 09:41:01 -05:00
|
|
|
display: block;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#main-menu-state:checked ~ #main-menu {
|
2020-09-03 09:41:01 -05:00
|
|
|
display: block;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
2018-09-11 08:03:57 -05:00
|
|
|
.readonly {
|
2020-09-03 09:41:01 -05:00
|
|
|
top: 3px;
|
2018-09-11 08:03:57 -05:00
|
|
|
}
|
|
|
|
|
2018-11-12 12:32:48 -06: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 {
|
2020-09-03 09:41:01 -05:00
|
|
|
position: absolute;
|
2020-09-23 05:25:50 -05:00
|
|
|
content: ' ';
|
|
|
|
left: 2px;
|
|
|
|
background: url('images/lc_listitem-selected.svg') no-repeat left -2px;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu-item-checked:hover::before {
|
2020-09-03 09:41:01 -05:00
|
|
|
color: #fff;
|
2020-09-23 05:25:50 -05:00
|
|
|
-webkit-filter: brightness(100);
|
|
|
|
filter: brightness(100);
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.writer-icon-img {
|
2020-09-03 09:41:01 -05:00
|
|
|
background-image: url('images/x-office-document.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.calc-icon-img {
|
2020-09-03 09:41:01 -05:00
|
|
|
background-image: url('images/x-office-spreadsheet.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.impress-icon-img {
|
2020-09-03 09:41:01 -05:00
|
|
|
background-image: url('images/x-office-presentation.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
|
|
|
|
2020-10-26 01:54:52 -05:00
|
|
|
.draw-icon-img {
|
|
|
|
background-image: url('images/x-office-drawing.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
}
|
|
|
|
|
2018-11-08 09:41:53 -06:00
|
|
|
#menu-last-mod a {
|
2020-09-03 09:41:01 -05:00
|
|
|
color: grey;
|
|
|
|
text-decoration: underline;
|
2020-09-09 04:02:15 -05:00
|
|
|
padding: 8px 15px 7px;
|
2020-11-23 04:06:25 -06:00
|
|
|
z-index: 400;
|
2020-09-03 09:41:01 -05:00
|
|
|
border: 1px solid transparent;
|
2018-11-08 09:41:53 -06:00
|
|
|
}
|