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

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