Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

998 Zeilen
22KB

  1. /* Welcome to Compass.
  2. * In this file you should write your main styles. (or centralize your imports)
  3. * Import this file using the following HTML or equivalent:
  4. * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
  5. @import "compass" ;
  6. $dir-fonts: '../fonts/' ;
  7. @import "_fonts.scss" ;
  8. $color1: #BB8757 ;
  9. $color2: #F8F1DD ;
  10. .clr {
  11. clear: both ;
  12. }
  13. a {
  14. color: $color1;
  15. &:hover, &:focus, &:active {
  16. color: darken($color1, 10) ;
  17. }
  18. }
  19. .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  20. background-color: $color1 ;
  21. border: solid 1px $color1 ;
  22. }
  23. .pagination > li > a, .pagination > li > span {
  24. color: $color1 ;
  25. &:hover {
  26. color: darken($color1, 10) ;
  27. }
  28. }
  29. .wrap {
  30. .btn-primary,
  31. .btn-success {
  32. background-color: $color1 ;
  33. border: solid 1px $color1 ;
  34. &:hover, &:focus, &:active {
  35. background-color: darken($color1, 10) ;
  36. border: solid 1px darken($color1, 10) ;
  37. }
  38. }
  39. }
  40. .nav-header {
  41. .retour-site {
  42. border-left : solid 1px $color2 ;
  43. padding: 10px 15px ;
  44. }
  45. }
  46. .navbar-brand {
  47. .logo {
  48. height: 40px ;
  49. position: relative ;
  50. top: -10px ;
  51. }
  52. }
  53. .container-body {
  54. padding-top: 117px ;
  55. padding-bottom: 50px ;
  56. }
  57. .navbar-inverse {
  58. background-color: $color1 ;
  59. border-bottom: 0px none ;
  60. .navbar-nav {
  61. padding-top: 12px ;
  62. }
  63. .navbar-nav > li > a {
  64. color: white ;
  65. margin-left: 3px;
  66. padding: 3px 11px ;
  67. &:hover {
  68. color: $color2 ;
  69. //background-color: $color2 ;
  70. }
  71. }
  72. .navbar-nav > li.active,
  73. .navbar-nav > .open {
  74. a {
  75. margin-left: 3px ;
  76. background-color: $color2 ;
  77. color: $color1 ;
  78. padding: 3px 11px ;
  79. @include border-radius(10px) ;
  80. &:hover,
  81. &:focus {
  82. background-color: $color2 ;
  83. color: $color1 ;
  84. }
  85. }
  86. }
  87. .navbar-nav > .open {
  88. a.dropdown-toggle {
  89. @include border-radius(10px 10px 0px 0px) ;
  90. }
  91. ul.dropdown-menu {
  92. @include box-shadow(none) ;
  93. @include border-radius(10px 0px 10px 10px) ;
  94. border-top: 0px none ;
  95. right: -1px ;
  96. li {
  97. a {
  98. background-color: transparent ;
  99. &:hover {
  100. color: darken($color1,10) ;
  101. }
  102. }
  103. }
  104. }
  105. }
  106. .navbar-nav > .open > a,
  107. .navbar-nav > .open > a:hover,
  108. .navbar-nav > .open > a:focus {
  109. }
  110. }
  111. #alerts-fixed {
  112. position: fixed ;
  113. bottom: 20px ;
  114. left: 20px ;
  115. .alert {
  116. margin-top: 20px ;
  117. }
  118. }
  119. .nom-boulange {
  120. //font-family: 'Georgia' ;
  121. margin-bottom: 15px ;
  122. text-align: left ;
  123. position: fixed ;
  124. top: 51px ;
  125. left: 0px ;
  126. width: 100% ;
  127. background-color: #515151 ;
  128. background-color: $color2 ;
  129. color: darken($color1,15) ;
  130. z-index: 100 ;
  131. font-size: 20px ;
  132. padding: 8px 15px ;
  133. padding-bottom: 2px ;
  134. padding-top: 5px ;
  135. border-bottom: solid 1px #e0e0e0 ;
  136. @include box-shadow(0px 0px 5px gray) ;
  137. #etat-paiement-etablissement {
  138. float: right ;
  139. text-align: right ;
  140. color: darken($color1,15) ;
  141. font-size: 16px ;
  142. .strong {
  143. background-color: white ;
  144. color: $color1 ;
  145. @include border-radius(10px) ;
  146. padding: 0px 10px ;
  147. }
  148. .btn {
  149. padding: 2px 5px ;
  150. }
  151. }
  152. #select-etablissement {
  153. float: left ;
  154. }
  155. .label {
  156. font-size: 11px ;
  157. margin-left: 10px ;
  158. position: relative ;
  159. bottom: 3px ;
  160. a {
  161. color: white ;
  162. &:hover {
  163. text-decoration: none ;
  164. }
  165. }
  166. }
  167. }
  168. .table {
  169. thead {
  170. th.actions {
  171. width: 220px ;
  172. }
  173. th.order {
  174. width: 58px ;
  175. }
  176. th.actif {
  177. width: 75px ;
  178. text-align: center;
  179. }
  180. }
  181. tbody {
  182. td.center {
  183. text-align: center ;
  184. }
  185. }
  186. }
  187. #page-commande {
  188. #row2 {
  189. }
  190. h1 {
  191. .btn-group {
  192. float: right ;
  193. }
  194. }
  195. #col-left, #col-right {
  196. padding-left: 0px ;
  197. padding-right: 0px ;
  198. }
  199. #col-right {
  200. padding-left: 20px ;
  201. }
  202. #jours-production {
  203. display: none ;
  204. }
  205. #calendar {
  206. h2 {
  207. font-size: 20px ;
  208. position: relative ;
  209. top: 3px ;
  210. }
  211. .fc-header-title {
  212. margin-left: 10px ;
  213. }
  214. $back-day-with-event: lighten(#FDD44B,13) ;
  215. //$back-day-with-event: #FDD44B ;
  216. .dayWithEvent {
  217. background-color: $back-day-with-event ;
  218. cursor: pointer;
  219. }
  220. .fc-event-container {display: none;}
  221. .fc-today {
  222. border-bottom: solid 1px #C9302C ;
  223. background-color: white ;
  224. &.dayWithEvent {
  225. background-color: $back-day-with-event ;
  226. }
  227. }
  228. .fc-day {
  229. cursor: pointer ;
  230. text-align: center ;
  231. &:hover {
  232. @include box-shadow(0px 0px 2px black inset) ;
  233. }
  234. }
  235. .current-date {
  236. @include box-shadow(0px 0px 2px black inset) ;
  237. }
  238. .fc-day-number {
  239. float: none ;
  240. padding-top: 2px ;
  241. }
  242. }
  243. #bloc-production {
  244. .label {
  245. float: right ;
  246. font-size: 13px ;
  247. }
  248. .btn-success {
  249. background-color: #5cb85c ;
  250. border-color: #4cae4c ;
  251. }
  252. }
  253. #produits-production {
  254. .overflow {
  255. //max-height: 400px ;
  256. //overflow-y: scroll ;
  257. table {
  258. width: 100%;
  259. }
  260. thead, tbody, tr, td, th { display: block; }
  261. tr:after {
  262. content: ' ';
  263. display: block;
  264. visibility: hidden;
  265. clear: both;
  266. }
  267. thead th {
  268. height: 30px;
  269. /*text-align: left;*/
  270. }
  271. tbody {
  272. height: 500px;
  273. overflow-y: auto;
  274. }
  275. thead {
  276. }
  277. thead th {
  278. width: 32%;
  279. float: left;
  280. }
  281. tbody td{
  282. width: 33%;
  283. float: left;
  284. }
  285. .td-produit {
  286. width: 60% ;
  287. }
  288. .td-actif, .td-max {
  289. width: 20% ;
  290. text-align: center ;
  291. }
  292. thead {
  293. .td-produit {
  294. width: 57% ;
  295. }
  296. }
  297. }
  298. input.quantite-max {
  299. background-color: white;
  300. border: 1px solid #e0e0e0;
  301. text-align: center;
  302. width: 50px;
  303. }
  304. td {
  305. label {
  306. font-weight: normal ;
  307. }
  308. }
  309. }
  310. #btn-export-commandes,
  311. #btn-commande-auto {
  312. float: right ;
  313. position: relative;
  314. top: -5px ;
  315. right: -7px ;
  316. padding: 2px 5px ;
  317. }
  318. #btn-export-commandes {
  319. color: white ;
  320. margin-left: 10px ;
  321. padding: 1px 5px ;
  322. }
  323. #bloc-totaux {
  324. .table-produits {
  325. .depasse {
  326. color: #b32815 ;
  327. }
  328. .total strong span {
  329. font-weight: normal ;
  330. font-size: 13px ;
  331. }
  332. }
  333. }
  334. #commandes-points-vente {
  335. .tab-pane {
  336. padding-top: 20px ;
  337. }
  338. .recap-pv {
  339. &.no-commande {
  340. .recettes {
  341. display: none;
  342. }
  343. }
  344. .recettes {
  345. float: right ;
  346. color: $color1 ;
  347. //background-color: $color1 ;
  348. border: solid 1px $color1 ;
  349. padding: 4px 10px ;
  350. @include border-radius(10px) ;
  351. font-weight: bold ;
  352. position: relative ;
  353. top: -3px ;
  354. }
  355. }
  356. .alert.commentaire {
  357. display: none ;
  358. }
  359. ul.liste-commandes {
  360. margin-top: 10px ;
  361. list-style-type: none ;
  362. height: 100% ;
  363. max-height: 400px ;
  364. //border: solid 1px #e0e0e0 ;
  365. margin-left: 0 ;
  366. padding-left: 0 ;
  367. margin-top: 0px ;
  368. width: 100% ;
  369. overflow-y: scroll ;
  370. li {
  371. padding: 0 ;
  372. margin: 0 ;
  373. a {
  374. text-align: left;
  375. @include border-radius(0px) ;
  376. display: block ;
  377. padding: 7px ;
  378. //border-bottom: solid 1px #e0e0e0 ;
  379. color: #333 ;
  380. .montant {
  381. float: right ;
  382. color: $color1 ;
  383. font-weight: bold ;
  384. &.paye {
  385. color: #5cb85c ;
  386. color: #519951 ;
  387. }
  388. }
  389. .glyphicon-comment {
  390. color: $color1 ;
  391. }
  392. &:hover, &:active, &.active {
  393. text-decoration: none ;
  394. //background-color: #F5F5F5 ;
  395. //background-color: lighten($color2,5) ;
  396. background-color: #FCF8E3 ;
  397. //border-right: solid 3px $color1 ;
  398. outline: none ;
  399. border-color: #ccc ;
  400. @include transition(all 0.1s) ;
  401. }
  402. }
  403. }
  404. }
  405. .creer-commande,
  406. .commandes-auto {
  407. width: 100% ;
  408. margin-bottom: 10px ;
  409. }
  410. .bloc-commande {
  411. padding-top: 20px ;
  412. margin-top: 20px ;
  413. display: none ;
  414. }
  415. .title-user {
  416. display: none ;
  417. font-size: 19px ;
  418. margin-top: 0px ;
  419. .btn-edit, .btn-remove,
  420. .btn-cancel, .btn-save {
  421. float: right ;
  422. position: relative ;
  423. top: -6px ;
  424. }
  425. .btn-edit, .btn-cancel {
  426. margin-right: 10px ;
  427. }
  428. .buttons-save-cancel {
  429. display: none ;
  430. }
  431. .choix-user {
  432. display: none ;
  433. .form-control {
  434. width: 200px ;
  435. display: inline ;
  436. }
  437. }
  438. }
  439. table.table-produits {
  440. .td-commande {
  441. text-align: center ;
  442. }
  443. input.form-control {
  444. //width: 100px ;
  445. text-align: center ;
  446. }
  447. }
  448. .td-produit,
  449. .th-produit {
  450. width: 70% ;
  451. }
  452. .td-commande,
  453. .th-commande {
  454. width: 30% ;
  455. text-align: center ;
  456. }
  457. .td-produit {
  458. text-transform: uppercase ;
  459. }
  460. .td-commande {
  461. font-weight: bold ;
  462. }
  463. .td-total {
  464. font-size: 18px ;
  465. text-align: center ;
  466. span {
  467. padding: 2px 10px ;
  468. background-color: $color1 ;
  469. color: white ;
  470. font-weight: bold ;
  471. @include border-radius(8px) ;
  472. }
  473. }
  474. .td-paiement {
  475. .buttons-credit {
  476. float: right ;
  477. }
  478. }
  479. .panel-commande-automatique {
  480. .field-commandeautoform-id_user,
  481. .field-commandeautoform-id_etablissement
  482. {
  483. display: none ;
  484. }
  485. .jours {
  486. .form-group {
  487. float: left ;
  488. margin-right: 10px ;
  489. }
  490. }
  491. }
  492. }
  493. #old-commandes {
  494. display: none ;
  495. }
  496. .form-commandes-point-vente {
  497. margin-top: 20px ;
  498. table {
  499. border-bottom: solid 1px #e0e0e0 ;
  500. }
  501. .title-point-vente {
  502. background-color: lighten(#fdd44b, 30) ;
  503. border-left: solid 3px $color1 ;
  504. font-weight: bold ;
  505. text-align: left ;
  506. padding: 10px ;
  507. }
  508. .title-totaux {
  509. text-align: center ;
  510. }
  511. .border-left {
  512. border-left: solid 1px #e0e0e0 ;
  513. }
  514. .border-right {
  515. border-right: solid 1px #e0e0e0 ;
  516. }
  517. input.quantite {
  518. //width: 50px ;
  519. width: 30px ;
  520. background-color: white ;
  521. border: solid 1px #e0e0e0 ;
  522. text-align: center ;
  523. }
  524. .td-produit {
  525. text-align: center ;
  526. }
  527. .submit-pv {
  528. float: right ;
  529. }
  530. .select-user {
  531. background-color: #F9F9F9 ;
  532. border: solid 1px #e0e0e0 ;
  533. }
  534. .date-commande {
  535. font-size: 12px ;
  536. }
  537. .datepicker, .text {
  538. background-color: white ;
  539. border: solid 1px #e0e0e0 ;
  540. margin-top: 3px ;
  541. width: 100px ;
  542. }
  543. td.center {
  544. text-align: center ;
  545. }
  546. .depasse {
  547. color: #b32815 ;
  548. }
  549. .total strong span {
  550. font-weight: normal ;
  551. font-size: 13px ;
  552. }
  553. .vrac {
  554. display: none ;
  555. }
  556. td.client {
  557. text-align: left ;
  558. padding: 3px ;
  559. .date-commande {
  560. color: gray ;
  561. }
  562. }
  563. }
  564. .table-header-rotated {
  565. border-top: 0px ;
  566. border-left: 0px ;
  567. border-right: 0px ;
  568. width: 100% ;
  569. width: auto ;
  570. .total strong {
  571. border-bottom: solid 1px gray ;
  572. }
  573. }
  574. .table-header-rotated th.row-header{
  575. width: auto;
  576. }
  577. .table-header-rotated td{
  578. width: 40px;
  579. border-top: 1px solid #dddddd;
  580. border-left: 1px solid #dddddd;
  581. border-right: 1px solid #dddddd;
  582. vertical-align: middle;
  583. text-align: center;
  584. }
  585. .table-header-rotated th.rotate-45{
  586. font-weight: normal ;
  587. height: 80px;
  588. width: 40px;
  589. min-width: 40px;
  590. max-width: 40px;
  591. position: relative;
  592. vertical-align: bottom;
  593. padding: 0;
  594. font-size: 14px;
  595. line-height: 1;
  596. border: 0px none;
  597. }
  598. .table-header-rotated th.rotate-45 > div{
  599. background-color: #F5F5F5 ;
  600. position: relative;
  601. top: 0px;
  602. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  603. height: 100%;
  604. -ms-transform:skew(-45deg,0deg);
  605. -moz-transform:skew(-45deg,0deg);
  606. -webkit-transform:skew(-45deg,0deg);
  607. -o-transform:skew(-45deg,0deg);
  608. transform:skew(-45deg,0deg);
  609. overflow: hidden;
  610. border-left: 1px solid #dddddd;
  611. border-right: 1px solid #dddddd;
  612. border-top: 1px solid #dddddd;
  613. }
  614. .table-header-rotated th.rotate-45 span {
  615. -ms-transform:skew(45deg,0deg) rotate(315deg);
  616. -moz-transform:skew(45deg,0deg) rotate(315deg);
  617. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  618. -o-transform:skew(45deg,0deg) rotate(315deg);
  619. transform:skew(45deg,0deg) rotate(315deg);
  620. position: absolute;
  621. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  622. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  623. display: inline-block;
  624. // width: 100%;
  625. 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*/
  626. text-align: left;
  627. // white-space: nowrap; /*whether to display in one line or not*/
  628. }
  629. }
  630. #email-masse-form {
  631. #ids-users {
  632. line-height: 30px ;
  633. .label {
  634. text-transform: capitalize ;
  635. }
  636. }
  637. }
  638. .produit-create, .produit-update {
  639. #jours-production {
  640. .form-group {
  641. float: left ;
  642. margin-right: 15px ;
  643. label {
  644. font-weight: normal ;
  645. }
  646. }
  647. }
  648. .field-produit-id_etablissement {
  649. display: none;
  650. }
  651. }
  652. .table-striped > tbody > tr:nth-of-type(2n) {
  653. background-color: white ;
  654. }
  655. .wrap .produit-index {
  656. .td-photo {
  657. max-width: 100px ;
  658. width: 100px ;
  659. }
  660. .photo-produit {
  661. max-width: 100px ;
  662. }
  663. .ui-state-highlight {
  664. height: 75px;
  665. background-color: $color2 ;
  666. }
  667. }
  668. /* communiquer */
  669. .communiquer-mode-emploi {
  670. border: solid 1px #e0e0e0 ;
  671. padding: 10px ;
  672. @include border-radius(10px) ;
  673. margin-bottom: 30px ;
  674. font-family: 'myriadpro-regular' ;
  675. .header {
  676. .logo {
  677. float: left ;
  678. width: 75px ;
  679. padding-right: 20px ;
  680. padding-top: 10px ;
  681. img {
  682. width: 75px ;
  683. }
  684. }
  685. h1 {
  686. font-family: 'comfortaaregular' ;
  687. font-size: 40px ;
  688. margin-top: 0px ;
  689. margin-bottom: 0px ;
  690. font-weight: normal ;
  691. }
  692. h2 {
  693. margin-top: 0px ;
  694. font-family: 'myriadpro-regular' ;
  695. font-size: 20px ;
  696. margin-top: 0px ;
  697. position: relative ;
  698. left: 2px ;
  699. font-weight: normal ;
  700. }
  701. }
  702. h3 {
  703. font-family: 'comfortaalight' ;
  704. font-family: 'myriadpro-regular' ;
  705. font-size: 25px ;
  706. color: $color1 ;
  707. margin-top: 0px ;
  708. margin-bottom: 0px ;
  709. }
  710. }
  711. .communiquer-mode-emploi-encart {
  712. width: 420px ;
  713. margin-top: 20px ;
  714. .header {
  715. .logo {
  716. width: 60px ;
  717. margin-right: 20px ;
  718. padding-top: 5px ;
  719. img {
  720. width: 60px ;
  721. }
  722. }
  723. h1 {
  724. margin-bottom: 3px ;
  725. }
  726. h2 {
  727. }
  728. }
  729. h3 {
  730. margin-top: 15px ;
  731. margin-bottom: 15px ;
  732. }
  733. }
  734. .bloc-mode-emploi-pdf {
  735. width: 49.9% ;
  736. float: left;
  737. border-bottom: dotted 1px gray ;
  738. }
  739. .bloc-mode-emploi-border {
  740. border-right: dotted 1px gray ;
  741. border-bottom: dotted 1px gray ;
  742. }
  743. .communiquer-mode-emploi-pdf {
  744. border: 0px none ;
  745. //border-bottom: dotted 1px gray ;
  746. @include border-radius(0px) ;
  747. margin-bottom: 0px;
  748. padding: 20px 0px 20px 30px ;
  749. .header {
  750. .logo {
  751. float: left ;
  752. width: 55px ;
  753. padding-right: 15px ;
  754. padding-top: 10px ;
  755. img {
  756. width: 55px ;
  757. }
  758. }
  759. h1 {
  760. font-size: 32px ;
  761. }
  762. h2 {
  763. font-size: 16px ;
  764. }
  765. }
  766. h3 {
  767. font-weight: normal ;
  768. }
  769. }
  770. .bloc-mode-emploi-bottom {
  771. border-bottom: 0px none ;
  772. border-bottom: solid 1px white;
  773. }
  774. /* commandes auto */
  775. .commandeauto-form {
  776. #bloc-select-user {
  777. padding-left: 0px ;
  778. }
  779. #or-user {
  780. font-size: 20px ;
  781. text-align: center ;
  782. span {
  783. position: relative ;
  784. top: 24px ;
  785. }
  786. }
  787. .field-commandeautoform-id_etablissement {
  788. display: none ;
  789. }
  790. .jours {
  791. .form-group {
  792. float: left;
  793. margin-right: 20px ;
  794. }
  795. }
  796. .produits {
  797. .table {
  798. width: 500px ;
  799. }
  800. .quantite {
  801. text-align: center ;
  802. }
  803. }
  804. }
  805. /* points de vente */
  806. .point-vente-form {
  807. #pointvente-users {
  808. display: none ;
  809. height: 500px ;
  810. overflow-y: scroll ;
  811. label {
  812. font-weight: normal ;
  813. display: block ;
  814. }
  815. }
  816. }
  817. /* utilisateurs */
  818. .user-index {
  819. .input-group {
  820. width: 180px ;
  821. .input-credit {
  822. text-align: center ;
  823. }
  824. }
  825. }