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

screen.scss 33KB

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