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

8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
8 vuotta sitten
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329
  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. h1, h2, h3, h4, h5, h6 {
  14. font-family: 'myriadpro-light' ;
  15. }
  16. a {
  17. color: $color1;
  18. &:hover, &:focus, &:active {
  19. color: darken($color1, 10) ;
  20. }
  21. }
  22. #block-demo {
  23. padding: 10px 0px ;
  24. background-color: $color2 ;
  25. color: $color1;
  26. text-align: left ;
  27. margin-bottom: 20px ;
  28. border: solid 1px lighten($color1,10) ;
  29. @include border-radius(5px) ;
  30. a {
  31. text-decoration: underline ;
  32. }
  33. }
  34. #env-dev {
  35. font-family: 'comfortaabold' ;
  36. text-align: center ;
  37. font-size: 18px ;
  38. padding: 5px 10px ;
  39. color: white ;
  40. position: fixed ;
  41. top: 9px ;
  42. left: 66px ;
  43. z-index: 1031 ;
  44. }
  45. .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
  46. background-color: $color1 ;
  47. border: solid 1px $color1 ;
  48. }
  49. .pagination > li > a, .pagination > li > span {
  50. color: $color1 ;
  51. &:hover {
  52. color: darken($color1, 10) ;
  53. }
  54. }
  55. .wrap {
  56. .btn-primary,
  57. .btn-success {
  58. background: none ;
  59. background-color: $color1 ;
  60. border: solid 1px $color1 ;
  61. &:hover, &:focus, &:active {
  62. background-color: darken($color1, 10) ;
  63. border: solid 1px darken($color1, 10) ;
  64. }
  65. }
  66. }
  67. .nav-header {
  68. .retour-site {
  69. border-left : solid 1px $color2 ;
  70. padding: 10px 15px ;
  71. }
  72. }
  73. .navbar-brand {
  74. .logo {
  75. height: 40px ;
  76. position: relative ;
  77. top: -10px ;
  78. }
  79. }
  80. .container-body {
  81. padding-top: 117px ;
  82. padding-bottom: 50px ;
  83. }
  84. .navbar-inverse {
  85. background: none;
  86. background-color: $color1 ;
  87. border-bottom: 0px none ;
  88. .navbar-nav {
  89. padding-top: 12px ;
  90. }
  91. .navbar-nav > li > a {
  92. color: white ;
  93. margin-left: 3px;
  94. padding: 3px 11px ;
  95. &:hover {
  96. color: $color2 ;
  97. //background-color: $color2 ;
  98. }
  99. }
  100. .navbar-nav > li.active,
  101. .navbar-nav > .open {
  102. a {
  103. background: none ;
  104. @include box-shadow(none) ;
  105. @include text-shadow(none) ;
  106. margin-left: 3px ;
  107. background-color: $color2 ;
  108. color: $color1 ;
  109. padding: 3px 11px ;
  110. @include border-radius(5px) ;
  111. &:hover,
  112. &:focus {
  113. background-color: $color2 ;
  114. color: $color1 ;
  115. }
  116. }
  117. }
  118. .navbar-nav > .open {
  119. a.dropdown-toggle {
  120. @include border-radius(5px 5px 0px 0px) ;
  121. }
  122. ul.dropdown-menu {
  123. @include box-shadow(0px 0px 5px gray) ;
  124. @include border-radius(5px 0px 5px 5px) ;
  125. border-top: 0px none ;
  126. right: -1px ;
  127. li {
  128. a {
  129. background-color: transparent ;
  130. &:hover {
  131. color: darken($color1,10) ;
  132. }
  133. }
  134. }
  135. }
  136. }
  137. .navbar-nav > .open > a,
  138. .navbar-nav > .open > a:hover,
  139. .navbar-nav > .open > a:focus {
  140. }
  141. }
  142. #alerts-fixed {
  143. position: fixed ;
  144. bottom: 20px ;
  145. left: 20px ;
  146. .alert {
  147. margin-top: 20px ;
  148. }
  149. }
  150. .nom-boulange {
  151. //font-family: 'Georgia' ;
  152. margin-bottom: 15px ;
  153. text-align: left ;
  154. position: fixed ;
  155. top: 51px ;
  156. left: 0px ;
  157. width: 100% ;
  158. background-color: #515151 ;
  159. background-color: $color2 ;
  160. color: darken($color1,15) ;
  161. z-index: 100 ;
  162. font-size: 20px ;
  163. padding: 8px 15px ;
  164. padding-bottom: 2px ;
  165. padding-top: 5px ;
  166. border-bottom: solid 1px #e0e0e0 ;
  167. @include box-shadow(0px 0px 5px gray) ;
  168. #etat-paiement-etablissement {
  169. float: right ;
  170. text-align: right ;
  171. color: darken($color1,15) ;
  172. font-size: 16px ;
  173. .strong {
  174. background-color: white ;
  175. color: $color1 ;
  176. @include border-radius(10px) ;
  177. padding: 0px 10px ;
  178. }
  179. .btn {
  180. padding: 2px 5px ;
  181. }
  182. }
  183. #select-etablissement {
  184. float: left ;
  185. font-size: 15px ;
  186. }
  187. .label {
  188. font-size: 11px ;
  189. margin-left: 10px ;
  190. position: relative ;
  191. bottom: 3px ;
  192. a {
  193. color: white ;
  194. &:hover {
  195. text-decoration: none ;
  196. }
  197. }
  198. }
  199. }
  200. .table {
  201. thead {
  202. th.actions {
  203. width: 220px ;
  204. }
  205. th.order {
  206. width: 58px ;
  207. }
  208. th.actif {
  209. width: 75px ;
  210. text-align: center;
  211. }
  212. }
  213. tbody {
  214. td.center {
  215. text-align: center ;
  216. }
  217. }
  218. }
  219. .footer {
  220. .pull-left {
  221. a {
  222. margin-right: 5px ;
  223. margin-left: 5px ;
  224. //text-transform: uppercase ;
  225. color: gray ;
  226. }
  227. }
  228. }
  229. // liste de commandes
  230. .site-index, .user-commandes {
  231. #dernieres-commandes, #historique-commandes {
  232. tr.commande-update {
  233. td {
  234. background-color: $color2 ;
  235. }
  236. .update {
  237. color: $color1 ;
  238. }
  239. }
  240. tr.commande-delete {
  241. td {
  242. background-color: lighten(#C9302C, 40);
  243. }
  244. .delete {
  245. color: #C9302C ;
  246. }
  247. }
  248. td.historique {
  249. min-width: 170px ;
  250. .small {
  251. margin-bottom: 7px ;
  252. }
  253. strong {
  254. //margin-left: 15px ;
  255. }
  256. /*.label {
  257. color: gray ;
  258. border: solid 1px gray ;
  259. }*/
  260. }
  261. .small, .localite {
  262. font-size: 12px ;
  263. color: gray ;
  264. }
  265. .commentaire {
  266. font-size: 12px ;
  267. }
  268. .date {
  269. text-align: center ;
  270. .bloc-date {
  271. width: 50% ;
  272. margin: 0px auto ;
  273. padding-top: 0px ;
  274. }
  275. .jour {
  276. text-transform: capitalize ;
  277. line-height: 13px ;
  278. font-size: 10px ;
  279. text-transform: uppercase ;
  280. }
  281. .num {
  282. font-size: 23px ;
  283. line-height: 28px ;
  284. font-weight: bold ;
  285. }
  286. .mois {
  287. text-transform: uppercase ;
  288. line-height: 13px ;
  289. font-size: 15px ;
  290. }
  291. }
  292. }
  293. }
  294. // tableau de bord
  295. .site-index {
  296. .panel {
  297. .panel-title {
  298. .btn {
  299. float: right ;
  300. font-family: 'myriadpro-regular' ;
  301. &.btn-success {
  302. background-color: #5cb85c ;
  303. color: white ;
  304. border-color: #5cb85c ;
  305. }
  306. &.margin-left {
  307. margin-left: 5px ;
  308. }
  309. }
  310. }
  311. .panel-body {
  312. //height: 250px ;
  313. }
  314. }
  315. #facturation {
  316. h2 {
  317. font-size: 25px ;
  318. text-align: center ;
  319. }
  320. .mois-en-cours {
  321. .montant span {
  322. background-color: white ;
  323. color: #333 ;
  324. border: solid 1px gray ;
  325. }
  326. }
  327. .montant {
  328. margin-top: 35px ;
  329. text-align: center ;
  330. span {
  331. font-size: 22px ;
  332. color: white ;
  333. background-color: $color1 ;
  334. padding: 7px 10px 3px;
  335. font-family: 'myriadpro-regular' ;
  336. @include border-radius(5px) ;
  337. }
  338. }
  339. }
  340. }
  341. #page-commande {
  342. #row2 {
  343. }
  344. h1 {
  345. .btn-group {
  346. float: right ;
  347. }
  348. }
  349. #col-left, #col-right {
  350. padding-left: 0px ;
  351. padding-right: 0px ;
  352. }
  353. #col-right {
  354. padding-left: 20px ;
  355. }
  356. #jours-production {
  357. display: none ;
  358. }
  359. #calendar {
  360. h2 {
  361. font-size: 20px ;
  362. position: relative ;
  363. top: 3px ;
  364. }
  365. .fc-header-title {
  366. margin-left: 10px ;
  367. }
  368. $back-day-with-event: lighten(#FDD44B,13) ;
  369. //$back-day-with-event: #FDD44B ;
  370. .dayWithEvent {
  371. background-color: $back-day-with-event ;
  372. cursor: pointer;
  373. }
  374. .fc-event-container {display: none;}
  375. .fc-today {
  376. border-bottom: solid 1px #C9302C ;
  377. background-color: white ;
  378. &.dayWithEvent {
  379. background-color: $back-day-with-event ;
  380. }
  381. }
  382. .fc-day {
  383. cursor: pointer ;
  384. text-align: center ;
  385. &:hover {
  386. @include box-shadow(0px 0px 2px black inset) ;
  387. }
  388. }
  389. .current-date {
  390. @include box-shadow(0px 0px 2px black inset) ;
  391. }
  392. .fc-day-number {
  393. float: none ;
  394. padding-top: 2px ;
  395. }
  396. }
  397. #bloc-production {
  398. .label {
  399. float: right ;
  400. font-size: 13px ;
  401. }
  402. .btn-success {
  403. background-color: #5cb85c ;
  404. border-color: #4cae4c ;
  405. }
  406. #productions-point-vente {
  407. margin-top: 15px ;
  408. padding: 10px ;
  409. border: solid 1px #e0e0e0 ;
  410. background-color: #F5F5F5 ;
  411. @include border-radius(5px) ;
  412. label {
  413. display: block ;
  414. font-weight: normal ;
  415. }
  416. .checkbox-list {
  417. margin-left: 10px ;
  418. margin-top: 10px ;
  419. }
  420. }
  421. }
  422. #produits-production {
  423. .overflow {
  424. //max-height: 400px ;
  425. //overflow-y: scroll ;
  426. table {
  427. width: 100%;
  428. }
  429. thead, tbody, tr, td, th { display: block; }
  430. tr:after {
  431. content: ' ';
  432. display: block;
  433. visibility: hidden;
  434. clear: both;
  435. }
  436. thead th {
  437. height: 30px;
  438. /*text-align: left;*/
  439. }
  440. tbody {
  441. height: 500px;
  442. overflow-y: auto;
  443. }
  444. thead {
  445. }
  446. thead th {
  447. width: 32%;
  448. float: left;
  449. }
  450. tbody td{
  451. width: 33%;
  452. float: left;
  453. }
  454. .td-produit {
  455. width: 60% ;
  456. }
  457. .td-actif, .td-max {
  458. width: 20% ;
  459. text-align: center ;
  460. }
  461. thead {
  462. .td-produit {
  463. width: 57% ;
  464. }
  465. }
  466. }
  467. input.quantite-max {
  468. background-color: white;
  469. border: 1px solid #e0e0e0;
  470. text-align: center;
  471. width: 50px;
  472. }
  473. td {
  474. label {
  475. font-weight: normal ;
  476. }
  477. }
  478. }
  479. #btn-export-commandes,
  480. #btn-commandes-auto {
  481. float: right ;
  482. position: relative;
  483. top: -5px ;
  484. right: -7px ;
  485. padding: 2px 5px ;
  486. }
  487. #btn-export-commandes,
  488. #btn-commandes-auto {
  489. color: white ;
  490. margin-left: 10px ;
  491. padding: 1px 5px ;
  492. }
  493. #btn-commandes-auto {
  494. top: -7px ;
  495. .btn {
  496. padding: 2px 5px;
  497. span {
  498. top: 2px ;
  499. }
  500. }
  501. }
  502. #bloc-totaux {
  503. .table-produits {
  504. .depasse {
  505. color: #b32815 ;
  506. }
  507. .total strong span {
  508. font-weight: normal ;
  509. font-size: 13px ;
  510. }
  511. }
  512. }
  513. #commandes-points-vente {
  514. .tab-pane {
  515. padding-top: 20px ;
  516. }
  517. .recap-pv {
  518. &.no-commande {
  519. .recettes {
  520. display: none;
  521. }
  522. }
  523. .recettes {
  524. float: right ;
  525. color: $color1 ;
  526. //background-color: $color1 ;
  527. border: solid 1px $color1 ;
  528. padding: 4px 10px ;
  529. @include border-radius(10px) ;
  530. font-weight: bold ;
  531. position: relative ;
  532. top: -3px ;
  533. }
  534. }
  535. .alert.commentaire {
  536. display: none ;
  537. }
  538. ul.liste-commandes {
  539. margin-top: 10px ;
  540. list-style-type: none ;
  541. height: 100% ;
  542. max-height: 400px ;
  543. //border: solid 1px #e0e0e0 ;
  544. margin-left: 0 ;
  545. padding-left: 0 ;
  546. margin-top: 0px ;
  547. width: 100% ;
  548. overflow-y: scroll ;
  549. &.no-commande {
  550. display: none ;
  551. }
  552. li {
  553. padding: 0 ;
  554. margin: 0 ;
  555. a {
  556. text-align: left;
  557. @include border-radius(0px) ;
  558. display: block ;
  559. padding: 7px ;
  560. //border-bottom: solid 1px #e0e0e0 ;
  561. color: #333 ;
  562. .montant {
  563. float: right ;
  564. color: $color1 ;
  565. font-weight: bold ;
  566. &.paye {
  567. color: #5cb85c ;
  568. color: #519951 ;
  569. }
  570. }
  571. .glyphicon-comment {
  572. color: $color1 ;
  573. }
  574. &:hover, &:active, &.active {
  575. text-decoration: none ;
  576. //background-color: #F5F5F5 ;
  577. //background-color: lighten($color2,5) ;
  578. background-color: #FCF8E3 ;
  579. //border-right: solid 3px $color1 ;
  580. outline: none ;
  581. border-color: #ccc ;
  582. @include transition(all 0.1s) ;
  583. }
  584. }
  585. }
  586. }
  587. .creer-commande,
  588. .commandes-auto {
  589. width: 100% ;
  590. margin-bottom: 10px ;
  591. }
  592. .bloc-commande {
  593. padding-top: 20px ;
  594. margin-top: 20px ;
  595. display: none ;
  596. }
  597. .title-user {
  598. display: none ;
  599. font-size: 19px ;
  600. margin-top: 0px ;
  601. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif ;
  602. .btn-edit, .btn-remove,
  603. .btn-cancel, .btn-save {
  604. float: right ;
  605. position: relative ;
  606. top: -6px ;
  607. }
  608. .btn-edit, .btn-cancel {
  609. margin-right: 10px ;
  610. }
  611. .buttons-save-cancel {
  612. display: none ;
  613. }
  614. .choix-user {
  615. display: none ;
  616. .form-control {
  617. width: 200px ;
  618. display: inline ;
  619. }
  620. }
  621. }
  622. table.table-produits {
  623. .td-commande {
  624. text-align: center ;
  625. }
  626. input.form-control {
  627. //width: 100px ;
  628. text-align: center ;
  629. }
  630. }
  631. .td-produit,
  632. .th-produit {
  633. width: 70% ;
  634. }
  635. .td-commande,
  636. .th-commande {
  637. width: 30% ;
  638. text-align: center ;
  639. }
  640. .td-produit {
  641. text-transform: uppercase ;
  642. }
  643. .td-commande {
  644. font-weight: bold ;
  645. }
  646. .td-total {
  647. font-size: 18px ;
  648. text-align: center ;
  649. span {
  650. padding: 2px 10px ;
  651. background-color: $color1 ;
  652. color: white ;
  653. font-weight: bold ;
  654. @include border-radius(8px) ;
  655. }
  656. }
  657. .td-paiement {
  658. .buttons-credit {
  659. float: right ;
  660. }
  661. }
  662. .panel-commande-automatique {
  663. .field-commandeautoform-id_user,
  664. .field-commandeautoform-id_etablissement
  665. {
  666. display: none ;
  667. }
  668. .jours {
  669. .form-group {
  670. float: left ;
  671. margin-right: 10px ;
  672. }
  673. }
  674. }
  675. }
  676. #old-commandes {
  677. display: none ;
  678. }
  679. .form-commandes-point-vente {
  680. margin-top: 20px ;
  681. table {
  682. border-bottom: solid 1px #e0e0e0 ;
  683. }
  684. .title-point-vente {
  685. background-color: lighten(#fdd44b, 30) ;
  686. border-left: solid 3px $color1 ;
  687. font-weight: bold ;
  688. text-align: left ;
  689. padding: 10px ;
  690. }
  691. .title-totaux {
  692. text-align: center ;
  693. }
  694. .border-left {
  695. border-left: solid 1px #e0e0e0 ;
  696. }
  697. .border-right {
  698. border-right: solid 1px #e0e0e0 ;
  699. }
  700. input.quantite {
  701. //width: 50px ;
  702. width: 30px ;
  703. background-color: white ;
  704. border: solid 1px #e0e0e0 ;
  705. text-align: center ;
  706. }
  707. .td-produit {
  708. text-align: center ;
  709. }
  710. .submit-pv {
  711. float: right ;
  712. }
  713. .select-user {
  714. background-color: #F9F9F9 ;
  715. border: solid 1px #e0e0e0 ;
  716. }
  717. .date-commande {
  718. font-size: 12px ;
  719. }
  720. .datepicker, .text {
  721. background-color: white ;
  722. border: solid 1px #e0e0e0 ;
  723. margin-top: 3px ;
  724. width: 100px ;
  725. }
  726. td.center {
  727. text-align: center ;
  728. }
  729. .depasse {
  730. color: #b32815 ;
  731. }
  732. .total strong span {
  733. font-weight: normal ;
  734. font-size: 13px ;
  735. }
  736. .vrac {
  737. display: none ;
  738. }
  739. td.client {
  740. text-align: left ;
  741. padding: 3px ;
  742. .date-commande {
  743. color: gray ;
  744. }
  745. }
  746. }
  747. .table-header-rotated {
  748. border-top: 0px ;
  749. border-left: 0px ;
  750. border-right: 0px ;
  751. width: 100% ;
  752. width: auto ;
  753. .total strong {
  754. border-bottom: solid 1px gray ;
  755. }
  756. }
  757. .table-header-rotated th.row-header{
  758. width: auto;
  759. }
  760. .table-header-rotated td{
  761. width: 40px;
  762. border-top: 1px solid #dddddd;
  763. border-left: 1px solid #dddddd;
  764. border-right: 1px solid #dddddd;
  765. vertical-align: middle;
  766. text-align: center;
  767. }
  768. .table-header-rotated th.rotate-45{
  769. font-weight: normal ;
  770. height: 80px;
  771. width: 40px;
  772. min-width: 40px;
  773. max-width: 40px;
  774. position: relative;
  775. vertical-align: bottom;
  776. padding: 0;
  777. font-size: 14px;
  778. line-height: 1;
  779. border: 0px none;
  780. }
  781. .table-header-rotated th.rotate-45 > div{
  782. background-color: #F5F5F5 ;
  783. position: relative;
  784. top: 0px;
  785. left: 40px; /* 80 * tan(45) / 2 = 40 where 80 is the height on the cell and 45 is the transform angle*/
  786. height: 100%;
  787. -ms-transform:skew(-45deg,0deg);
  788. -moz-transform:skew(-45deg,0deg);
  789. -webkit-transform:skew(-45deg,0deg);
  790. -o-transform:skew(-45deg,0deg);
  791. transform:skew(-45deg,0deg);
  792. overflow: hidden;
  793. border-left: 1px solid #dddddd;
  794. border-right: 1px solid #dddddd;
  795. border-top: 1px solid #dddddd;
  796. }
  797. .table-header-rotated th.rotate-45 span {
  798. -ms-transform:skew(45deg,0deg) rotate(315deg);
  799. -moz-transform:skew(45deg,0deg) rotate(315deg);
  800. -webkit-transform:skew(45deg,0deg) rotate(315deg);
  801. -o-transform:skew(45deg,0deg) rotate(315deg);
  802. transform:skew(45deg,0deg) rotate(315deg);
  803. position: absolute;
  804. bottom: 30px; /* 40 cos(45) = 28 with an additional 2px margin*/
  805. left: -25px; /*Because it looked good, but there is probably a mathematical link here as well*/
  806. display: inline-block;
  807. // width: 100%;
  808. 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*/
  809. text-align: left;
  810. // white-space: nowrap; /*whether to display in one line or not*/
  811. }
  812. }
  813. #email-masse-form {
  814. #ids-users {
  815. line-height: 30px ;
  816. .label {
  817. text-transform: capitalize ;
  818. }
  819. }
  820. }
  821. .produit-create, .produit-update {
  822. #jours-production {
  823. .form-group {
  824. float: left ;
  825. margin-right: 15px ;
  826. label {
  827. font-weight: normal ;
  828. }
  829. }
  830. }
  831. .field-produit-id_etablissement {
  832. display: none;
  833. }
  834. }
  835. .table-striped > tbody > tr:nth-of-type(2n) {
  836. background-color: white ;
  837. }
  838. .wrap .produit-index {
  839. .td-photo {
  840. max-width: 100px ;
  841. width: 100px ;
  842. }
  843. .photo-produit {
  844. max-width: 100px ;
  845. }
  846. .ui-state-highlight {
  847. height: 75px;
  848. background-color: $color2 ;
  849. }
  850. }
  851. /* communiquer */
  852. .communiquer-mode-emploi {
  853. border: solid 1px #e0e0e0 ;
  854. padding: 10px ;
  855. @include border-radius(10px) ;
  856. margin-bottom: 30px ;
  857. font-family: 'myriadpro-regular' ;
  858. .header {
  859. .logo {
  860. float: left ;
  861. width: 75px ;
  862. padding-right: 20px ;
  863. padding-top: 10px ;
  864. img {
  865. width: 75px ;
  866. }
  867. }
  868. h1 {
  869. font-family: 'comfortaaregular' ;
  870. font-size: 40px ;
  871. margin-top: 0px ;
  872. margin-bottom: 0px ;
  873. font-weight: normal ;
  874. }
  875. h2 {
  876. margin-top: 0px ;
  877. font-family: 'myriadpro-regular' ;
  878. font-size: 20px ;
  879. margin-top: 0px ;
  880. position: relative ;
  881. left: 2px ;
  882. font-weight: normal ;
  883. }
  884. }
  885. h3 {
  886. font-family: 'comfortaalight' ;
  887. font-family: 'myriadpro-regular' ;
  888. font-size: 25px ;
  889. color: $color1 ;
  890. margin-top: 0px ;
  891. margin-bottom: 0px ;
  892. }
  893. }
  894. .communiquer-mode-emploi-encart {
  895. width: 420px ;
  896. margin-top: 20px ;
  897. .header {
  898. .logo {
  899. width: 60px ;
  900. margin-right: 20px ;
  901. padding-top: 5px ;
  902. img {
  903. width: 60px ;
  904. }
  905. }
  906. h1 {
  907. margin-bottom: 3px ;
  908. }
  909. h2 {
  910. }
  911. }
  912. h3 {
  913. margin-top: 15px ;
  914. margin-bottom: 15px ;
  915. }
  916. }
  917. .bloc-mode-emploi-pdf {
  918. width: 49.9% ;
  919. float: left;
  920. border-bottom: dotted 1px gray ;
  921. }
  922. .bloc-mode-emploi-border {
  923. border-right: dotted 1px gray ;
  924. border-bottom: dotted 1px gray ;
  925. }
  926. .communiquer-mode-emploi-pdf {
  927. border: 0px none ;
  928. //border-bottom: dotted 1px gray ;
  929. @include border-radius(0px) ;
  930. margin-bottom: 0px;
  931. padding: 20px 0px 20px 30px ;
  932. .header {
  933. .logo {
  934. float: left ;
  935. width: 55px ;
  936. padding-right: 15px ;
  937. padding-top: 10px ;
  938. img {
  939. width: 55px ;
  940. }
  941. }
  942. h1 {
  943. font-size: 32px ;
  944. }
  945. h2 {
  946. font-size: 16px ;
  947. }
  948. }
  949. h3 {
  950. font-weight: normal ;
  951. }
  952. }
  953. .bloc-mode-emploi-bottom {
  954. border-bottom: 0px none ;
  955. border-bottom: solid 1px white;
  956. }
  957. /* commandes auto */
  958. .commandeauto-form {
  959. #bloc-select-user {
  960. padding-left: 0px ;
  961. }
  962. #or-user {
  963. font-size: 20px ;
  964. text-align: center ;
  965. span {
  966. position: relative ;
  967. top: 24px ;
  968. }
  969. }
  970. .field-commandeautoform-id_etablissement {
  971. display: none ;
  972. }
  973. .jours {
  974. .form-group {
  975. float: left;
  976. margin-right: 20px ;
  977. }
  978. }
  979. .produits {
  980. .table {
  981. width: 500px ;
  982. }
  983. .quantite {
  984. text-align: center ;
  985. }
  986. }
  987. }
  988. /* points de vente */
  989. .point-vente-form {
  990. #pointvente-users {
  991. display: none ;
  992. height: 500px ;
  993. overflow-y: scroll ;
  994. label {
  995. font-weight: normal ;
  996. display: block ;
  997. }
  998. .commentaire {
  999. display: none ;
  1000. margin-left: 17px ;
  1001. width: 200px ;
  1002. }
  1003. }
  1004. #jours-livraison {
  1005. .form-group {
  1006. float: left ;
  1007. margin-right: 15px ;
  1008. label {
  1009. font-weight: normal ;
  1010. }
  1011. }
  1012. }
  1013. }
  1014. /* utilisateurs */
  1015. .user-index {
  1016. .input-group {
  1017. width: 180px ;
  1018. .input-credit {
  1019. text-align: center ;
  1020. }
  1021. }
  1022. #tabs-points-vente {
  1023. margin-bottom: 20px ;
  1024. }
  1025. .btn-liste-emails {
  1026. float: right ;
  1027. position: relative ;
  1028. top: -8px ;
  1029. }
  1030. }
  1031. .user-credit {
  1032. .the-credit {
  1033. float: right ;
  1034. font-weight: bold ;
  1035. background-color: $color1 ;
  1036. color: white ;
  1037. @include border-radius(8px) ;
  1038. padding: 3px 10px ;
  1039. padding-top: 7px ;
  1040. position: relative ;
  1041. top: -12px ;
  1042. }
  1043. }
  1044. /* facturation */
  1045. #estimation-facture {
  1046. padding: 20px ;
  1047. background-color: #F9F9F9 ;
  1048. h2 {
  1049. font-family: 'myriadpro-it' ;
  1050. }
  1051. .montant {
  1052. span {
  1053. font-size: 25px ;
  1054. color: white ;
  1055. background-color: $color1 ;
  1056. @include border-radius(5px) ;
  1057. padding: 3px 10px ;
  1058. padding-top: 7px ;
  1059. font-family: 'myriadpro-regular' ;
  1060. }
  1061. }
  1062. label {
  1063. text-transform: uppercase ;
  1064. font-family: "myriadpro-light" ;
  1065. font-size: 20px ;
  1066. span {
  1067. font-size: 16px ;
  1068. }
  1069. }
  1070. #etablissement-prix_libre {
  1071. width: 100px ;
  1072. height: 60px ;
  1073. font-size: 30px ;
  1074. padding: 10px ;
  1075. text-align: center ;
  1076. }
  1077. }
  1078. .developpement-index {
  1079. ul#tabs-statuts-developpements {
  1080. margin-bottom: 30px ;
  1081. border-bottom: solid 3px $color1 ;
  1082. a {
  1083. text-transform: uppercase ;
  1084. }
  1085. .active {
  1086. border: 0px none ;
  1087. background: none ;
  1088. a {
  1089. background-color: $color1 ;
  1090. color: white ;
  1091. }
  1092. }
  1093. }
  1094. #tab-developpements {
  1095. .btn-group-priorite {
  1096. width: 100% ;
  1097. margin-bottom: 5px ;
  1098. .btn-priorite {
  1099. display: block ;
  1100. float: none ;
  1101. width: 100% ;
  1102. }
  1103. }
  1104. .label-priorite {
  1105. display: block ;
  1106. width: 100% ;
  1107. margin-bottom: 2px ;
  1108. padding: 5px 8px ;
  1109. }
  1110. }
  1111. }