You are here

tft.lightbox.css in Taxonomy File Tree 8

Same filename and directory in other branches
  1. 3.x css/tft.lightbox.css
#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#modalOverlay .wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92%;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 3px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, .5);
}

#modalOverlay .wrapper img {
  display: block;
  margin: 0 auto;
}

@media (min-width: 560px) {
  #modalOverlay .wrapper {
    width: auto;
  }
}

#modalOverlay button.closeModal,
#modalOverlay .nav-wrapper button {
  background-color: none;
  font-size: 2rem;
  padding: 0 .5rem;
  line-height: 1;
}

#modalOverlay .nav-wrapper button {
  padding: 0 .75rem .25rem;
}

File

css/tft.lightbox.css
View source
  1. #modalOverlay {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. }
  8. #modalOverlay .wrapper {
  9. position: absolute;
  10. top: 50%;
  11. left: 50%;
  12. transform: translate(-50%, -50%);
  13. width: 92%;
  14. background-color: #fff;
  15. border: 3px solid #fff;
  16. border-radius: 3px;
  17. box-shadow: 0 0 15px 0 rgba(0, 0, 0, .5);
  18. }
  19. #modalOverlay .wrapper img {
  20. display: block;
  21. margin: 0 auto;
  22. }
  23. @media (min-width: 560px) {
  24. #modalOverlay .wrapper {
  25. width: auto;
  26. }
  27. }
  28. #modalOverlay button.closeModal,
  29. #modalOverlay .nav-wrapper button {
  30. background-color: none;
  31. font-size: 2rem;
  32. padding: 0 .5rem;
  33. line-height: 1;
  34. }
  35. #modalOverlay .nav-wrapper button {
  36. padding: 0 .75rem .25rem;
  37. }