images.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. /* Images */
  2. .carousel-inner > .item > img,
  3. .carousel-inner > .item > a > img,
  4. .img-responsive {
  5. display: block;
  6. width: 100%;
  7. max-width: 100%;
  8. height: auto;
  9. }
  10. .img-full {
  11. display: block;
  12. width: 100%;
  13. height: 100%;
  14. }
  15. .img-rounded {
  16. border-radius: 6px;
  17. }
  18. .thumbnail,
  19. .img-thumbnail {
  20. line-height: 1.428571429;
  21. display: inline-block;
  22. max-width: 100%;
  23. height: auto;
  24. padding: 4px;
  25. -webkit-transition: all .2s ease-in-out;
  26. transition: all .2s ease-in-out;
  27. border-width: 1px;
  28. border-style: solid;
  29. border-radius: 4px;
  30. background-color: #fff;
  31. }
  32. .thumbnail img,
  33. .img-thumbnail img {
  34. display: block;
  35. }
  36. .img-circle {
  37. border-radius: 50%;
  38. }
  39. .img-bordered {
  40. padding: 3px;
  41. border-width: 1px;
  42. border-style: solid;
  43. background: #fff;
  44. }
  45. /* Icon helper */
  46. .icon-helper {
  47. line-height: 36px;
  48. position: absolute;
  49. bottom: 0;
  50. left: 0;
  51. width: 36px;
  52. height: 36px;
  53. }
  54. .icon-br {
  55. top: auto;
  56. right: 0;
  57. left: auto;
  58. }
  59. .icon-tr {
  60. top: 0;
  61. right: 0;
  62. bottom: auto;
  63. left: auto;
  64. }
  65. .icon-center {
  66. font-size: 50px;
  67. line-height: 50px;
  68. top: 50%;
  69. left: 50%;
  70. width: 50px;
  71. height: 50px;
  72. margin: -25px 0 0 -25px;
  73. }
  74. /* Hover effects */
  75. .thumbnail-box {
  76. position: relative;
  77. overflow: hidden;
  78. margin: 0 0 20px;
  79. }
  80. .thumbnail-box .thumb-link,
  81. .thumbnail-box .thumb-content,
  82. .thumbnail-box .thumb-overlay {
  83. position: absolute;
  84. top: 0;
  85. right: 0;
  86. bottom: 0;
  87. left: 0;
  88. width: 100%;
  89. height: 100%;
  90. }
  91. .thumbnail-box .thumb-link {
  92. z-index: 25;
  93. }
  94. .thumbnail-box .thumb-content {
  95. z-index: 20;
  96. display: none;
  97. }
  98. .thumbnail-box .thumb-overlay {
  99. z-index: 15;
  100. opacity: 0;
  101. -moz-opacity: 0;
  102. filter: alpha(opacity: 0);
  103. -webkit-transition: all .2s ease-in-out;
  104. -moz-transition: all .2s ease-in-out;
  105. -ms-transition: all .2s ease-in-out;
  106. -o-transition: all .2s ease-in-out;
  107. visibility: hidden;
  108. }
  109. .thumbnail-box .thumb-overlay.bg-black {
  110. background: #000;
  111. }
  112. .thumbnail-box img {
  113. display: block;
  114. width: 100%;
  115. position: relative;
  116. z-index: 10;
  117. transition: .3s all linear;
  118. -webkit-transition: .3s all linear;
  119. }
  120. .thumbnail-box:hover img {
  121. transform: matrix(1.1, 0, 0, 1.1, 0, 0);
  122. -ms-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
  123. -webkit-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
  124. }
  125. .thumbnail-box:hover .thumb-overlay {
  126. opacity: 0.80;
  127. -moz-opacity: .80;
  128. filter: alpha(opacity: 80);
  129. visibility: visible;
  130. }
  131. .thumbnail-box:hover .thumb-content {
  132. display: block;
  133. }
  134. /* Thumbnail heading */
  135. .thumb-heading {
  136. text-align: center;
  137. font-size: 15px;
  138. text-transform: uppercase;
  139. }
  140. .thumbnail-box .thumb-heading {
  141. color: #fff;
  142. }
  143. .thumb-heading small {
  144. display: block;
  145. font-size: 13px;
  146. opacity: 0.65;
  147. padding: 5px 0 0;
  148. -moz-opacity: .65;
  149. filter: alpha(opacity: 65);
  150. text-transform: none;
  151. }
  152. /* Thumbnail buttons */
  153. .thumbnail-box .thumb-btn {
  154. text-align: center;
  155. padding: 15px;
  156. }
  157. .thumb-btn.zoomIn {
  158. -webkit-animation-duration: 0.5s;
  159. animation-duration: 0.5s;
  160. }
  161. /* Thumbnail inverse */
  162. .thumbnail-box-inverse .thumb-overlay {
  163. display: block;
  164. opacity: 0.3;
  165. -moz-opacity: .30;
  166. filter: alpha(opacity: 30);
  167. visibility: visible;
  168. }
  169. .thumbnail-box-inverse:hover .thumb-overlay {
  170. opacity: 0;
  171. -moz-opacity: 0;
  172. filter: alpha(opacity: 0);
  173. visibility: hidden;
  174. }
  175. .thumbnail-box-inverse .thumb-content {
  176. display: block;
  177. }
  178. .thumbnail-box-inverse:hover .thumb-content {
  179. display: none;
  180. }
  181. /* Thumbnail pane */
  182. .thumb-pane {
  183. border: transparent solid 1px;
  184. border-top: 0;
  185. padding: 25px;
  186. border-bottom-left-radius: 3px;
  187. border-bottom-right-radius: 3px;
  188. }
  189. .thumbnail-box + .thumb-pane {
  190. margin-top: -20px;
  191. margin-bottom: 20px;
  192. }
  193. .owl-item .thumb-pane {
  194. margin: 0;
  195. }
  196. .owl-item .thumbnail-box {
  197. margin-bottom: 0;
  198. }
  199. /* Thumbnail wrapper */
  200. .thumbnail-box-wrapper {}
  201. /* Image box */
  202. .image-box {
  203. position: relative;
  204. overflow: hidden;
  205. max-height: 300px;
  206. padding: 0;
  207. }
  208. .image-box .image-content {
  209. position: absolute;
  210. top: 0;
  211. left: 0;
  212. width: 100%;
  213. padding: 20px;
  214. text-align: center;
  215. }