2
0

style.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  1. @import url('../../../../templates/css/fonts/inter.css');
  2. :root {
  3. --theme-color: #549c89;
  4. --first-row-left-position: 73px;
  5. --second-row-left-position: 132px;
  6. --gap-btween-btn: 60px;
  7. --start-bottom-position: 5px;
  8. --error-color: red;
  9. --info-color: rgb(38, 38, 256);
  10. --sucess-color: rgb(11, 88, 28);
  11. }
  12. /*
  13. Pour positionner facilement les boutons faites :
  14. bottom: calc(var(--start-bottom-position) + (positionDuButton * var(--gap-btween-btn))) ;
  15. Le bouton le plus bas commence à 1 plus c'est haut c'est élevé
  16. */
  17. /*
  18. # Z-indexer :
  19. Maximum (loader) -> 10000
  20. .nseBgModal -> 9999
  21. #cropper-modal -> 3000
  22. #modalNseVideoBackground, #modalNseBackground -> 2200
  23. .fred .fred--launcher_center -> 2100
  24. #sidebarNewSiteEditor -> 2000
  25. #btnTranslate -> 1400
  26. .defaultNseButton -> 1300
  27. #editImageBtn -> 1200
  28. #btnTranslatePage -> 1100
  29. .bgModal -> 210
  30. .btnDelete -> 200
  31. Minimum (Navbar) -> 100
  32. */
  33. .fred .fred--launcher_center {
  34. position: fixed;
  35. width: 100%;
  36. z-index: 2100;
  37. display: inline-block;
  38. display: flex;
  39. justify-content: center;
  40. bottom: 3vh;
  41. }
  42. .fred .fred--launcher_btn {
  43. border-radius: 50%;
  44. border: none;
  45. background: #b1b1b1 50% no-repeat;
  46. background-size: 60%;
  47. padding: 0;
  48. height: 48px;
  49. width: 48px;
  50. box-shadow: 0 4px 8px rgba(39,39,39,.34);
  51. transition: .3s;
  52. }
  53. .fred .fred--launcher_btn:hover {
  54. transform: scale(1.05)
  55. }
  56. .fred .fred--launcher_btn i {
  57. color: white;
  58. font-size: 28px;
  59. }
  60. .fred .fred--launcher_btn_manager {
  61. background-color: var(--theme-color);
  62. background-image: url("../images/860814.png");
  63. position: absolute;
  64. bottom: calc(var(--start-bottom-position) + (3 * var(--gap-btween-btn))) ;
  65. left: var(--second-row-left-position);
  66. visibility : hidden;
  67. }/*visibility : hidden;*/
  68. /* Pour le bouton manager si message dans le bouton
  69. border-radius: 11px;
  70. height: 48px;
  71. width: 210px;
  72. color: white;
  73. font-size: 1.5vh;
  74. */
  75. .fred .fred--launcher_btn_help {
  76. background-color: var(--theme-color);
  77. /* background-image: url(../images/symbole-de-l-oeil-noir.png); */
  78. position: absolute;
  79. bottom: calc(var(--start-bottom-position) + (0 * var(--gap-btween-btn)));
  80. left: var(--second-row-left-position);
  81. }
  82. .fred .fred--launcher_btn_undo {
  83. background-color: #ed673e;
  84. background-image: url("../images/back1.png");
  85. position: absolute;
  86. bottom: calc(var(--start-bottom-position) + (1 * var(--gap-btween-btn)));
  87. left: var(--first-row-left-position);
  88. }
  89. .fred .fred--launcher_btn_remove {
  90. background-color: #FF0000;
  91. position: absolute;
  92. left: var(--first-row-left-position);
  93. bottom: var(--start-bottom-position);
  94. display: flex;
  95. align-items: center;
  96. justify-content: center;
  97. }
  98. .fred .fred--launcher_btn_translate {
  99. background-color: var(--theme-color);
  100. background-image: url("../images/translate.svg");
  101. position: absolute;
  102. left: var(--second-row-left-position);
  103. bottom: calc(var(--start-bottom-position) + (2 * var(--gap-btween-btn)));
  104. }
  105. .fred .fred--launcher_btn_redo {
  106. background-color: #0132b5;
  107. background-image: url("../images/back2.png");
  108. position: absolute;
  109. bottom: calc(var(--start-bottom-position) + (1 * var(--gap-btween-btn))) ;
  110. left: var(--second-row-left-position);
  111. }
  112. .fred .fred--launcher_btn_view {
  113. background-color: var(--theme-color);
  114. background-image: url("../images/symbole-de-l-oeil-noir.png");
  115. position: absolute;
  116. bottom: calc(var(--start-bottom-position) + (3 * var(--gap-btween-btn))) ;
  117. left: var(--first-row-left-position);
  118. }
  119. .fred .fred--launcher_btn_edit {
  120. background-color: var(--theme-color);
  121. background-image: url("../images/650143.png");
  122. position: absolute;
  123. bottom: 5px;
  124. }
  125. .fred .fred--launcher_btn_sidebarToggle {
  126. position: absolute;
  127. bottom: calc(var(--start-bottom-position) + (2 * var(--gap-btween-btn))) ;
  128. left: var(--first-row-left-position);
  129. background-image: url("../images/Settings-icon-symbol-vector.png");
  130. background-color : grey;
  131. }
  132. .fred .fred--launcher_btn_customerManagerPage {
  133. position: absolute;
  134. bottom: calc(var(--start-bottom-position) + (2 * var(--gap-btween-btn))) ;
  135. left: var(--first-row-left-position);
  136. background-image: url("../images/Settings-icon-symbol-vector.png");
  137. background-color : grey;
  138. }
  139. /*.selected{
  140. box-shadow: 3px 6px 50px rgb(171 168 168 / 29%) !important;
  141. border: 1mm solid #d8e6ef !important;
  142. }*/
  143. .selected{
  144. box-shadow: 1px 2px 30px #b8c6ce !important;
  145. }
  146. #wrapper {
  147. /*display: flex;*/
  148. width: 100%;
  149. }
  150. #sidebarNewSiteEditor {
  151. position: fixed;
  152. width: 250px;
  153. /*background-image: linear-gradient(to right, #3f4850 0%, #365462 46%, #3e5554 60%, #42554d 68%, #573d4e 100%);*/
  154. height : 100vh;
  155. z-index: 2000;
  156. background-image: linear-gradient(to right, #3f4850 10%, #365462 100%);
  157. box-shadow: 0 2px 0 #e4e4e4;
  158. }
  159. #body{
  160. position: absolute;
  161. right: 0;
  162. width: calc(100% - 250px);
  163. }
  164. /*
  165. #topmenu {
  166. position: absolute;
  167. right: 0;
  168. }
  169. */
  170. .no-sidebar #sidebarNewSiteEditor {
  171. display: none;
  172. }
  173. .no-sidebar #body{
  174. width: 100%;
  175. }
  176. /*
  177. .no-sidebar #topmenu{
  178. width: 100%;
  179. } */
  180. #noResourceSelected{
  181. margin-top: 30vh;
  182. text-align: center;
  183. }
  184. #noResourceSelected p{
  185. color: white;
  186. font-family: "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif;
  187. }
  188. /*
  189. #noResource{
  190. margin-top: 30vh;
  191. text-align: center;
  192. font-size: 37px;
  193. font-weight: bold;
  194. color: white;
  195. }*/
  196. #resourceName{
  197. color: white;
  198. overflow: hidden;
  199. text-align: center;
  200. margin-top: 6vh;
  201. font: normal 24px "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif;
  202. }
  203. /*
  204. .listeDeroulante{
  205. margin-left: 1vh;
  206. }
  207. */
  208. .parametre{
  209. padding: 12px;
  210. font-size: 2vh;
  211. margin-top: 4vh;
  212. }
  213. .labelInput{
  214. color:white;
  215. font: 16px "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif
  216. }
  217. .inputBox {
  218. background-color: #FBFBFB;
  219. background-image: none;
  220. border-radius: 3px;
  221. border: 1px solid #E4E4E4;
  222. position: relative;
  223. transition: border-color 0.25s;
  224. font: 16px "Helvetica Neue", Helvetica, Arial, Tahoma, sans-serif
  225. }
  226. label[for="paddingTop"],[for="paddingBottom"]{
  227. width:100%;
  228. }
  229. /* newFileEditor */
  230. .defaultNseButton, .uppy-StatusBar-actionBtn--upload {
  231. padding: .375rem .75rem;
  232. border-radius: .25rem !important;
  233. background-color: var(--theme-color);
  234. color: white;
  235. cursor: pointer;
  236. }
  237. .defaultNseButton.visible {
  238. background-color: white !important;
  239. color: black !important;
  240. box-shadow: 0px 10px 61px -3px rgba(0, 0, 0, 0.685);
  241. }
  242. .defaultNseButton.closed {
  243. background: #ed673e !important;
  244. }
  245. .close {
  246. position: absolute;
  247. top: 20px;
  248. right: 24px;
  249. width: 40px;
  250. padding: 0.5rem;
  251. transition: 0.3s background;
  252. height: 40px;
  253. border-radius: 4px;
  254. }
  255. .close:hover {
  256. background: #f5f5f5;
  257. }
  258. .defaultNseButton:disabled {
  259. background: #EBEBE4 !important;
  260. cursor: not-allowed;
  261. }
  262. .defaultNseButton[data-movable] {
  263. position: absolute;
  264. z-index: 1300;
  265. }
  266. .defaultNseButton.upload {
  267. background: #ececec;
  268. border: 1px solid #cdcdcd;
  269. color: black;
  270. transition: 0.3s background;
  271. }
  272. .defaultNseButton.upload:hover {
  273. background: #d2d2d2;
  274. }
  275. #modalNse #uppy .uppy-u-reset .uppy-Dashboard-Item-action--remove {
  276. visibility: hidden !important;
  277. }
  278. #modalNseVideoBackground, #modalNseBackground {
  279. display: none;
  280. position: fixed;
  281. left: 0;
  282. top: 0;
  283. height: 100vh;
  284. width: 100%;
  285. z-index: 2200;
  286. background-color: rgba(0, 0, 0, 0.247);
  287. justify-content: center;
  288. align-items: center;
  289. cursor: pointer;
  290. }
  291. #modalPosterNse, #modalVideoNse, #modalNse {
  292. font-family: "Inter", 'Arial Narrow Bold', sans-serif;
  293. background-color: rgb(255, 255, 255);
  294. border-radius: 10px;
  295. box-shadow: rgba(0, 0, 0, 0.068) 0px 7px 29px 0px;
  296. cursor: default;
  297. padding: 1.5rem;
  298. margin: 0 20px;
  299. position: relative;
  300. & h1 {
  301. font-size: 20px;
  302. font-weight: bold;
  303. margin-bottom: 1rem;
  304. }
  305. & .modalButtonContainer {
  306. display: flex;
  307. margin-top: 5px;
  308. justify-content: space-between;
  309. }
  310. & .modalFlex {
  311. display: flex;
  312. flex-direction: column;
  313. margin-bottom: 1rem;
  314. & .row {
  315. display: flex;
  316. flex-direction: row;
  317. align-items: center;
  318. }
  319. & label {
  320. font-size: 14px;
  321. color: #272b33;
  322. margin-bottom: 0.5rem;
  323. }
  324. & input {
  325. height: 40px;
  326. padding: 0.5rem;
  327. padding-inline: 10px 20px;
  328. outline: 1px solid #d1d5dc;
  329. border-radius: 0.25rem;
  330. font-size: 0.95rem;
  331. color: #101828;
  332. width: 100%;
  333. }
  334. & :has(button) {
  335. input {
  336. margin-right: 20px;
  337. }
  338. }
  339. }
  340. }
  341. #modalNse i {
  342. font-size: 10px;
  343. }
  344. #modalVideoNse {
  345. display: none;
  346. }
  347. .previewCenter {
  348. display: flex;
  349. justify-content: center;
  350. margin-top: 0.5rem;
  351. margin-bottom: 1rem;
  352. }
  353. .preview {
  354. aspect-ratio: 16 / 9;
  355. max-width: 400px;
  356. border-radius: 0.25rem;
  357. object-fit: cover;
  358. }
  359. #cropper-modal {
  360. display: none;
  361. position: fixed;
  362. top: 0; left: 0; right: 0; bottom: 0;
  363. background: rgba(0, 0, 0, 0.7);
  364. justify-content: center;
  365. align-items: center;
  366. z-index: 3000;
  367. }
  368. #cropper-modal.active {
  369. display: flex;
  370. }
  371. #cropper-container {
  372. background: white;
  373. padding: 20px;
  374. border-radius: 8px;
  375. max-width: 90%;
  376. max-height: 890px;
  377. overflow: auto;
  378. }
  379. #cropper-container img {
  380. max-width: 100%;
  381. height: auto;
  382. width: 400px;
  383. }
  384. #cropper-actions {
  385. margin-top: 10px;
  386. text-align: right;
  387. display: flex;
  388. justify-content: space-between;
  389. }
  390. .imageeditor {
  391. transition: 300ms ease-in-out;
  392. }
  393. .imageeditor.selected-img{
  394. filter: saturate(250%);
  395. box-sizing: border-box;
  396. }
  397. #editImageBtn {
  398. display: none;
  399. position: absolute;
  400. z-index: 1200;
  401. }
  402. #videoEditorButton {
  403. display: none;
  404. }
  405. .deletable, .inDelete {
  406. background: #ffa6aa !important;
  407. outline: 4px dashed #ff4751 !important;
  408. }
  409. .btnDelete {
  410. z-index: 200;
  411. position: absolute;
  412. }
  413. .bgModal {
  414. position: fixed;
  415. width: 100vw;
  416. height: 100vh;
  417. background: #00000078;
  418. top: 0;
  419. left: 0;
  420. display: flex;
  421. justify-content: center;
  422. align-items: center;
  423. z-index: 210;
  424. cursor: pointer;
  425. }
  426. .bgModal .customModal {
  427. background: white;
  428. border-radius: 10px;
  429. padding: 1rem;
  430. cursor: default;
  431. }
  432. .bgModal .customModal h1.modalTitle {
  433. font-size: 20px;
  434. font-weight: bold;
  435. margin-bottom: 0.8rem;
  436. }
  437. .bgModal .customModal p.modalText {
  438. color: #525252;
  439. margin-bottom: 0.4rem;
  440. }
  441. .bgModal .customModal .modal-flex {
  442. display: flex;
  443. justify-content: space-between;
  444. align-items: center;
  445. }
  446. .bgModal .customModal p.modalDanger {
  447. color: red;
  448. font-weight: 700;
  449. margin-bottom: 1.2rem;
  450. }
  451. [data-deleteid].deletable {
  452. cursor: pointer;
  453. }
  454. #btnTranslatePage {
  455. position: fixed;
  456. bottom: 50px;
  457. right: 110px;
  458. z-index: 1100;
  459. transition: transform 0.2s ease;
  460. }
  461. #btnTranslatePage:hover {
  462. transform: scale(1.05);
  463. }
  464. /* newSiteEditor v1.1.0 */
  465. .nseBgModal {
  466. display: none;
  467. background: rgba(0, 0, 0, 0.452);
  468. position: fixed;
  469. top: 0;
  470. left: 0;
  471. width: 100vw;
  472. height: 100vh;
  473. z-index: 9999;
  474. cursor: pointer;
  475. }
  476. .nseBgModal.open {
  477. display: flex;
  478. justify-content: center;
  479. align-items: center;
  480. }
  481. .nseBgModal .nseModal {
  482. position: relative;
  483. padding: 1.2rem;
  484. background: white;
  485. border-radius: 1rem;
  486. box-shadow: 0 0px 22px rgb(0 0 0 / 2%);
  487. cursor: default;
  488. }
  489. .nseModal .nseHeader {
  490. }
  491. .nseModal .nseHeader .alert#default {
  492. display: none;
  493. }
  494. .nseModal .modalFlex {
  495. display: flex;
  496. }
  497. .nseModal .modalFlex.row {
  498. align-items: center;
  499. gap: 1.5rem;
  500. }
  501. .nseModal .nseModalContent h1 {
  502. font-size: 1.5rem;
  503. font-weight: 600;
  504. margin-block-start: 0;
  505. margin-block-end: 1rem;
  506. }
  507. .nseModal .nseModalContent .nseInput {
  508. height: 40px;
  509. padding: 0.5rem;
  510. padding-inline: 10px 20px;
  511. outline: 1px solid #d1d5dc;
  512. border-radius: 0.25rem;
  513. font-size: 0.95rem;
  514. color: #101828;
  515. width: 100%;
  516. }
  517. .nseModal .nseModalContent .alert,
  518. .nseModal .nseHeader .alert {
  519. padding: 1rem;
  520. margin-block: 0.75rem;
  521. border-radius: 0.4rem;
  522. display: flex;
  523. gap: 0.5rem;
  524. }
  525. .nseModal .nseModalContent .alert .loader,
  526. .nseModal .nseHeader .alert .loader {
  527. width: 48px;
  528. height: 48px;
  529. border-radius: 50%;
  530. display: inline-block;
  531. border-top: 3px solid #FFF;
  532. border-right: 3px solid transparent;
  533. box-sizing: border-box;
  534. animation: rotation 1s linear infinite;
  535. }
  536. @keyframes rotation {
  537. 0% {
  538. transform: rotate(0deg);
  539. }
  540. 100% {
  541. transform: rotate(360deg);
  542. }
  543. }
  544. .nseModal .nseModalContent .alert.danger,
  545. .nseModal .nseHeader .alert.danger {
  546. background: rgb(255, 180, 180);
  547. color: var(--error-color);
  548. }
  549. .nseModal .nseModalContent .alert.info,
  550. .nseModal .nseHeader .alert.info {
  551. background: rgb(180, 185, 255);
  552. color: var(--info-color);
  553. }
  554. .nseModal .nseModalContent .alert.success,
  555. .nseModal .nseHeader .alert.success {
  556. background: rgb(125, 255, 131);
  557. color: var(--sucess-color);
  558. }
  559. .nseModal .nseModalFooter {
  560. border-top: 1px solid rgb(184, 184, 184);
  561. }
  562. .nseModal .nseModalFooter .nseModalFooterItem {
  563. padding-block-start: 10px;
  564. }
  565. .uppy-DashboardContent-panelBody {
  566. overflow:auto;
  567. }
  568. .nseButton, .uppy-DashboardContent-save {
  569. padding: .375rem .75rem;
  570. border-radius: .25rem !important;
  571. background: var(--theme-color);
  572. border: none;
  573. color: white;
  574. cursor: pointer;
  575. }
  576. .nseButton:disabled {
  577. background: #889593;
  578. cursor: not-allowed;
  579. }
  580. .nseButton.rounded {
  581. padding: .75em .95rem;
  582. border-radius: 999999px !important;
  583. }
  584. .nseButton.danger {
  585. background: var(--error-color);
  586. color: white;
  587. }
  588. .nseButton.info {
  589. background: var(--info-color);
  590. color: white;
  591. }
  592. #btnTranslate {
  593. z-index: 1400;
  594. }
  595. .nseFlex {
  596. display: flex;
  597. justify-content: space-between;
  598. gap: 1rem;
  599. }
  600. .nseButton.secondary {
  601. background: #ececec;
  602. border: 1px solid #cdcdcd;
  603. color: black;
  604. }
  605. .nseModal .closeBtn {
  606. --size: 2rem;
  607. border: none;
  608. position: absolute;
  609. top: 1rem;
  610. right: 1rem;
  611. padding: 0.5rem;
  612. width: var(--size);
  613. height: var(--size);
  614. cursor: pointer;
  615. border-radius: 0.2rem;
  616. display: flex;
  617. justify-content: center;
  618. align-items: center;
  619. }
  620. .nseModal .classicPadding {
  621. padding: 1rem;
  622. }
  623. .nseModal .classicFlexing {
  624. display: flex;
  625. flex-direction: column;
  626. gap: 0.4rem;
  627. }
  628. .nseModal .nseModalContent .grid-section {
  629. display: grid;
  630. grid-template-columns: 1fr 1fr 1fr 1fr;
  631. gap: 0.4rem;
  632. }
  633. .nseModal .nseModalContent .grid-section .checkbox, .nseModal .nseModalContent .checkbox {
  634. display: flex;
  635. gap: 0.5rem;
  636. }
  637. .clicked, .veryclicked {
  638. outline: var(--info-color) 5px solid !important;
  639. position: relative;
  640. }
  641. .clicked::after, .veryclicked::after {
  642. content: '';
  643. position: absolute;
  644. top: 0; left: 0;
  645. width: 100%;
  646. height: 100%;
  647. background: rgb(180, 185, 255);
  648. opacity: 0.4;
  649. pointer-events: none;
  650. }
  651. [data-newmanager="false"] .clicked, [data-newmanager="false"] .veryclicked {
  652. outline: 0px solid !important;
  653. }
  654. [data-newmanager="false"] .clicked::after, [data-newmanager="false"] .veryclicked::after {
  655. display: none;
  656. }
  657. .buttonTranslate:disabled {
  658. background: #889593 !important;
  659. cursor: not-allowed;
  660. border: 1px solid #889593;
  661. }