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.

custom.scss 11KB

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