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

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