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

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