/* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + LIBREOFFICE HELP IN BROWSER + + DEFAULT STYLESHEET + + WESTERN LANGUAGES + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ We use px as the unit for navigation elements and fonts because we do not want them to scale with browser-set font size. We use rem as the unit for article and footer contents because they do not break anything related to layout by scaling. */ body, p, h1, h2, h3, h4, h5, h6, .listitem, .listitemintable, .tablecontent { font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom; } .input { background-color: rgba(0,0,0,0.04); transition-property: background-color; transition-duration: 150ms; border-bottom: 1px dashed rgba(0,0,0,0.1); font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } [data-tooltip]{ position:relative; } [data-tooltip]::before { content: ""; position: absolute; top:-6px; left:50%; transform: translateX(-50%); border-width: 4px 6px 0 6px; border-style: solid; border-color: rgba(0,0,0,0.7) transparent transparent transparent; z-index: 100; opacity: 0; pointer-events: none; } [data-tooltip]::after { content: attr(data-tooltip); position: absolute; left:50%; top:-6px; transform: translateX(-50%) translateY(-100%); background: rgba(0,0,0,0.7); text-align: center; color: #fff; padding:4px 2px; font-size: 12px; min-width: 80px; border-radius: 5px; opacity: 0; pointer-events: none; } [data-tooltip]:hover:before, [data-tooltip]:hover:after { opacity: 1; pointer-events: auto; } body { background-color: #F7F8F7; margin: 0; line-height: normal; } ::selection { background: #BFFFB7; } a { text-decoration: none; color: #0379BC; } a:hover { text-decoration: underline; color: #0499EE; } pre, .code, .codeintable, .example, .exampleintable, .literal, .literalintable, .path, .pathintable { background-color: rgba(0,0,0,0.04); border-radius: 2px; display: inline; padding: 1px 3px; font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } .smathcode { border-radius: 2px; padding: 1px 3px; font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } .acronym { font-weight: bold; } .related { font-weight: bold; margin-top: 1.67rem; border-top: 1px solid black; } .emph, .menuitem { font-weight: bold; } .keycode { /*font-weight: bold;*/ font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } .widget{ padding: 1px 10px; background: #f0f0f0; background: linear-gradient(to bottom,#f0f0f0,#fcfcfc); border-radius: 3px; color: #303030; border: 1px solid #a0a0a0; border-bottom-width: 2px; white-space: nowrap; } /* div's for warning, tip and note */ .note, .tip, .warning { display:flex; align-items: center; border-radius: 0 4px 4px 0; box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2); padding: 0.2em; margin-top: 15px; } .note { border-left: 4px solid #61897C; background-color: #D9E7E2; } .tip { border-left: 4px solid #4866AD; background-color: #CDD5E8; } .warning { border-left: 4px solid #D5B177; background-color: #F9EEDC; } .noteicon, .notetext { padding:0.3em; } /* Table related classes */ /* Special case of table with one cell*/ .onecell{ box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px; border-bottom: 1px solid #E8E8E8; } /* Special case of icon table*/ .icontable { display:flex; align-items:center; } .iconcell { padding:0.3em; } table { background: #FEFEFE; box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0; border-collapse: collapse; margin-left: auto; margin-right: auto; } table, th, td { border-top: 0; border-bottom: 1px solid #E8E8E8; border-left: 0; border-right: 0; padding: 0.3em; } .tablehead, .tableheadintable { font-weight: bold; margin-top: 0px; } .tableheadcell { background: #5c3de2; color: white; vertical-align:top; } h1, h2, h3, h4, h5, h6 { margin-bottom: 0.67rem; color: #5c3de2; } p, ol, td { font-size: 1.17rem; margin: 2px 0 2px 0; } h1 { font-size: 1.83rem; font-weight: 300; border-bottom: 2px solid #5c3de2; margin-bottom: 1.67rem; } h1 a { text-decoration: none; } h2 { font-size: 1.55rem; } h3 { font-size: 1.33rem; } h4, h5, h6 { font-size: 1.17rem; } .relatedtopics { font-weight: normal; } .howtoget { background: #e4ddff; border-left: 4px solid #5c3de2; border-radius: 0 4px 4px 0; box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2); padding: 0.3em; display: flex; flex-direction: column; } .howtogetheader { background: #FFF; border-radius: 2px; box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2); display: inline-block; font-weight: bold; padding: 0.1em 0.3em; } .howtogetbody { padding: 0 0.3em; } .samplefilesection{ } .wide { width: 100%; } .bug { color: red; } .debug { border: 1px solid black; padding: 3px; display: none; background-color: #222; color: red; text-align: left; } .pycode, .bascode { border: solid 5px transparent; margin-top: 15px; margin-bottom: 15px; } #DisplayArea { background-color: #FCFCFC; overflow: auto; padding: 10px 10px 40px 10px; grid-area: main; } #DisplayArea > p { margin-bottom: 10px; } .mediabutton { background-color: cyan; } .mediadiv{ padding-bottom:5%; height:0; display:inline-block; border:none; } .screenshot, .genericimage { border-collapse: collapse; margin-left: auto; margin-right: auto; margin-top: 2em; margin-bottom: 2em; border-style:none; display:block; box-shadow: 10px 10px 5px grey; } .iconimage {} .switch, .switchinline {} .tintro { color: white; background-color: green; font-family: Arial; font-weight: bold; font-size: 2rem; border: 1px solid black; padding-bottom: 6px; margin-bottom: 6px; } .embedded {} .header-extrawurst { grid-area: header; position: sticky; top: 0px; z-index: 100; } header { background-color: #fff; color: #5c3de2; height: 64px; padding: 8px 8px 8px 16px; border-bottom: 1px solid rgba(0,0,0,0.04); } .logo-container { display: flex; justify-content: space-between; } .logo { color: #5c3de2; text-decoration: none; display: flex; } .logo p { font-size: 24px; } .logo .symbol { background-image: url(media/navigation/collabora-online-logo.svg); background-repeat: no-repeat; background-size: contain; width: 60px; height: 60px; } [aria-hidden='true'], [data-a11y-toggle]:not([aria-controls]) { display: none; } #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) { z-index: 100; /* line them up horizontally */ display: flex; flex-direction: row; /* allow for scrolling */ overflow-x: auto; overflow-y: hidden; /* make it smooth on iOS */ -webkit-overflow-scrolling: touch; } #langs-nav a, #modules-nav a { color: #0c0c0c; background-color: #f2f2f2; display: block; line-height: 1.5; padding: 3px 6px; text-decoration: none; font-size: 24px; flex-shrink: 0; z-index: 100; white-space: nowrap; } footer { border-top: 2px solid #5c3de2; padding: 40px 10px 40px 10px; background-color: #FCFCFC; box-shadow: 0 2px 8px 0 rgba(0,0,0,.05); } footer p { font-size: 0.98rem; } .contents-treeview input[type=checkbox], aside input[type=checkbox] { /* from .visuallyhidden class of html5-boilerplate */ border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; } label[for=accordion-1] { color: #5c3de2; display: block; padding: 10px 0 10px 20px; font-size: 22px; line-height: .6; } label[for=accordion-1]:after { font-size: 44px; content:"⌄"; } aside input[type=checkbox] ~ .contents-treeview { display: none; } aside input[type=checkbox]:checked ~ .contents-treeview { color: #333; z-index: 6; display: block; margin: 0 20px 0 20px; } .index-label { font-size: 22px; color: #5c3de2; padding-left: 20px; margin: 20px 0 0 0; } #Index, .index { margin-top: 10px; } .index { padding-left: 15px; } .index a { font-size: 16px; display: block; } .index .hidden { display: none; } #Bookmarks { padding: 0 20px; } #Bookmarks p { font-size: 22px; font-weight: bold; color: #5c3de2; } #WRITER::before { content: "WRITER"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #CALC::before { content: "CALC"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #IMPRESS::before { content: "IMPRESS"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #DRAW::before { content: "DRAW"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #BASE::before { content: "BASE"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #MATH::before { content: "MATH"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #CHART::before { content: "CHART"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #BASIC::before { content: "BASIC"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } #SHARED::before { content: "GLOBAL"; display: block; font-size: 22px; font-weight: bold; color: #5c3de2; } .pagination-container { text-align: center; margin-left: -40px; /* The normalizer fails to account for this */ } .pagination li { display: inline-block; padding: 0 5px; } .pagination a { text-decoration: none; } li.active { background-color: #0379BC; } li.active a { color: #fff; } li.disabled a { opacity: 0.4; pointer-events: none; } #search-bar { border: 1px solid #CCC; box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); box-sizing: border-box; line-height: 1.5em; margin-top: 10px; outline: none; padding: 0 .25em; transition: all 0.30s ease-in-out; width: 100%; } #search-bar:focus { border: 1px solid #0EA5FB; } #search-bar::placeholder { font-style: italic; } .xapian-donation { border-top: 2px solid #5c3de3; background-color: #FCFCFC; box-shadow: 0 2px 8px 0 rgba(0,0,0,.05); } .donation-frame { background: #fff; position: sticky; top: 0px; border-bottom: 1px solid rgba(0,0,0,0.04); } .donation{ background: #0379BC; background-image: linear-gradient(to bottom, #3498db, #2980b9); border-radius: 8px; padding: 5px 10px 5px 10px; margin: auto; max-width: 200px; color: #ffffff; text-decoration: none; display: none; /* Collabora */ } .donation a { color: white; } .donation a:hover { color: white; text-decoration: none; } .donation:hover{ background: #0379BC; background-image: linear-gradient(to bottom, #3cb0fd, #3498db); } .donation p { font-size:1.2rem; text-align: center; } .search-frame { background: #fff; top: 0px; position: sticky; border-bottom: 1px solid rgba(0,0,0,0.04); } .xapian-omega-search { margin: auto; } .modules { border-bottom: 2px solid #f3f3f3; background-color: #233336; z-index: 100; } #modules:after, #langs:after { font-size: 30px; color: #5c3de2; content:"⌄"; } .lang { background-color: #233336; } #langs, #modules { display: none; } #modules-nav div { background-repeat: no-repeat; background-size: contain; float: left; display: none; } .calc-icon, .chart-icon, .writer-icon, .impress-icon, .draw-icon, .math-icon, .basic-icon, .base-icon { width: 21.5px; height: 26px; position: relative; margin-right: 5px; } .calc-icon { background-image: url(media/navigation/libo-calc.svg); } .writer-icon { background-image: url(media/navigation/libo-writer.svg); } .impress-icon { background-image: url(media/navigation/libo-impress.svg); } .draw-icon { background-image: url(media/navigation/libo-draw.svg); } .math-icon { background-image: url(media/navigation/libo-math.svg); } .base-icon { background-image: url(media/navigation/libo-base.svg); } .chart-icon { background-image: url(media/navigation/libo-chart.svg); } .basic-icon { background-image: url(media/navigation/libo-basic.svg); } /* tree view */ .contents-treeview ul, .contents-treeview li { padding: 0; margin: 0; list-style: none; font-size: 16px; } .contents-treeview { -moz-user-select: none; -webkit-user-select: none; user-select: none; } .contents-treeview a, .index a { text-decoration: none; line-height: 1.4; } .contents-treeview a:hover, .index a:hover { border-left: 2px solid rgba(0,0,0,0.05); margin-left: -12px; padding-left: 10px; } .contents-treeview input + label + ul { margin: 0 0 0 22px; } .contents-treeview input ~ ul { display: none; } .contents-treeview label, .contents-treeview label:before { cursor: pointer; color: #111; } .contents-treeview input:disabled + label { cursor: default; opacity: .6; } .contents-treeview input:checked:not(:disabled) ~ ul { display: block; } .contents-treeview label, .contents-treeview a, .contents-treeview label::before { display: block; vertical-align: middle; } .contents-treeview label:before { content: "⊞"; color: #5c3de2; width: 16px; margin: 0 5px 0 0; display: inline-block; } .contents-treeview input:checked + label::before { content: "⊟"; } .contents-current { background: rgba(0,0,0,0.05); border-left: 2px solid #0379BC; font-weight: 600; margin-left: -12px; padding-left: 10px; } /* webkit adjacent element selector bugfix */ @media screen and (-webkit-min-device-pixel-ratio: 0) { .contents-treeview { -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s; } @-webkit-keyframes webkit-adjacent-element-selector-bugfix { from { padding: 0; } to { padding: 0; } } } @media screen and (min-width: 960px) { #langs-nav { display: none; } #langs-nav a { font-size: 19px; white-space: normal; } /* these are buttons, so also reset some default stylings */ #langs, #modules { cursor: pointer; color: #5c3de2; font-size: 19px; position: relative; top: 40px; display: block; background: transparent; border: none; text-transform: none; padding:0; line-height: normal; } /* change the menu direction to stacked */ #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) { display: flex; flex-direction: column; max-width: 120px; overflow-y: auto; overflow-x: hidden; max-height: 480px; position: absolute; top: 80px; } #modules-nav { background-color: #101820; text-align: left; } #modules-nav div { display: block; } #modules-nav a { font-size: 19px; } aside { float: left; width: 320px; } .leftside { grid-area: leftside; } .rightside { grid-area: rightside; } .donation-frame { grid-area: donation; } .search-frame { grid-area: search; } footer { grid-area: footer; } .lang { position: absolute; top: 0; left: 200px; background-color: transparent; } .modules { width: 120px; position: absolute; top: 0; left: 80px; border: none; background-color: transparent; } #DisplayArea { box-shadow: 0 2px 8px 0 rgba(0,0,0,.05); padding: 10px 50px 40px 50px; } .xapian-omega-search { width: 100%; } .xapian-omega-search form { display: flex; justify-content: center; } .omega-autofocus { max-width: 200px; width: 100% } } @media screen and (min-width: 1440px) { #Contents { color: #333; z-index: 6; display: block; margin: 0 20px 0 20px; } label[for=accordion-1] { background-color: transparent; text-decoration: none; } label[for=accordion-1]:hover { background-color: transparent; } label[for=accordion-1]:after { content: ""; } .omega-autofocus { max-width: 400px; } } /* Use @supports to sneak these rules past IE */ @supports (grid-area: auto) { @media screen and (min-width: 960px) { .search-frame { grid-area: search; display: flex; justify-content: space-between; align-items: center; } .donation-frame { grid-area: donation; display: flex; justify-content: space-between; align-items: center; } footer { border-top: 2px solid #5c3de3; } body { display: grid; grid-template-columns: 360px 100px 300px 1fr; grid-template-rows: minmax(1em, auto) minmax(1em, auto) 1fr minmax(1em, auto); grid-template-areas: "header header search donation" "rightside main main main" "leftside main main main" ". footer footer footer" } } @media screen and (min-width: 1440px) { body { display: grid; grid-template-columns: 360px 100px 400px 400px 1fr; grid-template-rows: 1fr minmax(1em, auto) minmax(1em, auto); grid-template-areas: "header header search search donation" "leftside main main main rightside" ". footer footer footer ." } .donation { max-width: 300px; } .rightside { width: auto; border-right: none; } } }