_materialbox.scss 656 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. .materialboxed {
  2. &:hover {
  3. &:not(.active) {
  4. opacity: .8;
  5. }
  6. }
  7. display: block;
  8. cursor: zoom-in;
  9. position: relative;
  10. transition: opacity .4s;
  11. -webkit-backface-visibility: hidden;
  12. &.active {
  13. cursor: zoom-out;
  14. }
  15. }
  16. #materialbox-overlay {
  17. position:fixed;
  18. top: 0;
  19. right: 0;
  20. bottom: 0;
  21. left: 0;
  22. background-color: #292929;
  23. z-index: 1000;
  24. will-change: opacity;
  25. }
  26. .materialbox-caption {
  27. position: fixed;
  28. display: none;
  29. color: #fff;
  30. line-height: 50px;
  31. bottom: 0;
  32. left: 0;
  33. width: 100%;
  34. text-align: center;
  35. padding: 0% 15%;
  36. height: 50px;
  37. z-index: 1000;
  38. -webkit-font-smoothing: antialiased;
  39. }