mixin.scss 962 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @mixin croix_or {
  2. &:after{
  3. height: 10px;
  4. margin-top: 0.5rem;
  5. content: " ";
  6. display: block;
  7. background: url($croix_or);
  8. background-repeat: repeat-x;
  9. background-size: auto auto;
  10. }
  11. }
  12. @mixin croix_or_B {
  13. &:before{
  14. width: 100px;
  15. height: 10px;
  16. margin-top: 0.5rem;
  17. content: " ";
  18. display: block;
  19. background: url($croix_or);
  20. background-repeat: repeat-x;
  21. background-size: auto auto;
  22. }
  23. }
  24. @mixin shadow{
  25. box-shadow: none;
  26. transition: 0.3s transform ease, 0.3s box-shadow ease;
  27. &:hover{
  28. transform: scale(1.05);
  29. transition: 0.3s all ease;
  30. box-shadow: 0px 0px 13px 0px $color2;
  31. }
  32. }
  33. @mixin shadow_participants{
  34. figure img{
  35. box-shadow: none;
  36. transition: 0.3s transform ease, 0.3s box-shadow ease;
  37. }
  38. figure{
  39. &:hover{
  40. & > div img{
  41. transform: scale(1.05);
  42. transition: 0.3s all ease;
  43. box-shadow: 0px 0px 13px 0px $color2;
  44. }
  45. }
  46. }
  47. }