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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470
  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 "product/_index.scss" ;
  1221. @import "product/_form.scss" ;
  1222. @import "stats/_products.scss" ;
  1223. @import "distribution/_index.scss" ;
  1224. @import "user/_emails.scss" ;
  1225. @import "user/_credit.scss" ;
  1226. @import "user/_form.scss" ;
  1227. @import "producer/_update.scss" ;
  1228. @import "point_sale/_index.scss" ;
  1229. @import "report/_index.scss" ;