您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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