No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

_form.scss 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /**
  2. Copyright distrib (2018)
  3. contact@opendistrib.net
  4. Ce logiciel est un programme informatique servant à aider les producteurs
  5. à distribuer leur production en circuits courts.
  6. Ce logiciel est régi par la licence CeCILL soumise au droit français et
  7. respectant les principes de diffusion des logiciels libres. Vous pouvez
  8. utiliser, modifier et/ou redistribuer ce programme sous les conditions
  9. de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA
  10. sur le site "http://www.cecill.info".
  11. En contrepartie de l'accessibilité au code source et des droits de copie,
  12. de modification et de redistribution accordés par cette licence, il n'est
  13. offert aux utilisateurs qu'une garantie limitée. Pour les mêmes raisons,
  14. seule une responsabilité restreinte pèse sur l'auteur du programme, le
  15. titulaire des droits patrimoniaux et les concédants successifs.
  16. A cet égard l'attention de l'utilisateur est attirée sur les risques
  17. associés au chargement, à l'utilisation, à la modification et/ou au
  18. développement et à la reproduction du logiciel par l'utilisateur étant
  19. donné sa spécificité de logiciel libre, qui peut le rendre complexe à
  20. manipuler et qui le réserve donc à des développeurs et des professionnels
  21. avertis possédant des connaissances informatiques approfondies. Les
  22. utilisateurs sont donc invités à charger et tester l'adéquation du
  23. logiciel à leurs besoins dans des conditions permettant d'assurer la
  24. sécurité de leurs systèmes et ou de leurs données et, plus généralement,
  25. à l'utiliser et l'exploiter dans les mêmes conditions de sécurité.
  26. Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
  27. pris connaissance de la licence CeCILL, et que vous en avez accepté les
  28. termes.
  29. */
  30. .order-create,
  31. .order-update {
  32. #main #content .order-form {
  33. min-height: 600px ;
  34. padding-bottom: 60px ;
  35. h2 {
  36. font-family: "myriadpro-regular" ;
  37. }
  38. #infos-importantes.alert-warning {
  39. float: right ;
  40. }
  41. #datepicker-distribution {
  42. .ui-datepicker {
  43. float: left ;
  44. margin-right: 20px ;
  45. font-size: 20px ;
  46. }
  47. .ui-datepicker-header {
  48. background-color: $color1 ;
  49. }
  50. .ui-datepicker-title {
  51. color: white ;
  52. }
  53. .ui-datepicker-prev,
  54. .ui-datepicker-next {
  55. &:hover {
  56. border: 0px none ;
  57. background: none ;
  58. }
  59. }
  60. .ui-helper-clearfix:after {
  61. clear: none ;
  62. }
  63. .ui-datepicker-calendar {
  64. a {
  65. text-decoration: none ;
  66. background-color: $color2 ;
  67. &.ui-state-hover, &.ui-state-active {
  68. background-color: $color1 ;
  69. color: white ;
  70. border-color: #cdc3b7 ;
  71. }
  72. }
  73. }
  74. }
  75. .date-order {
  76. margin-bottom: 53px ;
  77. span {
  78. background-color: $color1 ;
  79. color: white ;
  80. @include border-radius(10px) ;
  81. padding: 10px ;
  82. font-family: "myriadpro-regular";
  83. font-size: 20px ;
  84. }
  85. }
  86. #has-order-in-progress {
  87. margin-top: 15px ;
  88. a {
  89. color: #a94442 ;
  90. text-decoration: none ;
  91. font-weight: bold ;
  92. }
  93. }
  94. .field-order-id_distribution {
  95. display: none ;
  96. }
  97. .field-order-id_point_sale {
  98. margin-top: 30px ;
  99. }
  100. .field-order-id_distribution {
  101. margin-bottom: 0px ;
  102. label {
  103. margin-bottom: 0px ;
  104. }
  105. .help-block {
  106. margin-bottom: 0px ;
  107. }
  108. }
  109. .field-order-id_point_sale {
  110. display: none ;
  111. }
  112. .blocks {
  113. list-style-type: none ;
  114. margin: 0px ;
  115. padding: 0px ;
  116. .block {
  117. text-decoration: none ;
  118. width: 268px ;
  119. height: 130px ;
  120. float: left ;
  121. padding: 20px ;
  122. margin-right: 20px ;
  123. margin-bottom: 8px ;
  124. cursor: pointer ;
  125. float: left ;
  126. background-color: #f9f9f9 ;
  127. background-color: white ;
  128. border: 1px solid #d8d8d8 ;
  129. .name {
  130. font-family: "comfortaalight" ;
  131. font-size: 20px ;
  132. padding-bottom: 10px ;
  133. }
  134. .address {
  135. color: gray ;
  136. font-size: 15px ;
  137. line-height: 20px ;
  138. }
  139. &.selected {
  140. border-left: solid 5px $color1 ;
  141. .contenu {
  142. position: relative ;
  143. left: -4px ;
  144. }
  145. }
  146. &:hover {
  147. @include box-shadow(0px 0px 5px #d8d8d8) ;
  148. }
  149. &.disabled {
  150. display: none ;
  151. }
  152. .comment {
  153. margin-top: 5px ;
  154. span {
  155. background-color: $color1 ;
  156. @include border-radius(5px) ;
  157. color: white ;
  158. font-weight: bold ;
  159. padding: 3px 10px ;
  160. }
  161. }
  162. }
  163. }
  164. .infos-points-sale {
  165. display: none;
  166. margin-top: 15px ;
  167. h4 {
  168. margin-top: 0px ;
  169. padding-top: 0px ;
  170. text-align: left ;
  171. text-transform: uppercase ;
  172. font-weight: bold ;
  173. font-family: 'myriadpro-semibold' ;
  174. span {
  175. font-family: 'myriadpro-regular' ;
  176. text-transform: none ;
  177. }
  178. }
  179. a {
  180. text-decoration: underline ;
  181. }
  182. }
  183. #products {
  184. margin-top: 15px ;
  185. .alert.unavailable {
  186. display: none ;
  187. }
  188. #label-products {
  189. display: block ;
  190. margin-bottom: 5px ;
  191. }
  192. .table {
  193. margin-top: 7px ;
  194. .photo {
  195. padding: 0px ;
  196. width: 120px ;
  197. }
  198. .th-photo, .td-photo {
  199. width: 120px ;
  200. }
  201. .name {
  202. font-family: "comfortaalight" ;
  203. font-weight: bold ;
  204. text-transform: uppercase ;
  205. font-size: 18px ;
  206. }
  207. .description {
  208. font-style: italic;
  209. }
  210. .recipe {
  211. font-size: 12px ;
  212. }
  213. .input-group {
  214. width: 133px ;
  215. .quantity {
  216. text-align: center ;
  217. }
  218. }
  219. .column-quantity, .price-unit, .total {
  220. width: 150px ;
  221. text-align: center ;
  222. }
  223. td#total-order, td#total-order-vrac, td.total {
  224. text-align: center ;
  225. }
  226. .unavailable {
  227. display: none ;
  228. text-transform: uppercase ;
  229. color: #B32815 ;
  230. font-weight: bold ;
  231. font-size: 16px ;
  232. text-align: center ;
  233. }
  234. .quantity-remaining {
  235. font-size: 12px ;
  236. margin-top: 8px ;
  237. .nb {
  238. font-weight: bold ;
  239. }
  240. }
  241. td.product, th.product {
  242. width: 70% ;
  243. }
  244. td.price-unit, th.price-unit {
  245. width: 10% ;
  246. }
  247. td.column-quantity, th.column-quantity {
  248. width: 10% ;
  249. }
  250. td.total, th.total {
  251. width: 10% ;
  252. }
  253. }
  254. }
  255. #bar-fixed {
  256. display: none ;
  257. width: 100% ;
  258. position: fixed ;
  259. bottom: 0px ;
  260. left: 0px ;
  261. z-index: 100 ;
  262. background-color: white ;
  263. padding: 15px ;
  264. margin-bottom: 0px ;
  265. @include box-shadow(0 0 5px gray) ;
  266. border-top: solid 1px #e0e0e0 ;
  267. background-color: #F9F9F9 ;
  268. background-color: $color2 ;
  269. text-align: center ;
  270. .container {
  271. min-height: auto ;
  272. background: none ;
  273. border: 0px none ;
  274. }
  275. &.not-fixed {
  276. position: relative ;
  277. @include box-shadow(none) ;
  278. @include border-radius(0px) ;
  279. border: solid 1px #e0e0e0 ;
  280. padding-right: 20px ;
  281. .container {
  282. width: auto ;
  283. }
  284. }
  285. &.no-credit {
  286. #bloc-valider-commande {
  287. margin-top: 0px ;
  288. float: right ;
  289. }
  290. }
  291. #total-order-bottom {
  292. background-color: white ;
  293. @include border-radius(20px) ;
  294. padding: 5px 25px ;
  295. border: solid 1px #e0e0e0 ;
  296. }
  297. .btn-comment {
  298. float: left ;
  299. }
  300. .confirm-order {
  301. //float: left;
  302. }
  303. .btn-comment {
  304. margin-right: 10px ;
  305. }
  306. #block-confirm-order {
  307. text-align: right ;
  308. margin-top: 20px ;
  309. button {
  310. width: 340px ;
  311. margin-right: 10px ;
  312. }
  313. }
  314. #checkbox-credit {
  315. float: right ;
  316. width: 340px ;
  317. padding: 3px 11px ;
  318. background-color: white ;
  319. border: solid 1px #ccc ;
  320. @include border-radius(5px) ;
  321. margin-right: 10px ;
  322. @include text-shadow(0 1px 0 #fff) ;
  323. @include box-shadow(0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 1px rgba(0, 0, 0, 0.075)) ;
  324. &.payment-impossible {
  325. background-color: #e0e0e0 ;
  326. }
  327. .info {
  328. color: gray ;
  329. font-weight: normal
  330. }
  331. .the-credit {
  332. background-color: $color1 ;
  333. color: white ;
  334. padding: 2px 8px;
  335. @include border-radius(5px) ;
  336. }
  337. .amount-paid {
  338. color: $color1 ;
  339. }
  340. #info-credit-empty {
  341. font-size: 12px ;
  342. }
  343. #credit-disabled {
  344. display: none ;
  345. font-size: 12px ;
  346. }
  347. }
  348. .btn-back, .cancel-order {
  349. float: left ;
  350. margin-right: 5px ;
  351. }
  352. .cancel-order {
  353. color: #b92c28 ;
  354. background-color: white ;
  355. }
  356. #total-order-bottom {
  357. display: none ;
  358. font-weight: bold ;
  359. font-family: "comfortaalight" ;
  360. font-size: 24px ;
  361. }
  362. .field-order-comment {
  363. display: none ;
  364. }
  365. }
  366. }
  367. .ui-datepicker {
  368. //@include border-radius(0px) ;
  369. .ui-widget-header {
  370. background: none ;
  371. background-color: gray ;
  372. border: 0px none ;
  373. color: black ;
  374. font-weight: normal ;
  375. }
  376. .ui-datepicker-current-day a,
  377. a.ui-state-hover {
  378. background: none ;
  379. //background-color: #fdd44b ;
  380. background-color: gray ;
  381. border-color: black ;
  382. color: black ;
  383. }
  384. }
  385. }