Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1004 linhas
23KB

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