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.

482 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. color: gray;
  202. a {
  203. color: $color-primary;
  204. }
  205. }
  206. }
  207. td.actions {
  208. width: 150px ;
  209. button {
  210. width: 100% ;
  211. }
  212. }
  213. tr.selected {
  214. td {
  215. //background-color: white ;
  216. }
  217. }
  218. }
  219. table#products {
  220. margin-bottom: 40px;
  221. border-top: solid 1px $color-gray-dark;
  222. border-left: solid 1px $color-gray-dark;
  223. border-right: solid 1px $color-gray-dark;
  224. thead {
  225. display: none;
  226. }
  227. td {
  228. border-bottom: solid 1px $color-gray-dark;
  229. border-left: 0px none;
  230. border-right: 0px none;
  231. }
  232. tr.category-closed:hover,
  233. tr.category-open {
  234. td.category-name {
  235. padding-left: 30px;
  236. background-color: $color-gray-light;
  237. }
  238. }
  239. td.category-name {
  240. transition: all 0.1s linear;
  241. background-color: $color-gray-light;
  242. border-left: solid 5px $color-gray-dark;
  243. font-family: "worksans_bold" ;
  244. font-size: 22px ;
  245. line-height: 30px;
  246. text-transform: uppercase;
  247. padding-top: 13px ;
  248. padding-left: 20px;
  249. .bi-caret-down-fill,
  250. .bi-caret-right-fill {
  251. font-size: 15px ;
  252. }
  253. span.badge {
  254. font-family: 'worksans_bold' ;
  255. text-transform: uppercase ;
  256. margin-left: 5px ;
  257. font-size: 0.85rem;
  258. position: relative;
  259. top: -3px;
  260. &.bg-primary {
  261. float: right;
  262. top: 2px;
  263. }
  264. }
  265. &:hover {
  266. cursor: pointer ;
  267. background-color: white;
  268. }
  269. }
  270. td.photo {
  271. img {
  272. width: 75px ;
  273. }
  274. }
  275. td.name {
  276. }
  277. .price-unit {
  278. .decreasing-prices {
  279. margin-top: 10px;
  280. font-size: 10px;
  281. padding-top: 6px;
  282. padding-bottom: 2px;
  283. margin-bottom: 0px;
  284. ul {
  285. li {
  286. margin-bottom: 5px;
  287. strong {
  288. font-weight: bold;
  289. }
  290. }
  291. }
  292. }
  293. }
  294. .price-unit, .price-total {
  295. width: 135px ;
  296. text-align: center ;
  297. .price-infos {
  298. color: gray ;
  299. font-size: 13px ;
  300. line-height: 15px;
  301. }
  302. }
  303. tr.product-open td.price-total {
  304. font-size: 1.1rem ;
  305. font-family: 'worksans_bold';
  306. padding-top: 19px;
  307. }
  308. .td-quantity {
  309. width: 175px ;
  310. input.quantity,
  311. .input-group-text {
  312. background-color: white;
  313. }
  314. input.quantity {
  315. text-align: center ;
  316. border: 0px none;
  317. }
  318. .input-group-text {
  319. border: 0px none;
  320. padding-right: 10px ;
  321. padding-left: 0px;
  322. margin: 0px ;
  323. }
  324. .input-group-btn {
  325. button {
  326. padding: 4px 5px 0px 5px;
  327. .bi {
  328. font-size: 1.5em;
  329. font-weight: bold;
  330. margin: 0px;
  331. }
  332. }
  333. }
  334. }
  335. tr.total {
  336. .summary {
  337. padding: 25px;
  338. h3 {
  339. font-family: 'worksans_bold';
  340. margin-top: 0px ;
  341. text-transform: uppercase ;
  342. margin-bottom: 5px ;
  343. }
  344. ul {
  345. margin-bottom: 15px ;
  346. padding-left: 20px ;
  347. font-size: 1.1rem ;
  348. line-height: 1.4rem;
  349. list-style-type: disc;
  350. li {
  351. .quantity {
  352. font-weight: bold;
  353. }
  354. }
  355. }
  356. }
  357. .price-total {
  358. padding-top: 25px;
  359. font-size: 1.5rem ;
  360. font-family: 'worksans_bold';
  361. span {
  362. display: inline-block;
  363. padding: 7px 15px;
  364. @include border-radius(15px);
  365. color: white;
  366. font-size: 1.2rem;
  367. }
  368. }
  369. }
  370. }
  371. #payment-methods {
  372. .infos {
  373. margin-top: 10px;
  374. color: gray;
  375. }
  376. }
  377. #content-step-payment {
  378. .delivery {
  379. margin-bottom: 20px ;
  380. }
  381. .comment {
  382. margin-bottom: 20px ;
  383. }
  384. #payment-methods {
  385. margin-bottom: 20px ;
  386. }
  387. .credit {
  388. .info {
  389. margin-left: 20px ;
  390. color: gray ;
  391. }
  392. }
  393. }
  394. }
  395. }
  396. #main #content {
  397. .panel {
  398. h3 {
  399. font-family: "worksans_bold" ;
  400. margin: 0px ;
  401. padding-top: 10px ;
  402. padding-bottom: 4px ;
  403. font-size: 20px ;
  404. }
  405. }
  406. }