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.

_order.scss 13KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  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. background-color: gray;
  133. border: solid 2px gray;
  134. }
  135. }
  136. #calendar {
  137. margin-bottom: 15px ;
  138. .c-header .c-title-layout .c-title-popover .c-title-anchor .c-title[data-v-2083cb72] {
  139. font-size: 2rem ;
  140. }
  141. .c-day-background {
  142. padding: 20px ;
  143. }
  144. .c-day:hover {
  145. .c-day-background {
  146. background-color: $color-primary !important ;
  147. color: white !important ;
  148. }
  149. }
  150. .c-day-popover-content {
  151. font-size: 1.3rem ;
  152. }
  153. }
  154. #credit-online-payment {
  155. .panel {
  156. .panel-heading {
  157. .btn-default {
  158. float: right;
  159. position: relative;
  160. top: -5px;
  161. }
  162. }
  163. }
  164. }
  165. #content-step-date {
  166. #distributions-list {
  167. .card {
  168. margin-bottom: 20px;
  169. .btn-primary {
  170. float: right ;
  171. }
  172. .date {
  173. font-size: 1.2rem ;
  174. line-height: 1.4rem;
  175. text-transform: uppercase;
  176. font-family: 'worksans_semibold';
  177. }
  178. .point-sales {
  179. color: gray ;
  180. font-size: 14px ;
  181. margin-top: 8px ;
  182. }
  183. }
  184. }
  185. }
  186. .block-actions {
  187. text-align: center ;
  188. margin-top: 40px ;
  189. }
  190. table#points-sale {
  191. td.name {
  192. .the-name {
  193. color: black ;
  194. font-size: 1.2em ;
  195. line-height: 1.4em ;
  196. font-family: 'worksans_semibold';
  197. }
  198. .locality {
  199. display: none;
  200. }
  201. .comment,
  202. .minimum-order-amount,
  203. .shared-point-sale-producers{
  204. color: gray;
  205. a {
  206. color: $color-primary;
  207. }
  208. }
  209. }
  210. td.actions {
  211. width: 150px ;
  212. button {
  213. width: 100% ;
  214. }
  215. }
  216. tr.selected {
  217. td {
  218. //background-color: white ;
  219. }
  220. }
  221. }
  222. table#products {
  223. margin-bottom: 40px;
  224. border-top: solid 1px $color-gray-dark;
  225. border-left: solid 1px $color-gray-dark;
  226. border-right: solid 1px $color-gray-dark;
  227. thead {
  228. display: none;
  229. }
  230. td {
  231. border-bottom: solid 1px $color-gray-dark;
  232. border-left: 0px none;
  233. border-right: 0px none;
  234. }
  235. tr.category-closed:hover,
  236. tr.category-open {
  237. td.category-name {
  238. padding-left: 30px;
  239. background-color: $color-gray-light;
  240. }
  241. }
  242. td.category-name {
  243. transition: all 0.1s linear;
  244. background-color: $color-gray-light;
  245. border-left: solid 5px $color-gray-dark;
  246. font-family: "worksans_bold" ;
  247. font-size: 22px ;
  248. line-height: 30px;
  249. text-transform: uppercase;
  250. padding-top: 13px ;
  251. padding-left: 20px;
  252. .bi-caret-down-fill,
  253. .bi-caret-right-fill {
  254. font-size: 15px ;
  255. }
  256. span.badge {
  257. font-family: 'worksans_bold' ;
  258. text-transform: uppercase ;
  259. margin-left: 5px ;
  260. font-size: 0.85rem;
  261. position: relative;
  262. top: -3px;
  263. &.bg-primary {
  264. float: right;
  265. top: 2px;
  266. }
  267. }
  268. &:hover {
  269. cursor: pointer ;
  270. background-color: white;
  271. }
  272. }
  273. td.photo {
  274. img {
  275. width: 75px ;
  276. }
  277. }
  278. td.name {
  279. }
  280. .price-unit {
  281. .decreasing-prices {
  282. margin-top: 10px;
  283. font-size: 10px;
  284. padding-top: 6px;
  285. padding-bottom: 2px;
  286. margin-bottom: 0px;
  287. ul {
  288. li {
  289. margin-bottom: 5px;
  290. strong {
  291. font-weight: bold;
  292. }
  293. }
  294. }
  295. }
  296. }
  297. .price-unit, .price-total {
  298. width: 135px ;
  299. text-align: center ;
  300. .price-infos {
  301. color: gray ;
  302. font-size: 13px ;
  303. line-height: 15px;
  304. }
  305. }
  306. tr.product-open td.price-total {
  307. font-size: 1.1rem ;
  308. font-family: 'worksans_bold';
  309. padding-top: 19px;
  310. }
  311. .td-quantity {
  312. width: 175px ;
  313. input.quantity,
  314. .input-group-text {
  315. background-color: white;
  316. }
  317. input.quantity {
  318. text-align: center ;
  319. border: 0px none;
  320. }
  321. .input-group-text {
  322. border: 0px none;
  323. padding-right: 10px ;
  324. padding-left: 0px;
  325. margin: 0px ;
  326. }
  327. .input-group-btn {
  328. button {
  329. padding: 4px 5px 0px 5px;
  330. .bi {
  331. font-size: 1.5em;
  332. font-weight: bold;
  333. margin: 0px;
  334. }
  335. }
  336. }
  337. }
  338. tr.total {
  339. .summary {
  340. padding: 25px;
  341. h3 {
  342. font-family: 'worksans_bold';
  343. margin-top: 0px ;
  344. text-transform: uppercase ;
  345. margin-bottom: 5px ;
  346. }
  347. ul {
  348. margin-bottom: 15px ;
  349. padding-left: 20px ;
  350. font-size: 1.1rem ;
  351. line-height: 1.4rem;
  352. list-style-type: disc;
  353. li {
  354. .quantity {
  355. font-weight: bold;
  356. }
  357. }
  358. }
  359. }
  360. .price-total {
  361. padding-top: 25px;
  362. font-size: 1.5rem ;
  363. font-family: 'worksans_bold';
  364. span {
  365. display: inline-block;
  366. padding: 7px 15px;
  367. @include border-radius(15px);
  368. color: white;
  369. font-size: 1.2rem;
  370. }
  371. }
  372. }
  373. }
  374. #payment-methods {
  375. .infos {
  376. margin-top: 10px;
  377. color: gray;
  378. }
  379. }
  380. #content-step-payment {
  381. .delivery {
  382. margin-bottom: 20px ;
  383. }
  384. .comment {
  385. margin-bottom: 20px ;
  386. }
  387. #payment-methods {
  388. margin-bottom: 20px ;
  389. }
  390. .credit {
  391. .info {
  392. margin-left: 20px ;
  393. color: gray ;
  394. }
  395. }
  396. }
  397. }
  398. }
  399. #main #content {
  400. .panel {
  401. h3 {
  402. font-family: "worksans_bold" ;
  403. margin: 0px ;
  404. padding-top: 10px ;
  405. padding-bottom: 4px ;
  406. font-size: 20px ;
  407. }
  408. }
  409. }