main.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  1. /** WIKI **/
  2. /* Conteneur principal du plugin wiki */
  3. .html.module-wiki *::selection {
  4. color: #ffffff;
  5. background-color: #444444;
  6. }
  7. .html.module-wiki {
  8. height:100%;
  9. }
  10. .html.module-wiki body {
  11. font-family: Roboto;
  12. color:rgb(23, 27, 53);
  13. margin:0;
  14. height:100%;
  15. padding:0;
  16. }
  17. .wiki-preloader{
  18. position: absolute;
  19. height:50px;
  20. width:150px;
  21. top: 50%;
  22. left: 50%;
  23. margin-top: -25px;
  24. margin-left: -75px;
  25. bottom: 0;
  26. right: 0;
  27. text-align: center;
  28. padding: 15px;
  29. text-transform: uppercase;
  30. transform: scale(0);
  31. color: #4b569e;
  32. opacity: 0;
  33. transition: all 0.2s ease-in-out;
  34. background: #ffffff;
  35. }
  36. .wiki-preloader.show{
  37. opacity: 1;
  38. transform: scale(1);
  39. display:block;
  40. }
  41. .wiki-preloader i{
  42. font-size:40px;
  43. }
  44. .wiki-home-page {
  45. padding-right: 25px;
  46. width: 65%;
  47. }
  48. .wiki-home-page * {
  49. max-width: 100%;
  50. }
  51. .wiki-home-activity {
  52. width: 35%;
  53. }
  54. .wiki-home-page,
  55. .wiki-home-activity{
  56. box-sizing: border-box;
  57. display: inline-block;
  58. vertical-align: top;
  59. float: left
  60. }
  61. .wiki-login-box{
  62. width:50%;
  63. min-width: 200px;
  64. max-width: 300px;
  65. margin: auto;
  66. }
  67. .wiki-login-box i.wiki-logo{
  68. width: 100%;
  69. font-size: 80px;
  70. text-align: center;
  71. transition: all 0.3s ease-in-out;
  72. }
  73. .wiki-login-box:hover i.wiki-logo{
  74. transform:translateY(-10px) scale(1.2);
  75. text-shadow: 5px 5px orange;
  76. }
  77. .wiki-login-box .btn{
  78. width:100%;
  79. text-align: center;
  80. font-weight: bold;
  81. }
  82. .wiki-login-box input{
  83. margin:15px 0;
  84. border: 2px solid #444444;
  85. background: #ffffff;
  86. text-align: center;
  87. }
  88. .wiki-login-box input:-webkit-autofill {
  89. -webkit-box-shadow: 0 0 0 30px white inset;
  90. }
  91. .html.module-wiki #mainMenu {
  92. display: none;
  93. flex-direction: column;
  94. flex-shrink: 0;
  95. padding: 0;
  96. margin: auto;
  97. height: 100%;
  98. width: 280px;
  99. position: static;
  100. color:rgb(78, 92, 110);
  101. background: rgb(244, 247, 250);
  102. }
  103. .html.module-wiki .container-fluid{
  104. padding: 0;
  105. margin: 0;
  106. width: auto;
  107. min-height: 100%;
  108. display: flex;
  109. max-width: none;
  110. }
  111. .html.module-wiki #wiki-summary{
  112. left: 0;
  113. top: 0;
  114. padding: 0;
  115. margin: 0;
  116. min-height: 100%;
  117. width: 280px;
  118. position: fixed;
  119. box-sizing: border-box;
  120. color:rgb(78, 92, 110);
  121. background: rgb(244, 247, 250);
  122. transition:all 0.2s ease-in-out;
  123. transform: translateX(-280px);
  124. z-index:101;
  125. user-select: none;
  126. }
  127. .html.module-wiki #wiki-summary > h2{
  128. padding: 10px;
  129. }
  130. .html.module-wiki #wiki-summary ul{
  131. padding: 0px;
  132. margin: 0;
  133. }
  134. .html.module-wiki #wiki-summary li{
  135. border-bottom:1px solid #e9e9e9;
  136. padding: 10px;
  137. font-size: 12px;
  138. }
  139. .html.module-wiki #wiki-summary li a{
  140. color:#444444;
  141. }
  142. .html.module-wiki #wiki-summary li.summary-h1{
  143. text-transform: uppercase;
  144. }
  145. .html.module-wiki #wiki-summary li.summary-h2{
  146. padding-left: 20px;
  147. }
  148. .html.module-wiki #wiki-summary li.summary-h3{
  149. padding-left: 40px;
  150. }
  151. .html.module-wiki #wiki-summary li.summary-h4{
  152. padding-left: 60px;
  153. }
  154. .html.module-wiki #wiki-summary ul li:before{
  155. content: "\f0da";
  156. font-family: "Font Awesome 5 Free";
  157. font-size: 10px;
  158. font-weight: 900;
  159. padding-right: 5px;
  160. }
  161. .html.module-wiki #wiki-summary ul li{
  162. list-style-type: none;
  163. cursor: pointer;
  164. }
  165. .html.module-wiki #wiki-summary.show{
  166. transform: translateX(0);
  167. }
  168. .html.module-wiki #sideMenu {
  169. flex-direction: column;
  170. flex-shrink: 0;
  171. padding: 0;
  172. margin: 0;
  173. min-height: 100%;
  174. width: 280px;
  175. position: static;
  176. color:rgb(78, 92, 110);
  177. background: rgb(244, 247, 250);
  178. user-select: none;
  179. transition: background-color 0.2s ease-in-out;
  180. }
  181. .html.module-wiki #editor {
  182. flex-direction: column;
  183. padding: 60px;
  184. width: 100%;
  185. position: relative;
  186. transition: background-color 0.2s ease-in-out;
  187. }
  188. .html.module-wiki .footer {
  189. display:none;
  190. }
  191. .wiki-title{
  192. font-size: 11px;
  193. font-weight: 500;
  194. text-transform: uppercase;
  195. color: rgb(155, 166, 178);
  196. letter-spacing: 0.04em;
  197. padding-bottom: 8px;
  198. margin-top: 30px;
  199. margin-bottom: 10px;
  200. border-bottom: 1px solid rgb(218, 225, 233);
  201. }
  202. .wiki-title + .no-pages {
  203. opacity: 0.7;
  204. padding: 15px 0;
  205. line-height: 1.75em;
  206. }
  207. .wiki-small{
  208. color: rgb(155, 166, 178);
  209. font-size: 13px;
  210. }
  211. .category-recent{
  212. margin: 0;
  213. list-style-type: none;
  214. padding: 0;
  215. }
  216. .category-recent > li{
  217. margin: 0;
  218. padding: 15px 0;
  219. cursor: pointer;
  220. opacity: 0.7;
  221. transition: all 0.2s ease-in-out;
  222. }
  223. .category-recent > li:hover{
  224. opacity: 1;
  225. transform:translateX(10px);
  226. }
  227. .category-recent > li:before {
  228. content: "\f105";
  229. font-family: "Font Awesome 5 Free";
  230. font-weight: 900;
  231. opacity: 0;
  232. transition: all 0.2s ease-in-out;
  233. position: absolute;
  234. left: -20px;
  235. top: 50%;
  236. transform: translateY(-50%);
  237. }
  238. .category-recent > li:hover:before {
  239. opacity: 1;
  240. /*transform: translateX(10px);*/
  241. }
  242. #wiki-modal{
  243. width:100%;
  244. height:100%;
  245. position:absolute;
  246. top:0;
  247. left:0;
  248. z-index: 101;
  249. background:#ffffff;
  250. transition: all 0.2s ease-in-out;
  251. transform : translateX(-100%);
  252. opacity : 0;
  253. padding:15px;
  254. }
  255. .icon-bubble{
  256. width: 20px;
  257. padding-top: 3px;
  258. box-sizing: border-box;
  259. font-size: 10px;
  260. text-align: center;
  261. border-radius: 100%;
  262. display: inline-block;
  263. vertical-align: top;
  264. background: #444444;
  265. color: #ffffff;
  266. height: 20px;
  267. }
  268. #wiki-modal .wiki-content{
  269. max-width: 800px;
  270. margin: auto;
  271. padding-top: 20px;
  272. }
  273. #wiki-modal .close-button{
  274. position: absolute;
  275. right: 15px;
  276. top: 15px;
  277. cursor: pointer;
  278. }
  279. #wiki-modal.wiki-modal-open{
  280. transform : translateX(0px);
  281. opacity : 0.95;
  282. }
  283. .wiki-add-category{
  284. cursor: pointer;
  285. font-size: 12px;
  286. font-weight: bold;
  287. margin: 5px;
  288. }
  289. i.wiki-add-category{
  290. transform: scale(0.8);
  291. transition: all 0.2s ease-in-out;
  292. opacity: 0.4;
  293. }
  294. i.wiki-add-category:hover {
  295. transform: scale(1);
  296. opacity: 1;
  297. }
  298. .wiki-header{
  299. position: relative;
  300. padding: 16px 24px;
  301. transition: background 150ms ease-in-out 0s;
  302. }
  303. .wiki-header:hover{
  304. background: rgba(0, 0, 0, 0.05);
  305. }
  306. .wiki-header .night-mode-toggler {
  307. position: absolute;
  308. top: 50%;
  309. transform: translateY(-50%);
  310. right: 24px;
  311. }
  312. /* TOGGLE NIGHT THEME */
  313. .toggle-box-label:empty {
  314. margin-left: -10px;
  315. }
  316. .toggle-box-label:before,
  317. .toggle-box-label:after {
  318. box-sizing: border-box;
  319. margin: 0;
  320. padding: 0;
  321. /*transition*/
  322. -webkit-transition: 0.25s ease-in-out;
  323. -moz-transition: 0.25s ease-in-out;
  324. -o-transition: 0.25s ease-in-out;
  325. transition: 0.25s ease-in-out;
  326. outline: none;
  327. }
  328. .toggle-box input[type=checkbox],
  329. .toggle-box input[type=checkbox]:active {
  330. position: absolute;
  331. top: -5000px;
  332. height: 0;
  333. width: 0;
  334. opacity: 0;
  335. border: none;
  336. outline: none;
  337. }
  338. .toggle-box label {
  339. display: inline-block;
  340. position: relative;
  341. padding: 0px;
  342. margin-bottom: 0;
  343. font-size: 14px;
  344. line-height: 16px;
  345. cursor: pointer;
  346. color: rgba(149, 149, 149, 0.51);
  347. font-weight: normal;
  348. }
  349. .toggle-box-label:before {
  350. content: '';
  351. display: block;
  352. position: absolute;
  353. z-index: 1;
  354. line-height: 34px;
  355. text-indent: 40px;
  356. height: 16px;
  357. width: 16px;
  358. margin: 4px;
  359. -webkit-border-radius: 100%;
  360. -moz-border-radius: 100%;
  361. border-radius: 100%;
  362. right: 16px;
  363. bottom: 0px;
  364. background: #FFB200;
  365. transform: rotate(-45deg);
  366. box-shadow: 0 0 10px white;
  367. }
  368. .toggle-box-label:after {
  369. content: "";
  370. display: inline-block;
  371. width: 40px;
  372. height: 24px;
  373. -webkit-border-radius: 16px;
  374. -moz-border-radius: 16px;
  375. border-radius: 16px;
  376. background: rgba(255, 255, 255, 0.15);
  377. vertical-align: middle;
  378. margin: 0 10px;
  379. margin-right: 0;
  380. border: 2px solid #FFB200;
  381. }
  382. .toggle-box input[type=checkbox]:checked + .toggle-box-label:before {
  383. right: 7px;
  384. box-shadow: 5px 5px 0 0 #eee;
  385. background: transparent;
  386. }
  387. .toggle-box input[type=checkbox]:checked + .toggle-box-label:after {
  388. background: rgba(0, 0, 0, 0.15);
  389. border: 2px solid white;
  390. }
  391. .toggle-box input[type=checkbox] + .toggle-box-label {
  392. color: rgba(250, 250, 250, 0.51);
  393. font-weight: bold;
  394. }
  395. .toggle-box input[type=checkbox]:checked + .toggle-box-label {
  396. color: rgba(149, 149, 149, 0.51);
  397. font-weight: normal;
  398. }
  399. .toggle-box input[type=checkbox]:checked + .toggle-box-label + .toggle-box-label {
  400. color: rgba(250, 250, 250, 0.51);
  401. font-weight: bold;
  402. }
  403. /* FIN TOGGLE NIGHT THEME */
  404. .page-editor-menu .dropdown-menu{
  405. transform: translate3d(-129px, 19px, 0px)!important;
  406. }
  407. .wiki-logo{
  408. width:38px;
  409. height:38px;
  410. border-radius: 4px;
  411. }
  412. .wiki-brand{
  413. display: inline-block;
  414. vertical-align: top;
  415. min-height: 0px;
  416. min-width: 0px;
  417. padding-left: 8px;
  418. }
  419. .wiki-brand .brand-option{
  420. display: inline-block;
  421. cursor: pointer;
  422. }
  423. .wiki-brand-firm{
  424. font-weight: 600;
  425. color: rgb(23, 27, 53);
  426. font-size: 16px;
  427. max-height: 24px;
  428. }
  429. .wiki-brand-firm > .firm-label {
  430. text-overflow: ellipsis;
  431. max-width: 115px;
  432. overflow: hidden;
  433. display: inline-block;
  434. margin-right: 5px;
  435. font-size: 16px;
  436. max-height: 24px;
  437. white-space: nowrap;
  438. float: left;
  439. }
  440. .wiki-brand-user{
  441. font-size: 11px;
  442. text-transform: uppercase;
  443. font-weight: 500;
  444. color: rgb(78, 92, 110);
  445. }
  446. .wiki-bubble{
  447. color: rgb(255, 255, 255);
  448. display: inline-block;
  449. min-width: 15px;
  450. font-size: 10px;
  451. position: relative;
  452. top: -2px;
  453. left: 2px;
  454. border-radius: 100%;
  455. background: rgb(78, 92, 110);
  456. padding: 0px 5px;
  457. }
  458. #wiki-categories {
  459. min-height: 220px;
  460. }
  461. #wiki-main-menu,
  462. #wiki-categories {
  463. margin: 24px 0px;
  464. padding: 0px 24px;
  465. overflow: auto;
  466. }
  467. #wiki-main-menu ul{
  468. list-style-type: none;
  469. margin: 0;
  470. padding: 0;
  471. }
  472. #wiki-main-menu > ul > li{
  473. padding: 5px;
  474. cursor: pointer;
  475. transition: all 0.1s ease-in-out;
  476. }
  477. #wiki-main-menu > ul > li i{
  478. padding-right: 10px;
  479. }
  480. #wiki-main-menu > ul > li:hover{
  481. color:#333333;
  482. }
  483. #wiki-categories ul{
  484. list-style-type: none;
  485. margin: 0;
  486. padding: 0;
  487. }
  488. #wiki-categories ul > li > ul{
  489. padding-left: 25px;
  490. font-weight: normal;
  491. }
  492. #wiki-categories > ul > li{
  493. cursor: pointer;
  494. padding: 5px;
  495. }
  496. #wiki-categories h3{
  497. font-size: 11px;
  498. font-weight: 600;
  499. text-transform: uppercase;
  500. color: rgb(78, 92, 110);
  501. letter-spacing: 0.04em;
  502. margin-bottom: 4px;
  503. }
  504. #wiki-categories .category-option {
  505. display: inline-block;
  506. float: right;
  507. cursor: pointer;
  508. opacity: 0;
  509. transform: translateX(-10px);
  510. transition: all 0.2s ease-in-out;
  511. }
  512. #wiki-categories > ul > li:hover .category-option{
  513. transform: translateX(0px);
  514. opacity: 1;
  515. }
  516. .wiki-page-content a{
  517. color :#e91e63;
  518. }
  519. #wiki-categories .page{
  520. font-size: 12px;
  521. word-break: break-all;
  522. white-space: nowrap;
  523. overflow: hidden;
  524. text-overflow: ellipsis;
  525. }
  526. .wiki-page-content h1,.wiki-page-content h2,.wiki-page-content h3,.wiki-page-content h4,.wiki-page-content h5{
  527. font-weight: 300;
  528. }
  529. .wiki-page-content .inline-code{
  530. background-color: #444444;
  531. padding:2px 5px;
  532. color:#ffffff;
  533. }
  534. .wiki-page-content a .inline-code{
  535. color:#ffc107;
  536. }
  537. .wiki-page-content .block-code{
  538. background-color: #444444;
  539. padding:2px 5px;
  540. color:#ffffff;
  541. display: block;
  542. border-left: 5px solid #deeeff;
  543. }
  544. #editor .blockquote {
  545. padding-left: 15px;
  546. border-left: 5px solid #69abbd;
  547. }
  548. .html.module-wiki #editor.edition .CodeMirror{
  549. border:0;
  550. }
  551. /*.html.module-wiki .CodeMirror-selectedtext {
  552. color: #d0d0d0;
  553. background-color: #444444;
  554. }*/
  555. .html.module-wiki .editor-toolbar:not(.fullscreen) {
  556. position: -webkit-sticky;
  557. position: sticky;
  558. top: 0px;
  559. border:0;
  560. background-color: #ffffff;
  561. /*Make toolbar useable/visible when it becomes sticky*/
  562. z-index: 100;
  563. opacity: initial;
  564. }
  565. /* Hovering would otherwise cause the text to become visible 'behind' the toolbar*/
  566. .html.module-wiki .editor-toolbar:hover {
  567. opacity: initial;
  568. }
  569. .html.module-wiki .page-option{
  570. display: inline-block;
  571. position: fixed;
  572. right: 20px;
  573. top: 20px;
  574. z-index: 105;
  575. user-select: none;
  576. }
  577. .html.module-wiki .page-option li.page-empty-menu {
  578. min-width: 16px;
  579. }
  580. .html.module-wiki .page-option li {
  581. cursor: pointer;
  582. display: inline-block;
  583. transition: all 0.2s ease-in-out;
  584. }
  585. .html.module-wiki .page-option li .page-option-item > i {
  586. opacity: 0.5;
  587. transition: all 0.2s ease-in-out;
  588. }
  589. .html.module-wiki .page-option li .page-option-item > i.active,
  590. .html.module-wiki .page-option li .page-option-item.show > i,
  591. .html.module-wiki .page-option li:hover .page-option-item > i {
  592. opacity: 1;
  593. }
  594. .html.module-wiki .page-option-save,
  595. .html.module-wiki .page-option-menu {
  596. transform: scale(0);
  597. opacity: 0;
  598. cursor: pointer;
  599. transition: all 0.2s ease-in-out;
  600. }
  601. .html.module-wiki .page-option-save.show,
  602. .html.module-wiki .page-option-menu.shown {
  603. opacity: 1;
  604. transform: scale(1);
  605. }
  606. .html.module-wiki li.hidden {
  607. display: none;
  608. }
  609. .html.module-wiki .page-option-save > i {
  610. color: #45B94F;
  611. }
  612. .html.module-wiki .page-option-save:hover > i {
  613. color: #308237;
  614. }
  615. .category-open{
  616. font-weight: bold;
  617. color:#333333;
  618. }
  619. .page-open{
  620. font-weight: bold;
  621. color:#333333;
  622. }
  623. .wiki-breadcrumb {
  624. position: absolute;
  625. color: rgb(23, 27, 53);
  626. font-size: 15px;
  627. top: 20px;
  628. left: 25px;
  629. user-select: none;
  630. width: 90%;
  631. transition: all 0.2s ease-in-out;
  632. }
  633. .wiki-breadcrumb span{
  634. font-weight: bold;
  635. }
  636. .wiki-breadcrumb small{
  637. color: #a8aeb4;
  638. margin-left: 10px;
  639. }
  640. .wiki-breadcrumb .slash{
  641. font-weight: bolder;
  642. text-align: center;
  643. color: rgb(154, 180, 214);
  644. width: 10px;
  645. height: 24px;
  646. display: inline-block;
  647. }
  648. .wiki-breadcrumb .last-update {
  649. margin-left: 0;
  650. }
  651. #page-label{
  652. border-color: #ffffff;
  653. display: inline-block;
  654. width: auto;
  655. padding:0;
  656. transition: all 0.2s ease-in-out;
  657. }
  658. #page-label.form-control[readonly] {
  659. background-color: #ffffff;
  660. }
  661. #page-label.show{
  662. padding: 0 10px;
  663. border-color: #cecece;
  664. border-radius: 2rem;
  665. transition: all 0.2s ease-in-out;
  666. }
  667. .tags-container {
  668. margin: 15px 0;
  669. padding-bottom: 5px;
  670. display: block;
  671. }
  672. .tags-container.light-border-bottom {
  673. border-bottom: 1px solid rgb(218, 225, 233);
  674. }
  675. .tags-container h6 {
  676. color: rgb(155, 166, 178);
  677. }
  678. .tags-container .tag-item {
  679. user-select: none;
  680. display: inline-block;
  681. padding: 0.4em 0.5em;
  682. font-size: 85%;
  683. font-weight: 700;
  684. line-height: 1;
  685. text-align: center;
  686. white-space: nowrap;
  687. vertical-align: baseline;
  688. border-radius: .15rem;
  689. padding-right: 1rem;
  690. position: relative;
  691. }
  692. .tags-container .tag-item .fa-tag {
  693. font-size: 0.8em;
  694. }
  695. .tags-container .tag-item .delete-tag {
  696. cursor: pointer;
  697. opacity: 1;
  698. position: absolute;
  699. right: 0.25rem;
  700. transition: all 0.2s ease-in-out;
  701. }
  702. .tags-container .tag-item:hover .delete-tag {
  703. opacity: 1;
  704. }
  705. .wiki_search_item i{
  706. min-height: 26px;
  707. }
  708. .wiki_search_item input{
  709. display: inline-block;
  710. min-width: 160px;
  711. border: 0;
  712. padding: 0 5px;
  713. border-radius: 2rem;
  714. width: 85%;
  715. opacity: 0;
  716. font-size: 0.9em;
  717. transition: all 0.2s ease-in-out;
  718. }
  719. .wiki_search_item span{
  720. opacity: 1;
  721. min-height: 26px;
  722. display: inline-block;
  723. }
  724. .wiki-search-highlight{
  725. background-color:#ffc107;
  726. color:#111111;
  727. display: inline-block;
  728. padding:0 5px;
  729. font-weight: bold;
  730. }
  731. .wiki-title-link{
  732. font-size: 20px;
  733. margin-left:10px;
  734. display: inline-block;
  735. opacity: 0;
  736. cursor:pointer;
  737. transition:all 0.2s ease-in-out;
  738. transform: translateX(-10px);
  739. }
  740. #editor h1:hover .wiki-title-link,
  741. #editor h2:hover .wiki-title-link,
  742. #editor h3:hover .wiki-title-link,
  743. #editor h4:hover .wiki-title-link,
  744. #editor h5:hover .wiki-title-link,
  745. #editor h6:hover .wiki-title-link{
  746. opacity: 1;
  747. transform: rotate(0deg);
  748. }
  749. /* NIGHT MODE */
  750. .html.module-wiki.night-mode *::selection {
  751. color: #2f3136;
  752. background-color: #ffffff;
  753. }
  754. .html.module-wiki.night-mode {
  755. color: #7e8082;
  756. }
  757. .html.module-wiki.night-mode #sideMenu {
  758. color: #7e8082;
  759. background-color: #2f3136;
  760. transition: background-color 0.2s ease-in-out;
  761. }
  762. .html.module-wiki.night-mode #editor {
  763. color: #D0D0D0;
  764. background-color: #36393f;
  765. transition: background-color 0.2s ease-in-out;
  766. }
  767. .html.module-wiki.night-mode .wiki-logo{
  768. border: 1px solid #d0d0d0;
  769. }
  770. .html.module-wiki.night-mode .wiki-brand-user,
  771. .html.module-wiki.night-mode #wiki-categories h3 {
  772. color: #727983;
  773. }
  774. .html.module-wiki.night-mode .wiki_search_item input,
  775. .html.module-wiki.night-mode #page-label.show {
  776. background-color: #36393f;
  777. border-color: #d0d0d0;
  778. color: #d0d0d0;
  779. transition: all 0.2s ease-in-out;
  780. }
  781. .html.module-wiki.night-mode #page-label {
  782. background-color: #36393f;
  783. border-color: #36393f;
  784. color: #d0d0d0;
  785. transition: all 0.2s ease-in-out;
  786. }
  787. .html.module-wiki.night-mode .wiki-breadcrumb {
  788. color: #d0d0d0;
  789. transition: all 0.2s ease-in-out;
  790. }
  791. .html.module-wiki.night-mode .wiki-brand-firm,
  792. .html.module-wiki.night-mode #wiki-main-menu > ul > li:hover,
  793. .html.module-wiki.night-mode .wiki-add-category:hover,
  794. .html.module-wiki.night-mode .category-open,
  795. .html.module-wiki.night-mode .page-open,
  796. .html.module-wiki.night-mode .dropdown-icon-item,
  797. .html.module-wiki.night-mode .dropdown-item,
  798. .html.module-wiki.night-mode #wiki-summary li a {
  799. color: #d0d0d0;
  800. }
  801. .html.module-wiki.night-mode .dropdown-menu {
  802. background-color: #36393f;
  803. border-color: #616161;
  804. }
  805. .html.module-wiki.night-mode .dropdown-divider {
  806. border-color: #616161;
  807. }
  808. .html.module-wiki.night-mode #wiki-modal {
  809. color: #d0d0d0;
  810. background: #36393f;
  811. }
  812. .html.module-wiki.night-mode .dropdown-item:hover {
  813. background-color: #616161;
  814. }
  815. .html.module-wiki.night-mode .component-icon .dropdown-icon-item:focus,
  816. .html.module-wiki.night-mode .component-icon .dropdown-icon-item:active,
  817. .html.module-wiki.night-mode .component-icon .dropdown-icon-item:hover {
  818. color: #484848;
  819. background-color: #d6d6d6;
  820. border-radius: 3px;
  821. }
  822. .html.module-wiki.night-mode .icon-chooser button {
  823. color: #484848;
  824. background-color: #d6d6d6;
  825. border-color: #d6d6d6;
  826. }
  827. .html.module-wiki.night-mode .icon-chooser button:hover {
  828. color: #2e2e2e;
  829. background-color: #b0b0b0;
  830. border-color: #b0b0b0;
  831. }
  832. .html.module-wiki.night-mode .form-control:focus {
  833. border-color: #ced4da;
  834. }
  835. .html.module-wiki.night-mode .btn-primary,
  836. .html.module-wiki.night-mode .btn-success {
  837. color: #474747;
  838. background-color: #cecece;
  839. border-color: #cecece;
  840. }
  841. .html.module-wiki.night-mode .btn-primary:hover,
  842. .html.module-wiki.night-mode .btn-success:hover {
  843. color: #2e2e2e;
  844. background-color: #b0b0b0;
  845. border-color: #b0b0b0;
  846. }
  847. .html.module-wiki.night-mode .page-option-save:hover > i {
  848. color: hsl(125, 46%, 75%);
  849. }
  850. .html.module-wiki.night-mode #wiki-summary {
  851. background-color: #2f3136;
  852. color: #d0d0d0;
  853. }
  854. .html.module-wiki.night-mode #wiki-summary li {
  855. border-bottom: 1px solid #a5a5a5;
  856. }
  857. .html.module-wiki.night-mode #editor.edition .CodeMirror {
  858. background: #36393f;
  859. color: #d0d0d0;
  860. }
  861. .html.module-wiki.night-mode .CodeMirror-selectedtext {
  862. color: #36393f;
  863. }
  864. .html.module-wiki.night-mode .CodeMirror-cursor {
  865. border-left: 1px solid #efefef;
  866. }
  867. .html.module-wiki.night-mode .CodeMirror .CodeMirror-code .cm-comment {
  868. background: #2f3136;
  869. color: #e8e8e8;
  870. }
  871. .html.module-wiki.night-mode .editor-preview-side {
  872. background-color: #36393f;
  873. border: none;
  874. border-left: 1px solid #ddd;
  875. }
  876. .html.module-wiki.night-mode .wiki-page-content a,
  877. .html.module-wiki.night-mode .CodeMirror .CodeMirror-code .cm-link {
  878. color: #a18fff;
  879. }
  880. .html.module-wiki.night-mode .wiki-page-content pre code {
  881. color: #ffd969;
  882. }
  883. .html.module-wiki.night-mode .editor-preview-side pre {
  884. background: #2f3136;
  885. }
  886. .html.module-wiki.night-mode .editor-toolbar {
  887. opacity: 1;
  888. }
  889. .html.module-wiki.night-mode .editor-toolbar.fullscreen:before,
  890. .html.module-wiki.night-mode .editor-toolbar.fullscreen:after {
  891. width: 0;
  892. height: 0;
  893. }
  894. .html.module-wiki.night-mode .editor-toolbar,
  895. .html.module-wiki.night-mode .editor-toolbar.fullscreen {
  896. background: #36393f;
  897. }
  898. .html.module-wiki.night-mode .editor-toolbar a {
  899. color: #d0d0d0!important;
  900. }
  901. .html.module-wiki.night-mode .editor-toolbar a.active,
  902. .html.module-wiki.night-mode .editor-toolbar a:hover {
  903. background: #2f3136;
  904. border-color: #d0d0d0;
  905. }
  906. .html.module-wiki.night-mode input,
  907. .html.module-wiki.night-mode textarea,
  908. .html.module-wiki.night-mode *[contenteditable] {
  909. color: #d0d0d0;
  910. caret-color: #d0d0d0;
  911. }
  912. .html.module-wiki.night-mode hr {
  913. border-top: 1px solid rgba(255, 255, 255, 0.5);
  914. }
  915. /* FIN NIGHT MODE */
  916. #drag-overlay,
  917. #preloader-upload-container {
  918. position: fixed; /* Sit on top of the page content */
  919. display: none; /* Hidden by default */
  920. width: 100%; /* Full width (cover the whole page) */
  921. height: 100%; /* Full height (cover the whole page) */
  922. top: 0;
  923. left: 0;
  924. right: 0;
  925. bottom: 0;
  926. background-color: rgba(0,0,0,0.7); /* Black background with opacity */
  927. z-index: 10000; /* Specify a stack order in case you're using a different order for other elements */
  928. cursor: pointer; /* Add a pointer on hover */
  929. }
  930. #overlay-text,
  931. #preloader-upload-text {
  932. position: absolute;
  933. top: 50%;
  934. left: 50%;
  935. font-size: 30px;
  936. color: white;
  937. transform: translate(-50%,-50%);
  938. -ms-transform: translate(-50%,-50%);
  939. z-index: 10000;
  940. }
  941. #overlay-icon {
  942. position: absolute;
  943. top: 52%;
  944. left: 49%;
  945. font-size: 60px;
  946. font-weight: lighter;
  947. color: #F7D007FF;
  948. transform: translate(-49%,-52%);
  949. -ms-transform: translate(-49%,-52%);
  950. z-index: 10000;
  951. animation: floating 1.5s ease-in-out infinite;
  952. }
  953. @keyframes floating {
  954. from {transform: translate(0, 0px); }
  955. 50% {transform: translate(0, 15px); }
  956. to {transform: translate(0, -0px); }
  957. }