gallery-1.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. /* Gallery 1
  2. /*----------------------------------------------------*/
  3. /* Gallery Item
  4. * -------------------------- */
  5. #isotope-gallery-container .col-md-3 {
  6. margin-right: -1px;
  7. }
  8. .gallery-item-wrapper {
  9. padding-bottom: 25px;
  10. }
  11. .gallery-item {
  12. overflow: hidden;
  13. -webkit-transition: all 0.2s ease;
  14. transition: all 0.2s ease;
  15. border-radius: 3px;
  16. }
  17. .flush .gallery-item {
  18. border-radius: 0;
  19. }
  20. .gallery-item .gallery-thumb {
  21. position: relative;
  22. overflow: hidden;
  23. }
  24. .gallery-item .gallery-thumb img {
  25. -webkit-transition: all 0.2s ease;
  26. transition: all 0.2s ease;
  27. }
  28. .gallery-item:hover .gallery-thumb img {
  29. transform: scale(1.1);
  30. }
  31. .gallery-item .gallery-thumb .image-overlay {
  32. background-color: #2c3e50;
  33. width: 100%;
  34. height: 100%;
  35. display: block;
  36. position: absolute;
  37. top: 0;
  38. left: 0;
  39. opacity: 0;
  40. filter: alpha(opacity=0);
  41. -webkit-transition: all 0.2s ease;
  42. transition: all 0.2s ease;
  43. }
  44. .gallery-item:hover .gallery-thumb .image-overlay {
  45. opacity: 0.50;
  46. filter: alpha(opacity=50);
  47. }
  48. .gallery-item .gallery-thumb .gallery-zoom, .gallery-item .gallery-thumb .gallery-link {
  49. width: 45px;
  50. height: 45px;
  51. text-align: center;
  52. background-color: #002e5b;
  53. display: none;
  54. line-height: 45px;
  55. position: absolute;
  56. top: 50%;
  57. margin-top: -22px;
  58. padding-top: 2px;
  59. font-size: 18px;
  60. color: #fff;
  61. display: block;
  62. border-radius: 2px;
  63. }
  64. .gallery-item .gallery-thumb .gallery-zoom:hover, .gallery-item .gallery-thumb .gallery-link:hover {
  65. background-color: #ffffff;
  66. color: #002e5b;
  67. }
  68. .gallery-item .gallery-thumb .gallery-zoom:focus, .gallery-item .gallery-thumb .gallery-link:focus {
  69. outline: none;
  70. }
  71. .gallery-item .gallery-thumb .gallery-link {
  72. right: 0;
  73. margin-right: -45px;
  74. -webkit-transition: all 0.2s ease;
  75. transition: all 0.2s ease;
  76. }
  77. .gallery-item .gallery-thumb .gallery-zoom {
  78. left: 0;
  79. margin-left: -45px;
  80. -webkit-transition: all 0.2s ease;
  81. transition: all 0.2s ease;
  82. }
  83. .gallery-item:hover .gallery-thumb .gallery-zoom {
  84. display: block;
  85. left: 50%;
  86. margin-left: -48px;
  87. }
  88. .gallery-item:hover .gallery-thumb .gallery-link {
  89. display: block;
  90. right: 50%;
  91. margin-right: -48px;
  92. }
  93. .gallery-item .gallery-details {
  94. text-align: center;
  95. padding-top: 20px;
  96. background-color: #fff;
  97. bor der: 2px solid #ecf0f1;
  98. border-top: 0;
  99. overflow: hidden;
  100. }
  101. .gallery-item .gallery-details h5 {
  102. margin: 0;
  103. font-size: 1em;
  104. font-weight: 700;
  105. position: relative;
  106. }
  107. .gallery-item .gallery-details p {
  108. font-size: .9em;
  109. }
  110. /* Gallery Filter
  111. * -------------------------- */
  112. .filter {
  113. list-style: none;
  114. padding: 0;
  115. margin: 0 0 60px 0;
  116. text-align: center;
  117. }
  118. .filter li {
  119. display: inline-block;
  120. margin: 0;
  121. }
  122. .filter li:before {
  123. display: inline-block;
  124. content: "/";
  125. padding: 0 25px 0 19px;
  126. color: rgba(0,0,0,0.20);
  127. }
  128. .filter li:first-child:before {
  129. display: none;
  130. }
  131. .filter li a {
  132. text-transform: uppercase;
  133. font-weight: 700;
  134. font-size: 14px;
  135. color: #777777;
  136. }
  137. .filter li a:hover,
  138. .filter li a:focus,
  139. .filter li a.active {
  140. color: #002e5b;
  141. text-decoration: none;
  142. }
  143. /* Isotope Animating
  144. * -------------------------- */
  145. .isotope,
  146. .isotope .isotope-item {
  147. /* change duration value to whatever you like */
  148. -webkit-transition-duration: 0.8s;
  149. -moz-transition-duration: 0.8s;
  150. -ms-transition-duration: 0.8s;
  151. -o-transition-duration: 0.8s;
  152. transition-duration: 0.8s;
  153. }
  154. .isotope {
  155. -webkit-transition-property: height, width;
  156. -moz-transition-property: height, width;
  157. -ms-transition-property: height, width;
  158. -o-transition-property: height, width;
  159. transition-property: height, width;
  160. }
  161. .isotope .isotope-item {
  162. -webkit-transition-property: -webkit-transform, opacity;
  163. -moz-transition-property: -moz-transform, opacity;
  164. -ms-transition-property: -ms-transform, opacity;
  165. -o-transition-property: -o-transform, opacity;
  166. transition-property: transform, opacity;
  167. }
  168. /**** disabling Isotope CSS3 transitions ****/
  169. .isotope.no-transition,
  170. .isotope.no-transition .isotope-item,
  171. .isotope .isotope-item.no-transition {
  172. -webkit-transition-duration: 0s;
  173. -moz-transition-duration: 0s;
  174. -ms-transition-duration: 0s;
  175. -o-transition-duration: 0s;
  176. transition-duration: 0s;
  177. }
  178. /* Gallery 1 MEDIA QUERIES
  179. /*----------------------------------------------------*/
  180. /* Small Devices, Tablets */
  181. @media only screen and (min-width : 768px) {
  182. }
  183. /* Medium Devices, Desktops */
  184. @media only screen and (min-width : 992px) {
  185. }
  186. /* Large Devices, Wide Screens */
  187. @media only screen and (min-width : 1200px) {
  188. }