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.

screen.scss 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953
  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. .title-user {
  392. display: none ;
  393. font-size: 19px ;
  394. margin-top: 0px ;
  395. .btn-edit, .btn-remove,
  396. .btn-cancel, .btn-save {
  397. float: right ;
  398. position: relative ;
  399. top: -6px ;
  400. }
  401. .btn-edit, .btn-cancel {
  402. margin-right: 10px ;
  403. }
  404. .buttons-save-cancel {
  405. display: none ;
  406. }
  407. .choix-user {
  408. display: none ;
  409. .form-control {
  410. width: 200px ;
  411. display: inline ;
  412. }
  413. }
  414. }
  415. table.table-produits {
  416. .td-commande {
  417. text-align: center ;
  418. }
  419. input.form-control {
  420. //width: 100px ;
  421. text-align: center ;
  422. }
  423. }
  424. .td-produit,
  425. .th-produit {
  426. width: 70% ;
  427. }
  428. .td-commande,
  429. .th-commande {
  430. width: 30% ;
  431. text-align: center ;
  432. }
  433. .td-produit {
  434. text-transform: uppercase ;
  435. }
  436. .td-commande {
  437. font-weight: bold ;
  438. }
  439. .td-total {
  440. font-size: 20px ;
  441. text-align: center ;
  442. span {
  443. padding: 5px 10px ;
  444. background-color: $color1 ;
  445. color: white ;
  446. font-weight: bold ;
  447. @include border-radius(15px ) ;
  448. }
  449. }
  450. .panel-commande-automatique {
  451. .field-commandeautoform-id_user,
  452. .field-commandeautoform-id_etablissement
  453. {
  454. display: none ;
  455. }
  456. .jours {
  457. .form-group {
  458. float: left ;
  459. margin-right: 10px ;
  460. }
  461. }
  462. }
  463. }
  464. #old-commandes {
  465. display: none ;
  466. }
  467. .form-commandes-point-vente {
  468. margin-top: 20px ;
  469. table {
  470. border-bottom: solid 1px #e0e0e0 ;
  471. }
  472. .title-point-vente {
  473. background-color: lighten(#fdd44b, 30) ;
  474. border-left: solid 3px $color1 ;
  475. font-weight: bold ;
  476. text-align: left ;
  477. padding: 10px ;
  478. }
  479. .title-totaux {
  480. text-align: center ;
  481. }
  482. .border-left {
  483. border-left: solid 1px #e0e0e0 ;
  484. }
  485. .border-right {
  486. border-right: solid 1px #e0e0e0 ;
  487. }
  488. input.quantite {
  489. //width: 50px ;
  490. width: 30px ;
  491. background-color: white ;
  492. border: solid 1px #e0e0e0 ;
  493. text-align: center ;
  494. }
  495. .td-produit {
  496. text-align: center ;
  497. }
  498. .submit-pv {
  499. float: right ;
  500. }
  501. .select-user {
  502. background-color: #F9F9F9 ;
  503. border: solid 1px #e0e0e0 ;
  504. }
  505. .date-commande {
  506. font-size: 12px ;
  507. }
  508. .datepicker, .text {
  509. background-color: white ;
  510. border: solid 1px #e0e0e0 ;
  511. margin-top: 3px ;
  512. width: 100px ;
  513. }
  514. td.center {
  515. text-align: center ;
  516. }
  517. .depasse {
  518. color: #b32815 ;
  519. }
  520. .total strong span {
  521. font-weight: normal ;
  522. font-size: 13px ;
  523. }
  524. .vrac {
  525. display: none ;
  526. }
  527. td.client {
  528. text-align: left ;
  529. padding: 3px ;
  530. .date-commande {
  531. color: gray ;
  532. }
  533. }
  534. }
  535. .table-header-rotated th.row-header{
  536. //width: auto;
  537. }
  538. .table-header-rotated td{
  539. width: 20px;
  540. padding: 0px ;
  541. border-top: 1px solid #dddddd;
  542. border-left: 1px solid #dddddd;
  543. border-right: 1px solid #dddddd;
  544. vertical-align: middle;
  545. text-align: center;
  546. }
  547. .table-header-rotated th.rotate-45{
  548. height: 80px;
  549. width: 20px;
  550. min-width: 20px;
  551. max-width: 20px;
  552. position: relative;
  553. vertical-align: bottom;
  554. padding: 0;
  555. font-size: 12px;
  556. line-height: 0.8;
  557. }
  558. .table-header-rotated th.rotate-45 > div{
  559. position: relative;
  560. top: 0px;
  561. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  562. height: 100%;
  563. -ms-transform:skew(-45deg,0deg);
  564. -moz-transform:skew(-45deg,0deg);
  565. -webkit-transform:skew(-45deg,0deg);
  566. -o-transform:skew(-45deg,0deg);
  567. transform:skew(-45deg,0deg);
  568. overflow: hidden;
  569. border-left: 1px solid #dddddd;
  570. border-right: 1px solid #dddddd;
  571. border-top: 1px solid #dddddd;
  572. }
  573. .table-header-rotated th.rotate-45 span {
  574. -ms-transform:skew(45deg,0deg) rotate(315deg);
  575. -moz-transform:skew(45deg,0deg) rotate(315deg);
  576. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  577. -o-transform:skew(45deg,0deg) rotate(315deg);
  578. transform:skew(45deg,0deg) rotate(315deg);
  579. position: absolute;
  580. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  581. bottom: 16px; // pour width 20px
  582. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  583. left: 0px ;
  584. display: inline-block;
  585. // width: 100%;
  586. 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*/
  587. width: 43px ;
  588. text-align: left;
  589. white-space: nowrap; /*whether to display in one line or not*/
  590. }
  591. }
  592. #email-masse-form {
  593. #ids-users {
  594. line-height: 30px ;
  595. .label {
  596. text-transform: capitalize ;
  597. }
  598. }
  599. }
  600. .produit-create, .produit-update {
  601. #jours-production {
  602. .form-group {
  603. float: left ;
  604. margin-right: 15px ;
  605. label {
  606. font-weight: normal ;
  607. }
  608. }
  609. }
  610. .field-produit-id_etablissement {
  611. display: none;
  612. }
  613. }
  614. .table-striped > tbody > tr:nth-of-type(2n) {
  615. background-color: white ;
  616. }
  617. .wrap .produit-index {
  618. .td-photo {
  619. max-width: 100px ;
  620. width: 100px ;
  621. }
  622. .photo-produit {
  623. max-width: 100px ;
  624. }
  625. .ui-state-highlight {
  626. height: 75px;
  627. background-color: $color2 ;
  628. }
  629. }
  630. /* communiquer */
  631. .communiquer-mode-emploi {
  632. border: solid 1px #e0e0e0 ;
  633. padding: 10px ;
  634. @include border-radius(10px) ;
  635. margin-bottom: 30px ;
  636. font-family: 'myriadpro-regular' ;
  637. .header {
  638. .logo {
  639. float: left ;
  640. width: 75px ;
  641. padding-right: 20px ;
  642. padding-top: 10px ;
  643. img {
  644. width: 75px ;
  645. }
  646. }
  647. h1 {
  648. font-family: 'comfortaaregular' ;
  649. font-size: 40px ;
  650. margin-top: 0px ;
  651. margin-bottom: 0px ;
  652. font-weight: normal ;
  653. }
  654. h2 {
  655. margin-top: 0px ;
  656. font-family: 'myriadpro-regular' ;
  657. font-size: 20px ;
  658. margin-top: 0px ;
  659. position: relative ;
  660. left: 2px ;
  661. font-weight: normal ;
  662. }
  663. }
  664. h3 {
  665. font-family: 'comfortaalight' ;
  666. font-family: 'myriadpro-regular' ;
  667. font-size: 25px ;
  668. color: $color1 ;
  669. margin-top: 0px ;
  670. margin-bottom: 0px ;
  671. }
  672. }
  673. .communiquer-mode-emploi-encart {
  674. width: 420px ;
  675. margin-top: 20px ;
  676. .header {
  677. .logo {
  678. width: 60px ;
  679. margin-right: 20px ;
  680. padding-top: 5px ;
  681. img {
  682. width: 60px ;
  683. }
  684. }
  685. h1 {
  686. margin-bottom: 3px ;
  687. }
  688. h2 {
  689. }
  690. }
  691. h3 {
  692. margin-top: 15px ;
  693. margin-bottom: 15px ;
  694. }
  695. }
  696. .bloc-mode-emploi-pdf {
  697. width: 49.9% ;
  698. float: left;
  699. border-bottom: dotted 1px gray ;
  700. }
  701. .bloc-mode-emploi-border {
  702. border-right: dotted 1px gray ;
  703. border-bottom: dotted 1px gray ;
  704. }
  705. .communiquer-mode-emploi-pdf {
  706. border: 0px none ;
  707. //border-bottom: dotted 1px gray ;
  708. @include border-radius(0px) ;
  709. margin-bottom: 0px;
  710. padding: 20px 0px 20px 30px ;
  711. .header {
  712. .logo {
  713. float: left ;
  714. width: 55px ;
  715. padding-right: 15px ;
  716. padding-top: 10px ;
  717. img {
  718. width: 55px ;
  719. }
  720. }
  721. h1 {
  722. font-size: 32px ;
  723. }
  724. h2 {
  725. font-size: 16px ;
  726. }
  727. }
  728. h3 {
  729. font-weight: normal ;
  730. }
  731. }
  732. .bloc-mode-emploi-bottom {
  733. border-bottom: 0px none ;
  734. border-bottom: solid 1px white;
  735. }
  736. /* commandes auto */
  737. .commandeauto-form {
  738. #bloc-select-user {
  739. padding-left: 0px ;
  740. }
  741. #or-user {
  742. font-size: 20px ;
  743. text-align: center ;
  744. span {
  745. position: relative ;
  746. top: 24px ;
  747. }
  748. }
  749. .field-commandeautoform-id_etablissement {
  750. display: none ;
  751. }
  752. .jours {
  753. .form-group {
  754. float: left;
  755. margin-right: 20px ;
  756. }
  757. }
  758. .produits {
  759. .table {
  760. width: 500px ;
  761. }
  762. .quantite {
  763. text-align: center ;
  764. }
  765. }
  766. }
  767. /* points de vente */
  768. .point-vente-form {
  769. #pointvente-users {
  770. display: none ;
  771. height: 500px ;
  772. overflow-y: scroll ;
  773. label {
  774. font-weight: normal ;
  775. display: block ;
  776. }
  777. }
  778. }
  779. /* utilisateurs */
  780. .user-index {
  781. .input-group {
  782. width: 180px ;
  783. .input-credit {
  784. text-align: center ;
  785. }
  786. }
  787. }