layout.scss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .pagedjs_page_content > div {
  2. height: 100%;
  3. }
  4. .layout {
  5. display: flex;
  6. flex-direction: column;
  7. height: 100%;
  8. }
  9. .no-folio {
  10. page: nofolio;
  11. page-break-before: avoid !important;
  12. page-break-inside: avoid !important;
  13. page-break-after: avoid !important;
  14. }
  15. .blank-page {
  16. page-break-after: always;
  17. }
  18. .image-bleed {
  19. position: absolute;
  20. width: calc(100% + #{$fond-perdu} * 6);
  21. height: calc(100% + #{$fond-perdu} * 6);
  22. margin-left: -$fond-perdu - 24;
  23. margin-top: -$fond-perdu - 16;
  24. }
  25. .image-cover {
  26. page: imagecover;
  27. background-size: cover;
  28. background-position: center;
  29. background-color: lightgray;
  30. background-repeat: no-repeat;
  31. }
  32. .cover-left {
  33. background-position: 0 50%;
  34. }
  35. .cover-right {
  36. background-position: -$largeur 50%;
  37. }
  38. .grow {
  39. flex: 1;
  40. }
  41. .column {
  42. flex: 1;
  43. display: flex;
  44. flex-direction: column;
  45. }
  46. .justify-end {
  47. justify-content: flex-end;
  48. }
  49. .canbreak {
  50. page-break-before: always;
  51. }
  52. .breakBefore{
  53. page-break-before: always;
  54. }
  55. .breakAfter{
  56. page-break-after: always;
  57. }
  58. .v-center {
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: center;
  62. align-items: center;
  63. }
  64. #image-3,#image-3-end{
  65. position: absolute;
  66. max-width: none;
  67. width: 276mm;
  68. }
  69. #image-3{
  70. margin-right: calc(-#{$marge} - #{$fond-perdu});
  71. right:0;
  72. object-position: calc(276mm / 2) 0;
  73. }
  74. #image-3-end{
  75. margin-left: calc(-#{$marge} - #{$fond-perdu});
  76. left:0;
  77. object-position: calc(-276mm / 2) 0;
  78. }