hlw-cqass-web/static/resources/lb/lb.css

214 lines
3.2 KiB
CSS

.lb-box {
display: flex;
margin-top: 45px;
}
.lb-box .lb-box-l {
width: 250px;
flex: none;
}
.lb-box .lb-box-r {
flex: 1;
}
.lb-nav {
border: 1px solid #e5e5e5;
list-style: none;
padding: 0;
margin: 0;
}
.lb-box-l {
margin-right: 30px;
}
.lb-nav li {
line-height: 50px;
text-align: center;
}
.lb-nav .title {
margin: 0 -0.5px;
font-size: 18px;
}
.lb-nav li + li {
border-top: 1px solid #e5e5e5;
}
.lb-nav li a {
display: block;
width: 100%;
height: 100%;
text-decoration: none;
color: inherit;
font-size: 16px;
}
.lb-nav li a:hover,
.lb-nav .title {
background: #154d9b;
color: #fff;
}
.lb-con-tit {
display: flex;
border-bottom: 1px solid #e5e5e5;
justify-content: space-between;
align-items: center;
}
.lb-con-tit-l {
display: flex;
align-items: center;
height: 48px;
line-height: 48px;
font-size: 20px;
color: #333;
position: relative;
}
.lb-con-tit-l img {
margin-right: 12px;
}
.lb-con-tit-l::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 3px;
background-color: #154d9b;
}
.lb-con-tit-r {
display: flex;
align-items: center;
}
.lb-con-tit-r li span {
vertical-align: middle;
}
.lb-con-tit-r li,
.lb-con-tit-r li a {
font-size: 14px;
color: #b8b8b8;
}
.lb-con-tit-r li a:hover {
color: #154d9b;
}
.lb-con-list,
.lb-con-list-item {
width: 100%;
}
.lb-con-list-item {
line-height: 3;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 16px;
color: #ccc;
overflow: hidden;
border-bottom: 1px #eee solid;
background: url(doccli.gif) 0 22px no-repeat;
text-indent: 20px;
}
.lb-con-list-item a {
color: #333333;
width: 0;
flex: 1;
overflow: hidden;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
}
.lb-con-list-item span {
flex: none;
}
.lb-con-list-item a:hover {
color: #248;
animation: listover 0.4s linear infinite;
}
@keyframes listover {
0% {
margin-left: -2px;
}
100% {
margin-left: 2px;
}
}
.pages {
text-align: center;
margin-top: 20px;
}
.pages li {
display: inline-block;
margin: 0 3px;
}
.pages li a {
display: inline-block;
color: #0e509e;
font-size: 12px;
border: solid 1px #9aafe5;
line-height: 30px;
min-width: 30px;
padding: 0 8px;
}
.pages li a:hover,
.pages li.page-active a {
border: solid 1px #0e509e;
}
.pages li[disabled='true'] a {
pointer-events: none;
color: #ccc;
border: solid 1px #ccc;
}
@media screen and (max-width: 768px) {
.pages {
margin-top: 0.3rem;
}
.pages li {
margin: 0 0.05rem;
}
.pages li a,
.pages li span {
line-height: 0.5rem;
font-size: 0.24rem;
min-width: 0.5rem;
padding: 0 0.1rem;
margin-bottom: 0.1rem;
}
.lb-con-tit-l{
font-size: .3rem;
line-height: .8rem;
height: .8rem;
}
.lb-con-tit-r li, .lb-con-tit-r li a {
font-size: .22rem;
}
.lb-con-list-item{
font-size: .28rem;
line-height: 0.8rem;
}
.lb-con-list-item{
background-position: .2rem;
text-indent: .4rem;
}
.lb-box{
display: block;
}
.lb-box .lb-box-l{
width: auto;
margin-right: 0;
}
.lb-nav .title{
font-size: .28rem;
}
.lb-nav li{
line-height: .6rem;
}
.lb-nav li a{
font-size: .22rem;
}
}