You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

screen.scss 33KB

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