main.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. #widgetModal *::-webkit-scrollbar {
  2. background-color: transparent;
  3. width: 9px;
  4. height: 9px;
  5. cursor: pointer;
  6. }
  7. #widgetModal *::-webkit-scrollbar-track {
  8. background-color: #ffffff2e;
  9. }
  10. #widgetModal *::-webkit-scrollbar-track:hover {
  11. }
  12. #widgetModal *::-webkit-scrollbar-thumb {
  13. background-color: #d2d2d2;
  14. border-radius: 16px;
  15. }
  16. #widgetModal *::-webkit-scrollbar-thumb:hover {
  17. background-color: #f4f4f4
  18. }
  19. #widgetModal *::-webkit-scrollbar-button {
  20. display:none
  21. }
  22. #widgetModal .modal-body{
  23. padding-top:0;
  24. }
  25. #report[data-id="0"] .edit-only{
  26. display: none;
  27. }
  28. #widgetModal {
  29. z-index: 10001;
  30. }
  31. .stats-widget-board{
  32. display: flex;
  33. flex: 1 1 auto;
  34. height: 100%;
  35. }
  36. .stats-element-panel {
  37. background-color: #313335;
  38. padding: 0 10px;
  39. height: 100%;
  40. width: 25%;
  41. }
  42. .stats-workspace-panel{
  43. height: 100%;
  44. flex-grow: 1;
  45. }
  46. .stats-report.new #filters{
  47. display:none;
  48. }
  49. .chart-title{
  50. margin: 5px;
  51. }
  52. .noData{
  53. display: block;
  54. width:100%;
  55. font-size: 30px;
  56. color:#bebebe;
  57. margin:15px;
  58. text-align: center;
  59. }
  60. .noData small{
  61. display: block;
  62. width:100%;
  63. font-size: 20px;
  64. color:#bebebe;
  65. margin:15px;
  66. text-align: center;
  67. }
  68. .prev-custom-treatment,
  69. .prev-custom-query {
  70. color: #d1d1d1;
  71. cursor: pointer;
  72. display: inline-block;
  73. border: 1px solid #d1d1d1;
  74. background: transparent;
  75. }
  76. .prev-custom-treatment:hover,
  77. .prev-custom-query:hover {
  78. border-color: #f3f3f3;
  79. color: #f3f3f3;
  80. }
  81. .chart-menu{
  82. padding:0;
  83. text-align: right;
  84. margin: 5px;
  85. }
  86. .chart-menu li{
  87. display: inline-block;
  88. cursor: pointer;
  89. color: #222222;
  90. list-style-type: none;
  91. padding: 5px;
  92. transition: all 0.15s ease-in-out;
  93. opacity: 0.5;
  94. }
  95. .chart-menu li:hover{
  96. opacity: 0.8;
  97. }
  98. .color-chooser{
  99. padding: .375rem;
  100. width: 38px;
  101. }
  102. .report-sheet-menu{
  103. padding: 0;
  104. margin: 0;
  105. }
  106. .report-sheet-menu li{
  107. display: inline-block;
  108. padding:10px;
  109. float: right;
  110. }
  111. .report .report-sheet-menu i{
  112. font-size: 14px;
  113. }
  114. .report-sheet-menu::after{
  115. content : ' ';
  116. display: block;
  117. clear: both;
  118. }
  119. .thead-inverse-blue th {
  120. color: #fff;
  121. background-color: #1d74ca;
  122. }
  123. .grid-stack > .grid-stack-item > .grid-stack-item-content{
  124. overflow-x: initial!important;
  125. /*overflow-y: initial!important;*/
  126. }
  127. .grid-stack > .grid-stack-item > .grid-stack-item-content > div.alert.alert-danger{
  128. cursor: pointer;
  129. }
  130. .report-title {
  131. text-align: center;
  132. }
  133. .report-title h5{
  134. display:inline;
  135. }
  136. .report-title i{
  137. margin-left: 10px;
  138. }
  139. .report > a{
  140. height: 165px;
  141. padding-top: 35px;
  142. text-transform: uppercase;
  143. color:#ffffff;
  144. font-weight: bold;
  145. display: block;
  146. text-decoration: none;
  147. }
  148. .report{
  149. background-color: #8bc34a;
  150. padding:0px 0px 10px 0px;
  151. width: 200px;
  152. height: 200px;
  153. text-align: center;
  154. color:#ffffff;
  155. /*font-size: 50px;*/
  156. display: block;
  157. margin:10px;
  158. cursor: pointer;
  159. opacity: 0.7;
  160. transition: all 0.15s ease-in-out;
  161. }
  162. .report:hover{
  163. opacity: 1;
  164. }
  165. .report i{
  166. display: block;
  167. font-size: 50px;
  168. color:#ffffff;
  169. }
  170. .report:hover {
  171. text-decoration: none;
  172. color:#ffffff;
  173. }
  174. .addReport,.importReport{
  175. padding-top: 60px;
  176. background-color: #c1c1c1;
  177. }
  178. .addReport i,.importReport i{
  179. font-size: 80px;
  180. }
  181. .statsCell{
  182. overflow: hidden;
  183. min-height: 100px;
  184. border-radius: 3px;
  185. text-align: center;
  186. padding: 15px;
  187. transition: all 0.15s ease-in-out;
  188. cursor: pointer;
  189. background: #ffffff;
  190. width: 100%;
  191. margin:15px 0;
  192. box-shadow: 0px 0px 2px rgba(0,0,0,0.3);
  193. }
  194. .statsCell.empty{
  195. background: #dedede;
  196. }
  197. #stats-query-tables > ul > li{
  198. list-style-type: none;
  199. cursor: pointer;
  200. }
  201. #stats-query-tables > ul > li > ul{
  202. list-style-type: none;
  203. padding-left:10px;
  204. }
  205. #stats-query-tables > ul > li > ul > li{
  206. padding: 2px 2px 2px 5px;
  207. font-size: 11px;
  208. }
  209. .statistic-configure .statsCell:hover{
  210. box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  211. }
  212. .statsCell .addData{
  213. margin:40px;
  214. font-size: 60px;
  215. color:#bebebe;
  216. display:none;
  217. opacity: 0.5;
  218. transition: opacity 0.15s ease-in-out;
  219. }
  220. .statsCell:hover .addData{
  221. opacity: 1;
  222. }
  223. .statsCell.empty .addData{
  224. display:block;
  225. }
  226. #widgetModal{
  227. color:#A0A0A0;
  228. padding-right: 0!important;
  229. }
  230. #widgetModal .form-control, #widgetModal .form-control-sm{
  231. background-color: #282828;
  232. border: 1px solid #201e1e;
  233. color: #5582af;
  234. }
  235. #widgetModal label{
  236. color: #A0A0A0;
  237. }
  238. #widgetModal .modal-dialog{
  239. max-width:100%;
  240. margin:0;
  241. height:100%;
  242. }
  243. #widgetModal .modal-content{
  244. border-radius: 0;
  245. height:100%;
  246. }
  247. #widgetModal .modal-body{
  248. padding-bottom:0;
  249. border-radius: none;
  250. }
  251. #widgetModal .modal-header{
  252. display: none;
  253. }
  254. #widgetModal .modal-footer{
  255. display:none;
  256. border:0;
  257. }
  258. #widgetModal .modal-body{
  259. background-color:#414141;
  260. }
  261. #widgetModal .tab-pane {
  262. padding: 15px;
  263. }
  264. #widgetTab .tab-pane{
  265. min-height: 675px;
  266. }
  267. #widget #workspace{
  268. background-color:#414141;
  269. height: 100%;
  270. width: 50%;
  271. max-height: 100%;
  272. padding-left: 0;
  273. padding-right: 0;
  274. }
  275. /** Gestion couleurs onglets module stats **/
  276. #widgetModal .nav.nav-tabs{
  277. border-bottom: 1px solid #414141;
  278. }
  279. #widgetModal ul.nav.nav-tabs > li.nav-item{
  280. }
  281. #widgetModal ul.nav.nav-tabs > li.nav-item > a.nav-link{
  282. border-top-left-radius: 2px;
  283. border-top-right-radius: 2px;
  284. color:#A0A0A0;
  285. background-color: #414141;
  286. transition: all .1s ease-in-out;
  287. }
  288. #widgetModal ul.nav.nav-tabs > li.nav-item > a.nav-link.active{
  289. border: 1px solid #414141;
  290. border-bottom: 1px solid #505050;
  291. }
  292. #widgetModal ul.nav.nav-tabs > li.nav-item > a.nav-link.active,
  293. #widgetModal ul.nav.nav-tabs > li.nav-item > a.nav-link:hover{
  294. background-color:#505050;
  295. color:#D1D1D1;
  296. }
  297. #widgetModal .nav-tabs .nav-link:focus,
  298. #widgetModal .nav-tabs .nav-link:hover {
  299. border-color: #414141;
  300. }
  301. /** Onglets couleur inversée **/
  302. #widgetModal ul.nav.nav-tabs.inverted{
  303. border-bottom: 1px solid #505050;
  304. }
  305. #widgetModal ul.nav.nav-tabs.inverted > li.nav-item > a.nav-link.active{
  306. border: 1px solid #505050;
  307. border-bottom: 1px solid #414141;
  308. }
  309. #widgetModal ul.nav.nav-tabs.inverted > li.nav-item > a.nav-link{
  310. background-color: #505050;
  311. }
  312. #widgetModal ul.nav.nav-tabs.inverted + .tab-content,
  313. #widgetModal ul.nav.nav-tabs.inverted > li.nav-item > a.nav-link.active,
  314. #widgetModal ul.nav.nav-tabs.inverted > li.nav-item > a.nav-link:hover{
  315. background-color:#414141;
  316. }
  317. #widgetModal .workspace > .query-area,
  318. #widgetModal .workspace > .tools-area {
  319. padding-right: 0
  320. }
  321. #widgetModal .nav-tabs.inverted .nav-link:focus,
  322. #widgetModal .nav-tabs.inverted .nav-link:hover {
  323. border-color: #505050;
  324. }
  325. #widgetModal .tools-area .tab-content > .tab-pane {
  326. height: 762px;
  327. padding-left: 0;
  328. overflow-x: auto;
  329. }
  330. .module-statistic #workspace #save-overlay {
  331. cursor: pointer;
  332. width: 100%;
  333. height: 100%;
  334. text-align: center;
  335. background: #ffffff6e;
  336. position: absolute;
  337. z-index: 5;
  338. }
  339. .module-statistic #workspace #save-overlay > i {
  340. z-index: 10;
  341. color: #fff;
  342. position: absolute;
  343. transform: translateY(-50%);
  344. top: 50%;
  345. }
  346. #editorOutput {
  347. font-size: 0.9em;
  348. }
  349. #output-panel pre,
  350. #editorOutput pre,
  351. #output pre,
  352. #preview-panel pre,
  353. #widgetTabContent,
  354. #widgetModal .widget-btn:hover{
  355. background-color:#505050;
  356. color:#D1D1D1;
  357. }
  358. #server-status code.error-code,
  359. #output-panel code.error-code,
  360. #editorOutput code.error-code,
  361. #output code.error-code,
  362. #preview-panel code.error-code{
  363. display: block;
  364. width: 100%;
  365. margin: auto;
  366. font-size: 14px;
  367. color: #ff808c;
  368. background-color: #222;
  369. padding: 10px;
  370. border-radius: 3px;
  371. text-align: center;
  372. }
  373. #widgetModal .error-trace{
  374. display: none;
  375. }
  376. #widgetModal[data-isadmin="0"] .error-trace{
  377. display: block;
  378. }
  379. #server-status code.success-code,
  380. #output-panel code.success-code,
  381. #editorOutput code.success-code,
  382. #output code.success-code,
  383. #preview-panel code.success-code{
  384. color: #6bcf6b;
  385. }
  386. #edit-panel hr {
  387. margin: 0.375rem 0;
  388. }
  389. #widgetCloseBtn{
  390. margin-top: -50px;
  391. }
  392. #widgetModal .widget-btn{
  393. transition: all 0.15s ease-in-out;
  394. cursor:pointer;
  395. color:#A0A0A0;
  396. text-shadow:none;
  397. padding: 5px 10px;
  398. opacity: inherit;
  399. text-align: center;
  400. border-radius: 2px;
  401. }
  402. #widgetModal .widget-btn-sm{
  403. padding:2px 4px 2px 4px;
  404. font-size:11px;
  405. }
  406. #widgetModal th .widget-btn-sm{
  407. margin-top: 10px;
  408. }
  409. .widget-tree{
  410. margin:10px 0 0 0;
  411. font-size:13px;
  412. }
  413. #view.stats-widget-element i{
  414. font-size: 2rem;
  415. }
  416. ul#view.stats-widget-element {
  417. text-align: center;
  418. }
  419. ul#view.stats-widget-element li {
  420. cursor: pointer;
  421. width: 80px;
  422. height: 80px;
  423. line-height: 80px;
  424. margin: 0 1px 5px 0;
  425. transition: all 0.15s ease-in-out;
  426. background-color: #282828;
  427. padding: 0.3em;
  428. text-align: center;
  429. display: inline-block;
  430. }
  431. .widget-tree .view-block h5{
  432. text-align: center;
  433. }
  434. .widget-tree .view-block{
  435. padding:10px 0 10px 0;
  436. margin:-10px;
  437. background-color:rgba(73, 73, 73, 0.5);
  438. }
  439. #widgetTabContent{
  440. height: 100%;
  441. }
  442. .table-tree{
  443. font-size:13px;
  444. }
  445. .widget-tree i:not(.no-margin), .table-tree i{
  446. margin: 0 5px 0 0;
  447. }
  448. #widgetProperties{
  449. cursor:pointer;
  450. display:inline;
  451. }
  452. #widgetProperties:hover{
  453. color:#D1D1D1;
  454. transition: color 0.1s ease-in-out;
  455. }
  456. #widgetProperties:hover:after{
  457. font-family: "Font Awesome 5 Free";
  458. font-weight: 900;
  459. content: "\f013";
  460. font-size: 13px;
  461. margin-left: 5px;
  462. }
  463. #widgetModal #elements tbody tr{
  464. cursor: pointer;
  465. }
  466. .stats-widget-element input{
  467. width: 100%;
  468. }
  469. .stats-widget-element select{
  470. font-size:13px;
  471. width:100px;
  472. }
  473. .stats-widget-element #label{
  474. height: 31px;
  475. }
  476. .stats-widget-element tbody td:first-child{
  477. white-space: nowrap;
  478. text-overflow: ellipsis;
  479. width: auto;
  480. overflow: hidden;
  481. display: block;
  482. }
  483. #widgetModal .stats-widget-element tr.active,
  484. #widgetModal .stats-widget-element tbody tr:hover{
  485. background-color: #505050;
  486. color:#D1D1D1;
  487. }
  488. #widgetModal .stats-widget-element,
  489. #widgetModal .stats-widget-element > thead,
  490. #widgetModal .stats-widget-element td,
  491. #widgetModal .stats-widget-element tr,
  492. #widgetModal .stats-widget-element th {
  493. border:0;
  494. }
  495. #widgetModal .stats-widget-element tr{
  496. transition: background 0.15s ease-in-out;
  497. }
  498. #widgetModal .stats-widget-element td,
  499. #widgetModal .stats-widget-element th {
  500. padding: 0.25em;
  501. font-weight: normal;
  502. vertical-align: middle;
  503. color: #A0A0A0;
  504. }
  505. ul.stats-widget-element{
  506. list-style-type: none;
  507. margin: 0;
  508. padding: 0;
  509. }
  510. ul.stats-widget-element li.table-tree{
  511. background-color: #505050;
  512. }
  513. ul.stats-widget-element li{
  514. cursor: pointer;
  515. transition: all 0.15s ease-in-out;
  516. background-color: #414141;
  517. padding: 0.3em;
  518. }
  519. ul.stats-widget-element li p{
  520. margin:0;
  521. padding:0;
  522. }
  523. ul.stats-widget-element li.table-tree:hover{
  524. background-color: #747474;
  525. color:#FFF;
  526. }
  527. ul.stats-widget-element li:hover{
  528. background-color: #505050;
  529. color:#D1D1D1;
  530. }
  531. ul.stats-widget-element li.selected {
  532. background-color: #007bff!important;
  533. color:#ffffff;
  534. }
  535. #preview-panel{
  536. overflow: auto;
  537. }
  538. #preview-panel table{
  539. background-color:#FFF;
  540. color:#000;
  541. }
  542. /*
  543. .CodeMirror-gutter-elt {left: -29px !important}
  544. */
  545. .widgetBlock .grid-stack-item-content{
  546. background:#dedede;
  547. transition: all 0.15s ease-in-out;
  548. border: 1px solid transparent;
  549. }
  550. .statistic-configure .widgetBlock .grid-stack-item-content.active,.statistic-configure .widgetBlock .grid-stack-item-content.active:hover{
  551. box-shadow: 0px 0px 10px orange;
  552. -webkit-box-shadow: 0px 0px 10px orange;
  553. -moz-box-shadow: 0px 0px 10px orange;
  554. }
  555. #report.statistic-configure .ui-icon-gripsmall-diagonal-se{
  556. display: inline-block;
  557. }
  558. .statistic-configure .grid-stack-item-content:hover{
  559. box-shadow: 0px 0px 10px #cecece;
  560. }
  561. .widgetBlock .dataTables_wrapper {
  562. padding: 0 1rem;
  563. }
  564. .widgetBlock .widgetMenu{
  565. margin:-30px 0 0 0;
  566. padding:0;
  567. font-size: 40px;
  568. color:#ffffff;
  569. list-style-type: none;
  570. width: 100%;
  571. text-align: center;
  572. position:absolute;
  573. top:50%;
  574. left:0;
  575. }
  576. .widgetBlock .widgetMenu li{
  577. /*margin:30% 0 0 0;*/
  578. opacity: 0.3;
  579. cursor: pointer;
  580. color:#bfbfbf;
  581. display: inline-block;
  582. transition: all 0.15s ease-in-out;
  583. }
  584. .widgetBlock .widgetMenu li:hover{
  585. color:#cecece;
  586. opacity: 0.8;
  587. }
  588. .module-statistic.section-report .CodeMirror {
  589. padding: 0;
  590. }
  591. .outPreview{
  592. max-height: 150px;
  593. }
  594. #connection{
  595. margin-left:5px;
  596. }
  597. #database-add{
  598. margin-left:5px;
  599. cursor:pointer;
  600. color:#D1D1D1;
  601. }
  602. #database-add:before{
  603. font-family: "Font Awesome 5 Free";
  604. font-weight: 900;
  605. content: "\f067";
  606. font-size:13px;
  607. margin-left:4px;
  608. }
  609. #database-add:hover{
  610. color:#F3F3F3;
  611. }
  612. .table.dataTable.no-footer{
  613. border:0;
  614. }
  615. #statsTabContent #label{
  616. border-radius:0;
  617. width:400px;
  618. }
  619. #statsTabContent #filterTable{
  620. background: #ffffff;
  621. }
  622. #statsTabContent #filterTable tbody tr{
  623. cursor:move;
  624. }
  625. .widgetBlock-print{
  626. position:inherit!important;
  627. width:100%!important;
  628. display: block!important;
  629. }
  630. .widgetBlock-print .grid-stack>.grid-stack-item>.grid-stack-item-content{
  631. overflow: inherit!important;
  632. width:100%!important;
  633. }
  634. .stats-widget-element code {
  635. padding: 0 3px;
  636. font-size: 80%;
  637. color: #509cd7;
  638. background-color: #333;
  639. border-radius: 3px;
  640. }
  641. @media (min-width: 1541px){
  642. #stats-query-tables {
  643. height: 720px;
  644. overflow-y: auto;
  645. overflow-x: hidden;
  646. }
  647. }
  648. @media (max-width: 1540px){
  649. #stats-query-tables {
  650. height: 550px;
  651. overflow-y: auto;
  652. overflow-x: hidden;
  653. }
  654. }
  655. /* PRINT MODE */
  656. @media print{
  657. .container-fluid{
  658. padding-top: 0px;
  659. }
  660. .filter-form label{
  661. font-size:11px;
  662. font-weight: bold;
  663. }
  664. .filter-form input{
  665. border: 0;
  666. padding: 0px;
  667. margin:0;
  668. font-size:11px;
  669. }
  670. .filter-form .col-xl-2{
  671. flex: 0 0 16.666667%;
  672. max-width: 16.666667%;
  673. }
  674. }