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.

8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
8 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557
  1. /**
  2. Copyright Souke (2018)
  3. contact@souke.fr
  4. Ce logiciel est un programme informatique servant à aider les producteurs
  5. à distribuer leur production en circuits courts.
  6. Ce logiciel est régi par la licence CeCILL soumise au droit français et
  7. respectant les principes de diffusion des logiciels libres. Vous pouvez
  8. utiliser, modifier et/ou redistribuer ce programme sous les conditions
  9. de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA
  10. sur le site "http://www.cecill.info".
  11. En contrepartie de l'accessibilité au code source et des droits de copie,
  12. de modification et de redistribution accordés par cette licence, il n'est
  13. offert aux utilisateurs qu'une garantie limitée. Pour les mêmes raisons,
  14. seule une responsabilité restreinte pèse sur l'auteur du programme, le
  15. titulaire des droits patrimoniaux et les concédants successifs.
  16. A cet égard l'attention de l'utilisateur est attirée sur les risques
  17. associés au chargement, à l'utilisation, à la modification et/ou au
  18. développement et à la reproduction du logiciel par l'utilisateur étant
  19. donné sa spécificité de logiciel libre, qui peut le rendre complexe à
  20. manipuler et qui le réserve donc à des développeurs et des professionnels
  21. avertis possédant des connaissances informatiques approfondies. Les
  22. utilisateurs sont donc invités à charger et tester l'adéquation du
  23. logiciel à leurs besoins dans des conditions permettant d'assurer la
  24. sécurité de leurs systèmes et ou de leurs données et, plus généralement,
  25. à l'utiliser et l'exploiter dans les mêmes conditions de sécurité.
  26. Le fait que vous puissiez accéder à cet en-tête signifie que vous avez
  27. pris connaissance de la licence CeCILL, et que vous en avez accepté les
  28. termes.
  29. */
  30. @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 "stats/_products.scss" ;
  1282. @import "distribution/_index.scss" ;
  1283. @import "user/_emails.scss" ;
  1284. @import "user/_credit.scss" ;
  1285. @import "user/_form.scss" ;
  1286. @import "user/_view.scss" ;
  1287. @import "user/_index.scss" ;
  1288. @import "producer/_update.scss" ;
  1289. @import "point_sale/_index.scss" ;
  1290. @import "point_sale/_form.scss" ;
  1291. @import "report/_index.scss" ;
  1292. @import "document/_form.scss" ;
  1293. @import "document/_index.scss" ;
  1294. @import "development/_index.scss" ;
  1295. @import "support/_index.scss";
  1296. @import "support/_view.scss";
  1297. @import "producer-admin/_index.scss";
  1298. @import "online-admin/_index.scss";
  1299. @import "feature-admin/_index.scss";
  1300. @import "setting/_form.scss";
  1301. @import "dashboard-admin/_index.scss" ;
  1302. @import "_responsive.scss" ;