overrides.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /* Generl Overrides */
  2. #lightbox {
  3. position: fixed;
  4. top: 50% !important;
  5. left: 50% !important;
  6. transform: translate(-50%, -50%);
  7. }
  8. #imageContainer {
  9. position: relative;
  10. height: 100%;
  11. box-sizing: border-box;
  12. }
  13. #imageDataContainer {
  14. position: relative;
  15. }
  16. #imageDataContainer.hide {
  17. display: none;
  18. }
  19. #newHoverNav {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. height: 100%;
  24. width: 100%;
  25. z-index: 10;
  26. display: flex;
  27. justify-content: space-between;
  28. align-items: center;
  29. }
  30. #prevArrow,
  31. #nextArrow {
  32. color: black;
  33. background: rgba(255,255,255,.7);
  34. font-size: 40px;
  35. position: relative;
  36. display: none;
  37. padding: 8px 10px 8px 6px;
  38. cursor: pointer;
  39. width: 46px;
  40. height: 46px;
  41. box-sizing: border-box;
  42. }
  43. #nextArrow {
  44. padding: 8px 6px 8px 10px;
  45. }
  46. #prevArrow.fixed,
  47. #nextArrow.fixed {
  48. position: fixed;
  49. display:block;
  50. top: 50%;
  51. left: 1%;
  52. transform: translate(0, -50%);
  53. border-radius: 2px;
  54. }
  55. #nextArrow.fixed {
  56. right: 1%;
  57. left: auto;
  58. }
  59. @media screen and (max-width: 800px) {
  60. #prevArrow.fixed,
  61. #nextArrow.fixed {
  62. border-radius: 2px;
  63. }
  64. #prevArrow.fixed {
  65. left: 0;
  66. }
  67. #nextArrow.fixed {
  68. right: 0;
  69. }
  70. }
  71. #imageContainer:hover #prevArrow,
  72. #imageContainer:hover #nextArrow {
  73. display:block;
  74. }
  75. #imageData {
  76. display: flex;
  77. justify-content: space-between;
  78. align-items: center;
  79. padding: 4px 10px 8px;
  80. }
  81. #imageData #imageDetails {
  82. margin-bottom: 0;
  83. }
  84. #imageData #bottomNav #bottomNavClose {
  85. margin-bottom: 0;
  86. }
  87. #jqlb_loading {
  88. top: 45%;
  89. }
  90. /* Overrides for mobile styling */
  91. #prevArrow.touch-device,
  92. #nextArrow.touch-device {
  93. display: block;
  94. }
  95. #prevLink.touch-device,
  96. #nextLink.touch-device {
  97. position: absolute;
  98. top: 50%;
  99. transform: translateY(-50%);
  100. height: 40px;
  101. width: 40px;
  102. float: none;
  103. }
  104. #prevLink.touch-device {
  105. left: 0;
  106. background: url(./images/prev.gif) center center no-repeat;
  107. }
  108. #nextLink.touch-device {
  109. right: 0;
  110. background: url(./images/next.gif) center center no-repeat;
  111. }
  112. #imageDataContainer {
  113. position: relative;
  114. z-index: 20px;
  115. }