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.

483 lines
13KB

  1. .order-order, .order-confirm {
  2. #block-infos {
  3. margin-top: 50px;
  4. }
  5. }
  6. .order-order #main {
  7. #app-order-order {
  8. display: block ;
  9. .wrapper {
  10. display: none;
  11. }
  12. &.loaded .wrapper {
  13. display: block ;
  14. }
  15. h3 {
  16. font-family: "worksans_bold" ;
  17. }
  18. #distribution-date, #order-distribution-date {
  19. display: none ;
  20. }
  21. .alert-edit-order {
  22. strong {
  23. //font-weight: bold;
  24. }
  25. }
  26. .slide-enter-active {
  27. transition: all .2s ease;
  28. }
  29. .slide-leave-active {
  30. transition: all 0s ease;
  31. }
  32. .slide-enter, .slide-leave-to {
  33. transform: translateX(10px);
  34. opacity: 0;
  35. }
  36. #steps {
  37. margin-bottom: 20px ;
  38. ul {
  39. height: 70px ;
  40. list-style-type: none;
  41. padding: 0px;
  42. margin-bottom: 40px;
  43. li {
  44. text-align: center ;
  45. padding-right: 8px ;
  46. padding-left: 8px ;
  47. position: relative ;
  48. .info-step {
  49. position: absolute ;
  50. top: 45px ;
  51. left: 0px ;
  52. width: 100% ;
  53. text-transform: normal ;
  54. color: $color-primary ;
  55. font-size: 17px ;
  56. font-weight: bold ;
  57. }
  58. .glyphicon-chevron-right,
  59. &.active .glyphicon-chevron-right {
  60. float: right ;
  61. color: gray ;
  62. position: relative ;
  63. top: 10px ;
  64. }
  65. &.first {
  66. padding-left: 0px ;
  67. }
  68. &#step-payment {
  69. padding-right: 0px ;
  70. }
  71. &#step-products .btn::after,
  72. &.first .btn::before {
  73. display: none ;
  74. }
  75. .btn {
  76. color: black;
  77. background-color: $color-gray;
  78. text-transform: uppercase ;
  79. display: block ;
  80. width: 100% ;
  81. position: relative ;
  82. @include border-radius(0px) ;
  83. border: 0px none ;
  84. text-transform: uppercase ;
  85. .button-content {
  86. position: relative;
  87. left: 8px ;
  88. }
  89. &::after, &::before {
  90. content: '' ;
  91. position: absolute ;
  92. top: 1px;
  93. }
  94. &::after {
  95. right: -34px ;
  96. border:17px solid transparent;
  97. border-left:17px solid $color-gray;
  98. background-color: transparent ;
  99. }
  100. &::before {
  101. left: 0px ;
  102. border:17px solid transparent;
  103. border-left:17px solid white;
  104. background-color: transparent ;
  105. }
  106. }
  107. .btn-primary {
  108. color: white ;
  109. }
  110. }
  111. }
  112. }
  113. #legend {
  114. #order-date-color,
  115. #distribution-date-color,
  116. #leave-period-date-color {
  117. width: 13px ;
  118. height: 13px ;
  119. display: inline-block ;
  120. }
  121. #order-date-color {
  122. background-color: #198754 ;
  123. border: solid 2px #198754;
  124. }
  125. #distribution-date-color {
  126. background-color: white;
  127. border: solid 2px #198754;
  128. }
  129. #leave-period-date-color {
  130. background-color: #E09F3E;
  131. border: solid 2px #E09F3E;
  132. }
  133. }
  134. #calendar {
  135. margin-bottom: 15px ;
  136. .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] {
  137. font-size: 2rem ;
  138. }
  139. .c-day-background {
  140. padding: 20px ;
  141. }
  142. .c-day:hover {
  143. .c-day-background {
  144. background-color: $color-primary !important ;
  145. color: white !important ;
  146. }
  147. }
  148. .c-day-popover-content {
  149. font-size: 1.3rem ;
  150. }
  151. }
  152. #credit-online-payment {
  153. .panel {
  154. .panel-heading {
  155. .btn-default {
  156. float: right;
  157. position: relative;
  158. top: -5px;
  159. }
  160. }
  161. }
  162. }
  163. #content-step-date {
  164. #distributions-list {
  165. .card {
  166. margin-bottom: 20px;
  167. .btn-primary {
  168. float: right ;
  169. }
  170. .date {
  171. font-size: 1.2rem ;
  172. line-height: 1.4rem;
  173. text-transform: uppercase;
  174. font-family: 'worksans_semibold';
  175. }
  176. .point-sales {
  177. color: gray ;
  178. font-size: 14px ;
  179. margin-top: 8px ;
  180. }
  181. }
  182. }
  183. }
  184. .block-actions {
  185. text-align: center ;
  186. margin-top: 40px ;
  187. }
  188. table#points-sale {
  189. td.name {
  190. .the-name {
  191. color: black ;
  192. font-size: 1.2em ;
  193. line-height: 1.4em ;
  194. font-family: 'worksans_semibold';
  195. }
  196. .locality {
  197. display: none;
  198. }
  199. .comment,
  200. .minimum-order-amount,
  201. .shared-point-sale-producers{
  202. color: gray;
  203. a {
  204. color: $color-primary;
  205. }
  206. }
  207. }
  208. td.actions {
  209. width: 150px ;
  210. button {
  211. width: 100% ;
  212. }
  213. }
  214. tr.selected {
  215. td {
  216. //background-color: white ;
  217. }
  218. }
  219. }
  220. table#products {
  221. margin-bottom: 40px;
  222. border-top: solid 1px $color-gray-dark;
  223. border-left: solid 1px $color-gray-dark;
  224. border-right: solid 1px $color-gray-dark;
  225. thead {
  226. display: none;
  227. }
  228. td {
  229. border-bottom: solid 1px $color-gray-dark;
  230. border-left: 0px none;
  231. border-right: 0px none;
  232. }
  233. tr.category-closed:hover,
  234. tr.category-open {
  235. td.category-name {
  236. padding-left: 30px;
  237. background-color: $color-gray-light;
  238. }
  239. }
  240. td.category-name {
  241. transition: all 0.1s linear;
  242. background-color: $color-gray-light;
  243. border-left: solid 5px $color-gray-dark;
  244. font-family: "worksans_bold" ;
  245. font-size: 22px ;
  246. line-height: 30px;
  247. text-transform: uppercase;
  248. padding-top: 13px ;
  249. padding-left: 20px;
  250. .bi-caret-down-fill,
  251. .bi-caret-right-fill {
  252. font-size: 15px ;
  253. }
  254. span.badge {
  255. font-family: 'worksans_bold' ;
  256. text-transform: uppercase ;
  257. margin-left: 5px ;
  258. font-size: 0.85rem;
  259. position: relative;
  260. top: -3px;
  261. &.bg-primary {
  262. float: right;
  263. top: 2px;
  264. }
  265. }
  266. &:hover {
  267. cursor: pointer ;
  268. background-color: white;
  269. }
  270. }
  271. td.photo {
  272. img {
  273. width: 75px ;
  274. }
  275. }
  276. td.name {
  277. }
  278. .price-unit {
  279. .decreasing-prices {
  280. margin-top: 10px;
  281. font-size: 10px;
  282. padding-top: 6px;
  283. padding-bottom: 2px;
  284. margin-bottom: 0px;
  285. ul {
  286. li {
  287. margin-bottom: 5px;
  288. strong {
  289. font-weight: bold;
  290. }
  291. }
  292. }
  293. }
  294. }
  295. .price-unit, .price-total {
  296. width: 135px ;
  297. text-align: center ;
  298. .price-infos {
  299. color: gray ;
  300. font-size: 13px ;
  301. line-height: 15px;
  302. }
  303. }
  304. tr.product-open td.price-total {
  305. font-size: 1.1rem ;
  306. font-family: 'worksans_bold';
  307. padding-top: 19px;
  308. }
  309. .td-quantity {
  310. width: 175px ;
  311. input.quantity,
  312. .input-group-text {
  313. background-color: white;
  314. }
  315. input.quantity {
  316. text-align: center ;
  317. border: 0px none;
  318. }
  319. .input-group-text {
  320. border: 0px none;
  321. padding-right: 10px ;
  322. padding-left: 0px;
  323. margin: 0px ;
  324. }
  325. .input-group-btn {
  326. button {
  327. padding: 4px 5px 0px 5px;
  328. .bi {
  329. font-size: 1.5em;
  330. font-weight: bold;
  331. margin: 0px;
  332. }
  333. }
  334. }
  335. }
  336. tr.total {
  337. .summary {
  338. padding: 25px;
  339. h3 {
  340. font-family: 'worksans_bold';
  341. margin-top: 0px ;
  342. text-transform: uppercase ;
  343. margin-bottom: 5px ;
  344. }
  345. ul {
  346. margin-bottom: 15px ;
  347. padding-left: 20px ;
  348. font-size: 1.1rem ;
  349. line-height: 1.4rem;
  350. list-style-type: disc;
  351. li {
  352. .quantity {
  353. font-weight: bold;
  354. }
  355. }
  356. }
  357. }
  358. .price-total {
  359. padding-top: 25px;
  360. font-size: 1.5rem ;
  361. font-family: 'worksans_bold';
  362. span {
  363. display: inline-block;
  364. padding: 7px 15px;
  365. @include border-radius(15px);
  366. color: white;
  367. font-size: 1.2rem;
  368. }
  369. }
  370. }
  371. }
  372. #payment-methods {
  373. .infos {
  374. margin-top: 10px;
  375. color: gray;
  376. }
  377. }
  378. #content-step-payment {
  379. .delivery {
  380. margin-bottom: 20px ;
  381. }
  382. .comment {
  383. margin-bottom: 20px ;
  384. }
  385. #payment-methods {
  386. margin-bottom: 20px ;
  387. }
  388. .credit {
  389. .info {
  390. margin-left: 20px ;
  391. color: gray ;
  392. }
  393. }
  394. }
  395. }
  396. }
  397. #main #content {
  398. .panel {
  399. h3 {
  400. font-family: "worksans_bold" ;
  401. margin: 0px ;
  402. padding-top: 10px ;
  403. padding-bottom: 4px ;
  404. font-size: 20px ;
  405. }
  406. }
  407. }