main.css 23 KB

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