gallery.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /*
  2. To change this license header, choose License Headers in Project Properties.
  3. To change this template file, choose Tools | Templates
  4. and open the template in the editor.
  5. */
  6. /*
  7. Created on : 1/06/2020, 01:50:18 PM
  8. Author : Ale
  9. */
  10. main{
  11. width: 100%;
  12. min-height: 500px;
  13. height: 700px;
  14. }
  15. .container-main{
  16. width: 100%;
  17. height: 100%;
  18. position: relative;
  19. }
  20. .js .gr-gallery {
  21. position: absolute;
  22. width: 100%;
  23. height: 100%;
  24. overflow: hidden;
  25. /*background: #E8C187;*/
  26. background: url('../../../img/secciones/galeria/piso.webp');
  27. }
  28. .gr-room {
  29. position: absolute;
  30. top: 0;
  31. width: 100%;
  32. height: 85%;
  33. text-align: center;
  34. -webkit-perspective: 1200px;
  35. -moz-perspective: 1200px;
  36. perspective: 1200px;
  37. background: #FAF2E9;
  38. }
  39. .gr-wall-main,
  40. .gr-wall-other {
  41. position: absolute;
  42. top: 0;
  43. height: 100%;
  44. width: 100%;
  45. -webkit-transform-style: preserve-3d;
  46. -moz-transform-style: preserve-3d;
  47. transform-style: preserve-3d;
  48. border-right: 1px solid #D5CCC3;
  49. border-left: 1px solid #D5CCC3;
  50. }
  51. .gr-wall-main {
  52. left: 0;
  53. }
  54. .gr-floor {
  55. position: absolute;
  56. top: 100%;
  57. left: 0;
  58. width: 100%;
  59. }
  60. .gr-gallery nav {
  61. position: absolute;
  62. width: 300px;
  63. height: 38px;
  64. bottom: 6%;
  65. left: -webkit-calc(50% - 150px);
  66. left: -moz-calc(50% - 150px);
  67. left: calc(50% - 150px);
  68. z-index: 0;
  69. cursor: pointer;
  70. }
  71. .gr-gallery nav span {
  72. width: 90px;
  73. height: 100%;
  74. float: left;
  75. overflow: hidden;
  76. opacity: 0.6;
  77. }
  78. .gr-gallery nav span:hover {
  79. opacity: 1;
  80. }
  81. .gr-gallery nav span.gr-index{
  82. width: 110px;
  83. text-align: center;
  84. font-size: 25px;
  85. font-family: 'indivisa-display';
  86. color: #515151;
  87. opacity: 1;
  88. cursor: default;
  89. }
  90. .gr-gallery nav span.gr-next {
  91. background-position: top right;
  92. float: right;
  93. }
  94. .gr-gallery figure {
  95. position: absolute;
  96. -webkit-transform-style: preserve-3d;
  97. display: flex;
  98. flex-direction: row;
  99. justify-content: center;
  100. align-items: center;
  101. }
  102. .gr-gallery figure::before {
  103. content: '';
  104. position: absolute;
  105. width: 180%;
  106. height: 150%;
  107. top: -45%;
  108. left: -40%;
  109. background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
  110. background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
  111. background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
  112. background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.7) 23%, rgba(255,255,255,0) 66%);
  113. pointer-events: none;
  114. opacity: 0.5;
  115. }
  116. .gr-gallery figure div,
  117. .gr-gallery figure img,
  118. .gr-gallery figcaption {
  119. -webkit-box-sizing: content-box;
  120. -moz-box-sizing: content-box;
  121. box-sizing: content-box;
  122. }
  123. .gr-gallery figure div {
  124. position: relative;
  125. border: 10px solid #001D68;
  126. box-shadow: 0 10px 7px -5px rgba(0,0,0,0.3);
  127. margin-right: 20px;
  128. }
  129. .gr-gallery figure div.cartel {
  130. cursor: -webkit-zoom-in;
  131. cursor: -moz-zoom-in;
  132. }
  133. .gr-gallery figure img {
  134. display: block;
  135. margin: 0 auto;
  136. border: 20px solid #fff;
  137. }
  138. .gr-gallery figcaption {
  139. width: 150px;
  140. max-width: 150px;
  141. display: flex;
  142. flex-direction: column;
  143. background: #F0F0F0;
  144. color: #001D68;
  145. padding: 5px;
  146. margin-top: 20px;
  147. position: relative;
  148. text-align: left;
  149. cursor: default;
  150. box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  151. }
  152. .gr-gallery figcaption span:first-of-type{
  153. font-size: 14px;
  154. font-family: 'indivisa-display-italic';
  155. }
  156. .gr-gallery figcaption span:last-of-type {
  157. font-size: 12px;
  158. font-family: 'indivisa-text';
  159. }
  160. #pared { width: 100%; height: 100%; }
  161. /*@media (max-width:992px) {
  162. .gr-gallery figure {
  163. -ms-transform: scale(0.75);
  164. transform: scale(0.75);
  165. }
  166. /*.gr-gallery figure img {
  167. width: calc(100% - 40px);
  168. }
  169. }*/