You are here

gridstack.skin.css in GridStack 8.2

Same filename and directory in other branches
  1. 8 css/gridstack.skin.css

Provides basic skins to avoid broken display OOTB for js-driven layouts.

At most cases, might need to re-touch this file.

File

css/gridstack.skin.css
View source
  1. /**
  2. * @file
  3. * Provides basic skins to avoid broken display OOTB for js-driven layouts.
  4. *
  5. * At most cases, might need to re-touch this file.
  6. */
  7. /** Prevents hover-event blocking for lightbox trigger below caption. */
  8. .gridstack .box__caption,
  9. .gridstack .blazy__caption {
  10. padding: 15px;
  11. pointer-events: none;
  12. z-index: 2;
  13. }
  14. .gridstack .box__caption a,
  15. .gridstack .blazy__caption a,
  16. .gridstack .box__caption input {
  17. pointer-events: auto;
  18. }
  19. .box.box--caption--bottom .box__caption {
  20. bottom: 0;
  21. top: auto;
  22. }
  23. .box.box--caption--top .box__caption {
  24. top: 0;
  25. }
  26. .box.box--caption--center .box__caption {
  27. top: 50%;
  28. -ms-transform: translateY(-50%);
  29. -webkit-transform: translateY(-50%);
  30. transform: translateY(-50%);
  31. }
  32. /* @todo remove media--loading for is-b-loading. */
  33. .gridstack .media--loading .box__caption,
  34. .gridstack .is-b-loading .box__caption {
  35. transition: opacity 500ms ease-in-out;
  36. }