Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

374 lines
16KB

  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. a.link-as-text{color:#333;}
  25. /***************************************** ADMIN SIDEBAR ***************************************/
  26. .main-sidebar p{font-size: 0.8rem;}
  27. .main-sidebar .sidebar{padding-left: 0px; padding-right: 0px; padding-top: 114px;}
  28. .main-sidebar .nav-link{padding: .4rem .5rem .4rem .7rem;}
  29. body#pdl-body .wrapper .main-sidebar{bottom: 0; float: none; height: 110vh; left: 0; position: fixed; top: 0;}
  30. body#pdl-body .wrapper .sidebar{height: 100%;}
  31. body#pdl-body .wrapper .sidebar nav{padding-bottom: 40px;}
  32. body#pdl-body .wrapper .content-wrapper{margin-top: 0; padding-top: 57px;}
  33. .sidebar{overflow-y: auto;}
  34. #lc-flash-messages{display: none;}
  35. .main-sidebar .logo-long{padding: 8px 0; text-align: center;}
  36. .main-sidebar .logo-long img{height: 40px; display: inline-block;}
  37. .sidebar-collapse .main-sidebar .logo-long span{display: none;}
  38. .sidebar-collapse .main-sidebar:hover .logo-long span{display: inline-block;}
  39. .table.datatable-simple .highlight{background: var(--teal);}
  40. .datatable-field-search.small{width: 50px;}
  41. .dataTables_length, .dataTables_filter{padding: .75rem 1.25rem 0.25rem;}
  42. table.fixedHeader-floating{margin-top: 0px !important;}
  43. table th.sorting_asc, table th.sorting_desc{border-top:2px solid var(--success);}
  44. .card-body table.lc-table-list th.filtered{border-top:2px solid var(--primary);}
  45. /*.card-body table.lc-table-list th{border-top:3px solid var(--success);}*/
  46. table th.filtered{border-top:2px solid var(--primary);}
  47. .card-body table.lc-table-list th.sorted, table th.sorting_asc, table th.sorting_desc{border-top:2px solid var(--success);}
  48. .card-body table.lc-table-list th.sorted.filtered{border-top:0px; position: relative;}
  49. .card-body table.lc-table-list th.sorted.filtered:after{ content: ''; height: 2px; position: absolute; left: 0; width: 100%; right: 0; top: -1px; background: linear-gradient(to right, var(--success) 0%, var(--success) 50%, var(--primary) 50%, var(--primary) 100%);}
  50. .lc-table-list thead a{color: #212529}
  51. .table-filters-line th {font-weight: 400; position: relative;}
  52. .table-filters-line th input{}
  53. #list_filter_id{width: 60px;}
  54. .lc-table-list .date-range{width: 130px;}
  55. th.actions, td.actions{white-space: nowrap; text-align: right;}
  56. .table td, .table th{padding: 0.35rem;}
  57. .delivery-field .form-group{display: inline-block; margin-bottom: 0px; margin-right: 15px;}
  58. .delivery-field .form-group .form-control{width: 150px;}
  59. table th input{width: 100%;}
  60. table th .select2-container--default .select2-selection--single{padding:0.3rem 0.4rem; }
  61. /************************ LOGIN PAGE *********************/
  62. .login-logo{display: block; margin: auto;}
  63. /************************ form error *********************/
  64. .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);}
  65. .form-sent select.form-control:invalid + .select2 .select2-selection{border-color: #dc3545; }
  66. .form-sent select.form-control:invalid + .select2 .select2-selection b{border-color: #dc3545 transparent transparent transparent;}
  67. /*CUSTOM Checkbox
  68. /* Customize the label (the container) */
  69. .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;}
  70. /* Hide the browser's default checkbox */
  71. .form-check-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0;}
  72. /* Create a custom checkbox */
  73. .form-check{padding-left: 0px;}
  74. .form-sent .form-check-label input:invalid ~ .checkmark { border-color: #dc3545;}
  75. .form-check-label input:disabled ~ .checkmark {display: none}
  76. .form-check-label input ~ .checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee;border: 1px solid var(--primary);}
  77. .form-check-label.big input ~ .checkmark { height: 21px; width: 21px; }
  78. .form-check-label input[type="checkbox"] ~ .checkmark {top: 2px;}
  79. .form-check-label input[type="radio"] ~ .checkmark { top:3px; border-radius: 50%;}
  80. .form-check-label:hover input ~ .checkmark { background-color: #ccc;}
  81. /* When the checkbox is checked, add a blue background */
  82. .form-check-label input:checked ~ .checkmark {background-color: var(--primary);}
  83. /* Create the checkmark/indicator (hidden when not checked) */
  84. .form-check-label .checkmark:after { content: ""; position: absolute; display: none;}
  85. /* Show the checkmark when checked */
  86. .form-check-label input:checked ~ .checkmark:after {display: block;}
  87. /* Style the checkmark/indicator */
  88. .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);}
  89. .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);}
  90. .form-check-label input[type="radio"] ~ .checkmark:after {top: 4px; left: 4px; width: 8px; height: 8px; border-radius: 50%; background: white;}
  91. .form-check-label.big input[type="checkbox"] ~ .checkmark:after {left: 7px; top: 3px; width: 6px; height: 11px;}
  92. /* Create a custom radio button */
  93. .product-categories .parent .form-group.field-checkbox .form-check-label{padding-left: 0px; font-style: italic;}
  94. .product-categories .children .form-group.field-checkbox{margin-left: 20px}
  95. .product-categories .form-group{margin-bottom: 0.15rem;}
  96. .lc-deleted-field{display: none;}
  97. .lc-offline-field{opacity: 0.5}
  98. .lc-offline-field label::after{content:' [hors ligne]'}
  99. /* Général */
  100. .btn.action-save{float: right; margin-left: 10px;}
  101. .button-action a.float-right{margin-left: 10px;}
  102. .input-group-text {
  103. padding: 0.250rem .75rem ;
  104. }
  105. .col-form-label{font-weight: bold;}
  106. #toast-container.toast-top-right{top:60px}
  107. /* SIDEBAR */
  108. .main-header.navbar{padding: 0; min-height: 57px; }
  109. .lc-navbar li{border-left: 1px solid #e0e0e0; padding: 0.5rem 1.5rem;}
  110. .lc-navbar li label{margin-bottom: 0; vertical-align: middle; font-weight: normal !important;}
  111. #switch-merchant {
  112. min-width: 170px ;
  113. }
  114. /*************************** PAGINATION *******************************/
  115. .pagination{justify-content: center;}
  116. .disabled .page-link{color: #343a40;}
  117. .disabled .page-link:hover, .page-link.current:hover{background-color: #fff; cursor: default;}
  118. /* Sortable */
  119. .ui-sortable-helper{ display: table;}
  120. .ui-state-highlight{background: #eee}
  121. .lc-sortable div:last-child{display: none;}
  122. /* Ckfinder */
  123. /*
  124. .lc-ckfinder-wrap{width: 240px; height: 170px; position: relative;}
  125. .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;}
  126. .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; }
  127. .lc-ckfinder-wrap .lc-ckfinder-illu-wrap i{font-size: 5rem;}
  128. .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;}
  129. .lc-ckfinder-wrap .lc-ckfinder-button{width: 100%; bottom: 0px; left: 0; position: absolute;}
  130. */
  131. /* VUES JS */
  132. .nav-item .btn {padding-right: 15px; position: relative;}
  133. .nav-item .btn .invalid-form{display: none; position: absolute; top: -7px;right: -6px; color: #dc3545; background: #fff; border-radius: 10px;font-size: 1.2rem;}
  134. .nav-item.has-invalid .btn .invalid-form{display: inline-block; z-index: 2;}
  135. /* ProductFamily */
  136. .field-unit-quantity{border-bottom: 2px dotted #eee; padding-bottom: 10px; margin-bottom: 20px;}
  137. .field-reduction-apply{border-top: 2px dotted #eee; padding-top: 10px; margin-top: 20px;}
  138. .new-productfamily #nav-params,
  139. .edit-productfamily #nav-params {
  140. margin-bottom: 30px ;
  141. }
  142. .new-productfamily #nav-params .btn,
  143. .edit-productfamily #nav-params .btn {
  144. margin-left: 20px ;
  145. }
  146. .new-productfamily #product-categories .row,
  147. .edit-productfamily #product-categories .row {
  148. padding: 10px ;
  149. }
  150. .new-productfamily #product-categories .form-group,
  151. .edit-productfamily #product-categories .form-group {
  152. width: 100% ;
  153. padding: 4px ;
  154. }
  155. .new-productfamily #product-categories .children,
  156. .edit-productfamily #product-categories .children {
  157. margin-left: 20px ;
  158. width: 100% ;
  159. }
  160. .new-productfamily ul.products,
  161. .edit-productfamily ul.products {
  162. padding: 0px ;
  163. list-style-type: none ;
  164. }
  165. .new-productfamily ul.products li.product,
  166. .edit-productfamily ul.products li.product {
  167. padding: 0px ;
  168. margin-bottom: 20px ;
  169. position: relative ;
  170. }
  171. .new-productfamily ul.products li.add,
  172. .edit-productfamily ul.products li.add {
  173. text-align: right ;
  174. }
  175. .autoresize textarea{height: auto; min-height: 38px;}
  176. .field-price .input-group.buyingPrice input,.field-price .input-group.buyingPrice .input-group-text{font-weight: bold; border-color: #222 }
  177. .field-price .input-group.buyingPriceByRefUnit input,.field-price .input-group.buyingPriceByRefUnit .input-group-text{font-weight: bold; border-color: #222 }
  178. .field-price .input-group.priceWithTax input,.field-price .input-group.priceWithTax .input-group-text{font-weight: bold; border-color: #222 }
  179. .field-price .input-group.priceByRefUnitWithTax input,.field-price .input-group.priceByRefUnitWithTax .input-group-text{font-weight: bold; border-color: #222 }
  180. .input-group.multiplyingFactor input,.input-group.multiplyingFactor .input-group-text{font-weight: bold; border-color: #222 }
  181. .layout-ajax {
  182. #edit-productfamily-form {
  183. .card-sections {
  184. width: 100%;
  185. position: fixed;
  186. left: 0px;
  187. top: 0px;
  188. z-index: 10;
  189. }
  190. .form {
  191. padding-top: 50px;
  192. }
  193. .card-footer {
  194. display: none;
  195. }
  196. .in-advanced-editing-table {
  197. .form {
  198. padding-top: 0px ;
  199. }
  200. .card-sections,
  201. .row-note {
  202. display: none;
  203. }
  204. }
  205. }
  206. }
  207. /* ORDER */
  208. .table-order-summary{width: 100%;}
  209. .order-product-item.redelivery{background: rgba(18, 104, 253, 0.38) !important;}
  210. /*.select2-container--bootstrap .select2-selection{max-width: none;}*/
  211. /*.order-product-item{margin: 15px 0; padding: 0;}*/
  212. /* Product */
  213. .product-form-modal{display: none;}
  214. .product-form.modal .form-check-label{font-style: italic; color: #666; text-align: left;}
  215. .products-collection-table .inherited{color: #888; font-style: italic; font-weight: initial;}
  216. .products-collection-table td{position: relative;}
  217. .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;}
  218. .products-collection-table .btn-empty-field{position: absolute; right: 3px; font-size: 0.7rem; top: 5px; padding: 0px;}
  219. #lc-product-family-edit .products-collection-table {table-layout:fixed;/* background-clip: padding-box;*/ border-collapse: collapse;}
  220. #lc-product-family-edit .products-collection-table th{font-size:13px; border-left: 1px solid #dee2e6; border-top: 1px solid #dee2e6; text-align: center; border-bottom: 2px solid #dee2e6; position: relative;}
  221. #lc-product-family-edit .products-collection-table tfoot th{border-top: 2px solid #dee2e6;}
  222. #lc-product-family-edit .products-collection-table th span {white-space: initial;}
  223. #lc-product-family-edit .products-collection-table th:last-child{border-right: 1px solid #dee2e6;}
  224. #lc-product-family-edit .products-collection-table td{border-left: 1px solid #dee2e6; text-align: center; font-size: 13px; border-bottom: 1px solid #dee2e6;}
  225. #lc-product-family-edit .products-collection-table td:last-child{border-right: 1px solid #dee2e6; white-space: nowrap; }
  226. #lc-product-family-edit .btn-add-product {margin: 20px 0; float: right;}
  227. #lc-product-family-edit .inherited {color: #888; font-style: italic; font-weight: initial;}
  228. #lc-product-family-edit .products-collection-table td .value {min-width: 80%; margin: auto; min-height: 35px; cursor: pointer;}
  229. #lc-product-family-edit .products-collection-table td .modal {text-align: left;}
  230. table.products-collection-table th.main-info, td.buyingPrice, td.multiplyingFactor, td.priceWithTax{background: #eeeeee; background-clip: padding-box; text-decoration: underline;}
  231. table.products-collection-table tr.disabled{opacity: 0.5}
  232. .table-striped tbody .tr-sep{border-top: 2px solid #888; }
  233. /* DeliveryZone */
  234. #autocomplete-cities {
  235. position: relative ;
  236. }
  237. #autocomplete-cities .ui-autocomplete {
  238. left: 30% ;
  239. top: 41px ;
  240. margin-left: 18px ;
  241. }
  242. .head-reminders{margin-top: 15px;}
  243. /* TABLEAU DE BORD */
  244. .todo-list > li{position: relative;}
  245. .todo-list > li .text{margin-left: 30px;}
  246. .todo-list > li .tools {position: absolute; top: 4px; right: 15px; }
  247. #addTicketMessageForm{margin-top: 30px; border-top:2px dotted #eee; padding-top: 30px}
  248. #dashboard .list-btn-statistic{display: flex; flex-wrap: wrap; justify-content: center;}
  249. #dashboard .btn-statistic{ width: 120px; height: 70px; text-align: center; border: 1px solid black; line-height: 1rem; }
  250. #dashboard .btn-statistic small{margin-bottom: 10px; display: block;}
  251. #dashboard .btn-statistic .value{display: block;}
  252. #dashboard #range_date_interval {margin-bottom: 20px;}
  253. #dashboard #range_date_interval label{float: left; margin-right: 20px;}
  254. #dashboard #range_date_interval .form-check{float: left; margin-right: 10px;}
  255. #dashboard .table-condensed .btn, #dashboard .table-condensed .btn-sm{white-space: nowrap;}
  256. /* Tickets */
  257. #ticket-list {
  258. .btn-sm {
  259. display: block ;
  260. }
  261. }
  262. #toast-container { width: 350px;}
  263. .toast{float: right}
  264. #toast-container:before:hover {
  265. opacity:1;
  266. cursor:pointer;
  267. }
  268. #toast-close-all {
  269. border:0;
  270. position: absolute;
  271. pointer-events: auto;
  272. z-index: 999999999999999999999;
  273. background: #BD362F;
  274. border-radius: 3px;
  275. color:#fff;
  276. opacity:0.8;
  277. top: 2px;
  278. width: 50px;
  279. height: 50px;
  280. font-size: 30px;
  281. left: 0px;
  282. text-align: center;
  283. -webkit-text-shadow: 0 1px 0 #fff;
  284. text-shadow: 0 1px 0 #fff;
  285. -moz-box-shadow: 0 0 12px #999;
  286. -webkit-box-shadow: 0 0 12px #999;
  287. box-shadow: 0 0 12px #999;
  288. }