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.

2 maanden geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
8 jaren geleden
5 jaren geleden
4 maanden geleden
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561
  1. /**
  2. Copyright Guillaume Bourgeois (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. @import "compass" ;
  31. $dir-fonts: '../fonts/' ;
  32. @import "_fonts.scss" ;
  33. //$color1: #FF7F00 ;
  34. $color1: #F39C12;
  35. $color2: white ;
  36. .clr {
  37. clear: both ;
  38. }
  39. h1, h2, h3, h4, h5, h6 {
  40. font-family: 'myriadpro-light' ;
  41. }
  42. a {
  43. color: $color1;
  44. &:hover, &:focus, &:active {
  45. color: darken($color1, 10) ;
  46. }
  47. }
  48. .float-right {
  49. float: right;
  50. }
  51. .float-left {
  52. float: left;
  53. }
  54. .align-center {
  55. text-align: center ;
  56. }
  57. #block-demo {
  58. padding: 10px 0px ;
  59. background-color: $color2 ;
  60. color: $color1;
  61. text-align: left ;
  62. margin-bottom: 20px ;
  63. border: solid 1px lighten($color1,10) ;
  64. @include border-radius(5px) ;
  65. a {
  66. text-decoration: underline ;
  67. }
  68. }
  69. #env-dev {
  70. font-family: 'comfortaabold' ;
  71. text-align: center ;
  72. font-size: 18px ;
  73. padding: 5px 10px ;
  74. color: white ;
  75. position: fixed ;
  76. top: 9px ;
  77. left: 66px ;
  78. z-index: 1031 ;
  79. }
  80. .wrap {
  81. .btn-primary {
  82. background: none ;
  83. background-color: $color1 ;
  84. border: solid 1px $color1 ;
  85. &:hover, &:focus, &:active {
  86. background-color: darken($color1, 10) ;
  87. border: solid 1px darken($color1, 10) ;
  88. }
  89. }
  90. }
  91. .nav-header {
  92. .retour-site {
  93. border-left : solid 1px $color2 ;
  94. padding: 10px 15px ;
  95. }
  96. }
  97. .navbar-brand {
  98. .logo {
  99. height: 40px ;
  100. position: relative ;
  101. top: -10px ;
  102. }
  103. }
  104. .container-body {
  105. padding-top: 117px ;
  106. padding-bottom: 50px ;
  107. }
  108. .navbar-inverse {
  109. background: none;
  110. background-color: $color1 ;
  111. border-bottom: 0px none ;
  112. .navbar-nav {
  113. padding-top: 12px ;
  114. }
  115. .navbar-nav > li > a {
  116. color: white ;
  117. margin-left: 3px;
  118. padding: 3px 11px ;
  119. &:hover {
  120. color: $color2 ;
  121. //background-color: $color2 ;
  122. }
  123. }
  124. .navbar-nav > li.active,
  125. .navbar-nav > .open {
  126. a {
  127. background: none ;
  128. @include box-shadow(none) ;
  129. @include text-shadow(none) ;
  130. margin-left: 3px ;
  131. background-color: $color2 ;
  132. color: $color1 ;
  133. padding: 3px 11px ;
  134. @include border-radius(5px) ;
  135. &:hover,
  136. &:focus {
  137. background-color: $color2 ;
  138. color: $color1 ;
  139. }
  140. }
  141. }
  142. .navbar-nav > .open {
  143. a.dropdown-toggle {
  144. @include border-radius(5px 5px 0px 0px) ;
  145. }
  146. ul.dropdown-menu {
  147. @include box-shadow(0px 0px 5px gray) ;
  148. @include border-radius(5px 0px 5px 5px) ;
  149. border-top: 0px none ;
  150. right: -1px ;
  151. li {
  152. a {
  153. background-color: transparent ;
  154. &:hover {
  155. color: darken($color1,10) ;
  156. }
  157. }
  158. }
  159. }
  160. }
  161. .navbar-nav > .open > a,
  162. .navbar-nav > .open > a:hover,
  163. .navbar-nav > .open > a:focus {
  164. }
  165. }
  166. .select2 {
  167. width: 100%;
  168. .select2-selection {
  169. border: 1px solid #ccc;
  170. @include border-radius(0px);
  171. height: 34px;
  172. }
  173. }
  174. .select2-container--default .select2-results__option--highlighted[aria-selected] {
  175. background-color: $color1 !important;
  176. }
  177. .select2-container {
  178. z-index: 9999;
  179. }
  180. #alerts-fixed {
  181. position: fixed ;
  182. bottom: 20px ;
  183. left: 20px ;
  184. .alert {
  185. margin-top: 20px ;
  186. }
  187. }
  188. .name-producer {
  189. //font-family: 'Georgia' ;
  190. margin-bottom: 15px ;
  191. text-align: left ;
  192. position: fixed ;
  193. top: 51px ;
  194. left: 0px ;
  195. width: 100% ;
  196. background-color: #515151 ;
  197. background-color: $color2 ;
  198. color: darken($color1,15) ;
  199. z-index: 100 ;
  200. font-size: 20px ;
  201. padding: 8px 15px ;
  202. padding-bottom: 2px ;
  203. padding-top: 5px ;
  204. border-bottom: solid 1px #e0e0e0 ;
  205. @include box-shadow(0px 0px 5px gray) ;
  206. #select-producer {
  207. float: left ;
  208. font-size: 15px ;
  209. }
  210. .label {
  211. font-size: 11px ;
  212. margin-left: 10px ;
  213. position: relative ;
  214. bottom: 3px ;
  215. a {
  216. color: white ;
  217. &:hover {
  218. text-decoration: none ;
  219. }
  220. }
  221. }
  222. }
  223. .table {
  224. thead {
  225. th.actions {
  226. width: 220px ;
  227. }
  228. th.order {
  229. width: 58px ;
  230. }
  231. th.actif {
  232. width: 75px ;
  233. text-align: center;
  234. }
  235. }
  236. tbody {
  237. td.center {
  238. text-align: center ;
  239. }
  240. }
  241. }
  242. .footer {
  243. .pull-left {
  244. a {
  245. margin-right: 5px ;
  246. margin-left: 5px ;
  247. color: gray ;
  248. }
  249. }
  250. #code-source {
  251. img {
  252. height: 20px ;
  253. }
  254. }
  255. }
  256. a.btn, button.btn {
  257. position: relative ;
  258. .glyphicon-triangle-bottom {
  259. display: none;
  260. position: absolute;
  261. top: 26px;
  262. left: 50%;
  263. margin-left: -10px;
  264. font-size: 20px;
  265. color: $color1;
  266. }
  267. &.btn-primary {
  268. .glyphicon-triangle-bottom {
  269. display: block ;
  270. }
  271. }
  272. }
  273. .app-vuejs {
  274. #loading {
  275. position: fixed ;
  276. top: 50% ;
  277. left: 50% ;
  278. width: 100px ;
  279. height: 100px ;
  280. @include border-radius(50px) ;
  281. background-color: white ;
  282. z-index: 10 ;
  283. @include box-shadow(0px 0px 5px #d0d0d0) ;
  284. img {
  285. position: relative ;
  286. top: 35px ;
  287. left: 35px ;
  288. width: 30px ;
  289. height: 30px ;
  290. }
  291. }
  292. }
  293. #nav-params {
  294. margin-bottom: 20px ;
  295. a {
  296. margin-right: 10px ;
  297. margin-bottom: 10px;
  298. }
  299. }
  300. .panel {
  301. .panel-heading {
  302. .panel-title {
  303. .btn {
  304. float: right ;
  305. }
  306. }
  307. }
  308. }
  309. /* modals */
  310. .modal-mask {
  311. position: fixed;
  312. z-index: 9998;
  313. top: 0;
  314. left: 0;
  315. width: 100%;
  316. height: 100%;
  317. background-color: rgba(0, 0, 0, .5);
  318. display: table;
  319. transition: opacity .3s ease;
  320. }
  321. .modal-wrapper {
  322. display: table-cell;
  323. vertical-align: middle;
  324. }
  325. .modal-container {
  326. width: 70%;
  327. margin: 0px auto;
  328. padding: 20px 30px;
  329. background-color: #fff;
  330. border-radius: 2px;
  331. box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
  332. transition: all .3s ease;
  333. font-family: Helvetica, Arial, sans-serif;
  334. }
  335. .modal-header {
  336. padding-bottom: 0px ;
  337. h3 {
  338. margin-top: 0;
  339. color: #333;
  340. text-transform: uppercase ;
  341. margin-bottom: 0px ;
  342. }
  343. }
  344. .modal-body {
  345. margin: 20px 0;
  346. max-height: 300px ;
  347. height: 300px ;
  348. overflow-y: scroll ;
  349. }
  350. .modal-default-button {
  351. float: right;
  352. }
  353. /*
  354. * The following styles are auto-applied to elements with
  355. * transition="modal" when their visibility is toggled
  356. * by Vue.js.
  357. *
  358. * You can easily play with the modal transition by editing
  359. * these styles.
  360. */
  361. .modal-enter {
  362. opacity: 0;
  363. }
  364. .modal-leave-active {
  365. opacity: 0;
  366. }
  367. .modal-enter .modal-container,
  368. .modal-leave-active .modal-container {
  369. -webkit-transform: scale(1.1);
  370. transform: scale(1.1);
  371. }
  372. // liste de commandes
  373. .site-index, .user-commandes {
  374. #last-orders, #history-orders {
  375. tr.order-update {
  376. td {
  377. background-color: $color2 ;
  378. }
  379. .update {
  380. color: $color1 ;
  381. }
  382. }
  383. tr.order-delete {
  384. td {
  385. background-color: lighten(#C9302C, 40);
  386. }
  387. .delete {
  388. color: #C9302C ;
  389. }
  390. }
  391. td.history {
  392. min-width: 170px ;
  393. .small {
  394. margin-bottom: 7px ;
  395. }
  396. strong {
  397. }
  398. }
  399. .small, .locality {
  400. font-size: 12px ;
  401. color: gray ;
  402. }
  403. .comment {
  404. font-size: 12px ;
  405. }
  406. .date {
  407. text-align: center ;
  408. }
  409. .comment {
  410. position: relative ;
  411. margin-top: 4px ;
  412. padding-left: 20px ;
  413. font-style: italic ;
  414. .glyphicon {
  415. position: absolute ;
  416. left: 0px ;
  417. }
  418. }
  419. }
  420. }
  421. // tableau de bord
  422. .site-index {
  423. .panel {
  424. .panel-title {
  425. .btn {
  426. float: right ;
  427. font-family: 'myriadpro-regular' ;
  428. &.margin-left {
  429. margin-left: 5px ;
  430. }
  431. }
  432. }
  433. .panel-body {
  434. //height: 250px ;
  435. }
  436. }
  437. #billing {
  438. h2 {
  439. font-size: 25px ;
  440. text-align: center ;
  441. }
  442. .current-month {
  443. .amount span {
  444. background-color: white ;
  445. color: #333 ;
  446. border: solid 1px gray ;
  447. }
  448. }
  449. .amount {
  450. margin-top: 35px ;
  451. text-align: center ;
  452. span {
  453. font-size: 22px ;
  454. color: white ;
  455. background-color: $color1 ;
  456. padding: 7px 10px 3px;
  457. font-family: 'myriadpro-regular' ;
  458. @include border-radius(5px) ;
  459. }
  460. }
  461. }
  462. }
  463. #page-order {
  464. #row2 {
  465. }
  466. h1 {
  467. .btn-group {
  468. float: right ;
  469. }
  470. }
  471. #col-left, #col-right {
  472. padding-left: 0px ;
  473. padding-right: 0px ;
  474. }
  475. #col-right {
  476. padding-left: 20px ;
  477. }
  478. #jours-production {
  479. display: none ;
  480. }
  481. #calendar {
  482. h2 {
  483. font-size: 20px ;
  484. position: relative ;
  485. top: 3px ;
  486. }
  487. .fc-header-title {
  488. margin-left: 10px ;
  489. }
  490. $back-day-with-event: lighten(#FDD44B,13) ;
  491. //$back-day-with-event: #FDD44B ;
  492. .dayWithEvent {
  493. background-color: $back-day-with-event ;
  494. cursor: pointer;
  495. }
  496. .fc-event-container {display: none;}
  497. .fc-today {
  498. border-bottom: solid 1px #C9302C ;
  499. background-color: white ;
  500. &.dayWithEvent {
  501. background-color: $back-day-with-event ;
  502. }
  503. }
  504. .fc-day {
  505. cursor: pointer ;
  506. text-align: center ;
  507. &:hover {
  508. @include box-shadow(0px 0px 2px black inset) ;
  509. }
  510. }
  511. .current-date {
  512. @include box-shadow(0px 0px 2px black inset) ;
  513. }
  514. .fc-day-number {
  515. float: none ;
  516. padding-top: 2px ;
  517. }
  518. }
  519. .btn-active-week {
  520. display: block ;
  521. margin-top: 10px ;
  522. }
  523. #bloc-production {
  524. .label {
  525. float: right ;
  526. font-size: 13px ;
  527. }
  528. #productions-point-vente {
  529. margin-top: 15px ;
  530. padding: 10px ;
  531. border: solid 1px #e0e0e0 ;
  532. background-color: #F5F5F5 ;
  533. @include border-radius(5px) ;
  534. label {
  535. display: block ;
  536. font-weight: normal ;
  537. }
  538. .checkbox-list {
  539. margin-left: 10px ;
  540. margin-top: 10px ;
  541. }
  542. }
  543. }
  544. #produits-production {
  545. .overflow {
  546. table {
  547. width: 100%;
  548. }
  549. thead, tbody, tr, td, th { display: block; }
  550. tr:after {
  551. content: ' ';
  552. display: block;
  553. visibility: hidden;
  554. clear: both;
  555. }
  556. thead th {
  557. height: 30px;
  558. }
  559. tbody {
  560. height: 500px;
  561. overflow-y: auto;
  562. }
  563. thead {
  564. }
  565. thead th {
  566. width: 32%;
  567. float: left;
  568. }
  569. tbody td{
  570. width: 33%;
  571. float: left;
  572. }
  573. .td-produit {
  574. width: 60% ;
  575. }
  576. .td-active, .td-max {
  577. width: 20% ;
  578. text-align: center ;
  579. }
  580. thead {
  581. .td-product {
  582. width: 57% ;
  583. }
  584. }
  585. }
  586. input.quantity-max {
  587. background-color: white;
  588. border: 1px solid #e0e0e0;
  589. text-align: center;
  590. width: 50px;
  591. }
  592. td {
  593. label {
  594. font-weight: normal ;
  595. }
  596. }
  597. }
  598. #btn-export-commandes,
  599. #btn-commandes-auto {
  600. float: right ;
  601. position: relative;
  602. top: -5px ;
  603. right: -7px ;
  604. padding: 2px 5px ;
  605. }
  606. #btn-export-commandes,
  607. #btn-commandes-auto {
  608. color: white ;
  609. margin-left: 10px ;
  610. padding: 1px 5px ;
  611. }
  612. #btn-commandes-auto {
  613. top: -7px ;
  614. .btn {
  615. padding: 2px 5px;
  616. span {
  617. top: 2px ;
  618. }
  619. }
  620. }
  621. #bloc-totaux {
  622. .table-products {
  623. .depasse {
  624. color: #b32815 ;
  625. }
  626. .total strong span {
  627. font-weight: normal ;
  628. font-size: 13px ;
  629. }
  630. }
  631. }
  632. #commandes-points-vente {
  633. .tab-pane {
  634. padding-top: 20px ;
  635. }
  636. .recap-pv {
  637. &.no-commande {
  638. .recettes {
  639. display: none;
  640. }
  641. }
  642. .recettes {
  643. float: right ;
  644. color: $color1 ;
  645. border: solid 1px $color1 ;
  646. padding: 4px 10px ;
  647. @include border-radius(10px) ;
  648. font-weight: bold ;
  649. position: relative ;
  650. top: -3px ;
  651. }
  652. }
  653. .alert.comment {
  654. display: none ;
  655. }
  656. ul.liste-commandes {
  657. margin-top: 10px ;
  658. list-style-type: none ;
  659. height: 100% ;
  660. max-height: 400px ;
  661. margin-left: 0 ;
  662. padding-left: 0 ;
  663. margin-top: 0px ;
  664. width: 100% ;
  665. overflow-y: scroll ;
  666. &.no-commande {
  667. display: none ;
  668. }
  669. li {
  670. padding: 0 ;
  671. margin: 0 ;
  672. a {
  673. text-align: left;
  674. @include border-radius(0px) ;
  675. display: block ;
  676. padding: 7px ;
  677. color: #333 ;
  678. .montant {
  679. float: right ;
  680. color: $color1 ;
  681. font-weight: bold ;
  682. &.paye {
  683. color: #5cb85c ;
  684. color: #519951 ;
  685. }
  686. }
  687. .glyphicon-comment {
  688. color: $color1 ;
  689. }
  690. &:hover, &:active, &.active {
  691. text-decoration: none ;
  692. background-color: #FCF8E3 ;
  693. outline: none ;
  694. border-color: #ccc ;
  695. @include transition(all 0.1s) ;
  696. }
  697. }
  698. }
  699. }
  700. .creer-commande,
  701. .commandes-auto {
  702. width: 100% ;
  703. margin-bottom: 10px ;
  704. }
  705. .bloc-commande {
  706. padding-top: 20px ;
  707. margin-top: 20px ;
  708. display: none ;
  709. }
  710. .title-user {
  711. display: none ;
  712. font-size: 19px ;
  713. margin-top: 0px ;
  714. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif ;
  715. .btn-edit, .btn-remove,
  716. .btn-cancel, .btn-save {
  717. float: right ;
  718. position: relative ;
  719. top: -6px ;
  720. }
  721. .btn-edit, .btn-cancel {
  722. margin-right: 10px ;
  723. }
  724. .buttons-save-cancel {
  725. display: none ;
  726. }
  727. .choix-user {
  728. display: none ;
  729. .form-control {
  730. width: 200px ;
  731. display: inline ;
  732. }
  733. }
  734. }
  735. table.table-produits {
  736. .td-order {
  737. text-align: center ;
  738. }
  739. input.form-control {
  740. text-align: center ;
  741. }
  742. tr.disabled {
  743. .td-product {
  744. color: gray ;
  745. }
  746. }
  747. }
  748. .td-produit,
  749. .th-produit {
  750. width: 70% ;
  751. }
  752. .td-commande,
  753. .th-commande {
  754. width: 30% ;
  755. text-align: center ;
  756. }
  757. .td-produit {
  758. text-transform: uppercase ;
  759. }
  760. .td-commande {
  761. font-weight: bold ;
  762. }
  763. .td-total {
  764. font-size: 18px ;
  765. text-align: center ;
  766. span {
  767. padding: 2px 10px ;
  768. background-color: $color1 ;
  769. color: white ;
  770. font-weight: bold ;
  771. @include border-radius(8px) ;
  772. }
  773. }
  774. .td-paiement {
  775. .buttons-credit {
  776. float: right ;
  777. }
  778. }
  779. .panel-commande-auto {
  780. .field-subscriptionform-id_user,
  781. .field-subscriptionform-id_producer
  782. {
  783. display: none ;
  784. }
  785. .days {
  786. .form-group {
  787. float: left ;
  788. margin-right: 10px ;
  789. }
  790. }
  791. }
  792. }
  793. #old-commandes {
  794. display: none ;
  795. }
  796. .form-commandes-point-vente {
  797. margin-top: 20px ;
  798. table {
  799. border-bottom: solid 1px #e0e0e0 ;
  800. }
  801. .title-point-sale {
  802. background-color: lighten(#fdd44b, 30) ;
  803. border-left: solid 3px $color1 ;
  804. font-weight: bold ;
  805. text-align: left ;
  806. padding: 10px ;
  807. }
  808. .title-totals {
  809. text-align: center ;
  810. }
  811. .border-left {
  812. border-left: solid 1px #e0e0e0 ;
  813. }
  814. .border-right {
  815. border-right: solid 1px #e0e0e0 ;
  816. }
  817. input.quantity {
  818. width: 30px ;
  819. background-color: white ;
  820. border: solid 1px #e0e0e0 ;
  821. text-align: center ;
  822. }
  823. .td-product {
  824. text-align: center ;
  825. }
  826. .submit-point-sale {
  827. float: right ;
  828. }
  829. .select-user {
  830. background-color: #F9F9F9 ;
  831. border: solid 1px #e0e0e0 ;
  832. }
  833. .date-order {
  834. font-size: 12px ;
  835. }
  836. .datepicker, .text {
  837. background-color: white ;
  838. border: solid 1px #e0e0e0 ;
  839. margin-top: 3px ;
  840. width: 100px ;
  841. }
  842. td.center {
  843. text-align: center ;
  844. }
  845. .depasse {
  846. color: #b32815 ;
  847. }
  848. .total strong span {
  849. font-weight: normal ;
  850. font-size: 13px ;
  851. }
  852. td.user {
  853. text-align: left ;
  854. padding: 3px ;
  855. .date-order {
  856. color: gray ;
  857. }
  858. }
  859. }
  860. .table-header-rotated {
  861. border-top: 0px ;
  862. border-left: 0px ;
  863. border-right: 0px ;
  864. width: 100% ;
  865. width: auto ;
  866. .total strong {
  867. border-bottom: solid 1px gray ;
  868. }
  869. }
  870. .table-header-rotated th.row-header{
  871. width: auto;
  872. }
  873. .table-header-rotated td{
  874. width: 40px;
  875. border-top: 1px solid #dddddd;
  876. border-left: 1px solid #dddddd;
  877. border-right: 1px solid #dddddd;
  878. vertical-align: middle;
  879. text-align: center;
  880. }
  881. .table-header-rotated th.rotate-45{
  882. font-weight: normal ;
  883. height: 80px;
  884. width: 40px;
  885. min-width: 40px;
  886. max-width: 40px;
  887. position: relative;
  888. vertical-align: bottom;
  889. padding: 0;
  890. font-size: 14px;
  891. line-height: 1;
  892. border: 0px none;
  893. }
  894. .table-header-rotated th.rotate-45 > div{
  895. background-color: #F5F5F5 ;
  896. position: relative;
  897. top: 0px;
  898. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  899. height: 100%;
  900. -ms-transform:skew(-45deg,0deg);
  901. -moz-transform:skew(-45deg,0deg);
  902. -webkit-transform:skew(-45deg,0deg);
  903. -o-transform:skew(-45deg,0deg);
  904. transform:skew(-45deg,0deg);
  905. overflow: hidden;
  906. border-left: 1px solid #dddddd;
  907. border-right: 1px solid #dddddd;
  908. border-top: 1px solid #dddddd;
  909. }
  910. .table-header-rotated th.rotate-45 span {
  911. -ms-transform:skew(45deg,0deg) rotate(315deg);
  912. -moz-transform:skew(45deg,0deg) rotate(315deg);
  913. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  914. -o-transform:skew(45deg,0deg) rotate(315deg);
  915. transform:skew(45deg,0deg) rotate(315deg);
  916. position: absolute;
  917. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  918. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  919. display: inline-block;
  920. // width: 100%;
  921. width: 85px; /* 80 / cos(45) - 40 cos (45) = 85 where 80 is the height of the cell, 40 the width of the cell and 45 the transform angle*/
  922. text-align: left;
  923. // white-space: nowrap; /*whether to display in one line or not*/
  924. }
  925. .table-header-rotated .disabled {
  926. color: gray ;
  927. }
  928. }
  929. .product-create, .product-update {
  930. #days-distribution {
  931. .form-group {
  932. float: left ;
  933. margin-right: 15px ;
  934. label {
  935. font-weight: normal ;
  936. }
  937. }
  938. }
  939. .field-product-id_producer {
  940. display: none;
  941. }
  942. }
  943. .table-striped > tbody > tr:nth-of-type(2n) {
  944. background-color: white ;
  945. }
  946. /* communiquer */
  947. .communicate-index {
  948. #email {
  949. .btn-point-sale {
  950. margin-bottom: 8px ;
  951. margin-right: 5px ;
  952. }
  953. }
  954. }
  955. .communicate-instructions {
  956. border: solid 1px #e0e0e0 ;
  957. padding: 10px ;
  958. @include border-radius(10px) ;
  959. margin-bottom: 30px ;
  960. font-family: 'Arial' ;
  961. .header {
  962. .logo {
  963. display: none ;
  964. float: left ;
  965. width: 75px ;
  966. padding-right: 20px ;
  967. padding-top: 10px ;
  968. img {
  969. width: 75px ;
  970. }
  971. }
  972. }
  973. h1, h2, h3, h4 {
  974. text-align: center ;
  975. }
  976. h1 {
  977. font-family: 'highvoltageregular' ;
  978. font-size: 40px ;
  979. line-height: 40px ;
  980. margin-top: 0px ;
  981. margin-bottom: 0px ;
  982. font-weight: normal ;
  983. }
  984. h2 {
  985. margin-top: 0px ;
  986. font-family: 'capsuularegular' ;
  987. font-size: 20px ;
  988. margin-top: 0px ;
  989. position: relative ;
  990. left: 2px ;
  991. font-weight: normal ;
  992. }
  993. h3 {
  994. font-size: 18px ;
  995. color: $color1 ;
  996. margin-top: 0px ;
  997. margin-bottom: 0px ;
  998. line-height: 20px;
  999. font-family: 'capsuularegular' ;
  1000. }
  1001. h4 {
  1002. font-size: 16px ;
  1003. margin-top: 8px ;
  1004. font-weight: normal;
  1005. font-family: 'capsuularegular' ;
  1006. span {
  1007. border-bottom: dotted 1px black ;
  1008. }
  1009. }
  1010. }
  1011. .communicate-instructions-inset {
  1012. width: auto ;
  1013. margin-top: 20px ;
  1014. .header {
  1015. .logo {
  1016. width: 60px ;
  1017. margin-right: 20px ;
  1018. padding-top: 5px ;
  1019. img {
  1020. width: 60px ;
  1021. }
  1022. }
  1023. h1 {
  1024. margin-bottom: 3px ;
  1025. }
  1026. }
  1027. h3 {
  1028. margin-top: 15px ;
  1029. margin-bottom: 0px ;
  1030. font-size: 18px ;
  1031. }
  1032. h4 {
  1033. }
  1034. }
  1035. .block-instructions-pdf {
  1036. width: 49.9% ;
  1037. float: left;
  1038. border-bottom: dotted 1px gray ;
  1039. }
  1040. .block-instructions-border {
  1041. border-right: dotted 1px gray ;
  1042. border-bottom: dotted 1px gray ;
  1043. }
  1044. .communicate-instructions-pdf {
  1045. border: 0px none ;
  1046. //border-bottom: dotted 1px gray ;
  1047. @include border-radius(0px) ;
  1048. margin-bottom: 0px;
  1049. padding: 20px 0px 20px 30px ;
  1050. .header {
  1051. .logo {
  1052. float: left ;
  1053. width: 55px ;
  1054. padding-right: 15px ;
  1055. padding-top: 10px ;
  1056. img {
  1057. width: 55px ;
  1058. }
  1059. }
  1060. h1 {
  1061. font-size: 32px ;
  1062. }
  1063. h2 {
  1064. font-size: 16px ;
  1065. }
  1066. }
  1067. h3 {
  1068. font-weight: normal ;
  1069. }
  1070. }
  1071. .block-instructions-bottom {
  1072. border-bottom: 0px none ;
  1073. border-bottom: solid 1px white;
  1074. }
  1075. /* abonnements */
  1076. .subscription-form {
  1077. #block-select-user {
  1078. padding-left: 0px ;
  1079. }
  1080. #or-user {
  1081. font-size: 20px ;
  1082. text-align: center ;
  1083. span {
  1084. position: relative ;
  1085. top: 24px ;
  1086. }
  1087. }
  1088. .field-subscriptionform-id_producer {
  1089. display: none ;
  1090. }
  1091. .days {
  1092. .form-group {
  1093. float: left;
  1094. margin-right: 20px ;
  1095. }
  1096. }
  1097. .products {
  1098. .table {
  1099. width: 500px ;
  1100. }
  1101. .quantity {
  1102. text-align: center ;
  1103. }
  1104. }
  1105. }
  1106. /* points de vente */
  1107. .point-sale-form {
  1108. #pointsale-users {
  1109. display: none ;
  1110. height: 500px ;
  1111. overflow-y: scroll ;
  1112. label {
  1113. font-weight: normal ;
  1114. display: block ;
  1115. }
  1116. .comment {
  1117. display: none ;
  1118. margin-left: 17px ;
  1119. width: 200px ;
  1120. }
  1121. }
  1122. #delivery-days {
  1123. .form-group {
  1124. float: left ;
  1125. margin-right: 15px ;
  1126. label {
  1127. font-weight: normal ;
  1128. }
  1129. }
  1130. }
  1131. }
  1132. /* utilisateurs */
  1133. #menu-users {
  1134. #nav-points-sale {
  1135. margin-bottom: 30px ;
  1136. }
  1137. a {
  1138. margin-bottom: 15px ;
  1139. }
  1140. }
  1141. .user-index {
  1142. .input-group {
  1143. width: 180px ;
  1144. .input-credit {
  1145. text-align: center ;
  1146. }
  1147. }
  1148. }
  1149. .user-credit {
  1150. .the-credit {
  1151. font-size: 28px;
  1152. font-weight: bold ;
  1153. text-align: center;
  1154. color: #333;
  1155. .glyphicon {
  1156. //display: none;
  1157. float: left;
  1158. }
  1159. }
  1160. p.info {
  1161. padding: 10px;
  1162. }
  1163. .panel-form-credit-debit {
  1164. .field-creditform-send_mail {
  1165. position: relative;
  1166. top: 11px;
  1167. }
  1168. .form-buttons {
  1169. margin: 0px !important;
  1170. }
  1171. }
  1172. }
  1173. /* facturation */
  1174. #free-price {
  1175. padding: 20px ;
  1176. background-color: #F9F9F9 ;
  1177. h2 {
  1178. font-family: 'myriadpro-it' ;
  1179. }
  1180. .amount {
  1181. span {
  1182. font-size: 25px ;
  1183. color: white ;
  1184. background-color: $color1 ;
  1185. @include border-radius(5px) ;
  1186. padding: 3px 10px ;
  1187. padding-top: 7px ;
  1188. font-family: 'myriadpro-regular' ;
  1189. }
  1190. }
  1191. label {
  1192. text-transform: uppercase ;
  1193. font-family: "myriadpro-light" ;
  1194. font-size: 20px ;
  1195. span {
  1196. font-size: 16px ;
  1197. }
  1198. }
  1199. .field-producer-free_price {
  1200. .input-group {
  1201. width: 200px ;
  1202. }
  1203. }
  1204. .field-user-free_price {
  1205. label {
  1206. display: none ;
  1207. }
  1208. }
  1209. #producer-free_price {
  1210. width: 100px ;
  1211. height: 60px ;
  1212. font-size: 30px ;
  1213. padding: 10px ;
  1214. text-align: center ;
  1215. }
  1216. }
  1217. .development-index {
  1218. ul#tabs-status-developments {
  1219. margin-bottom: 30px ;
  1220. border-bottom: solid 3px $color1 ;
  1221. a {
  1222. text-transform: uppercase ;
  1223. }
  1224. .active {
  1225. border: 0px none ;
  1226. background: none ;
  1227. a {
  1228. background-color: $color1 ;
  1229. color: white ;
  1230. }
  1231. }
  1232. }
  1233. #tab-developments {
  1234. .btn-group-priority {
  1235. width: 100% ;
  1236. margin-bottom: 5px ;
  1237. .btn-priority {
  1238. display: block ;
  1239. float: none ;
  1240. width: 100% ;
  1241. }
  1242. }
  1243. .label-priority {
  1244. display: block ;
  1245. width: 100% ;
  1246. margin-bottom: 2px ;
  1247. padding: 5px 8px ;
  1248. }
  1249. }
  1250. }
  1251. /* stats */
  1252. .stats-products {
  1253. #nav-year {
  1254. float: right ;
  1255. }
  1256. tr.month {
  1257. th {
  1258. text-align: center ;
  1259. }
  1260. }
  1261. tr.sub-head {
  1262. th {
  1263. font-weight: normal ;
  1264. font-size: 12px ;
  1265. }
  1266. }
  1267. td.name {
  1268. text-transform: uppercase ;
  1269. }
  1270. td.align-center {
  1271. text-align: center ;
  1272. }
  1273. }
  1274. @import "_adminlte.scss" ;
  1275. @import "_alerts.scss" ;
  1276. @import "dashboard/_index.scss" ;
  1277. @import "subscription/_index.scss" ;
  1278. @import "subscription/_form.scss" ;
  1279. @import "product/_index.scss" ;
  1280. @import "product/_form.scss" ;
  1281. @import "accessory/_form.scss" ;
  1282. @import "stats/_products.scss" ;
  1283. @import "distribution/_index.scss" ;
  1284. @import "user/_emails.scss" ;
  1285. @import "user/_credit.scss" ;
  1286. @import "user/_form.scss" ;
  1287. @import "user/_view.scss" ;
  1288. @import "user/_index.scss" ;
  1289. @import "producer/_update.scss" ;
  1290. @import "producer/_billing.scss" ;
  1291. @import "point_sale/_index.scss" ;
  1292. @import "point_sale/_form.scss" ;
  1293. @import "report/_index.scss" ;
  1294. @import "document/_form.scss" ;
  1295. @import "document/_index.scss" ;
  1296. @import "development/_index.scss" ;
  1297. @import "support/_index.scss";
  1298. @import "support/_view.scss";
  1299. @import "producer-admin/_index.scss";
  1300. @import "online-admin/_index.scss";
  1301. @import "feature-admin/_index.scss";
  1302. @import "setting/_form.scss";
  1303. @import "dashboard-admin/_index.scss" ;
  1304. @import "automatic-email/_form.scss" ;
  1305. @import "communication/_email.scss" ;
  1306. @import "_responsive.scss" ;