_team.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. /* Team style 01 */
  2. .team-style-01 {
  3. figure {
  4. figcaption {
  5. position: absolute;
  6. bottom: -1px;
  7. .social-icon {
  8. display: block !important;
  9. height: auto !important;
  10. margin-bottom: -50px !important;
  11. overflow: visible !important;
  12. @include prefix(transition, 0.4s, webkit);
  13. a {
  14. margin:0 10px;
  15. &:last-child {
  16. margin-right: 0
  17. }
  18. &:first-child {
  19. margin-left: 0;
  20. }
  21. }
  22. }
  23. }
  24. .text-light-opacity {
  25. &:hover {
  26. opacity: 1 !important;
  27. }
  28. }
  29. &:hover {
  30. figcaption {
  31. .social-icon {
  32. margin-bottom: 0px !important;
  33. }
  34. }
  35. }
  36. }
  37. }
  38. /* Team style 02 */
  39. .team-style-02 {
  40. figure {
  41. figcaption {
  42. position: absolute;
  43. opacity: 0;
  44. bottom: 0;
  45. @include prefix(transition, all 0.5s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  46. .social-icon {
  47. a {
  48. margin:0 12px;
  49. opacity: 0;
  50. @include prefix(transition, 0.45s cubic-bezier(0.19, 1, 0.22, 1), webkit);
  51. @include prefix(transform, translateY(-25px), webkit);
  52. display: inline-block;
  53. &:nth-child(1) {
  54. @include prefix(transition, all 0.3s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  55. }
  56. &:nth-child(2) {
  57. @include prefix(transition, all 0.4s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  58. }
  59. &:nth-child(3) {
  60. @include prefix(transition, all 0.6s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  61. }
  62. &:nth-child(4) {
  63. @include prefix(transition, all 0.8s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  64. }
  65. &:nth-child(5) {
  66. @include prefix(transition, all 1s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  67. }
  68. }
  69. }
  70. .team-member-name {
  71. opacity: 0;
  72. @include prefix(transform, translate3d(0, 15px, 0), webkit);
  73. @include prefix(transition, all 1s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  74. }
  75. .member-designation {
  76. opacity: 0;
  77. @include prefix(transform, translate3d(0, 15px, 0), webkit);
  78. @include prefix(transition, all 0.7s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  79. }
  80. }
  81. &:hover {
  82. figcaption {
  83. opacity: 1;
  84. .team-member-name {
  85. opacity: 1;
  86. @include prefix(transform, translate3d(0, 0, 0), webkit);
  87. @include prefix(transition, all 0.4s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  88. }
  89. .member-designation {
  90. opacity: .7;
  91. @include prefix(transform, translate3d(0, 0, 0), webkit);
  92. @include prefix(transition, all 0.7s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  93. }
  94. a {
  95. opacity: 1;
  96. @include prefix(transform, translateY(0), webkit);
  97. &:nth-child(1) {
  98. @include prefix(transition, all 0.3s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  99. }
  100. &:nth-child(2) {
  101. @include prefix(transition, all 0.4s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  102. }
  103. &:nth-child(3) {
  104. @include prefix(transition, all 0.6s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  105. }
  106. &:nth-child(4) {
  107. @include prefix(transition, all 0.8s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  108. }
  109. &:nth-child(5) {
  110. @include prefix(transition, all 1s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  111. }
  112. }
  113. }
  114. }
  115. }
  116. }
  117. /* Team style 04 */
  118. .team-style-04 {
  119. .team-content {
  120. position: absolute;
  121. bottom: 0;
  122. @include prefix(transition, all 0.5s cubic-bezier(0.37, 0.31, 0.2, 0.85), webkit);
  123. }
  124. figure {
  125. figcaption {
  126. position: absolute;
  127. bottom: -20px;
  128. @include prefix(transition, all 0.5s cubic-bezier(0.37, 0.31, 0.2, 0.85), webkit);
  129. .social-icon {
  130. @include prefix(transition, all 0s linear, webkit);
  131. a {
  132. margin: 0 10px;
  133. }
  134. }
  135. }
  136. &:hover {
  137. figcaption {
  138. bottom: 0px;
  139. }
  140. }
  141. }
  142. }
  143. /* Team style 05 */
  144. .team-style-05 {
  145. .team-content {
  146. position: absolute;
  147. bottom: 0;
  148. opacity: 0;
  149. @include prefix(transition, all 0.4s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  150. p {
  151. top: 55%;
  152. @include prefix(transition, all 0.5s ease, webkit);
  153. }
  154. }
  155. .social-icon {
  156. a {
  157. opacity: 0;
  158. @include prefix(transition, 0.45s cubic-bezier(0.19, 1, 0.22, 1), webkit);
  159. @include prefix(transform, translateY(25px), webkit);
  160. margin: 0 10px;
  161. display: inline-block;
  162. &:nth-child(1) {
  163. @include prefix(transition, all 0.3s ease, webkit);
  164. }
  165. &:nth-child(2) {
  166. @include prefix(transition, all 0.4s ease, webkit);
  167. }
  168. &:nth-child(3) {
  169. @include prefix(transition, all 0.6s ease, webkit);
  170. }
  171. &:nth-child(4) {
  172. @include prefix(transition, all 0.8s ease, webkit);
  173. }
  174. &:nth-child(5) {
  175. @include prefix(transition, all 1s ease, webkit);
  176. }
  177. }
  178. }
  179. &:hover {
  180. .team-content {
  181. opacity: 1;
  182. p {
  183. top: 50%;
  184. }
  185. }
  186. .social-icon {
  187. a {
  188. opacity: 1;
  189. @include prefix(transform, translateY(0), webkit);
  190. &:nth-child(1) {
  191. @include prefix(transition, all 0.3s ease, webkit);
  192. }
  193. &:nth-child(2) {
  194. @include prefix(transition, all 0.6s ease, webkit);
  195. }
  196. &:nth-child(3) {
  197. @include prefix(transition, all 0.9s ease, webkit);
  198. }
  199. &:nth-child(4) {
  200. @include prefix(transition, all 1.1s ease, webkit);
  201. }
  202. &:nth-child(5) {
  203. @include prefix(transition, all 1.4s ease, webkit);
  204. }
  205. }
  206. }
  207. }
  208. }
  209. /* Team style 08 */
  210. .team-style-08 {
  211. figure {
  212. @include prefix(transform, translate3d(0, 0, 0), webkit);
  213. @include prefix(transition, all 0.5s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  214. figcaption {
  215. position: absolute;
  216. opacity: 0;
  217. bottom: 0;
  218. @include prefix(transition, all 0.5s, webkit);
  219. .social-icon {
  220. a {
  221. margin: 0 0 10px;
  222. opacity: 0;
  223. display: inline-block;
  224. background-color: var(--dark-gray);
  225. height: 50px;
  226. width: 50px;
  227. border-radius: 100%;
  228. display: flex;
  229. align-items: center;
  230. justify-content: center;
  231. @include prefix(transform, translate3d(0, 15px, 0), webkit);
  232. @include prefix(transition, all 0.3s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  233. @include prefix(transform, scale(1), webkit);
  234. &:last-child {
  235. margin-bottom: 0;
  236. }
  237. }
  238. }
  239. .team-member-name {
  240. opacity: 0;
  241. @include prefix(transform, translate3d(0, 15px, 0), webkit);
  242. @include prefix(transition, all 0.5s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  243. }
  244. .member-designation {
  245. opacity: 0;
  246. @include prefix(transform, translate3d(0, 20px, 0), webkit);
  247. @include prefix(transition, all 0.7s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  248. }
  249. }
  250. }
  251. &:hover {
  252. figure{
  253. @include prefix(transform, translate3d(0, -8px, 0), webkit);
  254. figcaption {
  255. opacity: 1;
  256. .social-icon {
  257. a{
  258. &:hover{
  259. @include prefix(transform, scale(1.1), webkit);
  260. }
  261. }
  262. }
  263. .team-member-name {
  264. opacity: 1;
  265. @include prefix(transform, translate3d(0, 0, 0), webkit);
  266. }
  267. .member-designation {
  268. opacity: .6;
  269. @include prefix(transform, translate3d(0, 0, 0), webkit);
  270. }
  271. a {
  272. @include prefix(transform, translate3d(0, 0, 0), webkit);
  273. opacity: 1;
  274. }
  275. }
  276. }
  277. }
  278. }
  279. /* Team style 09 */
  280. .team-style-09 {
  281. .nav-tabs {
  282. > li {
  283. &.nav-item {
  284. padding: 0;
  285. .number {
  286. color: var(--dark-gray);
  287. @include prefix(transition, 0.4s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  288. }
  289. &:last-child{
  290. .nav-link {
  291. border-bottom: 0;
  292. }
  293. }
  294. }
  295. }
  296. .nav-link {
  297. border: 0;
  298. display: flex;
  299. border-bottom: 1px solid var(--extra-medium-gray);
  300. padding: 20px 0;
  301. margin-bottom: 0;
  302. background-color: transparent;
  303. @include prefix(border-radius, 0, webkit);
  304. @include prefix(transition, 0.3s cubic-bezier(0.12, 0, 0.39, 0), webkit);
  305. &:hover{
  306. @include prefix(transform, translate3d(10px, 0, 0), webkit);
  307. }
  308. &.active, &:hover {
  309. border-bottom: 1px solid var(--dark-gray);
  310. }
  311. }
  312. }
  313. }
  314. /* Team style 10 */
  315. .team-style-10 {
  316. figure {
  317. @include prefix(transform, translate3d(0, 0, 0), webkit);
  318. @include prefix(transition, all 0.5s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  319. .hover-switch-image {
  320. position: absolute;
  321. top: 0;
  322. left: 0;
  323. width: 100%;
  324. height: 100%;
  325. opacity: 0;
  326. @include prefix(transition, all 0.2s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  327. }
  328. figcaption {
  329. position: absolute;
  330. opacity: 0;
  331. bottom: 0;
  332. @include prefix(transition, all 0.5s, webkit);
  333. .social-icon {
  334. a {
  335. margin: 0 0 10px;
  336. opacity: 0;
  337. display: inline-block;
  338. background-color: var(--dark-gray);
  339. height: 50px;
  340. width: 50px;
  341. border-radius: 100%;
  342. display: flex;
  343. align-items: center;
  344. justify-content: center;
  345. will-change: transform;
  346. @include prefix(transition, all 0.3s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  347. @include prefix(transform, scale(1.1), webkit);
  348. &:last-child {
  349. margin-bottom: 0;
  350. }
  351. }
  352. }
  353. .team-member-strip {
  354. @include prefix(transform, translate3d(0, 20px, 0), webkit);
  355. @include prefix(transition, all 0.3s cubic-bezier(0.2, 0, 0.8, 1), webkit);
  356. .team-member-name {
  357. opacity: 0;
  358. @include prefix(transform, translate3d(0, 15px, 0), webkit);
  359. @include prefix(transition, all 0.5s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  360. }
  361. .member-designation {
  362. opacity: 0;
  363. @include prefix(transform, translate3d(0, 20px, 0), webkit);
  364. @include prefix(transition, all 0.7s cubic-bezier(0.2, 0, 0.3, 1), webkit);
  365. }
  366. }
  367. }
  368. }
  369. &:hover {
  370. figure{
  371. .hover-switch-image {
  372. left: 0;
  373. opacity: 1;
  374. }
  375. figcaption {
  376. opacity: 1;
  377. .social-icon {
  378. a{
  379. @include prefix(transform, scale(1), webkit);
  380. &:hover{
  381. @include prefix(transform, scale(1.1), webkit);
  382. }
  383. }
  384. }
  385. .team-member-strip {
  386. @include prefix(transform, translate3d(0, 0, 0), webkit);
  387. .team-member-name {
  388. opacity: 1;
  389. @include prefix(transform, translate3d(0, 0, 0), webkit);
  390. }
  391. .member-designation {
  392. opacity: 1;
  393. @include prefix(transform, translate3d(0, 0, 0), webkit);
  394. }
  395. }
  396. a {
  397. @include prefix(transform, translate3d(0, 0, 0), webkit);
  398. opacity: 1;
  399. }
  400. }
  401. }
  402. }
  403. }