2017-01-09 01:50:23 -06:00
|
|
|
#main-menu {
|
2018-09-11 08:03:57 -05:00
|
|
|
top: 0;
|
2017-01-09 01:50:23 -06:00
|
|
|
height: 25px;
|
|
|
|
z-index: 1000;
|
|
|
|
outline: none;
|
2018-11-12 12:32:48 -06:00
|
|
|
float: left;
|
2017-01-12 06:39:28 -06:00
|
|
|
background-color: transparent;
|
2018-11-12 12:32:48 -06:00
|
|
|
margin-left: 5px;
|
2019-03-12 10:40:55 -05:00
|
|
|
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 {
|
2018-11-12 12:32:48 -06:00
|
|
|
top: 0px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#document-header {
|
|
|
|
position: relative;
|
2018-11-12 12:32:48 -06:00
|
|
|
background: #ffffff;
|
2019-03-12 10:40:55 -05:00
|
|
|
margin-right: 5px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
2019-03-12 10:40:55 -05:00
|
|
|
.document-logo {
|
2018-11-12 12:32:48 -06:00
|
|
|
position: relative;
|
|
|
|
width: 22px;
|
|
|
|
height: 30px;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.document-title {
|
2018-11-12 12:32:48 -06:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 30px;
|
|
|
|
white-space: nowrap;
|
2018-09-07 19:53:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
#document-titlebar {
|
2018-11-12 12:32:48 -06:00
|
|
|
position: relative;
|
2018-11-16 06:41:54 -06:00
|
|
|
display: inline-block;
|
2018-11-12 12:32:48 -06:00
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 5px 0px;
|
|
|
|
max-height: 39px;
|
2017-02-17 08:24:11 -06:00
|
|
|
}
|
|
|
|
|
2017-01-10 09:48:05 -06:00
|
|
|
.main-nav {
|
2020-03-20 13:27:01 -05:00
|
|
|
height: 32px; /* on mouseover menubar items, border emerges */
|
2018-09-11 08:03:57 -05:00
|
|
|
width: auto;
|
2018-11-12 12:32:48 -06:00
|
|
|
background: #ffffff;
|
|
|
|
margin: 3px;
|
|
|
|
white-space: nowrap;
|
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;
|
|
|
|
}
|
2018-11-12 12:32:48 -06:00
|
|
|
|
|
|
|
.lo-menu > li > a, .lo-menu > li > a.has-submenu {
|
2017-01-09 02:45:24 -06:00
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
padding-top: 8px;
|
|
|
|
z-index: 500;
|
2018-11-12 12:32:48 -06:00
|
|
|
border-left: 1px solid #ffffff;
|
|
|
|
border-right: 1px solid #ffffff;
|
2018-10-31 23:45:58 -05:00
|
|
|
border-top: 1px solid transparent;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu {
|
2018-11-12 12:32:48 -06:00
|
|
|
background: #ffffff;
|
2017-01-09 02:45:24 -06:00
|
|
|
-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 {
|
2018-11-12 12:32:48 -06:00
|
|
|
background: #0b87e7;
|
2017-01-09 02:45:24 -06:00
|
|
|
color: #fff;
|
|
|
|
}
|
2017-09-19 20:46:09 -05:00
|
|
|
.lo-menu > li, .lo-menu > li > a.disabled {
|
2018-11-12 12:32:48 -06:00
|
|
|
background: #ffffff; /* top-level menus remain greyish */
|
|
|
|
border-left-color: transparent;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
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;
|
2018-12-18 09:12:44 -06:00
|
|
|
background-color: #efefef;
|
2017-01-09 02:45:24 -06:00
|
|
|
}
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2020-03-19 09:27:36 -05:00
|
|
|
/* Hamburger button */
|
2017-01-10 12:08:06 -06:00
|
|
|
|
|
|
|
.main-menu-btn {
|
|
|
|
margin: 2px 10px;
|
|
|
|
position: relative;
|
2020-03-31 12:03:59 -05:00
|
|
|
display: none;
|
2019-10-08 03:09:41 -05:00
|
|
|
width: 17px;
|
2017-01-10 12:08:06 -06:00
|
|
|
height: 21px;
|
2019-10-08 03:09:41 -05:00
|
|
|
text-indent: 17px;
|
2017-01-10 12:08:06 -06:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
2019-10-08 03:09:41 -05:00
|
|
|
left: 1px;
|
2017-01-10 12:08:06 -06:00
|
|
|
height: 2px;
|
2019-10-08 03:09:41 -05:00
|
|
|
width: 17px;
|
2017-01-10 12:08:06 -06:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
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 {
|
2018-09-11 08:03:57 -05:00
|
|
|
display: block;
|
2017-01-10 12:08:06 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
#main-menu-state:checked ~ #main-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-09-11 08:03:57 -05:00
|
|
|
.readonly {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
position: absolute;
|
|
|
|
content: '\2713';
|
|
|
|
left: 5px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lo-menu-item-checked:hover::before {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.writer-icon-img {
|
|
|
|
background-image: url('images/x-office-document.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calc-icon-img {
|
|
|
|
background-image: url('images/x-office-spreadsheet.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
.impress-icon-img {
|
|
|
|
background-image: url('images/x-office-presentation.svg');
|
|
|
|
background-size: 30px 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
}
|
|
|
|
|
2020-04-01 04:27:55 -05:00
|
|
|
/* FIXME remove this @media; but for the moment doing so breaks the cypress
|
|
|
|
* tests.
|
|
|
|
*/
|
2020-02-24 03:57:13 -06:00
|
|
|
@media (max-width: 767px), (max-device-height: 767px) {
|
2018-10-03 20:49:31 -05:00
|
|
|
.main-nav {
|
2018-10-14 14:24:12 -05:00
|
|
|
position: absolute;
|
2018-10-21 09:49:52 -05:00
|
|
|
height: 0;
|
2018-10-14 14:24:12 -05:00
|
|
|
width: 100%;
|
2020-03-10 06:55:47 -05:00
|
|
|
top: 37px; /*set equal to toolbar up's height*/
|
2018-11-12 12:32:48 -06:00
|
|
|
}
|
2018-09-06 11:15:03 -05:00
|
|
|
}
|
2018-11-08 09:41:53 -06:00
|
|
|
|
|
|
|
#menu-last-mod a {
|
|
|
|
color: grey;
|
|
|
|
text-decoration: underline;
|
2018-11-12 12:32:48 -06:00
|
|
|
padding: 8px 15px 7px 15px;
|
2018-11-08 09:41:53 -06:00
|
|
|
z-index: 500;
|
2018-11-12 12:32:48 -06:00
|
|
|
border: 1px solid transparent;
|
2018-11-08 09:41:53 -06:00
|
|
|
}
|