230 line
9.6KB

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