You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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