update style

This commit is contained in:
avene 2018-05-14 10:44:28 +08:00
parent fcc0a79280
commit 2fa3959252
2 changed files with 256 additions and 219 deletions

View File

@ -1,160 +1,167 @@
:root {
--main-color: #124075;
--second-color: #004490;
}
.timeline-ul { .timeline-ul {
width: 98%; width: 98%;
max-width: 1170px; max-width: 1170px;
padding: 0; padding: 0;
margin: 0 auto; margin: 0 auto;
position: relative position: relative
} }
.timeline-ul::before { .timeline-ul::before {
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
left: 50%; left: 50%;
height: 101%; height: 101%;
width: 3px; width: 3px;
background-color: #00a0de background-color: #00a0de
} }
.timeline-ul::after { .timeline-ul::after {
content: ''; content: '';
display: table; display: table;
clear: both clear: both
} }
.timeline-ul li { .timeline-ul li {
list-style: none; list-style: none;
vertical-align: bottom vertical-align: bottom
} }
.timeline-ul li time { .timeline-ul li time {
color: #00a0de color: #00a0de
} }
.timeline-ul li p { .timeline-ul li p {
font-size: 14px; font-size: 14px;
color: #888; color: #888;
margin-top: 6px; margin-top: 6px;
line-height: 28px line-height: 28px
} }
.timeline-ul li .li-content { .timeline-ul li .li-content {
position: relative; position: relative;
display: inline-block display: inline-block
} }
.timeline-ul li .li-content:hover .icon-event { .timeline-ul li .li-content:hover .icon-event {
transition: all .3s; transition: all .3s;
transform: scale(1.5, 1.5) transform: scale(1.5, 1.5)
} }
.timeline-ul li .icon-img { .timeline-ul li .icon-img {
height: 60px; height: 60px;
width: 60px; width: 60px;
background-size: 60px 60px; background-size: 60px 60px;
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
position: absolute; position: absolute;
bottom: -12px bottom: -12px
} }
.timeline-ul li .icon-point { .timeline-ul li .icon-point {
position: absolute; position: absolute;
bottom: -7px; bottom: -7px;
width: 12px; width: 12px;
height: 12px; height: 12px;
background: #fff; background: #fff;
border: 1px solid #00a0de; border: 1px solid #00a0de;
border-radius: 50% border-radius: 50%
} }
.timeline-ul li.time-wrapper { .timeline-ul li.time-wrapper {
position: relative; position: relative;
margin-left: 50%; margin-left: 50%;
text-align: left; text-align: left;
padding-left: 20px; padding-left: 20px;
margin-top: 50px margin-top: 50px
} }
.timeline-ul li.time-wrapper .time-span { .timeline-ul li.time-wrapper .time-span {
position: relative; position: relative;
top: -5px; top: -5px;
display: inline-block; display: inline-block;
background: #00a0de; background: #00a0de;
text-align: center; text-align: center;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
width: 80px; width: 80px;
color: #fff; color: #fff;
border-radius: 16px border-radius: 16px
} }
.timeline-ul li.time-wrapper .time-span.leftOne{
left: -120px; .timeline-ul li.time-wrapper .time-span.leftOne {
left: -120px;
} }
.timeline-ul li.time-wrapper .time-point { .timeline-ul li.time-wrapper .time-point {
position: absolute; position: absolute;
top: -1.5%; top: -1.5%;
left: -1.5%; left: -1.5%;
height: 18px; height: 18px;
width: 18px; width: 18px;
background-color: #fff; background-color: #fff;
border: 1px solid #00a0de; border: 1px solid #00a0de;
border-radius: 50% border-radius: 50%
} }
.timeline-ul li.time-wrapper .time-point:hover { .timeline-ul li.time-wrapper .time-point:hover {
transition: all .3s; transition: all .3s;
transform: scale(1.5, 1.5) transform: scale(1.5, 1.5)
} }
.timeline-ul li.time-wrapper .time-point .time-point-blue { .timeline-ul li.time-wrapper .time-point .time-point-blue {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
height: 10px; height: 10px;
width: 10px; width: 10px;
background-color: #00a0de; background-color: #00a0de;
border-radius: 50% border-radius: 50%
} }
.timeline-ul li.left { .timeline-ul li.left {
position: relative; position: relative;
text-align: right; text-align: right;
width: 50% width: 50%
} }
.timeline-ul li.left .info-div { .timeline-ul li.left .info-div {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 420px; max-width: 420px;
padding-right: 10px; padding-right: 10px;
padding-left: 20px; padding-left: 20px;
margin-left: 0; margin-left: 0;
text-align: left; text-align: left;
border-bottom: 2px solid #00a0de border-bottom: 2px solid #00a0de
} }
.timeline-ul li.left .icon-point-left { .timeline-ul li.left .icon-point-left {
right: 100% right: 100%
} }
.timeline-ul li.left .icon-point-right { .timeline-ul li.left .icon-point-right {
right: -7px right: -7px
} }
.timeline-ul li.left .icon-img { .timeline-ul li.left .icon-img {
left: 5px left: 5px
} }
.timeline-ul li.right { .timeline-ul li.right {
position: relative; position: relative;
margin-left: 50%; margin-left: 50%;
text-align: left text-align: left
} }
.timeline-ul li.right .info-div { .timeline-ul li.right .info-div {
position: relative; position: relative;
display: inline-block; display: inline-block;
max-width: 460px; max-width: 460px;
padding-left: 20px; padding-left: 20px;
@ -165,178 +172,208 @@
} }
.timeline-ul li.right .icon-point-left { .timeline-ul li.right .icon-point-left {
left: -4px left: -4px
} }
.timeline-ul li.right .icon-point-right { .timeline-ul li.right .icon-point-right {
left: 100% left: 100%
} }
.timeline-ul li.right .icon-img { .timeline-ul li.right .icon-img {
right: -45px right: -45px
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.timeline-ul li { .timeline-ul li {
padding-top: 20px padding-top: 20px
} }
.timeline-ul li.right {
margin-left: 0 .timeline-ul li.right {
} margin-left: 0
.timeline-ul::before { }
left: 0
} .timeline-ul::before {
.timeline-ul li.time-wrapper .time-span { left: 0
top: -27px }
}
.timeline-ul li.time-wrapper .time-point { .timeline-ul li.time-wrapper .time-span {
left: -7px top: -27px
} }
.timeline-ul li.time-wrapper .time-point {
left: -7px
}
} }
@media (max-width: 767px) { @media (max-width: 767px) {
.timeline-ul li.right .info-div { .timeline-ul li.right .info-div {
padding-left: 20px padding-left: 20px
} }
.timeline-ul li.right .icon-img {
right: -30px .timeline-ul li.right .icon-img {
} right: -30px
.welcome-page-company .timeline { }
margin-bottom: 10px
} .welcome-page-company .timeline {
.welcome-page-company .intro h2.title { margin-bottom: 10px
font-size: 23px; }
text-align: center
} .welcome-page-company .intro h2.title {
.timeline-ul li.time-wrapper { font-size: 23px;
margin-top: 60px text-align: center
} }
.timeline-ul li.time-wrapper {
margin-top: 60px
}
} }
ul,li{
list-style: none; ul, li {
list-style: none;
} }
.leftTab{
border: 1px solid #CCCCCC; .leftTab {
padding: 0; border: 1px solid #CCCCCC;
border-radius: 10px; padding: 0;
overflow: hidden; border-radius: 10px;
margin-top: 20px; overflow: hidden;
margin-bottom: 30px; margin-top: 20px;
margin-bottom: 30px;
} }
.leftTab p{
height: 50px; .leftTab p {
line-height: 50px; height: 50px;
background: #3d97e3; line-height: 50px;
color: #FFFFFF; background: var(--second-color);
font-size: 22px; color: #FFFFFF;
text-align: center; font-size: 22px;
font-family: 'Pacifico', cursive; text-align: center;
font-family: 'Pacifico', cursive;
font-weight: 400; font-weight: 400;
margin: 0; margin: 0;
} }
.leftTab li{
height: 35px; .leftTab li {
line-height: 35px; height: 35px;
border-bottom: 1px solid #CCCCCC; line-height: 35px;
padding-left: 20px; border-bottom: 1px solid #CCCCCC;
background: url(../img/rightArrow.png) no-repeat 90% center; padding-left: 20px;
cursor: pointer; background: url(../img/rightArrow.png) no-repeat 90% center;
cursor: pointer;
} }
.leftTab li.active{
color:#3d97e3; .leftTab li.active {
color: #3d97e3;
} }
.leftTab li:last-of-type{
border: none; .leftTab li:last-of-type {
border: none;
} }
.leftTab li:hover{
color:#3d97e3; .leftTab li:hover {
color: #3d97e3;
} }
.leftTab span{
display: block; .leftTab span {
padding-left: 20px; display: block;
margin-top: 5px; padding-left: 20px;
margin-top: 5px;
} }
.leftTab span:last-of-type{
margin-bottom: 5px; .leftTab span:last-of-type {
margin-bottom: 5px;
} }
.box1{
margin-top: 20px; .box1 {
display: none; margin-top: 20px;
margin-bottom: 30px; display: none;
} margin-bottom: 30px;
.box1{
border: 1px solid #CCCCCC;
border-top: 3px solid #3d97e3;
padding: 20px;
border-radius: 4px;
} }
.box1 p{
line-height: 25px; .box1 {
border: 1px solid #CCCCCC;
border-top: 3px solid #3d97e3;
padding: 20px;
border-radius: 4px;
} }
.box1 h4 i{
display: block; .box1 p {
width: 13px; line-height: 25px;
height: 13px;
background:#3d97e3 ;
float: left;
margin-top: 8px;
margin-right: 10px;
border-radius:50% ;
} }
.box1 h4{
line-height: 30px; .box1 h4 i {
display: block;
width: 13px;
height: 13px;
background: #3d97e3;
float: left;
margin-top: 8px;
margin-right: 10px;
border-radius: 50%;
} }
.timeline{
margin-top: -50px; .box1 h4 {
padding-bottom: 30px; line-height: 30px;
} }
.box2 p{
text-indent: 28px; .timeline {
margin-top: -50px;
padding-bottom: 30px;
} }
.tabOne{
border: 1px solid #DDDDDD; .box2 p {
border-top:none ; text-indent: 28px;
padding: 10px 10px 10px 20px;
} }
.tabOne p i{
display: block; .tabOne {
width: 8px; border: 1px solid #DDDDDD;
height: 8px; border-top: none;
background:#3d97e3 ; padding: 10px 10px 10px 20px;
float: left;
margin-top: 8px;
margin-right: 10px;
border-radius:50% ;
} }
.pagination{
float: right; .tabOne p i {
display: block;
width: 8px;
height: 8px;
background: #3d97e3;
float: left;
margin-top: 8px;
margin-right: 10px;
border-radius: 50%;
} }
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
.pagination {
float: right;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
z-index: 3; z-index: 3;
color: #fff; color: #fff;
cursor: default; cursor: default;
background-color:#3d97e3; background-color: #3d97e3;
border-color:#3d97e3; border-color: #3d97e3;
} }
.pagination>li>a, .pagination>li>span { .pagination > li > a, .pagination > li > span {
position: relative; position: relative;
float: left; float: left;
padding: 6px 12px; padding: 6px 12px;
margin-left: -1px; margin-left: -1px;
line-height: 1.42857143; line-height: 1.42857143;
color:#3d97e3; color: #3d97e3;
text-decoration: none; text-decoration: none;
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
} }
.box3 ul{
padding: 0; .box3 ul {
padding: 0;
} }
.box3 ul a{
color: #333333; .box3 ul a {
color: #333333;
} }
.box3 ul a:hover{
color:#3d97e3; .box3 ul a:hover {
color: #3d97e3;
} }

View File

@ -11,7 +11,7 @@
z-index: 99999; z-index: 99999;
border-radius: 0; border-radius: 0;
top: 0px; top: 0px;
margin-bottom: 160px; /*margin-bottom: 160px;*/
/*border-bottom: 1px solid #303848;*/ /*border-bottom: 1px solid #303848;*/
} }