You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

902 lines
13 KiB

  1. /*!
  2. * DokuWiki Bootstrap3 Template: Template
  3. *
  4. * Home http://dokuwiki.org/template:bootstrap3
  5. * Author Giuseppe Di Terlizzi <giuseppe.diterlizzi@gmail.com>
  6. * License GPL 2 (http://www.gnu.org/licenses/gpl.html)
  7. */
  8. @import url("css.php?f=bootstrap.css");
  9. html {
  10. -ms-overflow-style: scrollbar;
  11. }
  12. body {
  13. &.default.dw-page-on-panel,
  14. &.optional.dw-page-on-panel, {
  15. background: #FEFEFE;
  16. }
  17. }
  18. /**
  19. * Links and Interwiki icons
  20. */
  21. a.urlextern {
  22. background-image: url('iconify.php?icon=mdi-earth-arrow-right.svg&color=%23666666') !important;
  23. }
  24. a.mail {
  25. background-image: url('iconify.php?icon=mdi-email.svg&color=%23666666') !important;
  26. }
  27. a.iw_user {
  28. background-image: url('iconify.php?icon=mdi-account.svg');
  29. }
  30. a.iw_wp, a.iw_wpde, a.iw_wpes, a.iw_wpfr, a.iw_wpjp, a.iw_wpru, a.iw_wpmeta, a.iw_wppl {
  31. background-image: url('iconify.php?icon=mdi-wikipedia.svg');
  32. }
  33. a.iw_go {
  34. background-image: url('iconify.php?icon=mdi-google.svg&color=%234285f4');
  35. }
  36. a.iw_skype {
  37. background-image: url('iconify.php?icon=mdi-skype.svg&color=%2300aff0');
  38. }
  39. a.iw_phpfn {
  40. background-image: url('iconify.php?icon=mdi-elephant.svg&color=%23858eb8');
  41. }
  42. a.iw_callto, a.iw_tel {
  43. background-image: url('iconify.php?icon=mdi-phone.svg');
  44. }
  45. a.iw_amazon, a.iw_amazon_de, a.iw_amazon_uk {
  46. background-image: url('iconify.php?icon=mdi-amazon.svg');
  47. }
  48. a.iw_man {
  49. background-image: url('iconify.php?icon=mdi-book.svg');
  50. }
  51. a.iw_paypal {
  52. background-image: url('iconify.php?icon=mdi-paypal.svg&color=%2324397c');
  53. }
  54. aside,
  55. .dw__dropdown_page {
  56. word-wrap: break-word;
  57. h1, h2, h3, h4 h5 {
  58. margin: 10px 0 5px 0;
  59. }
  60. h1 { font-size: 1.8em; }
  61. h2 { font-size: 1.6em; }
  62. h3 { font-size: 1.4em; }
  63. h4 { font-size: 1.2em; }
  64. h5 { font-size: 1em; }
  65. .page-header {
  66. margin: 10px 0;
  67. }
  68. .panel-heading {
  69. cursor: pointer;
  70. }
  71. .nav {
  72. ul {
  73. padding-left: 10px;
  74. }
  75. li {
  76. a {
  77. padding: 5px 10px !important;
  78. }
  79. a.urlextern,
  80. a.mail,
  81. a.mediafile {
  82. padding-left: 28px !important;
  83. background-position: 8px center;
  84. }
  85. }
  86. }
  87. }
  88. pre.code {
  89. white-space: pre-wrap;
  90. }
  91. input,
  92. textarea,
  93. select {
  94. font-weight: 400;
  95. }
  96. body,
  97. main {
  98. position: relative;
  99. }
  100. /* Ordered list style */
  101. ol { list-style: decimal outside; } /* Decimal: 1. 2. 3. ... */
  102. ol ol { list-style-type: lower-alpha; } /* Alpha (lowercase): a. b. c. ... */
  103. ol ol ol { list-style-type: upper-roman; } /* Roman (uppercase): I. II. III. ... */
  104. ol ol ol ol { list-style-type: upper-alpha; } /* Alpha (uppercase): A. B. C. ... */
  105. ol ol ol ol ol { list-style-type: lower-roman; } /* Roman (lowercase): i. ii. iii. ... */
  106. /* Header */
  107. header {
  108. nav {
  109. .navbar-brand {
  110. padding-top: 10px;
  111. padding-bottom: 10px;
  112. }
  113. #dw__tagline {
  114. font-size: 0.6em;
  115. line-height: 0.6em;
  116. white-space: nowrap;
  117. }
  118. #dw__search {
  119. /* Typeahead plugin */
  120. .typeahead {
  121. max-height: 250px;
  122. overflow-y: auto;
  123. li.dropdown-header {
  124. font-size: 80%;
  125. text-overflow: ellipsis;
  126. overflow: hidden;
  127. padding-top: 0;
  128. }
  129. a.dropdown-item {
  130. font-size: 85%;
  131. text-overflow: ellipsis;
  132. overflow: hidden;
  133. }
  134. }
  135. }
  136. &.navbar-fixed-top .dw__actions {
  137. margin: 0 15px 0 5px;
  138. }
  139. .dw__actions .btn {
  140. margin-left: 5px;
  141. }
  142. }
  143. }
  144. article .page-header:first-child {
  145. margin-top: 10px;
  146. }
  147. /* Characters picker */
  148. div#picker2 {
  149. z-index:1000;
  150. }
  151. /* Message area (alerts, warnings, errors, etc.) */
  152. #dw__msgarea {
  153. .alert {
  154. padding: 5px;
  155. margin-bottom: 10px;
  156. }
  157. .bs-callout {
  158. margin-bottom: 10px;
  159. padding: 10px;
  160. }
  161. }
  162. /* NavBar Logo */
  163. #dw__logo.dw-logo-tagline {
  164. margin-top: -5px;
  165. }
  166. /* Badges */
  167. #dw__badges li {
  168. padding-right: 0;
  169. }
  170. /* Configuration Manager */
  171. #config__manager {
  172. label {
  173. color: initial;
  174. white-space: initial;
  175. font-size: 1.2em;
  176. font-weight: initial;
  177. }
  178. td {
  179. padding: 5px;
  180. }
  181. legend {
  182. font-size: 1.8em;
  183. }
  184. fieldset {
  185. background: initial !important;
  186. padding: 0 !important;
  187. text-align: left;
  188. }
  189. .label {
  190. display: block;
  191. font-weight: normal;
  192. color: initial;
  193. }
  194. .value {
  195. vertical-align: middle;
  196. }
  197. .outkey {
  198. margin: 0 !important;
  199. padding: 0 !important;
  200. font-size: 1.2em !important;
  201. background: transparent !important;
  202. }
  203. #tpl____bootstrap3____template_settings_name legend {
  204. padding-top: 25px;
  205. }
  206. span[title*="$meta"] {
  207. font-family: monospace;
  208. }
  209. }
  210. /* Breadcrumbs */
  211. #dw__breadcrumbs {
  212. hr {
  213. margin: 5px 0;
  214. padding: 0;
  215. }
  216. .breadcrumb {
  217. background: transparent;
  218. border: 0 none;
  219. padding-left: 0;
  220. display: inline;
  221. }
  222. }
  223. /* Footnotes */
  224. #insitu__fn {
  225. max-width: 20em;
  226. }
  227. .footnotes {
  228. div.fn > div.content {
  229. display:inline;
  230. }
  231. }
  232. /* User Menu */
  233. #dw__user_menu {
  234. .nav > li > a {
  235. text-overflow: ellipsis;
  236. white-space: nowrap;
  237. overflow: hidden !important;
  238. }
  239. }
  240. /* Page tools */
  241. #dw__pagetools {
  242. position: absolute;
  243. right: 30px;
  244. padding-top: 50px;
  245. z-index: 999;
  246. text-align: center;
  247. ul li a {
  248. padding: 2px 4px;
  249. }
  250. ul li:not(.active) a:hover {
  251. background: transparent;
  252. }
  253. .tools {
  254. position: fixed;
  255. }
  256. }
  257. /* Footer Page */
  258. #dw__footer {
  259. z-index: 995;
  260. &.container-fluid {
  261. margin: 0;
  262. margin-bottom: -50px;
  263. padding: 0;
  264. }
  265. }
  266. /* Extension Manager */
  267. #extension__manager {
  268. ul.tabs li.active a,
  269. .panelHeader {
  270. background-color: initial;
  271. }
  272. ul.tabs li.active a {
  273. /* FIXME */
  274. border-bottom-color: white;
  275. }
  276. }
  277. /* User Manager */
  278. #user__manager .import_users {
  279. clear: both;
  280. }
  281. /* Media Manager */
  282. #media__tree {
  283. height: 300px;
  284. overflow: auto;
  285. li.media {
  286. margin-top: 0;
  287. }
  288. }
  289. #mediamgr__content {
  290. position: fixed;
  291. }
  292. #media__content {
  293. height: auto;
  294. input, label {
  295. margin: 0;
  296. }
  297. label {
  298. display: inline !important;
  299. }
  300. [type=submit] {
  301. vertical-align: bottom;
  302. }
  303. }
  304. #mediamgr__aside {
  305. height: auto;
  306. top: 0;
  307. position: fixed;
  308. }
  309. #media__opts label {
  310. display: inline !important;
  311. }
  312. #mediamanager__page .ui-buttonset label {
  313. margin-right: 0 !important;
  314. }
  315. #dokuwiki__pageheader p a.label {
  316. white-space: initial;
  317. }
  318. /* Page ID */
  319. [data-img-id] .pageId {
  320. &::after {
  321. content: " }}";
  322. }
  323. &::before {
  324. content: "{{ ";
  325. }
  326. }
  327. [data-page-id] .pageId {
  328. &::after {
  329. content: " ]]";
  330. }
  331. &::before {
  332. content: "[[ ";
  333. }
  334. }
  335. .mode_search {
  336. li {
  337. list-style-type: none;
  338. word-wrap: break-word;
  339. }
  340. }
  341. .dokuwiki div.search_quickresult ul li {
  342. width: 20em;
  343. }
  344. .mode_index {
  345. ul.idx {
  346. a {
  347. color: inherit;
  348. text-decoration: none;
  349. }
  350. i {
  351. padding-right: 5px;
  352. }
  353. strong {
  354. font-weight: normal;
  355. }
  356. li {
  357. list-style-type: none;
  358. list-style-image: none !important;
  359. }
  360. }
  361. }
  362. .mode_admin {
  363. input[name="installfile"] {
  364. height: auto;
  365. }
  366. h1#dokuwiki_settings,
  367. h1#plugin_settings,
  368. h1#template_settings {
  369. font-size: 1.80em;
  370. }
  371. #config__manager legend {
  372. cursor: pointer;
  373. }
  374. }
  375. .dokuwiki div.ui-admin {
  376. ul li {
  377. font-weight: normal;
  378. }
  379. #admin__version {
  380. clear: both;
  381. float: none;
  382. }
  383. .admin_tasks {
  384. width: 50% !important;
  385. padding: 0 10px !important;
  386. }
  387. ul.admin_plugins {
  388. padding: 5px;
  389. margin-bottom: 0px;
  390. }
  391. }
  392. /* Back to top button */
  393. .back-to-top {
  394. position: fixed;
  395. bottom: 10px;
  396. right: 10px;
  397. opacity: .8;
  398. display: none;
  399. z-index: 1024;
  400. }
  401. /* Fix for media list overlap */
  402. .fix-media-list-overlap {
  403. overflow: hidden;
  404. }
  405. /* External URL (navbar) */
  406. .navbar-nav a.urlextern,
  407. .navbar-nav a.mail {
  408. padding: 15px 0 15px 18px;
  409. }
  410. /* Page Info */
  411. .docInfo .list-inline li {
  412. padding-left : 0;
  413. }
  414. /* User profile image */
  415. .profile-image {
  416. position: relative;
  417. top: -5px;
  418. float: left;
  419. left: -5px;
  420. }
  421. /* Page icons (email, print, social share, etc.) */
  422. .dw-page-icons {
  423. a {
  424. color: inherit;
  425. }
  426. span {
  427. display: none;
  428. }
  429. svg {
  430. width: 1.2em !important;
  431. height: 1.2em !important;
  432. }
  433. .share-google-plus svg { color: #DC4E41; }
  434. .share-twitter svg { color: #55ACEE; }
  435. .share-linkedin svg { color: #0077B5; }
  436. .share-facebook svg { color: #3B5998; }
  437. .share-whatsapp svg { color: #43D854; }
  438. .share-pinterest svg { color: #BD081C; }
  439. .share-telegram svg { color: #0088CC; }
  440. .share-yammer svg { color: #5AA8BF; }
  441. .share-reddit svg { color: #FF4500; }
  442. .share-microsoft-teams svg { color: #464EB8; }
  443. }
  444. /* Override Bootstrap3 style */
  445. /* Set ".img-responsive" to "inline" */
  446. .img-responsive {
  447. display: inline;
  448. }
  449. ul.btn-group {
  450. padding: 0;
  451. }
  452. .table thead tr th[rowspan] {
  453. vertical-align: top !important;
  454. }
  455. /* Commond DokuWiki styles */
  456. .dokuwiki {
  457. fieldset {
  458. border: none;
  459. }
  460. img.media {
  461. margin: .2em 0;
  462. }
  463. img.medialeft {
  464. float: left;
  465. margin: .2em 1em .2em 0;
  466. }
  467. img.mediaright {
  468. float: right;
  469. margin: .2em 0 .2em 1em;
  470. }
  471. img.mediacenter {
  472. display: block;
  473. margin: .2em auto;
  474. }
  475. textarea.edit {
  476. font-family: Menlo, Monaco, Consolas, "Courier New", monospace
  477. }
  478. ul.idx {
  479. padding-left: 18px;
  480. }
  481. article .wikilink2 {
  482. color: #d9534f;
  483. }
  484. article .page {
  485. min-height: 400px;
  486. }
  487. .diffnav select {
  488. height: auto;
  489. }
  490. .curid {
  491. font-weight: bold;
  492. }
  493. .diff.diff_sidebyside {
  494. margin-top: 25px;
  495. margin-bottom: 25px;
  496. td.diff-context {
  497. width: 50%;
  498. }
  499. }
  500. table.diff {
  501. select {
  502. font-size: 1em !important;
  503. }
  504. td {
  505. font-size: 1em !important;
  506. }
  507. }
  508. }
  509. /* Custom DropDown menu with multiple columns */
  510. .dropdown-row {
  511. > ul {
  512. position: static;
  513. border: 0px;
  514. box-shadow: none;
  515. }
  516. > li a {
  517. text-overflow: ellipsis;
  518. white-space: nowrap;
  519. overflow: hidden !important;
  520. }
  521. }
  522. /* Custom DropDown Menu Large (see http://bootsnipp.com/snippets/featured/large-dropdown-menu) */
  523. #dw__admin .dropdown-menu-large {
  524. width: 600px;
  525. }
  526. @media (max-width: 768px) {
  527. .dropdown-menu-large {
  528. margin-left: 0 ;
  529. margin-right: 0 ;
  530. }
  531. }
  532. /* Dropdown menu page */
  533. .dw__dropdown_page {
  534. .dropdown-menu-large {
  535. background: #FFF;
  536. }
  537. .nav li a {
  538. padding: 5px 10px;
  539. }
  540. }
  541. /* AnchorJS */
  542. a.anchorjs-link:hover {
  543. text-decoration: none;
  544. }
  545. /* Override Bootswatch Style */
  546. body.cosmo #tool__bar .btn {
  547. border: 1px solid #CCC;
  548. background-color: #EEE;
  549. }
  550. body {
  551. &.cyborg,
  552. &.darkly,
  553. &.slate,
  554. &.superhero,
  555. &.solar {
  556. #config__manager .outkey {
  557. color: #fff !important;
  558. }
  559. #extension__list {
  560. ul.extensionList li {
  561. color: inherit;
  562. }
  563. .legend {
  564. color: inherit;
  565. }
  566. p {
  567. color: inherit;
  568. }
  569. }
  570. }
  571. }
  572. .dw-table-width {
  573. article table.inline {
  574. width: auto;
  575. }
  576. .mode_admin table.inline {
  577. width: 100%;
  578. }
  579. }
  580. body.yeti #dw__user_menu dl {
  581. color: white;
  582. }
  583. /* SVG icon for DokuWiki */
  584. svg.icon {
  585. fill: currentColor;
  586. width: 1em;
  587. height: 1em;
  588. vertical-align: middle;
  589. display: inline-block;
  590. }
  591. .menuitem svg {
  592. fill: currentColor;
  593. display: inline-block;
  594. vertical-align: middle;
  595. width: 1.3em;
  596. height: 1.3em;
  597. }
  598. #dw__pagetools .menuitem svg {
  599. fill: initial !important;
  600. }
  601. .dropdown-menu .menuitem svg {
  602. padding-right: 4px;
  603. }
  604. #dw__pagetools .active .menuitem svg {
  605. fill: #fff !important;
  606. }
  607. #dw__pagetools .menuitem span {
  608. display: none;
  609. }
  610. /* Fixes for Bootswatch theme and DokuWiki actions */
  611. body {
  612. &.cyborg,
  613. &.darkly,
  614. &.slate,
  615. &.superhero,
  616. &.solar {
  617. #dw__pagetools .menuitem svg {
  618. fill: #fff !important;
  619. }
  620. .iw_user {
  621. background-image: url('iconify.php?icon=mdi-account.svg&color=%23ffffff');
  622. }
  623. a.urlextern {
  624. background-image: url('iconify.php?icon=mdi-earth-arrow-right.svg&color=%23ffffff') !important;
  625. }
  626. a.mail {
  627. background-image: url('iconify.php?icon=mdi-email.svg&color=%23ffffff') !important;
  628. }
  629. a.iw_callto, a.iw_tel {
  630. background-image: url('iconify.php?icon=mdi-phone.svg&color=%23ffffff');
  631. }
  632. a.iw_amazon, a.iw_amazon_de, a.iw_amazon_uk {
  633. background-image: url('iconify.php?icon=mdi-amazon.svg&color=%23ffffff');
  634. }
  635. a.iw_man {
  636. background-image: url('iconify.php?icon=mdi-book.svg&color=%23ffffff');
  637. }
  638. a.iw_wp, a.iw_wpde, a.iw_wpes, a.iw_wpfr, a.iw_wpjp, a.iw_wpru, a.iw_wpmeta, a.iw_wppl {
  639. background-image: url('iconify.php?icon=mdi-wikipedia.svg&color=%23ffffff');
  640. }
  641. }
  642. &.yeti .dropdown-menu .menuitem svg {
  643. fill: #fff;
  644. }
  645. &.solar .dropdown-menu .menuitem svg {
  646. fill: #839496;
  647. }
  648. &.sandstone .menuitem svg {
  649. fill: #98978b;
  650. }
  651. &.lumen .menuitem svg {
  652. fill: #555555;
  653. }
  654. &.flatly .menuitem svg {
  655. fill: #7b8a8b;
  656. }
  657. }
  658. .alert {
  659. overflow: hidden;
  660. }