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