main.css 23 KB

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