main.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /** IMPORT **/
  2. /* Conteneur principal du plugin Import */
  3. .plugin-import{
  4. list-style-type: none;
  5. margin:0;
  6. padding:0;
  7. }
  8. .plugin-import #imports {}
  9. /* formulaire d'édition de import */
  10. .plugin-import .import-form {}
  11. #import-form[data-id=""] .update-only{
  12. display: none;
  13. }
  14. .plugin-import[data-mode='execute'] .configure-only{
  15. display: none;
  16. }
  17. .plugin-import[data-mode='configure'] .execute-only{
  18. display: none;
  19. }
  20. .plugin-import .import-label-column{
  21. max-width: 100px;
  22. }
  23. .import-excel-table-container{
  24. overflow: auto;
  25. }
  26. .import-excel-table{
  27. width: 100%;
  28. }
  29. .import-excel-table .title-head{
  30. background : #217346;
  31. text-align: center;
  32. color: #ffffff;
  33. }
  34. .import-excel-table .column-head,.import-excel-table tbody th{
  35. background : #e6e6e6;
  36. }
  37. .import-excel-table .column-head th,
  38. .import-excel-table tbody th{
  39. border: 1px solid #9b9b9b;
  40. font-weight: normal;
  41. padding: 5px;
  42. }
  43. .import-excel-table .column-head th:nth-child(1){
  44. width: 30px;
  45. text-align: center;
  46. }
  47. .import-excel-table tbody th:nth-child(1){
  48. text-align: center;
  49. }
  50. .import-excel-table tbody td{
  51. border: 1px solid #d4d4d4;
  52. padding: 5px;
  53. }
  54. .import-stats-list{
  55. margin: 0;
  56. padding: 0;
  57. }
  58. .import-stats-list li{
  59. display: inline-block;
  60. padding: 10px;
  61. background: white;
  62. list-style-type: none;
  63. }
  64. .import-stats-list li span{
  65. font-weight: bold;
  66. }
  67. .import-stats-list li[data-slug="error"] i:before{
  68. content: '\f071';
  69. color: #dc3545;
  70. }
  71. .import-stats-list li[data-slug="total"] i:before{
  72. content: '\f0cb';
  73. color: #495057;
  74. }
  75. .import-stats-list li[data-slug="imported"] i:before{
  76. content: '\f46c';
  77. color: #65a728;
  78. }
  79. .import-stats-list li[data-slug="skip"] i:before{
  80. content: '\f04e';
  81. color: #ffa100;
  82. }
  83. .import-stats-list li[data-slug="erase"] i:before{
  84. content: '\f12d';
  85. color: #ffa100;
  86. }
  87. .import-excel-table tr td.state-skip{
  88. background-color: #ffdca0;
  89. }
  90. .import-excel-table tr td.state-erase{
  91. background-color: #ffdca0;
  92. }
  93. .import-excel-table tr td.state-error{
  94. background-color: #ffa0a0;
  95. }
  96. .plugin-import .excelColumn{
  97. max-width: 100%;
  98. }