| Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/beiresthetic/css/ |
| Current File : /home/zqegovsj/www/us3web.haibo.com.cn/beiresthetic/css/tabs.css |
/*================= Tabs ======================*/
.resp-tabs-list {
margin-top: 75px;
margin-bottom: 10px;
}
.resp-tabs-list li {
cursor: pointer;
font-size: 24px;
background: #F8F8F8;
line-height: 24px;
display: inline-block;
font-weight: 700;
padding: 20px 70px;
text-align: center;
position: relative;
color: #727272;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-webkit-transition: 0.5s;
transition: 0.5s;
}
.resp-tabs-list li:hover {
background: #6fc45b;
color: #FFF;
}
.resp-tabs-list li.resp-tab-active {
background: #6fc45b;
color: #FFF;
}
.resp-tabs-list li.resp-tab-active:before {
content: '';
position: absolute;
left: 44%;
top: 100%;
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
width: 0;
height: 0;
border-style: solid;
border-width: 19px 19px 0 19px;
border-color: #6fc45b transparent transparent transparent;
-moz-transition: 0.3s all ease;
-o-transition: 0.3s all ease;
-webkit-transition: 0.3s all ease;
transition: 0.3s all ease;
}
.resp-tabs-list li + li {
margin-left: 30px;
}
.resp-accordion {
display: none;
font-size: 20px;
background: #f8f8f8;
cursor: pointer;
padding-left: 30px;
position: relative;
margin-top: 15px;
}
.resp-accordion:before {
content: '\f067';
font-family: "FontAwesome";
font-size: 15px;
line-height: 17px;
color: #242424;
background: #FFF;
border-radius: 50%;
position: absolute;
top: 5px;
left: 9px;
height: 16px;
width: 16px;
text-align: center;
}
.resp-accordion.resp-tab-active {
background: #6fc45b;
color: #FFF;
}
.resp-accordion.resp-tab-active:before {
content: '\f068';
}
.resp-tab-content {
display: none;
}
.resp-tab-content-active {
display: block;
}
@media (max-width: 767px) {
.resp-accordion {
display: block;
}
.resp-tabs-list {
display: none;
}
}
.resp-tabs .col-sm-4 {
margin-top: 50px;
}
.resp-tabs .col-sm-4 p {
margin-top: 15px;
}
@media (min-width: 992px) and (max-width: 1199px) {
.resp-tabs-list li {
padding: 20px 38px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.resp-tabs-list li {
padding: 20px 12px;
}
.resp-tabs-list li.resp-tab-active::before {
left: 35%;
}
}