選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

screen.scss 33KB

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