_portfolio.scss 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. #portfolio {
  2. background: #F6F6F6;
  3. padding: 60px 0;
  4. width: 100%;
  5. }
  6. #portfolio .mix {
  7. padding: 0;
  8. display: none;
  9. }
  10. .controls {
  11. text-align: center;
  12. padding: 20px;
  13. }
  14. a:not([href]):not([tabindex]){
  15. color: #222;
  16. }
  17. a:focus:not([href]):not([tabindex]), a:hover:not([href]):not([tabindex]){
  18. color: #fff;
  19. }
  20. .controls .active {
  21. color: #fff!important;
  22. background: $preset;
  23. }
  24. #portfolio-list {
  25. margin-top: 15px;
  26. display: inline-block;
  27. }
  28. .portfolio-img {
  29. overflow: hidden;
  30. display: block;
  31. position: relative;
  32. }
  33. .portfolio-img img {
  34. width: 100%;
  35. }
  36. .portfoli-content {
  37. width: 100%;
  38. position: absolute;
  39. height: 100%;
  40. opacity: 0;
  41. top: 0;
  42. -webkit-transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  43. transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  44. }
  45. .portfoli-content:before {
  46. background-color: $preset-transparent;
  47. top: 15px;
  48. left: 15px;
  49. bottom: 15px;
  50. right: 15px;
  51. content: '';
  52. position: absolute;
  53. -webkit-transform: scale(0.8);
  54. -moz-transform: scale(0.8);
  55. -ms-transform: scale(0.8);
  56. -o-transform: scale(0.8);
  57. transform: scale(0.8);
  58. -webkit-transition: all 400ms ease;
  59. transition: all 400ms ease;
  60. }
  61. .sup-desc-wrap {
  62. display: table;
  63. width: 100%;
  64. height: 100%;
  65. .sup-title {
  66. display: block;
  67. outline: none;
  68. margin-bottom: 10px;
  69. -webkit-transform: scale(0);
  70. -moz-transform: scale(0);
  71. -ms-transform: scale(0);
  72. -o-transform: scale(0);
  73. transform: scale(0);
  74. opacity: 0;
  75. -webkit-transition: all 0.5s ease;
  76. -moz-transition: all 0.5s ease;
  77. transition: all 0.5s ease;
  78. h4 {
  79. font-size: 18px;
  80. color: #fff;
  81. line-height: 22px;
  82. text-transform: uppercase;
  83. font-weight: 300;
  84. }
  85. }
  86. .sup-desc-inner {
  87. display: table-cell;
  88. text-align: center;
  89. vertical-align: middle;
  90. padding: 0 35px;
  91. }
  92. .sup-link {
  93. margin-bottom: 20px;
  94. a:hover {
  95. background: #fff;
  96. color: $preset;
  97. }
  98. .left-link,
  99. .right-link {
  100. font-size: 14px;
  101. line-height: normal;
  102. outline: none;
  103. border-radius: 50%;
  104. color: #fff;
  105. border: 1px solid #fff;
  106. width: 42px;
  107. height: 42px;
  108. opacity: 0;
  109. line-height: 42px;
  110. text-align: center;
  111. display: inline-block;
  112. -webkit-transform: translateY(-50px);
  113. transform: translateY(-50px);
  114. margin-right: 5px;
  115. }
  116. .left-link {
  117. -webkit-transition: all 400ms ease;
  118. transition: all 400ms ease;
  119. }
  120. .right-link {
  121. -webkit-transition: all 500ms ease;
  122. transition: all 500ms ease;
  123. }
  124. }
  125. }
  126. .sup-desc-wrap .sup-meta-wrap .sup-description {
  127. font-size: 13px;
  128. line-height: 18px;
  129. color: #fff;
  130. text-align: center;
  131. -webkit-transform: translateY(40px);
  132. transform: translateY(40px);
  133. opacity: 0;
  134. -webkit-transition: all 0.5s ease;
  135. -moz-transition: all 0.5s ease;
  136. transition: all 0.5s ease;
  137. }
  138. .portfolio-item:hover .portfoli-content,
  139. .portfolio-item:hover .portfoli-content:before {
  140. opacity: 1;
  141. -webkit-transform: scale(1);
  142. -moz-transform: scale(1);
  143. -ms-transform: scale(1);
  144. -o-transform: scale(1);
  145. transform: scale(1);
  146. }
  147. .portfolio-item:hover .sup-title {
  148. -webkit-transform: scale(1);
  149. -moz-transform: scale(1);
  150. -ms-transform: scale(1);
  151. -o-transform: scale(1);
  152. transform: scale(1);
  153. opacity: 1;
  154. }
  155. .portfolio-item:hover .sup-description {
  156. opacity: 1;
  157. -webkit-transform: translateY(0px);
  158. transform: translateY(0px);
  159. }
  160. .portfolio-item:hover .sup-link .right-link,
  161. .portfolio-item:hover .sup-link .left-link {
  162. opacity: 1;
  163. webkit-transform: translateY(0px);
  164. transform: translateY(0px);
  165. }
  166. /* Portfolio */
  167. #portfolio ul.portfolio {
  168. margin-bottom: 0 !important;
  169. }
  170. .hovereffect {
  171. width: 100%;
  172. height: 100%;
  173. float: left;
  174. overflow: hidden;
  175. position: relative;
  176. text-align: center;
  177. cursor: default;
  178. img {
  179. display: block;
  180. position: relative;
  181. -webkit-transition: all .5s linear;
  182. transition: all .2s linear;
  183. }
  184. .overlay {
  185. width: 100%;
  186. height: 100%;
  187. position: absolute;
  188. overflow: hidden;
  189. top: 0;
  190. left: 0;
  191. opacity: 0;
  192. background-color: $preset-transparent;
  193. -webkit-transition: all .2s ease-in-out;
  194. transition: all .2s ease-in-out
  195. }
  196. .iocns{
  197. position: absolute;
  198. top: 40%;
  199. left: 0;
  200. right: 0;
  201. .left-link{
  202. font-size: 14px;
  203. line-height: normal;
  204. outline: none;
  205. border-radius: 50%;
  206. color: #fff;
  207. border: 1px solid #fff;
  208. width: 42px;
  209. height: 42px;
  210. line-height: 42px;
  211. text-align: center;
  212. display: inline-block;
  213. margin-right: 5px;
  214. -webkit-transition: all .2s ease-in-out;
  215. transition: all .2s ease-in-out
  216. }
  217. a:hover {
  218. background: #fff;
  219. color: $preset;
  220. }
  221. }
  222. }
  223. .hovereffect-title h6,
  224. .hovereffect-title h5 {
  225. color: $white;
  226. background: transparent;
  227. text-align: center;
  228. position: absolute;
  229. top: 40%;
  230. width: 100%;
  231. -webkit-transition: all .5s ease-in-out;
  232. transition: all .5s ease-in-out;
  233. padding: 10px;
  234. }
  235. .hovereffect-title h5 {
  236. color: $white;
  237. background: transparent;
  238. text-align: center;
  239. position: absolute;
  240. top: 43%;
  241. width: 100%;
  242. -webkit-transition: all .5s ease-in-out;
  243. transition: all .5s ease-in-out;
  244. padding: 10px;
  245. }
  246. .hovereffect-title h4 {
  247. color: $white;
  248. background: transparent;
  249. text-align: center;
  250. position: absolute;
  251. top: 44%;
  252. width: 100%;
  253. -webkit-transition: all .5s ease-in-out;
  254. transition: all .5s ease-in-out;
  255. padding: 10px;
  256. }
  257. .hovereffect:hover img {
  258. -ms-transform: scale(1.1);
  259. -webkit-transform: scale(1.1);
  260. transform: scale(1.1);
  261. }
  262. .hovereffect:hover .overlay {
  263. opacity: 1;
  264. filter: alpha(opacity=100);
  265. }
  266. .hovereffect:hover h6, .hovereffect:hover a.info {
  267. opacity: 1;
  268. filter: alpha(opacity=100);
  269. -ms-transform: translatey(0);
  270. -webkit-transform: translatey(0);
  271. transform: translatey(0);
  272. }
  273. .hovereffect:hover a.info {
  274. -webkit-transition-delay: .2s;
  275. transition-delay: .2s;
  276. }
  277. figure{
  278. display: inline-block;
  279. }
  280. #portfolio{
  281. .portfolio.block {
  282. top: 15px;
  283. h5 {
  284. color: #444;
  285. }
  286. }
  287. .project {
  288. padding-top: 15px;
  289. padding-bottom: 15px;
  290. }
  291. .project-description {
  292. font-size: 14px;
  293. color: #444;
  294. }
  295. }
  296. .icons-link{
  297. position: absolute;
  298. top: 40%;
  299. left: 0;
  300. right: 0;
  301. a:hover {
  302. border: 1px solid #fff;
  303. background: transparent;
  304. }
  305. .left-link,
  306. .right-link {
  307. font-size: 14px;
  308. line-height: normal;
  309. outline: none;
  310. border-radius: 4px;
  311. color: #fff;
  312. background: $preset;
  313. border: 1px solid transparent;
  314. width: 42px;
  315. height: 42px;
  316. opacity: 0;
  317. line-height: 42px;
  318. text-align: center;
  319. display: inline-block;
  320. -webkit-transform: translateY(-50px);
  321. transform: translateY(-50px);
  322. margin-right: 5px;
  323. }
  324. .left-link {
  325. -webkit-transition: all 400ms ease;
  326. transition: all 400ms ease;
  327. }
  328. .right-link {
  329. -webkit-transition: all 500ms ease;
  330. transition: all 500ms ease;
  331. }
  332. }
  333. .hovereffect:hover .icons-link .right-link,
  334. .hovereffect:hover .icons-link .left-link {
  335. opacity: 1;
  336. webkit-transform: translateY(0px);
  337. transform: translateY(0px);
  338. }