_img-wrapper.scss 741 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .node-view-img-wrapper {
  2. display: inline-block;
  3. position: relative;
  4. &.on-hover:not(:hover) .btn-expand {
  5. display: none;
  6. }
  7. .btn-expand {
  8. position: absolute;
  9. top: 0;
  10. right: 0;
  11. &.center {
  12. top: 50%;
  13. right: 50%;
  14. transform: translate(50%, -50%)
  15. }
  16. padding: 0;
  17. width: 75px;
  18. height: 70px;
  19. border: 0;
  20. border-radius: 0 !important;
  21. line-height: 0;
  22. &:hover,
  23. &:focus {
  24. path {
  25. stroke: $black;
  26. }
  27. }
  28. svg {
  29. width: 100%;
  30. height: 100%;
  31. pointer-events: none;
  32. }
  33. path {
  34. fill: none;
  35. stroke: lighten($black, 20%);
  36. stroke-width: 4px;
  37. stroke-linejoin: round;
  38. stroke-linecap: round;
  39. }
  40. }
  41. }