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.css 7.9KB

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