File: /www/wwwroot//www.hmltw.com/tg/static/css/index.css
html {
overflow: hidden;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
width: 100vw;
height: 100vh;
/* border: 1px solid red; */
}
#container {
/* border: 3px solid red; */
width: 100%;
max-width: 640px;
height: 100%;
margin: 0 auto;
overflow: hidden;
}
#container .s1 {
/* border: 1px solid; */
width: 100%;
height: 100%;
}
#container .s1 .swiper-slide {
/* border: 3px solid yellow; */
width: 100%;
height: 100%;
overflow: hidden;
}
/* cover */
#container .s1 .swiper-slide.cover {
background-image: url("../image/O1CN01kx0Ih5280ViKGWGo1_!!918397870.jpg");
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #d4e8ff;
position: relative;
}
/* start tips start-- */
#container .s1 .swiper-slide.cover .arrow-container .tips {
position: absolute;
top: 50%;
/* bottom: 0; */
left: 50%;
transform: translate(-50%, 0);
color: rgba(0, 0, 0, 0.3);
font-size: 14px;
}
#container .s1 .swiper-slide.cover .arrow-container {
position: absolute;
bottom: 0;
left: 0;
/* border: 1px solid red; */
width: 100%;
height: 80px;
}
#container .s1 .swiper-slide.cover .arrow {
position: absolute;
left: 50%;
border-top: 0 solid transparent;
border-left: 0 solid transparent;
/* border-right: 6px solid #93c4fd;
border-bottom: 6px solid #449bff; */
width: 25px;
height: 25px;
transform: rotate(45deg) translate(-65%, 0);
}
#container .s1 .swiper-slide.cover .arrow.arrow1 {
bottom: 0%;
animation: drop 1.2s 0s infinite;
border-right: 6px solid #83b0e4;
border-bottom: 6px solid #3a85db;
width: 25px;
height: 25px;
}
#container .s1 .swiper-slide.cover .arrow.arrow2 {
bottom: 30%;
animation: drop 1.2s 0.1s infinite;
border-right: 6px solid#90afd1;
border-bottom: 6px solid#5593da;
width: 25px;
height: 25px;
}
#container .s1 .swiper-slide.cover .arrow.arrow3 {
bottom: 60%;
animation: drop 1.2s 0.2s infinite;
border-right: 6px solid #adc0d6;
border-bottom: 6px solid #73a3da;
}
@keyframes drop {
0% {
opacity: 1;
}
100% {
bottom: -50%;
opacity: 0;
}
}
/* start tips end-- */
/* public-q */
#container .s1 .swiper-slide.public-q {
background-image: url("../image/O1CN01TaIt8H280ViKy6ZQl_!!918397870.png");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
position: relative;
}
#container .s1 .swiper-slide.public-q .question {
/* border: 1px solid red; */
width: 100%;
height: 45%;
}
#container .s1 .swiper-slide.public-q .question img {
width: 100%;
height: 100%;
object-fit: contain;
}
#container .s1 .swiper-slide.public-q .answer {
/* border: 1px solid red; */
width: 100%;
flex-grow: 1;
}
/* rectangle------------------------------------------------ */
#container .s1 .swiper-slide.public-q .answer.rectangle {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
padding-top: 32px;
}
#container .s1 .swiper-slide.public-q .answer.rectangle div {
display: flex;
justify-content: center;
align-items: center;
border: 2px solid white;
border-radius: 8px;
width: 70%;
height: 50px;
margin: 8px 0;
background-color: #a2d8f0;
color: #39778e;
font-size: 18px;
font-weight: bold;
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
user-select: none;
-webkit-user-select: none;
position: relative;
}
#container .s1 .swiper-slide.public-q .answer.rectangle.text div {
opacity: 0;
}
#container .s1 .swiper-slide.public-q .answer.rectangle.img {}
#container .s1 .swiper-slide.public-q .answer.rectangle.img div {
padding-left: 30%;
justify-content: flex-start;
background-size: contain;
background-position: 5% 0;
background-repeat: no-repeat;
}
#container .s1 .swiper-slide.public-q .answer.rectangle div:active {
/* mix-blend-mode: multiply; */
background-color: #7da1b1;
color: #ffffff;
}
#container .s1 .swiper-slide.public-q .answer.rectangle div.select::before {
content: "";
position: absolute;
top: 0;
right: 16px;
/* border: 1px solid red; */
width: 2px;
height: 100%;
background-color: #57727e;
}
/* square------------------------------------------------ */
#container .s1 .swiper-slide.public-q .answer.square {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: flex-start;
padding-top: 32px;
}
#container .s1 .swiper-slide.public-q .answer.square div {
width: 35vw;
max-width: 130px;
height: 35vw;
max-height: 130px;
margin: 8px;
border-radius: 8px;
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
background-color: #7ecdf4;
background-position: center;
background-size: contain;
background-repeat: no-repeat;
user-select: none;
-webkit-user-select: none;
position: relative;
/* opacity: 0; */
}
#container .s1 .swiper-slide.public-q .answer.square div:active::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.7);
mix-blend-mode: soft-light;
display: block;
box-shadow: unset;
}
#container .s1 .swiper-slide.public-q .answer.square.single {}
#container .s1 .swiper-slide.public-q .answer.square.multi div.select::before {
content: "";
position: absolute;
top: 5px;
right: 5px;
display: block;
width: 10px;
height: 10px;
border-radius: 2px;
background-color: #57727e;
}
/* multi select tips start------------------------------------------------ */
#container .s1 .swiper-slide.public-q .arrow-container .tips {
position: absolute;
top: 50%;
/* bottom: 0; */
left: 50%;
transform: translate(-50%, 0);
color: rgba(0, 0, 0, 0.3);
font-size: 14px;
}
#container .s1 .swiper-slide.public-q .arrow-container {
position: absolute;
bottom: 0;
left: 0;
/* border: 1px solid red; */
width: 100%;
height: 80px;
display: none;
/* opacity: 0; */
}
#container .s1 .swiper-slide.public-q .arrow {
position: absolute;
left: 50%;
border-top: 0 solid transparent;
border-left: 0 solid transparent;
/* border-right: 6px solid #93c4fd;
border-bottom: 6px solid #449bff; */
width: 25px;
height: 25px;
transform: rotate(45deg) translate(-65%, 0);
}
#container .s1 .swiper-slide.public-q .arrow.arrow1 {
bottom: 0%;
animation: drop 1.2s 0s infinite;
border-right: 6px solid #83b0e4;
border-bottom: 6px solid #3a85db;
width: 25px;
height: 25px;
}
#container .s1 .swiper-slide.public-q .arrow.arrow2 {
bottom: 30%;
animation: drop 1.2s 0.1s infinite;
border-right: 6px solid#90afd1;
border-bottom: 6px solid#5593da;
width: 25px;
height: 25px;
}
#container .s1 .swiper-slide.public-q .arrow.arrow3 {
bottom: 60%;
animation: drop 1.2s 0.2s infinite;
border-right: 6px solid #adc0d6;
border-bottom: 6px solid #73a3da;
}
@keyframes drop {
0% {
opacity: 1;
}
100% {
bottom: -50%;
opacity: 0;
}
}
/* multi select tips end------------------------------------------------ */
/* result */
#container .s1 .swiper-slide.result {
display: flex;
flex-direction: column;
}
#container .s1 .swiper-slide.result .top {
width: 100%;
height: 45%;
max-height: 330px;
height: 330px;
background-size: contain;
background-position: top;
background-repeat: no-repeat;
position: relative;
}
#container .s1 .swiper-slide.result .top>p {
position: absolute;
top: 40.5%;
left: 50%;
transform: translate(-50%, 0);
font-weight: bold;
letter-spacing: 2px;
width: fit-content;
}
#container .s1 .swiper-slide.result .bottom {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-items: flex-start;
align-content: center;
}
#container .s1 .swiper-slide.result .bottom .text,
.btns,
.scroll {
width: 100%;
height: fit-content;
margin-top: 24px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#container .s1 .swiper-slide.result .bottom .text p {
font-weight: bold;
line-height: 1.5;
}
#container .s1 .swiper-slide.result .bottom .text p span {
color: red;
}
#container .s1 .swiper-slide.result .bottom .btns {
flex-direction: row;
}
#container .s1 .swiper-slide.result .bottom .btns button {
display: flex;
justify-content: center;
align-items: center;
outline: none;
width: 125px;
height: 45px;
padding-left: 32px;
background-position: 5% 50%;
background-size: 40px;
background-repeat: no-repeat;
background-color: #7ecdf4;
border: none;
border-radius: 8px;
color: white;
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3);
margin: 0 16px;
}
#container .s1 .swiper-slide.result .bottom .btns button[data-v] {
background-image: url(http://www.cwoyt.com/tg/tw/jfty/020/images/3e7703d876744ba3b27668223ec73260.gif);
}
#container .s1 .swiper-slide.result .bottom .btns button[data-l] {
background-image: url(../image/O1CN01941PP6280ViFP8rcr_!!918397870.png);
}
#container .s1 .swiper-slide.result .bottom .scroll {
/* border: 1px solid red; */
}
#container .s1 .swiper-slide.result .bottom .scroll .header {
display: flex;
justify-content: center;
align-items: center;
/* border: 1px solid red; */
background-color: white;
border-radius: 16px;
padding: 2px 12px;
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.5);
}
#container .s1 .swiper-slide.result .bottom .scroll .body {
margin-top: 16px;
border: 1.5px solid black;
border-radius: 4px;
background-color: white;
width: 65%;
height: 120px;
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.3) inset;
padding: 8px;
overflow: hidden;
}
#container .s1 .swiper-slide.result .bottom .scroll .body .swiper-wrapper {}
#container .s1 .swiper-slide.result .bottom .scroll .body .swiper-wrapper .swiper-slide {
display: flex;
justify-content: space-between;
color: rgba(0, 0, 0, 0.8);
font-size: 14px;
}
.body.swiper-container-free-mode>.swiper-wrapper {
-webkit-transition-timing-function: linear;
-o-transition-timing-function: linear;
transition-timing-function: linear;
}