You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

208 lines
9.1KB

  1. /* STRUCTURE */
  2. body{font-size: 0.9rem;}
  3. [class*="sidebar-dark-"] .nav-sidebar > .nav-item.menu-open , [class*="sidebar-dark-"] .nav-sidebar > .nav-item:hover {background:rgba(255,255,255,.1); }
  4. .main-sidebar .logo-long{padding: 8px 0; text-align: center;}
  5. .main-sidebar .logo-long img{height: 40px; display: inline-block;}
  6. .sidebar-collapse .main-sidebar .logo-long span{display: none;}
  7. .sidebar-collapse .main-sidebar:hover .logo-long span{display: inline-block;}
  8. .table.datatable-simple .highlight{background: var(--teal);}
  9. .datatable-field-search.small{width: 50px;}
  10. .dataTables_length, .dataTables_filter{padding: .75rem 1.25rem 0.25rem;}
  11. table.fixedHeader-floating{margin-top: 0px !important;}
  12. table th.sorting_asc, table th.sorting_desc{border-top:3px solid var(--success);}
  13. table th.filtered{border-top:3px solid var(--primary);}
  14. td.actions{white-space: nowrap; text-align: right;}
  15. .table td, .table th{padding: 0.35rem;}
  16. .delivery-field .form-group{display: inline-block; margin-bottom: 0px; margin-right: 15px;}
  17. .delivery-field .form-group .form-control{width: 150px;}
  18. table th input{width: auto}
  19. table th .select2-container--default .select2-selection--single{padding:0.3rem 0.4rem; }
  20. /************************ LOGIN PAGE *********************/
  21. .login-logo{display: block; margin: auto;}
  22. /************************ form error *********************/
  23. .form-sent .form-control:invalid{border-color: #dc3545; padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");background-repeat: no-repeat;background-position: center right calc(.375em + .1875rem); background-size: calc(.75em + .375rem) calc(.75em + .375rem);}
  24. .form-sent select.form-control:invalid + .select2 .select2-selection{border-color: #dc3545; }
  25. .form-sent select.form-control:invalid + .select2 .select2-selection b{border-color: #dc3545 transparent transparent transparent;}
  26. /*CUSTOM Checkbox
  27. /* Customize the label (the container) */
  28. .form-check-label {display: block; position: relative; padding-left: 26px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
  29. /* Hide the browser's default checkbox */
  30. .form-check-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;}
  31. /* Create a custom checkbox */
  32. .form-check{padding-left: 0px;}
  33. .form-sent .form-check-label input:invalid ~ .checkmark { border-color: #dc3545;}
  34. .form-check-label input:disabled ~ .checkmark {display: none}
  35. .form-check-label input ~ .checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee;border: 1px solid var(--primary);}
  36. .form-check-label.big input ~ .checkmark { height: 21px; width: 21px; }
  37. .form-check-label input[type="checkbox"] ~ .checkmark {top: 2px;}
  38. .form-check-label input[type="radio"] ~ .checkmark { top:3px; border-radius: 50%;}
  39. .form-check-label:hover input ~ .checkmark { background-color: #ccc;}
  40. /* When the checkbox is checked, add a blue background */
  41. .form-check-label input:checked ~ .checkmark {background-color: var(--primary);}
  42. /* Create the checkmark/indicator (hidden when not checked) */
  43. .form-check-label .checkmark:after { content: ""; position: absolute; display: none;}
  44. /* Show the checkmark when checked */
  45. .form-check-label input:checked ~ .checkmark:after {display: block;}
  46. /* Style the checkmark/indicator */
  47. .form-check-label .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
  48. .form-check-label input[type="checkbox"] ~ .checkmark:after {left: 6px; top: 2px; width: 6px; height: 10px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}
  49. .form-check-label input[type="radio"] ~ .checkmark:after {top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: white;}
  50. .form-check-label.big input[type="checkbox"] ~ .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px;}
  51. /* Create a custom radio button */
  52. .product-categories .parent .form-group.field-checkbox .form-check-label{padding-left: 0px; font-style: italic;}
  53. .product-categories .children .form-group.field-checkbox{margin-left: 20px}
  54. .product-categories .form-group{margin-bottom: 0.5rem;}
  55. .lc-deleted-field{display: none;}
  56. .lc-offline-field{opacity: 0.5}
  57. .lc-offline-field label::after{content:' [hors ligne]'}
  58. /* Général */
  59. .btn.btn-primary.action-save{float: right;}
  60. .button-action .btn{margin-left: 10px;}
  61. .input-group-text {
  62. padding: 0.250rem .75rem ;
  63. }
  64. .col-form-label{font-weight: bold;}
  65. #toast-container.toast-top-right{top:60px}
  66. /* SIDEBAR */
  67. .main-header.navbar{padding: 0; min-height: 57px; }
  68. .lc-navbar li{border-left: 1px solid #e0e0e0; padding: 0.5rem 1.5rem;}
  69. .lc-navbar li label{margin-bottom: 0; vertical-align: middle; font-weight: normal !important;}
  70. #switch-merchant {
  71. min-width: 170px ;
  72. }
  73. /* Sortable */
  74. .ui-sortable-helper{ display: table;}
  75. .ui-state-highlight{background: #eee}
  76. .lc-sortable div:last-child{display: none;}
  77. /* Ckfinder */
  78. /*
  79. .lc-ckfinder-wrap{width: 240px; height: 170px; position: relative;}
  80. .lc-ckfinder-wrap .lc-ckfinder-illu-wrap{position:relative; : 100%; height: 139px; display: flex; align-items: center; justify-content: center; background: #eee; background-size: contain;}
  81. .lc-ckfinder-wrap .lc-ckfinder-illu{width: 100%; height: 100%; background-size: contain; position: absolute; top: 0; left: 0;z-index: 1; background-repeat: no-repeat; background-position: center center; }
  82. .lc-ckfinder-wrap .lc-ckfinder-illu-wrap i{font-size: 5rem;}
  83. .lc-ckfinder-wrap .lc-ckfinder-remove{border: 0px; font-size: 1.8rem; position: absolute;z-index: 2; color:#dc3545; top: -20px; right: -20px; background: 0; display: none;}
  84. .lc-ckfinder-wrap .lc-ckfinder-button{width: 100%; bottom: 0px; left: 0; position: absolute;}
  85. */
  86. /* VUES JS */
  87. .nav-item .btn {padding-right: 15px; position: relative;}
  88. .nav-item .btn .invalid-form{display: none; position: absolute; top: -7px;right: -6px; color: #dc3545; background: #fff; border-radius: 10px;font-size: 1.2rem;}
  89. .nav-item.has-invalid .btn .invalid-form{display: inline-block; z-index: 2;}
  90. /* ProductFamily */
  91. .field-unit-quantity{border-bottom: 2px dotted #eee; padding-bottom: 10px; margin-bottom: 20px;}
  92. .new-productfamily #nav-params,
  93. .edit-productfamily #nav-params {
  94. margin-bottom: 30px ;
  95. }
  96. .new-productfamily #nav-params .btn,
  97. .edit-productfamily #nav-params .btn {
  98. margin-left: 20px ;
  99. }
  100. .new-productfamily #product-categories .row,
  101. .edit-productfamily #product-categories .row {
  102. padding: 10px ;
  103. }
  104. .new-productfamily #product-categories .form-group,
  105. .edit-productfamily #product-categories .form-group {
  106. width: 100% ;
  107. padding: 4px ;
  108. }
  109. .new-productfamily #product-categories .children,
  110. .edit-productfamily #product-categories .children {
  111. margin-left: 20px ;
  112. width: 100% ;
  113. }
  114. .new-productfamily ul.products,
  115. .edit-productfamily ul.products {
  116. padding: 0px ;
  117. list-style-type: none ;
  118. }
  119. .new-productfamily ul.products li.product,
  120. .edit-productfamily ul.products li.product {
  121. padding: 0px ;
  122. margin-bottom: 20px ;
  123. position: relative ;
  124. }
  125. .new-productfamily ul.products li.add,
  126. .edit-productfamily ul.products li.add {
  127. text-align: right ;
  128. }
  129. .autoresize textarea{height: auto; min-height: 38px;}
  130. /* ORDER */
  131. .table-order-summary{width: 100%;}
  132. /*.select2-container--bootstrap .select2-selection{max-width: none;}*/
  133. /*.order-product-item{margin: 15px 0; padding: 0;}*/
  134. /* Product */
  135. .product-form-modal{display: none;}
  136. .product-form.modal .form-check-label{font-style: italic; color: #666; text-align: left;}
  137. .products-collection-table .inherited{color: #888; font-style: italic; font-weight: initial;}
  138. .products-collection-table td{position: relative;}
  139. .products-collection-table .btn-empty-field{position: absolute; right: 3px; font-size: 0.7rem; top: 5px; padding: 0px;}
  140. #lc-product-family-edit .products-collection-table {table-layout:fixed;}
  141. #lc-product-family-edit .products-collection-table tr{border-bottom: 1px solid #dee2e6;}
  142. #lc-product-family-edit .products-collection-table th{font-size:13px; border-left: 1px solid #dee2e6; border-top: 1px solid #dee2e6; text-align: center;}
  143. #lc-product-family-edit .products-collection-table th span {white-space: initial;}
  144. #lc-product-family-edit .products-collection-table th:last-child{border-right: 1px solid #dee2e6;}
  145. #lc-product-family-edit .products-collection-table td{border-left: 1px solid #dee2e6; text-align: center; font-size: 13px;}
  146. #lc-product-family-edit .products-collection-table td:last-child{border-right: 1px solid #dee2e6;}
  147. #lc-product-family-edit .btn-add-product {margin: 20px 0; float: right;}
  148. #lc-product-family-edit .inherited {color: #888; font-style: italic; font-weight: initial;}
  149. /* DeliveryZone */
  150. #autocomplete-cities {
  151. position: relative ;
  152. }
  153. #autocomplete-cities .ui-autocomplete {
  154. left: 30% ;
  155. top: 41px ;
  156. margin-left: 18px ;
  157. }