選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

screen.scss 33KB

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