default.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994
  1. /*
  2. * This file is part of the LibreOffice project.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. *
  8. * This file incorporates work covered by the following license notice:
  9. *
  10. * Licensed to the Apache Software Foundation (ASF) under one or more
  11. * contributor license agreements. See the NOTICE file distributed
  12. * with this work for additional information regarding copyright
  13. * ownership. The ASF licenses this file to you under the Apache
  14. * License, Version 2.0 (the "License"); you may not use this file
  15. * except in compliance with the License. You may obtain a copy of
  16. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. */
  18. /*
  19. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  20. + LIBREOFFICE HELP IN BROWSER +
  21. + DEFAULT STYLESHEET +
  22. + WESTERN LANGUAGES +
  23. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  24. We use px as the unit for navigation elements and fonts because we do
  25. not want them to scale with browser-set font size.
  26. We use rem as the unit for article and footer contents because they
  27. do not break anything related to layout by scaling.
  28. */
  29. :root {
  30. --font_mono: Menlo, "Cascadia Mono", "Cascadia Code", Consolas, "DejaVu Sans Mono", monospace;
  31. --font_body: Ubuntu, Cantarell, "Segoe UI Variable", "Segoe UI", "Noto Sans", "DejaVu Sans", "Lucida Grande", sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
  32. }
  33. body,
  34. p,
  35. h1,
  36. h2,
  37. h3,
  38. h4,
  39. h5,
  40. h6,
  41. .listitem,
  42. .listitemintable,
  43. .tablecontent {
  44. font-family: var(--font_body);
  45. }
  46. .input {
  47. background-color: rgba(0,0,0,0.04);
  48. transition-property: background-color;
  49. transition-duration: 150ms;
  50. border-bottom: 1px dashed rgba(0,0,0,0.1);
  51. font-family: var(--font_mono);
  52. }
  53. [data-tooltip]{
  54. position:relative;
  55. }
  56. [data-tooltip]::before {
  57. content: "";
  58. position: absolute;
  59. top:-6px;
  60. left:50%;
  61. transform: translateX(-50%);
  62. border-width: 4px 6px 0 6px;
  63. border-style: solid;
  64. border-color: rgba(0,0,0,0.7) transparent transparent transparent;
  65. z-index: 100;
  66. opacity: 0;
  67. pointer-events: none;
  68. }
  69. [data-tooltip]::after {
  70. content: attr(data-tooltip);
  71. position: absolute;
  72. left:50%;
  73. top:-6px;
  74. transform: translateX(-50%) translateY(-100%);
  75. background: rgba(0,0,0,0.7);
  76. text-align: center;
  77. color: #fff;
  78. padding:4px 2px;
  79. font-size: 12px;
  80. min-width: 80px;
  81. border-radius: 5px;
  82. opacity: 0;
  83. pointer-events: none;
  84. }
  85. [data-tooltip]:hover:before, [data-tooltip]:hover:after {
  86. opacity: 1;
  87. pointer-events: auto;
  88. }
  89. body {
  90. background-color: #F7F8F7;
  91. margin: 0;
  92. line-height: normal;
  93. }
  94. ::selection {
  95. background: #FFEB9F;
  96. }
  97. a {
  98. text-decoration-color: rgba(0,0,0,0.15);
  99. color: #0461e0;
  100. }
  101. a:hover {
  102. text-decoration: underline;
  103. color: #023a86;
  104. }
  105. a:visited {
  106. color: #633363;
  107. }
  108. pre,
  109. .code,
  110. .codeintable,
  111. .example,
  112. .exampleintable,
  113. .literal,
  114. .literalintable,
  115. .path,
  116. .pathintable {
  117. background-color: rgba(0,0,0,0.04);
  118. border-radius: 2px;
  119. display: inline;
  120. padding: 1px 3px;
  121. font-family: var(--font_mono);
  122. word-wrap: anywhere;
  123. }
  124. .smathcode {
  125. border-radius: 2px;
  126. padding: 1px 3px;
  127. font-family: var(--font_mono);
  128. }
  129. .acronym {
  130. font-weight: bold;
  131. }
  132. .related {
  133. font-weight: bold;
  134. margin-top: 1.67rem;
  135. border-top: 1px solid black;
  136. }
  137. .emph,
  138. .menuitem {
  139. font-weight: bold;
  140. }
  141. .keycode {
  142. font-family: var(--font_mono);
  143. }
  144. .widget{
  145. padding: 1px 10px;
  146. background: #f0f0f0;
  147. background: linear-gradient(to bottom,#f0f0f0,#fcfcfc);
  148. border-radius: 3px;
  149. color: #303030;
  150. border: 1px solid #a0a0a0;
  151. border-bottom-width: 2px;
  152. white-space: nowrap;
  153. }
  154. /* div's for warning, tip and note */
  155. .note,
  156. .tip,
  157. .warning {
  158. display:flex;
  159. align-items: center;
  160. border-radius: 2px;
  161. box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
  162. padding: 0.2em;
  163. margin-top: 15px;
  164. }
  165. .note {
  166. border-left: 2px solid #309048;
  167. background-color: #d9f1dd;
  168. }
  169. .tip {
  170. border-left: 2px solid #0063b1;
  171. background-color: #cde5f7;
  172. }
  173. .warning {
  174. border-left: 2px solid #ed8733;
  175. background-color: #f6f1d2;
  176. }
  177. .noteicon, .notetext {
  178. padding:0.3em;
  179. }
  180. /* Override some Prism.js styles */
  181. code[class*="language-"], pre[class*="language-"] {
  182. white-space: pre-wrap;
  183. }
  184. /* Table related classes */
  185. /* Special case of table with one cell*/
  186. .onecell{
  187. box-shadow: rgba(0,0,0,0.1) 0px 1px 3px 0px;
  188. border-bottom: 1px solid #E8E8E8;
  189. }
  190. /* Special case of icon table*/
  191. .icontable {
  192. display:flex;
  193. align-items:center;
  194. }
  195. .iconcell {
  196. padding:0.3em;
  197. }
  198. table {
  199. background: #FEFEFE;
  200. box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
  201. border-collapse: collapse;
  202. }
  203. table, th, td {
  204. border-top: 0;
  205. border-bottom: 1px solid #E8E8E8;
  206. border-left: 0;
  207. border-right: 0;
  208. padding: 0.3em;
  209. }
  210. html[dir=ltr] th {
  211. text-align: left;
  212. }
  213. .tablehead,
  214. .tableheadintable {
  215. font-weight: bold;
  216. margin-top: 0px;
  217. }
  218. .tableheadcell {
  219. color: white;
  220. vertical-align:top;
  221. }
  222. .table_font_small {
  223. font-size: 0.98rem;
  224. }
  225. /* ScriptForge service tables */
  226. .sf_table {
  227. min-width: 100%;
  228. }
  229. .sf_table thead {
  230. display: none;
  231. }
  232. .sf_table tr, .sf_table td {
  233. display: block;
  234. }
  235. h1,
  236. h2,
  237. h3,
  238. h4,
  239. h5,
  240. h6 {
  241. margin-bottom: 0.67rem;
  242. color: #148603;
  243. }
  244. p,
  245. ol,
  246. td {
  247. font-size: 1.15rem;
  248. margin: 2px 0 10px 0;
  249. }
  250. h1 {
  251. font-size: 1.83rem;
  252. font-weight: 300;
  253. border-bottom: 2px solid #148603;
  254. margin-bottom: 1.67rem;
  255. }
  256. h1 a {
  257. text-decoration: none;
  258. }
  259. h2 {
  260. font-size: 1.55rem;
  261. }
  262. h3 {
  263. font-size: 1.33rem;
  264. }
  265. h4,
  266. h5,
  267. h6 {
  268. font-size: 1.17rem;
  269. }
  270. .relatedtopics {
  271. font-weight: normal;
  272. }
  273. .howtoget {
  274. background: #EBE7E9;
  275. border-left: 2px solid #4E4B55;
  276. border-radius: 2px;
  277. box-shadow: 0 2px 5px -3px rgb(0 0 0 / 10%);
  278. padding: 0.2em;
  279. display: flex;
  280. flex-direction: column;
  281. }
  282. .howtogetheader {
  283. background: #FFF;
  284. border-radius: 2px;
  285. box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
  286. display: inline-block;
  287. font-weight: bold;
  288. padding: 0.1em 0.3em;
  289. }
  290. .howtogetbody {
  291. padding: 0 0.3em;
  292. }
  293. .samplefilesection{
  294. }
  295. .wide {
  296. width: 100%;
  297. }
  298. .bug {
  299. color: red;
  300. }
  301. .debug {
  302. border: 1px solid black;
  303. padding: 3px;
  304. display: none;
  305. background-color: #222;
  306. color: red;
  307. text-align: left;
  308. }
  309. .sqlcode,
  310. .pycode,
  311. .bascode {
  312. border: solid 5px transparent;
  313. margin-top: 15px;
  314. margin-bottom: 15px;
  315. }
  316. #DisplayArea {
  317. background-color: #FCFCFC;
  318. overflow: auto;
  319. padding: 10px 10px 40px 10px;
  320. grid-area: main;
  321. }
  322. .mediabutton {
  323. background-color: cyan;
  324. }
  325. .mediadiv{
  326. padding-bottom:5%;
  327. height:0;
  328. display:inline-block;
  329. border:none;
  330. }
  331. .screenshot, .genericimage {
  332. border: .5px solid rgba(0,0,0,.1);
  333. border-radius: 3px;
  334. margin-left: auto;
  335. margin-right: auto;
  336. margin-top: 2em;
  337. margin-bottom: 2em;
  338. display:block;
  339. box-shadow: rgba(0,0,0,0.08) 0 1px 5px 0;
  340. }
  341. .iconimage {}
  342. .switch,
  343. .switchinline {}
  344. .embedded {}
  345. #TopLeftHeader {
  346. grid-area: header;
  347. position: sticky;
  348. top: 0px;
  349. color: #fff;
  350. display: flex;
  351. flex-wrap: wrap;
  352. justify-content: flex-start;
  353. z-index: 100;
  354. }
  355. .dropdowns {
  356. /* allow for scrolling */
  357. overflow-x: auto;
  358. overflow-y: hidden;
  359. /* make it smooth on iOS */
  360. -webkit-overflow-scrolling: touch;
  361. grid-area: dropdowns;
  362. display: flex;
  363. justify-content: space-between;
  364. flex-direction: column;
  365. }
  366. .symbol, .logo, .logo:hover, .logo:visited {
  367. color: #fff;
  368. text-decoration: none;
  369. }
  370. .logo p {
  371. font-size: 24px;
  372. }
  373. .symbol {
  374. grid-area: symbol;
  375. padding: 8px 8px 8px 20px;
  376. }
  377. .symbol div {
  378. background-image: url(media/navigation/libo-symbol-white.svg);
  379. background-repeat: no-repeat;
  380. background-size: contain;
  381. width: 52px;
  382. height: 60px;
  383. }
  384. [data-a11y-toggle]:not([aria-controls]) {
  385. display: none;
  386. }
  387. /* You Tube matters */
  388. .youtube_placeholder{
  389. border: 1px solid #eee;
  390. max-width:700px;
  391. padding: 10px;
  392. background-color: #eee;
  393. text-align: center;
  394. }
  395. .youtube_button {
  396. appearance: none;
  397. backface-visibility: hidden;
  398. background-color: #27ae60;
  399. border-radius: 8px;
  400. border-style: none;
  401. box-shadow: rgba(39, 174, 96, .15) 0 4px 9px;
  402. box-sizing: border-box;
  403. color: #fff;
  404. cursor: pointer;
  405. display: inline-block;
  406. font-size: 16px;
  407. font-weight: 600;
  408. letter-spacing: normal;
  409. line-height: 1.5;
  410. outline: none;
  411. overflow: hidden;
  412. padding: 13px 20px;
  413. position: relative;
  414. text-align: center;
  415. text-decoration: none;
  416. transform: translate3d(0, 0, 0);
  417. transition: all .3s;
  418. user-select: none;
  419. -webkit-user-select: none;
  420. touch-action: manipulation;
  421. vertical-align: top;
  422. white-space: nowrap;
  423. }
  424. .youtube_button:hover {
  425. background-color: #1e8449;
  426. opacity: 1;
  427. transform: translateY(0);
  428. transition-duration: .35s;
  429. box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
  430. }
  431. .youtube_button:active {
  432. transform: translateY(2px);
  433. transition-duration: .35s;
  434. }
  435. #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
  436. z-index: 100;
  437. /* line them up horizontally */
  438. display: flex;
  439. flex-direction: row;
  440. /* allow for scrolling */
  441. overflow-x: auto;
  442. overflow-y: hidden;
  443. /* make it smooth on iOS */
  444. -webkit-overflow-scrolling: touch;
  445. }
  446. #langs-nav a, #modules-nav a {
  447. color: #fff;
  448. background-color: #233336;
  449. display: block;
  450. line-height: 1.5;
  451. padding: 3px 6px;
  452. text-decoration: none;
  453. font-size: 24px;
  454. flex-shrink: 0;
  455. z-index: 100;
  456. white-space: nowrap;
  457. }
  458. footer {
  459. padding: 30px 20px;
  460. }
  461. footer p {
  462. font-size: 0.98rem;
  463. }
  464. .contents-treeview input[type=checkbox], aside input[type=checkbox] {
  465. /* from .visuallyhidden class of html5-boilerplate */
  466. border: 0;
  467. clip: rect(0 0 0 0);
  468. height: 1px;
  469. margin: -1px;
  470. overflow: hidden;
  471. padding: 0;
  472. position: absolute;
  473. width: 1px;
  474. white-space: nowrap;
  475. }
  476. label[for=accordion-1] {
  477. color: #233336;
  478. display: block;
  479. padding: 10px 0 10px 20px;
  480. font-size: 22px;
  481. line-height: .6;
  482. }
  483. label[for=accordion-1]:after {
  484. font-size: 44px;
  485. content:"⌄";
  486. }
  487. aside input[type=checkbox] ~ .contents-treeview {
  488. display: none;
  489. }
  490. aside input[type=checkbox]:checked ~ .contents-treeview {
  491. color: #333;
  492. z-index: 6;
  493. display: block;
  494. margin: 0 20px 0 20px;
  495. }
  496. .index-label {
  497. font-size: 22px;
  498. color: #233336;
  499. padding-left: 20px;
  500. margin: 20px 0 0 0;
  501. }
  502. #Index, .index {
  503. margin-top: 10px;
  504. }
  505. .index {
  506. padding-left: 15px;
  507. }
  508. .index a {
  509. font-size: 15px;
  510. display: block;
  511. }
  512. .index .hidden {
  513. display: none;
  514. }
  515. #Bookmarks {
  516. padding: 0 20px;
  517. }
  518. #Bookmarks p {
  519. font-size: 22px;
  520. font-weight: bold;
  521. color: #148603;
  522. }
  523. #WRITER::before {
  524. content: "Writer";
  525. display: block;
  526. font-size: 22px;
  527. font-weight: bold;
  528. color: #083fa6;
  529. }
  530. #CALC::before {
  531. content: "Calc";
  532. display: block;
  533. font-size: 22px;
  534. font-weight: bold;
  535. color: #007c3c;
  536. }
  537. #IMPRESS::before {
  538. content: "Impress";
  539. display: block;
  540. font-size: 22px;
  541. font-weight: bold;
  542. color: #d0120d;
  543. }
  544. #DRAW::before {
  545. content: "Draw";
  546. display: block;
  547. font-size: 22px;
  548. font-weight: bold;
  549. color: #cb6d30;
  550. }
  551. #BASE::before {
  552. content: "Base";
  553. display: block;
  554. font-size: 22px;
  555. font-weight: bold;
  556. color: #7324a9;
  557. }
  558. #MATH::before {
  559. content: "Math";
  560. display: block;
  561. font-size: 22px;
  562. font-weight: bold;
  563. color: #c10018;
  564. }
  565. #CHART::before {
  566. content: "Chart";
  567. display: block;
  568. font-size: 22px;
  569. font-weight: bold;
  570. color: darkcyan;
  571. }
  572. #BASIC::before {
  573. content: "Basic";
  574. display: block;
  575. font-size: 22px;
  576. font-weight: bold;
  577. color: black;
  578. }
  579. #SHARED::before {
  580. content: "LibreOffice";
  581. display: block;
  582. font-size: 22px;
  583. font-weight: bold;
  584. color: darkslategray;
  585. }
  586. .pagination-container {
  587. text-align: center;
  588. margin-left: -40px; /* The normalizer fails to account for this */
  589. }
  590. .pagination li {
  591. display: inline-block;
  592. padding: 0 5px;
  593. }
  594. .pagination a {
  595. text-decoration: none;
  596. }
  597. li.active {
  598. background-color: #023a86;
  599. }
  600. li.active a {
  601. color: #fff;
  602. }
  603. li.disabled a {
  604. opacity: 0.4;
  605. pointer-events: none;
  606. }
  607. #search-bar, input {
  608. border: 1px solid #CCC;
  609. box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
  610. box-sizing: border-box;
  611. line-height: 1.5em;
  612. margin-top: 10px;
  613. outline: none;
  614. padding: 0 .25em;
  615. transition: all 0.30s ease-in-out;
  616. }
  617. #search-bar:focus, input:focus {
  618. border: 1px solid #0EA5FB;
  619. }
  620. #search-bar {
  621. width: 100%;
  622. }
  623. #search-bar::placeholder {
  624. font-style: italic;
  625. }
  626. .xapian-donation {
  627. border-top: 2px solid #148603;
  628. background-color: #FCFCFC;
  629. box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
  630. }
  631. #DonationFrame {
  632. background: #18A303;
  633. position: sticky;
  634. top: 0px;
  635. }
  636. .donation{
  637. border: 1px solid #f1c62a;
  638. border-radius: 2px;
  639. padding: 5px 10px;
  640. margin: auto;
  641. max-width: 200px;
  642. color: #ffffff;
  643. }
  644. .donation:hover {
  645. background: linear-gradient(90deg, #1c71d8 0%, #30c877 100%);
  646. }
  647. .donation a {
  648. color: white;
  649. text-decoration: none;
  650. }
  651. .donation p {
  652. font-size:1rem;
  653. text-align: center;
  654. }
  655. #SearchFrame {
  656. background: #18A303;
  657. top: 0px;
  658. position: sticky;
  659. z-index: 100;
  660. }
  661. .xapian-omega-search {
  662. margin: auto;
  663. }
  664. .modules {
  665. border-bottom: 2px solid #f3f3f3;
  666. background-color: #233336;
  667. z-index: 100;
  668. }
  669. #modules:after, #langs:after {
  670. font-size: 30px;
  671. color: #fff;
  672. content:"⌄";
  673. }
  674. .lang {
  675. background-color: #233336;
  676. }
  677. #langs, #modules {
  678. display: none;
  679. }
  680. #modules-nav div {
  681. background-repeat: no-repeat;
  682. background-size: contain;
  683. float: left;
  684. display: none;
  685. }
  686. .office-icon,
  687. .calc-icon,
  688. .chart-icon,
  689. .writer-icon,
  690. .impress-icon,
  691. .draw-icon,
  692. .math-icon,
  693. .basic-icon,
  694. .base-icon {
  695. width: 21.5px;
  696. height: 26px;
  697. position: relative;
  698. margin-right: 5px;
  699. }
  700. .office-icon {
  701. background-image: url(media/navigation/libo-symbol-black.svg);
  702. }
  703. .calc-icon {
  704. background-image: url(media/navigation/libo-calc.svg);
  705. }
  706. .writer-icon {
  707. background-image: url(media/navigation/libo-writer.svg);
  708. }
  709. .impress-icon {
  710. background-image: url(media/navigation/libo-impress.svg);
  711. }
  712. .draw-icon {
  713. background-image: url(media/navigation/libo-draw.svg);
  714. }
  715. .math-icon {
  716. background-image: url(media/navigation/libo-math.svg);
  717. }
  718. .base-icon {
  719. background-image: url(media/navigation/libo-base.svg);
  720. }
  721. .chart-icon {
  722. background-image: url(media/navigation/libo-chart.svg);
  723. }
  724. .basic-icon {
  725. background-image: url(media/navigation/libo-basic.svg);
  726. }
  727. /* tree view */
  728. .contents-treeview ul,
  729. .contents-treeview li {
  730. padding: 0;
  731. margin: 0;
  732. list-style: none;
  733. font-size: 15px;
  734. }
  735. .contents-treeview {
  736. -moz-user-select: none;
  737. -webkit-user-select: none;
  738. user-select: none;
  739. }
  740. .contents-treeview a, .index a {
  741. text-decoration: none;
  742. line-height: 1.4;
  743. }
  744. .contents-treeview a:hover, .index a:hover {
  745. border-left: 2px solid rgba(0,0,0,0.05);
  746. margin-left: -12px;
  747. padding-left: 10px;
  748. }
  749. .contents-treeview input + label + ul {
  750. margin: 0 0 0 22px;
  751. }
  752. .contents-treeview input ~ ul {
  753. display: none;
  754. }
  755. .contents-treeview label,
  756. .contents-treeview label:before {
  757. cursor: pointer;
  758. color: #111;
  759. }
  760. .contents-treeview input:disabled + label {
  761. cursor: default;
  762. opacity: .6;
  763. }
  764. .contents-treeview input:checked:not(:disabled) ~ ul {
  765. display: block;
  766. }
  767. .contents-treeview label,
  768. .contents-treeview a,
  769. .contents-treeview label::before {
  770. display: block;
  771. vertical-align: middle;
  772. }
  773. .contents-treeview label:before {
  774. content: "⊞";
  775. color: #0461e0;
  776. width: 16px;
  777. margin: 0 5px 0 0;
  778. display: inline-block;
  779. }
  780. .contents-treeview input:checked + label::before {
  781. content: "⊟";
  782. }
  783. .contents-current {
  784. background: rgba(0,0,0,0.1);
  785. border-left: 2px solid #6E7487;
  786. margin-left: -12px;
  787. padding-left: 10px;
  788. }
  789. /* webkit adjacent element selector bugfix */
  790. @media screen and (-webkit-min-device-pixel-ratio: 0) {
  791. .contents-treeview {
  792. -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
  793. }
  794. @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
  795. from {
  796. padding: 0;
  797. }
  798. to {
  799. padding: 0;
  800. }
  801. }
  802. }
  803. @media screen and (min-width: 960px) {
  804. .dropdowns {
  805. flex-direction: row;
  806. overflow-y: auto;
  807. overflow-x: hidden;
  808. }
  809. #langs-nav, #modules-nav {
  810. display: none;
  811. }
  812. #langs-nav a {
  813. font-size: 19px;
  814. white-space: normal;
  815. }
  816. /* these are buttons, so also reset some default stylings */
  817. #langs, #modules {
  818. cursor: pointer;
  819. color: #fff;
  820. font-size: 19px;
  821. display: block;
  822. background: transparent;
  823. border: none;
  824. text-transform: none;
  825. padding: 0;
  826. line-height: normal;
  827. }
  828. /* change the menu direction to stacked */
  829. #langs-nav:not([aria-hidden='true']), #modules-nav:not([aria-hidden='true']) {
  830. display: flex;
  831. flex-direction: column;
  832. overflow-y: auto;
  833. max-height: 480px;
  834. position: absolute;
  835. }
  836. #modules-nav {
  837. background-color: #101820;
  838. text-align: left;
  839. }
  840. #modules-nav div {
  841. display: block;
  842. }
  843. #modules-nav a {
  844. font-size: 19px;
  845. }
  846. aside {
  847. float: left;
  848. width: 320px;
  849. }
  850. .leftside {
  851. grid-area: leftside;
  852. }
  853. .rightside {
  854. grid-area: rightside;
  855. }
  856. #DonationFrame {
  857. grid-area: donation;
  858. }
  859. #SearchFrame {
  860. grid-area: search;
  861. }
  862. footer {
  863. grid-area: footer;
  864. }
  865. .lang {
  866. background-color: transparent;
  867. }
  868. .modules {
  869. border: none;
  870. background-color: transparent;
  871. }
  872. #DisplayArea {
  873. box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
  874. padding: 10px 50px 40px 50px;
  875. }
  876. .xapian-omega-search {
  877. width: 100%;
  878. }
  879. .xapian-omega-search form {
  880. display: flex;
  881. justify-content: center;
  882. }
  883. .omega-autofocus {
  884. max-width: 200px;
  885. width: 100%
  886. }
  887. /* ScriptForge service tables */
  888. .sf_table {
  889. min-width: auto;
  890. }
  891. .sf_table thead {
  892. display: table-header-group;
  893. }
  894. .sf_table tr {
  895. display: table-row;
  896. }
  897. .sf_table td {
  898. display: table-cell;
  899. }
  900. }
  901. @media screen and (min-width: 1440px) {
  902. #Contents {
  903. color: #333;
  904. z-index: 6;
  905. display: block;
  906. margin: 0 20px 0 20px;
  907. }
  908. label[for=accordion-1] {
  909. background-color: transparent;
  910. text-decoration: none;
  911. }
  912. label[for=accordion-1]:hover {
  913. background-color: transparent;
  914. }
  915. label[for=accordion-1]:after {
  916. content: "";
  917. }
  918. .omega-autofocus {
  919. max-width: 400px;
  920. }
  921. }
  922. /* Use @supports to sneak these rules past IE */
  923. @supports (grid-area: auto) {
  924. @media screen and (min-width: 960px) {
  925. #TopLeftHeader {
  926. display: grid;
  927. align-items: end;
  928. grid-template-columns: auto auto;
  929. grid-template-rows: auto auto;
  930. grid-template-areas: "symbol logo"
  931. "symbol dropdowns"
  932. }
  933. #SearchFrame {
  934. grid-area: search;
  935. display: flex;
  936. justify-content: space-between;
  937. align-items: center;
  938. }
  939. #DonationFrame {
  940. grid-area: donation;
  941. display: flex;
  942. justify-content: space-between;
  943. align-items: center;
  944. }
  945. body {
  946. display: grid;
  947. grid-template-columns: 320px 100px 300px 1fr;
  948. grid-template-rows: minmax(1em, auto) minmax(1em, auto) 1fr minmax(1em, auto);
  949. grid-template-areas: "header header search donation"
  950. "rightside main main main"
  951. "leftside main main main"
  952. ". footer footer footer"
  953. }
  954. html {
  955. scroll-padding-top: 64px;
  956. }
  957. }
  958. @media screen and (min-width: 1440px) {
  959. body {
  960. display: grid;
  961. grid-template-columns: 360px 100px 400px 400px 1fr;
  962. grid-template-rows: 1fr minmax(1em, auto) minmax(1em, auto);
  963. grid-template-areas: "header header search search donation"
  964. "leftside main main main rightside"
  965. ". footer footer footer ."
  966. }
  967. .donation {
  968. max-width: 300px;
  969. }
  970. .rightside {
  971. width: auto;
  972. border-right: none;
  973. }
  974. }
  975. }