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

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