314 lines
9.1 KiB
CSS
314 lines
9.1 KiB
CSS
/*== Team/Teacher addon ==*/
|
|
|
|
.upstudy-teacher-item.upstudy-teacher-style-1, .upstudy-teacher-item.upstudy-teacher-style-3 {
|
|
text-align: center;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img-wrap {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-bottom: 15px;
|
|
}
|
|
.upstudy-teacher-style-1 img.butterfly-shape {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 5px;
|
|
z-index: 1;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img {
|
|
position: relative;
|
|
border-radius: 50%;
|
|
padding: 20px;
|
|
margin: 0 auto;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img img, .upstudy-teacher-style-3 .teacher-img img {
|
|
border-radius: 50%;
|
|
transition: all .5s ease-in-out;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img::after, .upstudy-teacher-style-3 .teacher-img::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
border: 2px dashed var(--upstudy-primary-color);
|
|
border-radius: 50%;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.upstudy-teacher-style-1:hover .teacher-img::after, .upstudy-teacher-style-3:hover .teacher-img::after {
|
|
-webkit-animation: upstudy-rotate-x 13s linear infinite;
|
|
animation: upstudy-rotate-x 13s linear infinite;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img-wrap .teacher-social, .upstudy-teacher-style-3 .teacher-img-wrap .teacher-social {
|
|
position: absolute;
|
|
bottom: 50px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 95%;
|
|
z-index: 1;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img-wrap .teacher-social .social-link, .upstudy-teacher-style-3 .teacher-img-wrap .teacher-social .social-link {
|
|
margin: 0 5px;
|
|
background: #fff;
|
|
border-radius: 100%;
|
|
display: inline-flex;
|
|
width: 35px;
|
|
height: 35px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
transform: translateY(25px);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: .5s;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img-wrap .teacher-social .social-link i, .upstudy-teacher-style-3 .teacher-img-wrap .teacher-social .social-link i {
|
|
font-size: 14px;
|
|
line-height: 1;
|
|
}
|
|
.upstudy-teacher-style-1:hover .teacher-img-wrap .teacher-social .social-link, .upstudy-teacher-style-3:hover .teacher-img-wrap .teacher-social .social-link {
|
|
transform: translateY(0);
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-img-wrap .teacher-social .social-link:nth-child(5) {
|
|
margin-top: 10px;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-content .title, .upstudy-teacher-style-3 .teacher-content .title {
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
margin-bottom: 5px;
|
|
}
|
|
.upstudy-teacher-style-1 .teacher-content .teacher-degree, .upstudy-teacher-style-3 .teacher-content .teacher-degree {
|
|
font-size: 16px;
|
|
}
|
|
/**** Teacher 3 ***/
|
|
|
|
.upstudy-teacher-style-3 .teacher-img-wrap {
|
|
position: relative;
|
|
margin-bottom: 40px;
|
|
}
|
|
.upstudy-teacher-style-3 .teacher-img {
|
|
position: relative;
|
|
border-radius: 50%;
|
|
height: 200px;
|
|
width: 200px;
|
|
margin: 0 auto;
|
|
}
|
|
.upstudy-teacher-style-3 .teacher-img::after {
|
|
height: 95%;
|
|
width: 95%;
|
|
left: inherit;
|
|
right: -7%;
|
|
top: -7%;
|
|
z-index: 0;
|
|
}
|
|
.upstudy-teacher-style-3 .teacher-img img {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.upstudy-teacher-style-3 .teacher-img .teacher-svg-shape {
|
|
position: absolute;
|
|
left: -15px;
|
|
bottom: -30px;
|
|
transition: all .3s ease-in-out;
|
|
}
|
|
.upstudy-teacher-style-3:hover .teacher-img .teacher-svg-shape {
|
|
transform: rotate(5deg);
|
|
}
|
|
.upstudy-teacher-style-3 .teacher-img .teacher-svg-shape svg {
|
|
fill: #ff8b00;
|
|
transition: all .3s ease-in-out;
|
|
}
|
|
/*** ##Teacher 2 ***/
|
|
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 {
|
|
position: relative;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-image-wrap a {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-img-wrap .teacher-img img {
|
|
width: 100%;
|
|
}
|
|
.upstudy-teacher-style-2 .teacher-img-wrap>a::after {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
content: '';
|
|
background: rgba(0, 0, 0, 0.6);
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 0;
|
|
overflow: hidden;
|
|
transition: all .5s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content {
|
|
position: absolute;
|
|
left: 30px;
|
|
bottom: 15px;
|
|
z-index: 5;
|
|
transition: all 0.3s linear;
|
|
padding: 25px 20px;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .title {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
font-weight: 700;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .title a:hover {
|
|
color: var(--upstudy-heading-color);
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .title {
|
|
color: #ffffff;
|
|
margin-bottom: 0;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
transform: translateY(-50%);
|
|
background: var(--upstudy-primary-color);
|
|
z-index: -1;
|
|
transition: all 0.3s linear;
|
|
height: 100%;
|
|
width: 30%;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2:hover .teacher-content::before {
|
|
width: 100%;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .teacher-degree {
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
position: relative;
|
|
z-index: 1;
|
|
color: #ffffff;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .teacher-social {
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: all 0.3s linear;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .teacher-social .social-link {
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
font-size: 16px;
|
|
transform: translate3d(0, 0, 0);
|
|
color: #ffffff;
|
|
transition: all 0.3s linear;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .teacher-social .social-link:first-child {
|
|
margin-left: 0;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-2 .teacher-content .teacher-social .social-link:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
/*** ##Teacher 4 ****/
|
|
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 {
|
|
display: inline-block;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap {
|
|
position: relative;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social {
|
|
position: absolute;
|
|
right: 10%;
|
|
bottom: 70%;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: transparent;
|
|
border-radius: 50%;
|
|
color: var(--upstudy-primary-color);
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
margin-top: 12px;
|
|
border: 2px solid var(--upstudy-primary-color);
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social a:not(:last-child) {
|
|
transform: translateY(10px);
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social a:not(:last-child):hover {
|
|
color: var(--upstudy-primary-color);
|
|
background-color: #fff;
|
|
border-color: #fff;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-social a:not(:last-child) {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-social a:nth-child(1n) {
|
|
-webkit-transition-delay: .5s;
|
|
transition-delay: .5s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-social a:nth-child(2n) {
|
|
-webkit-transition-delay: .4s;
|
|
transition-delay: .4s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-social a:nth-child(3n) {
|
|
-webkit-transition-delay: .3s;
|
|
transition-delay: .3s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-social a:nth-child(4n) {
|
|
-webkit-transition-delay: .2s;
|
|
transition-delay: .2s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social a:last-child {
|
|
background-color: var(--upstudy-primary-color);
|
|
color: #fff;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-social a>i {
|
|
display: inline-flex;
|
|
font-size: 16px
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-img {
|
|
position: relative;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-img::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
background-color: #000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
border-radius: 10px;
|
|
transition: all .4s;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4:hover .teacher-img-wrap .teacher-img::after {
|
|
opacity: 0.6;
|
|
visibility: visible;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-img img {
|
|
border-radius: 10px;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-content {
|
|
background-color: #fff;
|
|
padding: 20px 25px;
|
|
margin: 0 32px;
|
|
margin-top: -55px;
|
|
position: relative;
|
|
box-shadow: 0px 0px 144px 0px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-content .title {
|
|
margin-bottom: 0;
|
|
}
|
|
.upstudy-teacher-item.upstudy-teacher-style-4 .teacher-img-wrap .teacher-content .speaker-degree {
|
|
font-size: 15px;
|
|
} |