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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471
  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. }
  370. }
  371. // tableau de bord
  372. .site-index {
  373. .panel {
  374. .panel-title {
  375. .btn {
  376. float: right ;
  377. font-family: 'myriadpro-regular' ;
  378. &.margin-left {
  379. margin-left: 5px ;
  380. }
  381. }
  382. }
  383. .panel-body {
  384. //height: 250px ;
  385. }
  386. }
  387. #billing {
  388. h2 {
  389. font-size: 25px ;
  390. text-align: center ;
  391. }
  392. .current-month {
  393. .amount span {
  394. background-color: white ;
  395. color: #333 ;
  396. border: solid 1px gray ;
  397. }
  398. }
  399. .amount {
  400. margin-top: 35px ;
  401. text-align: center ;
  402. span {
  403. font-size: 22px ;
  404. color: white ;
  405. background-color: $color1 ;
  406. padding: 7px 10px 3px;
  407. font-family: 'myriadpro-regular' ;
  408. @include border-radius(5px) ;
  409. }
  410. }
  411. }
  412. }
  413. #page-order {
  414. #row2 {
  415. }
  416. h1 {
  417. .btn-group {
  418. float: right ;
  419. }
  420. }
  421. #col-left, #col-right {
  422. padding-left: 0px ;
  423. padding-right: 0px ;
  424. }
  425. #col-right {
  426. padding-left: 20px ;
  427. }
  428. #jours-production {
  429. display: none ;
  430. }
  431. #calendar {
  432. h2 {
  433. font-size: 20px ;
  434. position: relative ;
  435. top: 3px ;
  436. }
  437. .fc-header-title {
  438. margin-left: 10px ;
  439. }
  440. $back-day-with-event: lighten(#FDD44B,13) ;
  441. //$back-day-with-event: #FDD44B ;
  442. .dayWithEvent {
  443. background-color: $back-day-with-event ;
  444. cursor: pointer;
  445. }
  446. .fc-event-container {display: none;}
  447. .fc-today {
  448. border-bottom: solid 1px #C9302C ;
  449. background-color: white ;
  450. &.dayWithEvent {
  451. background-color: $back-day-with-event ;
  452. }
  453. }
  454. .fc-day {
  455. cursor: pointer ;
  456. text-align: center ;
  457. &:hover {
  458. @include box-shadow(0px 0px 2px black inset) ;
  459. }
  460. }
  461. .current-date {
  462. @include box-shadow(0px 0px 2px black inset) ;
  463. }
  464. .fc-day-number {
  465. float: none ;
  466. padding-top: 2px ;
  467. }
  468. }
  469. .btn-active-week {
  470. display: block ;
  471. margin-top: 10px ;
  472. }
  473. #bloc-production {
  474. .label {
  475. float: right ;
  476. font-size: 13px ;
  477. }
  478. #productions-point-vente {
  479. margin-top: 15px ;
  480. padding: 10px ;
  481. border: solid 1px #e0e0e0 ;
  482. background-color: #F5F5F5 ;
  483. @include border-radius(5px) ;
  484. label {
  485. display: block ;
  486. font-weight: normal ;
  487. }
  488. .checkbox-list {
  489. margin-left: 10px ;
  490. margin-top: 10px ;
  491. }
  492. }
  493. }
  494. #produits-production {
  495. .overflow {
  496. table {
  497. width: 100%;
  498. }
  499. thead, tbody, tr, td, th { display: block; }
  500. tr:after {
  501. content: ' ';
  502. display: block;
  503. visibility: hidden;
  504. clear: both;
  505. }
  506. thead th {
  507. height: 30px;
  508. }
  509. tbody {
  510. height: 500px;
  511. overflow-y: auto;
  512. }
  513. thead {
  514. }
  515. thead th {
  516. width: 32%;
  517. float: left;
  518. }
  519. tbody td{
  520. width: 33%;
  521. float: left;
  522. }
  523. .td-produit {
  524. width: 60% ;
  525. }
  526. .td-active, .td-max {
  527. width: 20% ;
  528. text-align: center ;
  529. }
  530. thead {
  531. .td-product {
  532. width: 57% ;
  533. }
  534. }
  535. }
  536. input.quantity-max {
  537. background-color: white;
  538. border: 1px solid #e0e0e0;
  539. text-align: center;
  540. width: 50px;
  541. }
  542. td {
  543. label {
  544. font-weight: normal ;
  545. }
  546. }
  547. }
  548. #btn-export-commandes,
  549. #btn-commandes-auto {
  550. float: right ;
  551. position: relative;
  552. top: -5px ;
  553. right: -7px ;
  554. padding: 2px 5px ;
  555. }
  556. #btn-export-commandes,
  557. #btn-commandes-auto {
  558. color: white ;
  559. margin-left: 10px ;
  560. padding: 1px 5px ;
  561. }
  562. #btn-commandes-auto {
  563. top: -7px ;
  564. .btn {
  565. padding: 2px 5px;
  566. span {
  567. top: 2px ;
  568. }
  569. }
  570. }
  571. #bloc-totaux {
  572. .table-products {
  573. .depasse {
  574. color: #b32815 ;
  575. }
  576. .total strong span {
  577. font-weight: normal ;
  578. font-size: 13px ;
  579. }
  580. }
  581. }
  582. #commandes-points-vente {
  583. .tab-pane {
  584. padding-top: 20px ;
  585. }
  586. .recap-pv {
  587. &.no-commande {
  588. .recettes {
  589. display: none;
  590. }
  591. }
  592. .recettes {
  593. float: right ;
  594. color: $color1 ;
  595. border: solid 1px $color1 ;
  596. padding: 4px 10px ;
  597. @include border-radius(10px) ;
  598. font-weight: bold ;
  599. position: relative ;
  600. top: -3px ;
  601. }
  602. }
  603. .alert.comment {
  604. display: none ;
  605. }
  606. ul.liste-commandes {
  607. margin-top: 10px ;
  608. list-style-type: none ;
  609. height: 100% ;
  610. max-height: 400px ;
  611. margin-left: 0 ;
  612. padding-left: 0 ;
  613. margin-top: 0px ;
  614. width: 100% ;
  615. overflow-y: scroll ;
  616. &.no-commande {
  617. display: none ;
  618. }
  619. li {
  620. padding: 0 ;
  621. margin: 0 ;
  622. a {
  623. text-align: left;
  624. @include border-radius(0px) ;
  625. display: block ;
  626. padding: 7px ;
  627. color: #333 ;
  628. .montant {
  629. float: right ;
  630. color: $color1 ;
  631. font-weight: bold ;
  632. &.paye {
  633. color: #5cb85c ;
  634. color: #519951 ;
  635. }
  636. }
  637. .glyphicon-comment {
  638. color: $color1 ;
  639. }
  640. &:hover, &:active, &.active {
  641. text-decoration: none ;
  642. background-color: #FCF8E3 ;
  643. outline: none ;
  644. border-color: #ccc ;
  645. @include transition(all 0.1s) ;
  646. }
  647. }
  648. }
  649. }
  650. .creer-commande,
  651. .commandes-auto {
  652. width: 100% ;
  653. margin-bottom: 10px ;
  654. }
  655. .bloc-commande {
  656. padding-top: 20px ;
  657. margin-top: 20px ;
  658. display: none ;
  659. }
  660. .title-user {
  661. display: none ;
  662. font-size: 19px ;
  663. margin-top: 0px ;
  664. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif ;
  665. .btn-edit, .btn-remove,
  666. .btn-cancel, .btn-save {
  667. float: right ;
  668. position: relative ;
  669. top: -6px ;
  670. }
  671. .btn-edit, .btn-cancel {
  672. margin-right: 10px ;
  673. }
  674. .buttons-save-cancel {
  675. display: none ;
  676. }
  677. .choix-user {
  678. display: none ;
  679. .form-control {
  680. width: 200px ;
  681. display: inline ;
  682. }
  683. }
  684. }
  685. table.table-produits {
  686. .td-order {
  687. text-align: center ;
  688. }
  689. input.form-control {
  690. text-align: center ;
  691. }
  692. tr.disabled {
  693. .td-product {
  694. color: gray ;
  695. }
  696. }
  697. }
  698. .td-produit,
  699. .th-produit {
  700. width: 70% ;
  701. }
  702. .td-commande,
  703. .th-commande {
  704. width: 30% ;
  705. text-align: center ;
  706. }
  707. .td-produit {
  708. text-transform: uppercase ;
  709. }
  710. .td-commande {
  711. font-weight: bold ;
  712. }
  713. .td-total {
  714. font-size: 18px ;
  715. text-align: center ;
  716. span {
  717. padding: 2px 10px ;
  718. background-color: $color1 ;
  719. color: white ;
  720. font-weight: bold ;
  721. @include border-radius(8px) ;
  722. }
  723. }
  724. .td-paiement {
  725. .buttons-credit {
  726. float: right ;
  727. }
  728. }
  729. .panel-commande-auto {
  730. .field-subscriptionform-id_user,
  731. .field-subscriptionform-id_producer
  732. {
  733. display: none ;
  734. }
  735. .days {
  736. .form-group {
  737. float: left ;
  738. margin-right: 10px ;
  739. }
  740. }
  741. }
  742. }
  743. #old-commandes {
  744. display: none ;
  745. }
  746. .form-commandes-point-vente {
  747. margin-top: 20px ;
  748. table {
  749. border-bottom: solid 1px #e0e0e0 ;
  750. }
  751. .title-point-sale {
  752. background-color: lighten(#fdd44b, 30) ;
  753. border-left: solid 3px $color1 ;
  754. font-weight: bold ;
  755. text-align: left ;
  756. padding: 10px ;
  757. }
  758. .title-totals {
  759. text-align: center ;
  760. }
  761. .border-left {
  762. border-left: solid 1px #e0e0e0 ;
  763. }
  764. .border-right {
  765. border-right: solid 1px #e0e0e0 ;
  766. }
  767. input.quantity {
  768. width: 30px ;
  769. background-color: white ;
  770. border: solid 1px #e0e0e0 ;
  771. text-align: center ;
  772. }
  773. .td-product {
  774. text-align: center ;
  775. }
  776. .submit-point-sale {
  777. float: right ;
  778. }
  779. .select-user {
  780. background-color: #F9F9F9 ;
  781. border: solid 1px #e0e0e0 ;
  782. }
  783. .date-order {
  784. font-size: 12px ;
  785. }
  786. .datepicker, .text {
  787. background-color: white ;
  788. border: solid 1px #e0e0e0 ;
  789. margin-top: 3px ;
  790. width: 100px ;
  791. }
  792. td.center {
  793. text-align: center ;
  794. }
  795. .depasse {
  796. color: #b32815 ;
  797. }
  798. .total strong span {
  799. font-weight: normal ;
  800. font-size: 13px ;
  801. }
  802. td.user {
  803. text-align: left ;
  804. padding: 3px ;
  805. .date-order {
  806. color: gray ;
  807. }
  808. }
  809. }
  810. .table-header-rotated {
  811. border-top: 0px ;
  812. border-left: 0px ;
  813. border-right: 0px ;
  814. width: 100% ;
  815. width: auto ;
  816. .total strong {
  817. border-bottom: solid 1px gray ;
  818. }
  819. }
  820. .table-header-rotated th.row-header{
  821. width: auto;
  822. }
  823. .table-header-rotated td{
  824. width: 40px;
  825. border-top: 1px solid #dddddd;
  826. border-left: 1px solid #dddddd;
  827. border-right: 1px solid #dddddd;
  828. vertical-align: middle;
  829. text-align: center;
  830. }
  831. .table-header-rotated th.rotate-45{
  832. font-weight: normal ;
  833. height: 80px;
  834. width: 40px;
  835. min-width: 40px;
  836. max-width: 40px;
  837. position: relative;
  838. vertical-align: bottom;
  839. padding: 0;
  840. font-size: 14px;
  841. line-height: 1;
  842. border: 0px none;
  843. }
  844. .table-header-rotated th.rotate-45 > div{
  845. background-color: #F5F5F5 ;
  846. position: relative;
  847. top: 0px;
  848. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  849. height: 100%;
  850. -ms-transform:skew(-45deg,0deg);
  851. -moz-transform:skew(-45deg,0deg);
  852. -webkit-transform:skew(-45deg,0deg);
  853. -o-transform:skew(-45deg,0deg);
  854. transform:skew(-45deg,0deg);
  855. overflow: hidden;
  856. border-left: 1px solid #dddddd;
  857. border-right: 1px solid #dddddd;
  858. border-top: 1px solid #dddddd;
  859. }
  860. .table-header-rotated th.rotate-45 span {
  861. -ms-transform:skew(45deg,0deg) rotate(315deg);
  862. -moz-transform:skew(45deg,0deg) rotate(315deg);
  863. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  864. -o-transform:skew(45deg,0deg) rotate(315deg);
  865. transform:skew(45deg,0deg) rotate(315deg);
  866. position: absolute;
  867. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  868. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  869. display: inline-block;
  870. // width: 100%;
  871. 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*/
  872. text-align: left;
  873. // white-space: nowrap; /*whether to display in one line or not*/
  874. }
  875. .table-header-rotated .disabled {
  876. color: gray ;
  877. }
  878. }
  879. .product-create, .product-update {
  880. #days-distribution {
  881. .form-group {
  882. float: left ;
  883. margin-right: 15px ;
  884. label {
  885. font-weight: normal ;
  886. }
  887. }
  888. }
  889. .field-product-id_producer {
  890. display: none;
  891. }
  892. }
  893. .table-striped > tbody > tr:nth-of-type(2n) {
  894. background-color: white ;
  895. }
  896. /* communiquer */
  897. .communicate-index {
  898. #email {
  899. .btn-point-sale {
  900. margin-bottom: 8px ;
  901. margin-right: 5px ;
  902. }
  903. }
  904. }
  905. .communicate-instructions {
  906. border: solid 1px #e0e0e0 ;
  907. padding: 10px ;
  908. @include border-radius(10px) ;
  909. margin-bottom: 30px ;
  910. font-family: 'Arial' ;
  911. .header {
  912. .logo {
  913. display: none ;
  914. float: left ;
  915. width: 75px ;
  916. padding-right: 20px ;
  917. padding-top: 10px ;
  918. img {
  919. width: 75px ;
  920. }
  921. }
  922. }
  923. h1, h2, h3, h4 {
  924. text-align: center ;
  925. }
  926. h1 {
  927. font-family: 'highvoltageregular' ;
  928. font-size: 40px ;
  929. line-height: 40px ;
  930. margin-top: 0px ;
  931. margin-bottom: 0px ;
  932. font-weight: normal ;
  933. }
  934. h2 {
  935. margin-top: 0px ;
  936. font-family: 'capsuularegular' ;
  937. font-size: 20px ;
  938. margin-top: 0px ;
  939. position: relative ;
  940. left: 2px ;
  941. font-weight: normal ;
  942. }
  943. h3 {
  944. font-size: 18px ;
  945. color: $color1 ;
  946. margin-top: 0px ;
  947. margin-bottom: 0px ;
  948. line-height: 20px;
  949. font-family: 'capsuularegular' ;
  950. }
  951. h4 {
  952. font-size: 16px ;
  953. margin-top: 8px ;
  954. font-weight: normal;
  955. font-family: 'capsuularegular' ;
  956. span {
  957. border-bottom: dotted 1px black ;
  958. }
  959. }
  960. }
  961. .communicate-instructions-inset {
  962. width: auto ;
  963. margin-top: 20px ;
  964. .header {
  965. .logo {
  966. width: 60px ;
  967. margin-right: 20px ;
  968. padding-top: 5px ;
  969. img {
  970. width: 60px ;
  971. }
  972. }
  973. h1 {
  974. margin-bottom: 3px ;
  975. }
  976. }
  977. h3 {
  978. margin-top: 15px ;
  979. margin-bottom: 0px ;
  980. font-size: 18px ;
  981. }
  982. h4 {
  983. }
  984. }
  985. .block-instructions-pdf {
  986. width: 49.9% ;
  987. float: left;
  988. border-bottom: dotted 1px gray ;
  989. }
  990. .block-instructions-border {
  991. border-right: dotted 1px gray ;
  992. border-bottom: dotted 1px gray ;
  993. }
  994. .communicate-instructions-pdf {
  995. border: 0px none ;
  996. //border-bottom: dotted 1px gray ;
  997. @include border-radius(0px) ;
  998. margin-bottom: 0px;
  999. padding: 20px 0px 20px 30px ;
  1000. .header {
  1001. .logo {
  1002. float: left ;
  1003. width: 55px ;
  1004. padding-right: 15px ;
  1005. padding-top: 10px ;
  1006. img {
  1007. width: 55px ;
  1008. }
  1009. }
  1010. h1 {
  1011. font-size: 32px ;
  1012. }
  1013. h2 {
  1014. font-size: 16px ;
  1015. }
  1016. }
  1017. h3 {
  1018. font-weight: normal ;
  1019. }
  1020. }
  1021. .block-instructions-bottom {
  1022. border-bottom: 0px none ;
  1023. border-bottom: solid 1px white;
  1024. }
  1025. /* abonnements */
  1026. .subscription-form {
  1027. #block-select-user {
  1028. padding-left: 0px ;
  1029. }
  1030. #or-user {
  1031. font-size: 20px ;
  1032. text-align: center ;
  1033. span {
  1034. position: relative ;
  1035. top: 24px ;
  1036. }
  1037. }
  1038. .field-subscriptionform-id_producer {
  1039. display: none ;
  1040. }
  1041. .days {
  1042. .form-group {
  1043. float: left;
  1044. margin-right: 20px ;
  1045. }
  1046. }
  1047. .products {
  1048. .table {
  1049. width: 500px ;
  1050. }
  1051. .quantity {
  1052. text-align: center ;
  1053. }
  1054. }
  1055. }
  1056. /* points de vente */
  1057. .point-sale-form {
  1058. #pointsale-users {
  1059. display: none ;
  1060. height: 500px ;
  1061. overflow-y: scroll ;
  1062. label {
  1063. font-weight: normal ;
  1064. display: block ;
  1065. }
  1066. .comment {
  1067. display: none ;
  1068. margin-left: 17px ;
  1069. width: 200px ;
  1070. }
  1071. }
  1072. #delivery-days {
  1073. .form-group {
  1074. float: left ;
  1075. margin-right: 15px ;
  1076. label {
  1077. font-weight: normal ;
  1078. }
  1079. }
  1080. }
  1081. }
  1082. /* utilisateurs */
  1083. #menu-users {
  1084. #nav-points-sale {
  1085. margin-bottom: 30px ;
  1086. }
  1087. #submenu {
  1088. margin-bottom: 30px ;
  1089. text-align: left ;
  1090. }
  1091. a {
  1092. margin-bottom: 15px ;
  1093. }
  1094. }
  1095. .user-index {
  1096. .input-group {
  1097. width: 180px ;
  1098. .input-credit {
  1099. text-align: center ;
  1100. }
  1101. }
  1102. }
  1103. .user-credit {
  1104. .the-credit {
  1105. float: right ;
  1106. font-weight: bold ;
  1107. background-color: $color1 ;
  1108. color: white ;
  1109. @include border-radius(8px) ;
  1110. padding: 3px 10px ;
  1111. padding-top: 7px ;
  1112. position: relative ;
  1113. top: -12px ;
  1114. }
  1115. }
  1116. /* facturation */
  1117. #free-price {
  1118. padding: 20px ;
  1119. background-color: #F9F9F9 ;
  1120. h2 {
  1121. font-family: 'myriadpro-it' ;
  1122. }
  1123. .amount {
  1124. span {
  1125. font-size: 25px ;
  1126. color: white ;
  1127. background-color: $color1 ;
  1128. @include border-radius(5px) ;
  1129. padding: 3px 10px ;
  1130. padding-top: 7px ;
  1131. font-family: 'myriadpro-regular' ;
  1132. }
  1133. }
  1134. label {
  1135. text-transform: uppercase ;
  1136. font-family: "myriadpro-light" ;
  1137. font-size: 20px ;
  1138. span {
  1139. font-size: 16px ;
  1140. }
  1141. }
  1142. .field-producer-free_price {
  1143. .input-group {
  1144. width: 200px ;
  1145. }
  1146. }
  1147. .field-user-free_price {
  1148. label {
  1149. display: none ;
  1150. }
  1151. }
  1152. #producer-free_price {
  1153. width: 100px ;
  1154. height: 60px ;
  1155. font-size: 30px ;
  1156. padding: 10px ;
  1157. text-align: center ;
  1158. }
  1159. }
  1160. .development-index {
  1161. ul#tabs-status-developments {
  1162. margin-bottom: 30px ;
  1163. border-bottom: solid 3px $color1 ;
  1164. a {
  1165. text-transform: uppercase ;
  1166. }
  1167. .active {
  1168. border: 0px none ;
  1169. background: none ;
  1170. a {
  1171. background-color: $color1 ;
  1172. color: white ;
  1173. }
  1174. }
  1175. }
  1176. #tab-developments {
  1177. .btn-group-priority {
  1178. width: 100% ;
  1179. margin-bottom: 5px ;
  1180. .btn-priority {
  1181. display: block ;
  1182. float: none ;
  1183. width: 100% ;
  1184. }
  1185. }
  1186. .label-priority {
  1187. display: block ;
  1188. width: 100% ;
  1189. margin-bottom: 2px ;
  1190. padding: 5px 8px ;
  1191. }
  1192. }
  1193. }
  1194. /* stats */
  1195. .stats-products {
  1196. #nav-year {
  1197. float: right ;
  1198. }
  1199. tr.month {
  1200. th {
  1201. text-align: center ;
  1202. }
  1203. }
  1204. tr.sub-head {
  1205. th {
  1206. font-weight: normal ;
  1207. font-size: 12px ;
  1208. }
  1209. }
  1210. td.name {
  1211. text-transform: uppercase ;
  1212. }
  1213. td.align-center {
  1214. text-align: center ;
  1215. }
  1216. }
  1217. @import "_adminlte.scss" ;
  1218. @import "site/_index.scss" ;
  1219. @import "subscription/_index.scss" ;
  1220. @import "subscription/_form.scss" ;
  1221. @import "product/_index.scss" ;
  1222. @import "product/_form.scss" ;
  1223. @import "stats/_products.scss" ;
  1224. @import "distribution/_index.scss" ;
  1225. @import "user/_emails.scss" ;
  1226. @import "user/_credit.scss" ;
  1227. @import "user/_form.scss" ;
  1228. @import "producer/_update.scss" ;
  1229. @import "point_sale/_index.scss" ;
  1230. @import "report/_index.scss" ;