mixins.scss 624 B

123456789101112131415161718192021222324252627
  1. /**
  2. * Mixins
  3. * ======
  4. */
  5. @mixin flow-into($flow) {
  6. -webkit-flow-into: $flow;
  7. flow-into: $flow;
  8. }
  9. @mixin flow-from($flow) {
  10. -webkit-flow-from: $flow;
  11. flow-from: $flow;
  12. }
  13. // Pas de footer sur ces pages
  14. @mixin no-footer($page) {
  15. .paper:nth-of-type(#{$page}) .body:before,
  16. .paper:nth-of-type(#{$page}) .body:after { content: "" }
  17. }
  18. @mixin trans($rotate, $skew, $originY, $originX) {
  19. -webkit-transform: skewY($skew) rotate($rotate);
  20. transform: skewY($skew) rotate($rotate);
  21. -webkit-transform-origin: $originY $originX;
  22. transform-origin: $originY $originX;
  23. }