Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

715 lines
17KB

  1. /**
  2. Copyright Souke (2018)
  3. contact@souke.fr
  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. h1.title-system-order {
  31. color: #323232 ;
  32. padding-bottom: 35px ;
  33. font-size: 30px ;
  34. line-height: 35px ;
  35. font-family: "highvoltageregular" ;
  36. text-align: center ;
  37. position: relative ;
  38. margin-top: 0px ;
  39. img {
  40. width: 35px ;
  41. margin-right: 7px ;
  42. }
  43. }
  44. #addproducerform-id_producer,
  45. #signupform-id_producer {
  46. option:disabled {
  47. font-weight: bold ;
  48. color: black ;
  49. }
  50. .lock {
  51. position: relative ;
  52. }
  53. .lock:before {
  54. font-family: "Glyphicons Halflings" ;
  55. content: "\e033";
  56. font-style: normal;
  57. font-weight: 400;
  58. line-height: 1;
  59. position: relative;
  60. top: 1px;
  61. right: 0px ;
  62. }
  63. }
  64. #block-code-acces {
  65. display: none ;
  66. }
  67. #main .list-producers {
  68. .producer {
  69. padding-left: 0px ;
  70. padding-right: 30px ;
  71. .panel {
  72. margin-bottom: 13px ;
  73. }
  74. &.selected .panel {
  75. border-bottom: solid 3px $color-primary ;
  76. margin-bottom: 11px ;
  77. }
  78. .panel-heading {
  79. height: 150px ;
  80. overflow: hidden ;
  81. padding: 0px ;
  82. background: none ;
  83. background-color: #F8F1DD ;
  84. .img-back {
  85. width: 100% ;
  86. height: auto ;
  87. position: relative;
  88. top: -50% ;
  89. }
  90. }
  91. .panel-body {
  92. position: relative ;
  93. width: 100% ;
  94. height: 150px ;
  95. max-height: 150px;
  96. text-align: center ;
  97. h3 {
  98. margin-bottom: 4px ;
  99. }
  100. .locality {
  101. color: gray ;
  102. margin-bottom: 10px ;
  103. }
  104. .glyphicon-check {
  105. color: $color-primary ;
  106. font-size: 40px ;
  107. position: absolute ;
  108. top: 34px ;
  109. left: 32px ;
  110. }
  111. .remove {
  112. position: absolute ;
  113. top: 10px;
  114. right: 10px ;
  115. }
  116. .logo {
  117. display: none ;
  118. width: 150px ;
  119. position: absolute ;
  120. top: -40px ;
  121. left: 50% ;
  122. margin-left: -75px ;
  123. background-color: white ;
  124. padding: 10px 20px ;
  125. }
  126. .order-deadline,
  127. .credit {
  128. margin-top: 15px ;
  129. font-size: 13px ;
  130. }
  131. .order-deadline {
  132. float: left ;
  133. }
  134. .credit {
  135. float: right ;
  136. .amount {
  137. font-size: 16px ;
  138. color: $color-primary ;
  139. background-color: $color-secondary ;
  140. padding: 2px 10px ;
  141. @include border-radius(5px) ;
  142. font-weight: bold ;
  143. .glyphicon {
  144. font-size: 13px ;
  145. }
  146. }
  147. }
  148. .info-credit {
  149. font-size: 17px ;
  150. position: relative ;
  151. top: 2px ;
  152. left: 3px ;
  153. color: $color-primary ;
  154. }
  155. }
  156. }
  157. }
  158. #index-order {
  159. position: relative ;
  160. #logout {
  161. position: absolute ;
  162. /*top: 45px ;
  163. right: 93px ;*/
  164. top: 0 ;
  165. right: 0 ;
  166. z-index: 10 ;
  167. }
  168. .home {
  169. text-align: center ;
  170. padding-bottom: 20px;
  171. }
  172. #block-add-producer {
  173. padding-left: 0px ;
  174. padding-right: 30px ;
  175. .help-block {
  176. padding-bottom: 0px ;
  177. }
  178. .field-addproducerform-id_producer {
  179. width: 70% ;
  180. float: left ;
  181. }
  182. .field-addproducerform-code {
  183. width: 70% ;
  184. float: left ;
  185. }
  186. .btn {
  187. float: right ;
  188. position: relative ;
  189. top: 20px ;
  190. }
  191. .panel-heading {
  192. background: none ;
  193. background-color: white ;
  194. cursor: pointer ;
  195. }
  196. .panel-body {
  197. display: none ;
  198. }
  199. }
  200. #history-orders {
  201. .status, .amount{
  202. width: 175px ;
  203. }
  204. .amount {
  205. //text-align: center ;
  206. width: 100px ;
  207. }
  208. .name-point-sale {
  209. }
  210. .locality {
  211. font-size: 11px ;
  212. lin-height: 11px ;
  213. }
  214. a {
  215. text-decoration: none ;
  216. }
  217. .comment {
  218. margin-top: 5px ;
  219. span {
  220. font-size: 12px ;
  221. background-color: white ;
  222. color: $color-primary ;
  223. font-weight: bold ;
  224. @include border-radius(5px) ;
  225. padding: 5px 10px ;
  226. border: solid 1px #ccc ;
  227. }
  228. }
  229. }
  230. }
  231. .order-form {
  232. min-height: 600px ;
  233. padding-bottom: 60px ;
  234. h2 {
  235. font-family: "myriadpro-regular" ;
  236. }
  237. #infos-importantes.alert-warning {
  238. float: right ;
  239. }
  240. #datepicker-distribution {
  241. .ui-datepicker {
  242. float: left ;
  243. margin-right: 20px ;
  244. font-size: 20px ;
  245. }
  246. .ui-datepicker-header {
  247. background-color: $color-primary ;
  248. }
  249. .ui-datepicker-title {
  250. color: white
  251. }
  252. .ui-datepicker-prev,
  253. .ui-datepicker-next {
  254. &:hover {
  255. border: 0px none ;
  256. background: none ;
  257. }
  258. }
  259. .ui-helper-clearfix:after {
  260. clear: none ;
  261. }
  262. .ui-datepicker-calendar {
  263. a {
  264. text-decoration: none ;
  265. background-color: $color-secondary ;
  266. &.ui-state-hover, &.ui-state-active {
  267. background-color: $color-primary ;
  268. color: white ;
  269. border-color: #cdc3b7 ;
  270. }
  271. }
  272. }
  273. }
  274. .date-order {
  275. margin-bottom: 53px ;
  276. span {
  277. background-color: $color-primary ;
  278. color: white ;
  279. @include border-radius(10px) ;
  280. padding: 10px ;
  281. font-family: "myriadpro-regular";
  282. font-size: 20px ;
  283. }
  284. }
  285. #has-order-in-progress {
  286. margin-top: 15px ;
  287. a {
  288. color: #a94442 ;
  289. text-decoration: none ;
  290. font-weight: bold ;
  291. }
  292. }
  293. .field-order-id_distribution {
  294. display: none ;
  295. }
  296. .field-order-id_point_sale {
  297. margin-top: 30px ;
  298. }
  299. .field-order-id_distribution {
  300. margin-bottom: 0px ;
  301. label {
  302. margin-bottom: 0px ;
  303. }
  304. .help-block {
  305. margin-bottom: 0px ;
  306. }
  307. }
  308. .field-order-id_point_sale {
  309. display: none ;
  310. }
  311. .blocks {
  312. list-style-type: none ;
  313. margin: 0px ;
  314. padding: 0px ;
  315. .block {
  316. text-decoration: none ;
  317. width: 268px ;
  318. height: 130px ;
  319. float: left ;
  320. padding: 20px ;
  321. margin-right: 20px ;
  322. margin-bottom: 8px ;
  323. cursor: pointer ;
  324. float: left ;
  325. background-color: #f9f9f9 ;
  326. background-color: white ;
  327. border: 1px solid #d8d8d8 ;
  328. .name {
  329. //text-align: center ;
  330. font-family: "comfortaalight" ;
  331. font-size: 20px ;
  332. }
  333. .address {
  334. color: gray ;
  335. font-size: 13px ;
  336. line-height: 16px ;
  337. }
  338. .infos {
  339. margin-top: 7px ;
  340. .day {
  341. font-weight: bold ;
  342. display: none ;
  343. }
  344. }
  345. &.selected {
  346. border-left: solid 5px $color-primary ;
  347. //@include box-shadow(0px 0px 5px #d8d8d8) ;
  348. .contenu {
  349. position: relative ;
  350. left: -4px ;
  351. }
  352. }
  353. &:hover {
  354. @include box-shadow(0px 0px 5px #d8d8d8) ;
  355. //@include box-shadow(none) ;
  356. }
  357. &.disabled {
  358. display: none ;
  359. //color: gray ;
  360. }
  361. .comment {
  362. margin-top: 5px ;
  363. span {
  364. background-color: $color-primary ;
  365. @include border-radius(5px) ;
  366. color: white ;
  367. font-weight: bold ;
  368. padding: 3px 10px ;
  369. }
  370. }
  371. }
  372. }
  373. #products {
  374. margin-top: 15px ;
  375. #label-products {
  376. display: block ;
  377. margin-bottom: 5px ;
  378. }
  379. .table {
  380. margin-top: 7px ;
  381. .photo {
  382. padding: 0px ;
  383. width: 120px ;
  384. }
  385. .th-photo, .td-photo {
  386. width: 120px ;
  387. }
  388. .name {
  389. font-family: "comfortaalight" ;
  390. font-weight: bold ;
  391. text-transform: uppercase ;
  392. font-size: 18px ;
  393. }
  394. .description {
  395. font-style: italic;
  396. }
  397. .recipe {
  398. font-size: 12px ;
  399. }
  400. .input-group {
  401. width: 133px ;
  402. .quantity {
  403. text-align: center ;
  404. }
  405. }
  406. .column-quantity, .price-unit, .total {
  407. width: 150px ;
  408. text-align: center ;
  409. }
  410. td#total-order, td#total-order-vrac, td.total {
  411. text-align: center ;
  412. }
  413. .epuise {
  414. display: none ;
  415. text-transform: uppercase ;
  416. color: #B32815 ;
  417. font-weight: bold ;
  418. font-size: 16px ;
  419. text-align: center ;
  420. }
  421. .quantity-remaining{
  422. font-size: 12px ;
  423. margin-top: 8px ;
  424. .nb {
  425. font-weight: bold ;
  426. }
  427. }
  428. td.product, th.product {
  429. width: 70% ;
  430. }
  431. td.price-unit, th.price-unit {
  432. width: 10% ;
  433. }
  434. td.column-quantity, th.column-quantity {
  435. width: 10% ;
  436. }
  437. td.total, th.total {
  438. width: 10% ;
  439. }
  440. }
  441. }
  442. #bar-fixed {
  443. display: none ;
  444. position: fixed ;
  445. bottom: 0px ;
  446. //left: 0px ;
  447. z-index: 100 ;
  448. //width: 100% ;
  449. background-color: white ;
  450. padding: 15px ;
  451. margin-bottom: 0px ;
  452. @include box-shadow(0 0 5px gray) ;
  453. @include border-radius(10px 10px 0px 0px) ;
  454. border-top: solid 1px #e0e0e0 ;
  455. background-color: #F9F9F9 ;
  456. background-color: $color-secondary ;
  457. text-align: center ;
  458. &.not-fixed {
  459. position: relative ;
  460. @include box-shadow(none) ;
  461. @include border-radius(0px) ;
  462. border: solid 1px #e0e0e0 ;
  463. padding-right: 20px ;
  464. }
  465. &.no-credit {
  466. #bloc-valider-commande {
  467. margin-top: 0px ;
  468. float: right ;
  469. }
  470. }
  471. #total-order-bottom {
  472. background-color: white ;
  473. @include border-radius(20px) ;
  474. padding: 5px 25px ;
  475. border: solid 1px #e0e0e0 ;
  476. }
  477. .btn-comment {
  478. float: left ;
  479. }
  480. .confirm-order {
  481. //float: left;
  482. }
  483. .btn-comment {
  484. margin-right: 10px ;
  485. }
  486. #block-confirm-order {
  487. text-align: right ;
  488. margin-top: 20px ;
  489. button {
  490. width: 340px ;
  491. margin-right: 10px ;
  492. }
  493. }
  494. #checkbox-credit {
  495. float: right ;
  496. width: 340px ;
  497. padding: 3px 11px ;
  498. background-color: white ;
  499. border: solid 1px #ccc ;
  500. @include border-radius(5px) ;
  501. margin-right: 10px ;
  502. @include text-shadow(0 1px 0 #fff) ;
  503. @include box-shadow(0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 1px rgba(0, 0, 0, 0.075)) ;
  504. &.payment-impossible {
  505. background-color: #e0e0e0 ;
  506. }
  507. .info {
  508. color: gray ;
  509. font-weight: normal
  510. }
  511. .the-credit {
  512. background-color: $color-primary ;
  513. color: white ;
  514. padding: 2px 8px;
  515. @include border-radius(5px) ;
  516. }
  517. .amount-paid {
  518. color: $color-primary ;
  519. }
  520. #info-credit-empty {
  521. font-size: 12px ;
  522. }
  523. #credit-disabled {
  524. display: none ;
  525. font-size: 12px ;
  526. }
  527. }
  528. .btn-retour, .cancel-order {
  529. float: left ;
  530. margin-right: 5px ;
  531. }
  532. .cancel-order {
  533. color: #b92c28 ;
  534. background-color: white ;
  535. }
  536. #total-order-bottom {
  537. display: none ;
  538. font-weight: bold ;
  539. font-family: "comfortaalight" ;
  540. font-size: 24px ;
  541. }
  542. .field-order-comment {
  543. display: none ;
  544. }
  545. }
  546. }
  547. .ui-datepicker {
  548. //@include border-radius(0px) ;
  549. .ui-widget-header {
  550. background: none ;
  551. background-color: gray ;
  552. border: 0px none ;
  553. color: black ;
  554. font-weight: normal ;
  555. }
  556. .ui-datepicker-current-day a,
  557. a.ui-state-hover {
  558. background: none ;
  559. //background-color: #fdd44b ;
  560. background-color: gray ;
  561. border-color: black ;
  562. color: black ;
  563. }
  564. }
  565. #page-producer {
  566. .buttons-login-signup {
  567. display: none;
  568. }
  569. }
  570. #page-producer,
  571. #page-producer-code {
  572. h1 {
  573. font-size: 40px ;
  574. }
  575. .info {
  576. text-align: center ;
  577. }
  578. }
  579. #page-producer-offline {
  580. //text-align: center;
  581. .col-lg-6 {
  582. margin: 0px auto;
  583. }
  584. }
  585. #page-producer-code {
  586. form#producer-code {
  587. max-width: 400px ;
  588. margin: 0px auto ;
  589. .form-group.buttons {
  590. text-align: center ;
  591. }
  592. }
  593. }