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.

248 lines
11KB

  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. .align-center{text-align: center;}
  5. .align-left{text-align: left;}
  6. .align-right{text-align: right;}
  7. .hidden{display: none;}
  8. .select2-container--default .select2-results__option[aria-disabled=true] {
  9. display: none;
  10. }
  11. .field-collection-item-action {
  12. font-size: 2rem;
  13. font-weight: bold;
  14. margin-left: 4px;
  15. width: 7%;
  16. text-align: center;
  17. display:inline-block;
  18. line-height: 2.2rem;
  19. }
  20. .field-collection-item-row .form-control {
  21. width: 92%; float: left;
  22. }
  23. #lc-flash-messages{display: none;}
  24. .main-sidebar .logo-long{padding: 8px 0; text-align: center;}
  25. .main-sidebar .logo-long img{height: 40px; display: inline-block;}
  26. .sidebar-collapse .main-sidebar .logo-long span{display: none;}
  27. .sidebar-collapse .main-sidebar:hover .logo-long span{display: inline-block;}
  28. .table.datatable-simple .highlight{background: var(--teal);}
  29. .datatable-field-search.small{width: 50px;}
  30. .dataTables_length, .dataTables_filter{padding: .75rem 1.25rem 0.25rem;}
  31. table.fixedHeader-floating{margin-top: 0px !important;}
  32. table th.sorting_asc, table th.sorting_desc{border-top:3px solid var(--success);}
  33. table th.filtered{border-top:3px solid var(--primary);}
  34. td.actions{white-space: nowrap; text-align: right;}
  35. .table td, .table th{padding: 0.35rem;}
  36. .delivery-field .form-group{display: inline-block; margin-bottom: 0px; margin-right: 15px;}
  37. .delivery-field .form-group .form-control{width: 150px;}
  38. table th input{width: auto}
  39. table th .select2-container--default .select2-selection--single{padding:0.3rem 0.4rem; }
  40. /************************ LOGIN PAGE *********************/
  41. .login-logo{display: block; margin: auto;}
  42. /************************ form error *********************/
  43. .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);}
  44. .form-sent select.form-control:invalid + .select2 .select2-selection{border-color: #dc3545; }
  45. .form-sent select.form-control:invalid + .select2 .select2-selection b{border-color: #dc3545 transparent transparent transparent;}
  46. /*CUSTOM Checkbox
  47. /* Customize the label (the container) */
  48. .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;}
  49. /* Hide the browser's default checkbox */
  50. .form-check-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;}
  51. /* Create a custom checkbox */
  52. .form-check{padding-left: 0px;}
  53. .form-sent .form-check-label input:invalid ~ .checkmark { border-color: #dc3545;}
  54. .form-check-label input:disabled ~ .checkmark {display: none}
  55. .form-check-label input ~ .checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee;border: 1px solid var(--primary);}
  56. .form-check-label.big input ~ .checkmark { height: 21px; width: 21px; }
  57. .form-check-label input[type="checkbox"] ~ .checkmark {top: 2px;}
  58. .form-check-label input[type="radio"] ~ .checkmark { top:3px; border-radius: 50%;}
  59. .form-check-label:hover input ~ .checkmark { background-color: #ccc;}
  60. /* When the checkbox is checked, add a blue background */
  61. .form-check-label input:checked ~ .checkmark {background-color: var(--primary);}
  62. /* Create the checkmark/indicator (hidden when not checked) */
  63. .form-check-label .checkmark:after { content: ""; position: absolute; display: none;}
  64. /* Show the checkmark when checked */
  65. .form-check-label input:checked ~ .checkmark:after {display: block;}
  66. /* Style the checkmark/indicator */
  67. .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);}
  68. .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);}
  69. .form-check-label input[type="radio"] ~ .checkmark:after {top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: white;}
  70. .form-check-label.big input[type="checkbox"] ~ .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px;}
  71. /* Create a custom radio button */
  72. .product-categories .parent .form-group.field-checkbox .form-check-label{padding-left: 0px; font-style: italic;}
  73. .product-categories .children .form-group.field-checkbox{margin-left: 20px}
  74. .product-categories .form-group{margin-bottom: 0.5rem;}
  75. .lc-deleted-field{display: none;}
  76. .lc-offline-field{opacity: 0.5}
  77. .lc-offline-field label::after{content:' [hors ligne]'}
  78. /* Général */
  79. .btn.btn-primary.action-save{float: right;}
  80. .button-action .btn{margin-left: 10px;}
  81. .input-group-text {
  82. padding: 0.250rem .75rem ;
  83. }
  84. .col-form-label{font-weight: bold;}
  85. #toast-container.toast-top-right{top:60px}
  86. /* SIDEBAR */
  87. .main-header.navbar{padding: 0; min-height: 57px; }
  88. .lc-navbar li{border-left: 1px solid #e0e0e0; padding: 0.5rem 1.5rem;}
  89. .lc-navbar li label{margin-bottom: 0; vertical-align: middle; font-weight: normal !important;}
  90. #switch-merchant {
  91. min-width: 170px ;
  92. }
  93. /* Sortable */
  94. .ui-sortable-helper{ display: table;}
  95. .ui-state-highlight{background: #eee}
  96. .lc-sortable div:last-child{display: none;}
  97. /* Ckfinder */
  98. /*
  99. .lc-ckfinder-wrap{width: 240px; height: 170px; position: relative;}
  100. .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;}
  101. .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; }
  102. .lc-ckfinder-wrap .lc-ckfinder-illu-wrap i{font-size: 5rem;}
  103. .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;}
  104. .lc-ckfinder-wrap .lc-ckfinder-button{width: 100%; bottom: 0px; left: 0; position: absolute;}
  105. */
  106. /* VUES JS */
  107. .nav-item .btn {padding-right: 15px; position: relative;}
  108. .nav-item .btn .invalid-form{display: none; position: absolute; top: -7px;right: -6px; color: #dc3545; background: #fff; border-radius: 10px;font-size: 1.2rem;}
  109. .nav-item.has-invalid .btn .invalid-form{display: inline-block; z-index: 2;}
  110. /* ProductFamily */
  111. .field-unit-quantity{border-bottom: 2px dotted #eee; padding-bottom: 10px; margin-bottom: 20px;}
  112. .field-reduction-apply{border-top: 2px dotted #eee; padding-top: 10px; margin-top: 20px;}
  113. .new-productfamily #nav-params,
  114. .edit-productfamily #nav-params {
  115. margin-bottom: 30px ;
  116. }
  117. .new-productfamily #nav-params .btn,
  118. .edit-productfamily #nav-params .btn {
  119. margin-left: 20px ;
  120. }
  121. .new-productfamily #product-categories .row,
  122. .edit-productfamily #product-categories .row {
  123. padding: 10px ;
  124. }
  125. .new-productfamily #product-categories .form-group,
  126. .edit-productfamily #product-categories .form-group {
  127. width: 100% ;
  128. padding: 4px ;
  129. }
  130. .new-productfamily #product-categories .children,
  131. .edit-productfamily #product-categories .children {
  132. margin-left: 20px ;
  133. width: 100% ;
  134. }
  135. .new-productfamily ul.products,
  136. .edit-productfamily ul.products {
  137. padding: 0px ;
  138. list-style-type: none ;
  139. }
  140. .new-productfamily ul.products li.product,
  141. .edit-productfamily ul.products li.product {
  142. padding: 0px ;
  143. margin-bottom: 20px ;
  144. position: relative ;
  145. }
  146. .new-productfamily ul.products li.add,
  147. .edit-productfamily ul.products li.add {
  148. text-align: right ;
  149. }
  150. .autoresize textarea{height: auto; min-height: 38px;}
  151. /* ORDER */
  152. .table-order-summary{width: 100%;}
  153. .order-product-item.redelivery{background: rgba(18, 104, 253, 0.38) !important;}
  154. /*.select2-container--bootstrap .select2-selection{max-width: none;}*/
  155. /*.order-product-item{margin: 15px 0; padding: 0;}*/
  156. /* Product */
  157. .product-form-modal{display: none;}
  158. .product-form.modal .form-check-label{font-style: italic; color: #666; text-align: left;}
  159. .products-collection-table .inherited{color: #888; font-style: italic; font-weight: initial;}
  160. .products-collection-table td{position: relative;}
  161. .card-body.p-0 .products-collection-table tbody > tr > td:first-of-type, .card-body.p-0 .products-collection-table tbody > tr > th:first-of-type, .card-body.p-0 .products-collection-table thead > tr > td:first-of-type, .card-body.p-0 .products-collection-table thead > tr > th:first-of-type{padding-left: 0.35rem;}
  162. .products-collection-table .btn-empty-field{position: absolute; right: 3px; font-size: 0.7rem; top: 5px; padding: 0px;}
  163. #lc-product-family-edit .products-collection-table {table-layout:fixed;}
  164. #lc-product-family-edit .products-collection-table tr{border-bottom: 1px solid #dee2e6;}
  165. #lc-product-family-edit .products-collection-table th{font-size:13px; border-left: 1px solid #dee2e6; border-top: 1px solid #dee2e6; text-align: center;}
  166. #lc-product-family-edit .products-collection-table th span {white-space: initial;}
  167. #lc-product-family-edit .products-collection-table th:last-child{border-right: 1px solid #dee2e6;}
  168. #lc-product-family-edit .products-collection-table td{border-left: 1px solid #dee2e6; text-align: center; font-size: 13px;}
  169. #lc-product-family-edit .products-collection-table td:last-child{border-right: 1px solid #dee2e6; white-space: nowrap; }
  170. #lc-product-family-edit .btn-add-product {margin: 20px 0; float: right;}
  171. #lc-product-family-edit .inherited {color: #888; font-style: italic; font-weight: initial;}
  172. #lc-product-family-edit .products-collection-table td .value {min-width: 80%; margin: auto; min-height: 35px; cursor: pointer;}
  173. #lc-product-family-edit .products-collection-table td .modal {text-align: left;}
  174. /* DeliveryZone */
  175. #autocomplete-cities {
  176. position: relative ;
  177. }
  178. #autocomplete-cities .ui-autocomplete {
  179. left: 30% ;
  180. top: 41px ;
  181. margin-left: 18px ;
  182. }
  183. .head-reminders{margin-top: 15px;}
  184. /* TABLEAU DE BORD */
  185. .todo-list > li{position: relative;}
  186. .todo-list > li .text{margin-left: 30px;}
  187. .todo-list > li .tools {position: absolute; top: 4px; right: 15px; }