PC-questions-answers/css/1.css
A1300399510 546c52aab6
2023-11-24 18:51:45 +08:00

756 lines
17 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
[v-cloak] {
display: none;
}
.noselect {
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Chrome/Safari/Opera */
-khtml-user-select: none;
/* Konqueror */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently
not supported by any browser */
}
#loading {
text-align: center;
padding: 100px 0;
}
.loading {
width: 80px;
height: 40px;
margin: 0 auto;
display: inline-block;
}
.loading span {
display: inline-block;
width: 8px;
height: 100%;
border-radius: 4px;
background: lightgreen;
-webkit-animation: load 1s ease infinite;
}
@-webkit-keyframes load {
0%,
100% {
height: 40px;
background: lightgreen;
}
50% {
height: 70px;
margin: -15px 0;
background: lightblue;
}
}
.loading span:nth-child(2) {
-webkit-animation-delay: 0.2s;
}
.loading span:nth-child(3) {
-webkit-animation-delay: 0.4s;
}
.loading span:nth-child(4) {
-webkit-animation-delay: 0.6s;
}
.loading span:nth-child(5) {
-webkit-animation-delay: 0.8s;
}
body {
background: #f1f1f1;
font-family: "microsoft yahei", "San Francisco", '微软雅黑', 'tahoma', 'arial', 'simsun', '宋体';
}
ul {
list-style: none;
}
a {
text-decoration: none;
}
.inner {
width: 1200px;
margin: 0 auto;
max-width: 98vw;
min-width: 1100px;
}
.page-header {
background: #0170fe;
padding-bottom: 2px;
}
.page-header .nav-tab {
width: 1200px;
margin: 0 auto;
max-width: 98vw;
min-width: 1100px;
display: flex;
align-items: center;
justify-content: flex-end;
position: relative;
}
.page-header .nav-tab .line {
position: absolute;
right: 0;
bottom: 16px;
width: 30px;
height: 2px;
background: #fff;
transition: all 0.2s;
}
.page-header .nav-tab .url-list {
display: flex;
align-items: center;
justify-content: flex-end;
color: rgba(255, 255, 255, 0.702);
font-size: 13px;
list-style: none;
padding: 16px 0 ;
}
.page-header .nav-tab .url-list .item {
margin-left: 30px;
display: inline-flex;
border-bottom: 2px solid transparent;
position: relative;
}
.page-header .nav-tab .url-list .item a {
display: inline-flex;
padding: 9px 0;
cursor: pointer;
color: inherit;
}
.page-header .nav-tab .url-list .item:hover,
.page-header .nav-tab .url-list .active {
color: #ffffff;
}
.page-header .nav-tab .url-list .user {
margin-left: 40px;
display: inline-flex;
width: 30px;
height: 30px;
align-items: center;
justify-content: center;
border-radius: 50%;
color: #ccc;
cursor: pointer;
position: relative;
}
.page-header .nav-tab .url-list .user img {
width: 28px;
height: 28px;
border-radius: 50%;
overflow: hidden;
}
.page-header .nav-tab .url-list .user i {
display: block;
background: url(../img/helloofficer-user.png) no-repeat;
width: 30px;
height: 30px;
background-size: 100%;
}
.page-header .nav-tab .url-list .user:hover .quit {
display: block;
}
.page-header .nav-tab .quit {
display: none;
position: absolute;
bottom: -40px;
left: calc(50% - 22px);
z-index: 10;
text-align: center;
width: 45px;
height: 30px;
line-height: 30px;
border-radius: 5px;
background: #02d7b5;
color: #233160;
font-size: 13px;
-webkit-touch-callout: none;
/* iOS Safari */
-webkit-user-select: none;
/* Chrome/Safari/Opera */
-khtml-user-select: none;
/* Konqueror */
-moz-user-select: none;
/* Firefox */
-ms-user-select: none;
/* Internet Explorer/Edge */
user-select: none;
/* Non-prefixed version, currently
not supported by any browser */
}
.page-header .nav-tab .quit:after {
position: absolute;
left: calc(50% - 4px);
top: -8px;
content: "";
border: 4px solid transparent;
border-bottom-color: #02d7b5;
}
.page-header .nav-tab .quit:before {
position: absolute;
content: "";
display: block;
background: transparent;
left: -20px;
top: -30px;
width: 80px;
height: 80px;
}
.page-header .nav-tab .quit:active {
background: #09b6a4;
}
.page-header .nav-tab .quit:active:after {
border-bottom-color: #09b6a4;
}
.page-header .nav-tab .language {
display: inline-flex;
margin-left: 30px;
}
.page-header .logo {
display: block;
background: url(../img/helloofficer-logo.png) no-repeat;
width: 178px;
height: 46px;
background-size: 178px 46px;
width: 1200px;
margin: 0 auto;
max-width: 98vw;
min-width: 1100px;
position: relative;
top: -17px;
cursor: pointer;
}
.el-custom-select {
position: relative;
}
.el-custom-select .show-text {
border-radius: 5px;
background-color: rgba(255, 255, 255, 0.102);
width: 80px;
height: 28px;
line-height: 28px;
text-align: center;
font-size: 13px;
color: #fff;
cursor: pointer;
}
.el-custom-select .show-text .arrow {
margin-left: 4px;
display: inline-block;
width: 0;
height: 0;
border: 4px solid transparent;
border-top-color: #a4ccff;
position: relative;
top: 2px;
border-radius: 2px;
}
.el-custom-select .option-list {
position: absolute;
display: none;
left: 0;
top: 0px;
border: 1px rgba(255, 255, 255, 0.102) solid;
border-radius: 5px;
width: 80px;
background-color: rgba(255, 255, 255, 0.102);
font-size: 13px;
color: rgba(255, 255, 255, 0.302);
list-style: none;
transition: all 0.3s;
z-index: 100;
}
.el-custom-select .option-list .option-item {
line-height: 29px;
text-align: center;
cursor: pointer;
}
.el-custom-select .option-list .active {
color: #fff;
}
.el-custom-select .option-list.show {
top: 31px;
display: block;
}
.intro-container {
background: url(../img/helloofficer-bg.png) no-repeat center;
background-size: 100% 100%;
border-bottom: 5px solid #0170fe;
height: 565px;
width: 100%;
padding-top: 14px;
}
.intro-container .container {
width: 1200px;
margin: 0 auto;
max-width: 98vw;
min-width: 1100px;
}
.intro-container .swiper-container {
margin: 0 auto 0px;
padding: 20px 0;
}
.intro-container .swiper-container .swiper-pagination {
bottom: 15px;
}
.intro-container .intro-text {
margin: 0 auto 64px;
width: 700px;
height: 50px;
display: flex;
color: #fff;
font-size: 14px;
align-items: flex-start;
justify-content: space-between;
}
.intro-container .intro-text .yellow {
color: #e6b300;
font-size: 18px;
display: inline;
}
.intro-container .intro-text .text {
display: inline;
line-height: 24px;
}
.intro-container .intro-text .l {
display: inline-flex;
width: 32px;
height: 27px;
background: url(../img/helloofficer-ql.png) no-repeat;
background-size: 100%;
}
.intro-container .intro-text .r {
display: inline-flex;
width: 32px;
height: 27px;
background: url(../img/helloofficer-qr.png) no-repeat;
background-size: 100%;
}
.intro-container .swiper-container {
width: 100%;
height: 100%;
}
.intro-container .swiper-slide {
text-align: center;
font-size: 18px;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
transition: 300ms;
transform: scale(0.6);
position: relative;
}
.intro-container .swiper-slide a:after {
content: "";
display: block;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.4);
}
.intro-container .swiper-slide-active,
.intro-container .swiper-slide-duplicate-active {
transform: scale(1);
z-index: 100;
}
.intro-container .swiper-slide-active img,
.intro-container .swiper-slide-duplicate-active img {
width: 740px;
height: 270px;
}
.intro-container .swiper-slide-active a:after,
.intro-container .swiper-slide-duplicate-active a:after {
content: none;
}
.intro-container .swiper-button-next:after,
.intro-container .swiper-button-prev:after {
content: none;
}
.intro-container .swiper-button-next {
right: 0;
border: 2px rgba(255, 255, 255, 0.2) solid;
border-radius: 50%;
width: 46px;
height: 46px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAoklEQVQokZ2ROwrCUBBFT4LLsdQ2rfa2biCCnRIbGwsLa9cjGFBSuBEXEEuPTQKP5wM/AwMzcJh7ZwZ1r9bqRCWVmdoAA+AJrICaKHLgGNQHoIihfmSp3rq8quNQLtReBuBFHaUg1CoAz+qwNx6qZ8AGmHV9C5Qx1C+wA6Zdf8/fNklEDGVAFUxpgfVXxn86weLTMecB0KjF3w8+AQ9gmwIAXuBOCgjMsl3AAAAAAElFTkSuQmCC) no-repeat center;
background-size: 9px 16px;
}
.intro-container .swiper-button-prev {
left: 0;
border: 2px rgba(255, 255, 255, 0.2) solid;
border-radius: 50%;
width: 46px;
height: 46px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAn0lEQVQokY3SOwoCMRCA4T+Ld/AOYqmtrV5FwXJZRPAAYmHhVQRbQa28jp3422RhfAQ2MMWQDzKPJJXCmQJr4JIKaALsgAp4VgWwzQDggBpjrN7Ue465SgQj9RrAsr1rwVA9B9DEF1AHX2ClpoiSegT6ucgTsAFesZN/3f2cCqiBR85nQAOkD9W18M4jKA1z0XZXWksv5/tOCy4hCF/lDZ6V8agJLeFBAAAAAElFTkSuQmCC) no-repeat center;
background-size: 9px 16px;
}
.intro-container .swiper-button-next:hover,
.intro-container .swiper-button-prev:hover {
background-color: rgba(0, 0, 0, 0.2);
border: none;
}
.intro-container .swiper-pagination-bullet-active {
background: #ccc;
}
.intro-container img {
display: block;
max-width: 100%;
max-height: 100%;
}
.intro-container a {
display: block;
}
.intro-container .tab-container {
display: block;
align-items: center;
font-size: 0px;
color: #ffffff;
}
.intro-container .tab-container .tab-item {
display: inline-block;
font-size: 20px;
background: rgba(255, 255, 255, 0.2);
width: 220px;
height: 64px;
line-height: 64px;
text-align: center;
border-radius: 10px 10px 0 0;
margin-right: 1px;
cursor: pointer;
}
.intro-container .tab-container .tab-item:hover {
background: rgba(255, 255, 255, 0.1);
}
.intro-container .tab-container .active {
background: #0170fe !important;
}
.page-footer {
font-size: 14px;
color: #ffffff;
line-height: 2;
text-align: center;
height: 135px;
background: #2d3038;
display: flex;
align-items: center;
justify-content: center;
}
.page-footer span {
margin: 0 26px;
}
.main-container {
width: 1200px;
margin: 0 auto;
max-width: 98vw;
min-width: 1100px;
padding: 44px 0 80px;
font-size: 0;
vertical-align: top;
display: flex;
}
.main-container .start {
vertical-align: top;
display: inline-flex;
flex: 1;
flex-direction: column;
width: calc(100% - 414px);
}
.main-container .start .title {
display: block;
margin: 0 auto 40px;
width: 162px;
height: 48px;
background: url(../img/helloofficer-start.png) no-repeat;
background-size: 100%;
}
.main-container .start .list .item {
margin-bottom: 20px;
padding: 20px 40px;
border-radius: 10px;
background-color: #ffffff;
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
}
.main-container .start .list .school {
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: flex-start;
}
.main-container .start .list .school .avatar {
margin: 0 auto;
display: block;
max-width: 44px;
max-height: 44px;
}
.main-container .start .list .school .logo {
margin-right: 14px;
display: inline-flex;
border: 1px #ededed solid;
border-radius: 50%;
width: 54px;
height: 54px;
flex: 0 0 54px;
overflow: hidden;
align-items: center;
justify-content: center;
}
.main-container .start .list .school .name {
font-size: 23px;
color: #333;
font-weight: 600;
}
.main-container .start .list .intro {
display: block;
}
.main-container .start .list .intro .text {
display: inline-block;
width: calc(100% - 264px);
font-size: 14px;
color: #666666;
line-height: 25px;
word-break: break-all;
padding-bottom: 22px;
position: relative;
overflow: hidden;
}
.main-container .start .list .intro .text .t {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 4;
line-clamp: 4;
-webkit-box-orient: vertical;
}
.main-container .start .list .intro .text .open-more {
position: absolute;
right: 0px;
bottom: 18px;
cursor: pointer;
display: block;
padding: 0 4px 0 10px;
background: #ffffff;
height: 24px;
line-height: 24px;
}
.main-container .start .list .intro .textl {
width: 100%;
}
.main-container .start .list .intro .image {
margin-left: 84px;
display: inline-block;
border-radius: 10px;
width: 180px;
vertical-align: top;
}
.main-container .start .list .time {
margin-top: -5px;
font-size: 16px;
font-family: "DIN";
color: #000000;
line-height: 20px;
}
.main-container .start .list .time .yellow {
font-size: 14px;
color: #e6b200;
line-height: 20px;
display: inline;
margin-right: 6px;
}
.main-container .start .list .lesson {
margin-top: 26px;
}
.main-container .start .list .lesson .lesson-item {
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 30px 4px 25px;
border-radius: 6px;
background-color: rgba(1, 112, 254, 0.059);
min-height: 46px;
font-size: 16px;
color: #333;
cursor: pointer;
transition: all 0.3s;
}
.main-container .start .list .lesson .lesson-item .icon {
transition: all 0.8s;
display: inline-flex;
border-radius: 50%;
background: #0170fe url(../img/arrow-white.png) no-repeat center;
background-size: 15px 10px;
width: 36px;
flex: 0 0 36px;
height: 36px;
}
.main-container .start .list .lesson .lesson-item:hover {
background-color: #0170fe;
font-size: 16px;
color: #ffffff;
font-weight: bold;
}
.main-container .start .list .lesson .lesson-item:hover .icon {
background: #fff url(../img/arrow-blue.png) no-repeat center;
background-size: 15px 10px;
}
.main-container .review {
display: inline-flex;
flex-direction: column;
width: 384px;
margin-left: 30px;
}
.main-container .review .title {
display: block;
margin: 0 auto 40px;
width: 164px;
height: 48px;
background: url(../img/helloofficer-review.png) no-repeat;
background-size: 100%;
}
.main-container .review .time-tab {
margin-bottom: 20px;
background-color: #e5e5e5;
width: 385px;
height: 50px;
padding: 0 6px;
border-radius: 25px;
display: flex;
align-items: center;
position: relative;
}
.main-container .review .time-tab .tab-item {
display: inline-flex;
flex: 1;
align-items: center;
justify-content: center;
font-size: 18px;
color: #999999;
cursor: pointer;
transition: all 0.3s;
height: 42px;
border-radius: 21px;
position: relative;
z-index: 10;
}
.main-container .review .time-tab .tab-item:hover {
color: #333;
font-weight: bold;
}
.main-container .review .time-tab .active {
color: #f1f1f1 !important;
font-weight: bold;
width: 82px;
border-radius: 21px;
background-color: #2d3038;
}
.main-container .review .time-tab .backblack {
background: #2d3038;
z-index: 5;
position: absolute;
left: 6px;
top: 4px;
height: 42px;
transition: all 0.2s;
border-radius: 21px;
}
.main-container .review .item {
margin-bottom: 20px;
border-radius: 10px;
background-color: #ffffff;
box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
}
.main-container .review .item .school {
display: flex;
align-items: center;
padding: 10px 30px;
border-bottom: 1px solid #ededed;
justify-content: flex-start;
}
.main-container .review .item .school .avatar {
margin: 0 auto;
display: block;
max-width: 28px;
max-height: 28px;
}
.main-container .review .item .school .logo {
margin-right: 8px;
display: inline-flex;
border: 1px #ededed solid;
border-radius: 50%;
width: 34px;
height: 34px;
flex: 0 0 34px;
overflow: hidden;
align-items: center;
justify-content: center;
}
.main-container .review .item .school .name {
font-size: 18px;
color: #333;
font-weight: 600;
}
.main-container .review .item .contents {
padding: 26px 30px 20px;
}
.main-container .review .item .type {
color: #999999;
font-size: 14px;
}
.main-container .review .item .type .yellow {
display: inline-block;
margin-right: 6px;
color: #e6b200;
}
.main-container .review .item .link-list {
padding-bottom: 6px;
}
.main-container .review .item .link-list .i {
display: block;
margin-bottom: 20px;
cursor: pointer;
padding-left: 30px;
background: url(../img/arrow-black.png) no-repeat left center;
background-size: 15px 10px;
font-size: 15px;
color: #333333;
line-height: 1.4;
transition: all 0.3s;
}
.main-container .review .item .link-list .i:hover {
color: rgba(51, 51, 51, 0.8);
background: url(../img/arrow-yellow.png) no-repeat left center;
background-size: 15px 10px;
}
.to-top-btn {
position: fixed;
right: 37px;
bottom: 156px;
width: 40px;
height: 40px;
border-radius: 50%;
border: none;
background: url(../img/zsj-top.png) no-repeat;
background-size: 100%;
cursor: pointer;
}