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 20KB

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