159 lines
4.0 KiB
SCSS
159 lines
4.0 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
.layout-content-box {
|
|
z-index: 1;
|
|
}
|
|
@keyframes circleboxroll {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: rotate(160deg);
|
|
}
|
|
100% {
|
|
transform: translateY(60vh) rotate(320deg);
|
|
}
|
|
}
|
|
.circlebox{
|
|
&:before{
|
|
content: "";
|
|
position: fixed;
|
|
opacity: .1;
|
|
// background: #afc7e0;
|
|
background: radial-gradient(circle at 70% 80%, #66a9e2b3, transparent 60%), radial-gradient(circle at 5% 5%, #80b5ff, transparent 40%), radial-gradient(circle at 50% 50%, #3c78ff4d, transparent 70%), linear-gradient(135deg, #54a1e1 0%, #00437c 60%, #fb8f72 100%);
|
|
border-radius: 100%;
|
|
z-index: 0;
|
|
clip-path: polygon(25% 5.77%, 75% 5.77%, 100% 50%, 75% 94.23%, 25% 94.23%, 0% 50%);
|
|
}
|
|
// &:after{
|
|
// content: "";
|
|
// position: fixed;
|
|
// opacity: .15;
|
|
// background: #00356a61;
|
|
// border-radius: 100%;
|
|
// z-index: 0;
|
|
// }
|
|
@media(max-width:768px){
|
|
&:before{
|
|
top: -20vw;
|
|
right: -35vw;
|
|
width: 70vw;
|
|
height: 80vw;
|
|
}
|
|
&:after{
|
|
width: 40vw;
|
|
height: 40vw;
|
|
bottom: 0;
|
|
left: -8vw;
|
|
}
|
|
}
|
|
@media(min-width:769px){
|
|
&:before{
|
|
top: 0;
|
|
right: -16vw;
|
|
width: 30vw;
|
|
height: 30vw;
|
|
transform-origin: center center;
|
|
animation: circleboxroll 10s linear forwards;
|
|
animation-timeline: scroll();
|
|
}
|
|
&:after{
|
|
bottom: 0;
|
|
left: -8vw;
|
|
width: 27vw;
|
|
height: 27vw;
|
|
}
|
|
}
|
|
|
|
}
|
|
.background-dotball{
|
|
-webkit-transform: translate(36%, -50%);
|
|
transform: translate(36%, -50%);
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 0;
|
|
&:before{
|
|
width: 500px;
|
|
height: 500px;
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -300px;
|
|
right: -200px;
|
|
display: block;
|
|
background: url(/assets/dotballwhite.png) no-repeat top left;
|
|
-webkit-transform: translateY(50%);
|
|
transform: translateY(50%);
|
|
background-size: cover;
|
|
}
|
|
}
|
|
.page-index__background-ball{
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 57.98611%;
|
|
-webkit-transform: translate(-50%, 0%);
|
|
transform: translate(-50%, 0%);
|
|
.page-index__background-ball-img{
|
|
padding-bottom: 100%;
|
|
width: 100%;
|
|
border: solid 1px #eaf6fd;
|
|
border-radius: 50%;
|
|
}
|
|
}
|
|
.background-ball2{
|
|
position: absolute;
|
|
width: 50%;
|
|
transform: translate(0, 0);
|
|
transition: transform 0.6s ease-out; /* 平滑回原位 */
|
|
will-change: transform;
|
|
bottom:0;
|
|
&:before{
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
display: block;
|
|
padding-bottom: 100%;
|
|
width: 100%;
|
|
background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 10% 10%, #bddbf8, transparent 25%), #dbdee280;
|
|
border-radius: 50%;
|
|
-webkit-transform: translate(150%,0);
|
|
transform:translate(150%,0);
|
|
}
|
|
}
|
|
.background-ball{
|
|
position: absolute;
|
|
width: 100%;
|
|
transform: translate(0, 0);
|
|
transition: transform 0.6s ease-out; /* 平滑回原位 */
|
|
will-change: transform;
|
|
top:0;
|
|
&:before{
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: block;
|
|
padding-bottom: 100%;
|
|
width: 100%;
|
|
opacity: .04;
|
|
background:url(/assets/banner-deco2.svg) no-repeat;
|
|
// background-color: #eaf6fd;
|
|
// background: radial-gradient(circle at 60% 90%, #eaf6fd, transparent 60%), radial-gradient(circle at 20px 20px, #bddbf8, transparent 25%), #dbdee240;
|
|
// border-radius: 50%;
|
|
-webkit-transform: translate(-50%, 85%);
|
|
transform: translate(-50%, 85%);
|
|
// clip-path: polygon(25% 5.77%, 75% 5.77%, 100% 50%, 75% 94.23%, 25% 94.23%, 0% 50%);
|
|
}
|
|
|
|
}
|
|
.w-annc__item{
|
|
.card{
|
|
width: 100%;
|
|
--bs-card-bg: transparent;
|
|
}
|
|
.card:before{
|
|
background: radial-gradient(circle at 60% 90%, #dea797, transparent 60%), radial-gradient(circle at 10px 10px, #eb8467, transparent 25%), #ec6641!important;
|
|
}
|
|
} |