forgeplus-react/src/forge/Information/Pages/custom/index.less

626 lines
17 KiB
Plaintext

.customPublic{
.project-cate-title {
font-family: "DouyinSans";
font-weight: 700;
font-size: 36px;
text-align: center;
padding:80px 0 20px;
}
}
// 专区会员定制部分
.customvipBox{
font-family: 'alibaba PuHuiTi';
background-image: url(../../img/custom/bc.png);
background-size: 100%;
.statistics-cards-bc{
background-image: url(../../img/vipTitleBc.png);
background-size: 100% 124%;
padding: 25px 0;
background-position-y: bottom;
}
.statistics-cards{
width: 80%;
margin: 0 auto;
text-align: center;
border: 2px solid #ffffff;
border-radius: 15px;
backdrop-filter: blur(10px);
padding: 30px 0;
color:#091221;
font-size:15px;
}
.applyCards{
text-align: center;
margin-bottom: 45px;
a.glow-button{
width: 162px;
}
.tips{
color:#091221;
}
}
.vip_list{
margin-top: 15px;
padding-bottom: 80px;
.vip_list_card{
margin-top: 30px;
background-color: #fff;
border-radius: 14px 14px 0px 0px;
.card_title{
border-radius: 14px 14px 0px 0px;
background-image: url(../../img/custom/cardHeadbc.png);
background-size: 100% 100%;
padding:35px 30px;
font-family:Alibaba PuHuiTi;
color:#091221;
font-size:24px;
display: flex;
align-items: center;
height: 93px;
}
.card_desc{
background:rgba(9, 18, 33, 0.04);
border-radius:4px;
margin:20px 30px;
padding:20px 24px;
font-size: 15px;
color:#091221;
}
.card_ul{
padding-bottom: 30px;
max-height: 855px;
overflow-y: auto;
.card_u_li{
padding:25px 40px 0px;
cursor: pointer;
&:hover{
background:linear-gradient(271.98deg,rgba(10, 145, 255, 0.08) 0.05%,rgba(43, 103, 238, 0.08) 55.23%,rgba(133, 110, 250, 0.08) 99.86%);
.card_tag{
opacity: 0;
transition: .3s;
}
.card_u_wrap{
.card_u_up{
.hovericon{
color: #05101a!important;
width: 15px;
top: 2px;
left: 0px;
opacity: 1;
transition: top 0.5s ease, left 0.5s ease, opacity 0.3s ease 0.1s,width .3s ease .1s;
}
}
}
}
.card_u_wrap{
display: flex;
>a>img{
width: 100px;
height: 100px;
border-radius: 50%;
margin-right: 22px;
margin-bottom: 15px;
}
.card_u_info{
border-bottom: 1px dashed rgba(76, 88, 118, .5);
flex: 1;
}
.card_u_up{
display: flex;
align-items: center;
.hovericon{
opacity: 0;
transition: top 0.5s ease, left 0.5s ease;
pointer-events: none;
position: relative;
top: 18px;
left: -18px;
width: 0px;
}
.card_name{
color:#091221;
font-size:18px;
}
.card_tag{
background-image: url(../../img/custom/schoolbc.png);
background-size: 100% 100%;
padding:0px 10px;
color:#ffffff;
font-size:12px;
text-align:center;
font-family: "DouyinSans";
height: 21px;
line-height: 20px;
display: block;
margin-top: 2px;
margin-left: 10px;
}
}
.card_u_down{
margin-top: 20px;
color:rgba(9, 18, 33,.8);
font-size:15px;
}
}
}
}
}
}
}
// 新闻定制部分
.customNews{
.customNews_top{
background-image: url(../../img/custom/1.png);
background-size: 100% 100%;
}
.main_card_item{
flex: 1;
display: flex;
overflow: hidden;
.bigimgBox{
width: 100%;
overflow: hidden;
border-radius: 12px;
margin-bottom: 20px;
}
.imgBox{
width: 280px;
height: 170px;
overflow: hidden;
margin-left: 40px;
border-radius: 12px;
}
img{
width: 100%;
height: 100%;
transition: .8s;
object-fit: cover;
}
&:hover{
img{
transform: scale(1.2);
}
.main_card_item_info{
a:hover:has(.icon-jiantou21){
color: inherit;
}
.icon-jiantou21 {
color: inherit;
top: -2px;
left: 0px;
opacity: 1;
transition: top 0.5s ease, left 0.5s ease, opacity 0.3s ease 0.1s;
}
}
}
.main_card_item_info{
flex: 1;
overflow: hidden;
.icon-jiantou21 {
opacity: 0;
transition: top 0.5s ease, left 0.5s ease;
pointer-events: none;
position: relative;
top: 18px;
left: -18px;
}
}
.main_card_item_btn{
display: inline-block;
width: 100%;
border-radius: 8px;
color:#091221;
text-align: center;
height: 39px;
line-height: 39px;
margin-top: 40px;
background:linear-gradient(271.9deg,rgba(10, 145, 255, 0.12) 0.04%,rgba(43, 103, 238, 0.12) 55.24%,rgba(133, 110, 250, 0.12) 99.87%);
position: relative;
overflow: hidden;
z-index: 0;
&::before{
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(120deg, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, .5) 50%, hsla(0, 0%, 100%, 0));
z-index: -1;
}
&:hover {
background-color: #091221;
color: #fff;
.iconfont {
display: inline-block;
animation: arrow-move 1.2s ease-in-out infinite;
animation-delay: 0.8s;
}
&::before{
left: 100%;
transition: left 1s ease-in-out;
transition-delay: .3s;
}
}
}
}
.customMenus{
border-bottom: none;
background: transparent;
justify-content: center;
display: flex;
>li{
background-color: rgba(9, 18, 33,0.03);
height:42px;
line-height:42px;
border-radius:100px;
text-align: center;
margin:0 10px!important;
&:hover{
background-color: rgba(9, 18, 33,0.05);
border:none;
color: #091221 !important;
a{font-weight:500;}
}
&.active{
background-color: #091221;
a{color: #fff;}
}
a{
font-family:Alibaba PuHuiTi;
color:#091221;
font-size:15px;
display: flex;
justify-content: center;
align-items: center;
padding:0 28px;
img{
margin-right: 5px;
}
}
}
}
.customNewItem{
padding-top: 60px;
}
.maintitle{
margin-bottom: 45px;
padding-top: 80px;
justify-content: space-between;
align-items: center;
display: flex;
&>span{
display: flex;
align-items: center;
.project-cate-title{
padding:0px;
font-weight:500;
color:#000000;
font-size:24px;
}
.subTitle{
font-size:22px;
margin-left: 12px;
}
}
&>a{
color:#000000;
font-size:16px;
position: relative;
display: block;
&:hover{
i{
display: inline-block;
animation: arrow-move 1.2s ease-in-out infinite;
}
}
}
}
.main_card_item_white{
.sub_name, .sub_desc, .sub_info span, .iconfont:not(.icon-zuojiantou1){
color:#ffffff;
}
}
.main_card_item_whiteBk{
background:#ffffff;
border-radius:15px;
padding: 30px;
border: 1px solid white;
&:hover{
background-image: url('../../img/custom/newBk3.png');
background-size: 100% 100%;
}
}
.sub_name{
color:#091221;
font-size:18px;
font-weight:500;
font-family:Alibaba PuHuiTi;
height:25px;
line-height:25px;
display: block;
word-wrap: break-word;
}
.sub_desc{
opacity:80%;
line-height:26px;
height:52px;
font-family:Alibaba PuHuiTi;
color:#091221;
font-size:15px;
margin: 20px 0;
}
.sub_info{
display: flex;
align-items: center;
img{
margin-right: 5px;
}
span{
margin-right: 15px;
color:#091221;
opacity:80%;
font-size:13px;
}
.iconfont{
opacity:80%;
}
}
}
.styleFirstBox{
background: url(../../img/custom/2.png) no-repeat;
background-size: 100% 100%;
padding-bottom: 90px;
}
.styleFirst{
display: flex;
.main_card_item:first-of-type{
.bigimgBox{
height: 426px;
}
}
.styleFirst_Right{
width: 50%;
margin-left: 60px;
.main_card_item{
margin-bottom: 40px;
.main_card_item_info{
border-bottom:1px dashed rgba(76, 88, 118, .5);
}
}
}
}
.styleSecondBox{
background: url(../../img/news/s_bc.png) no-repeat;
background-size: 100% 100%;
padding-bottom: 90px;
.styleSecond{
display: flex;
.styleSecond_left{
background-image: url('../../img/custom/newBk1.png');
background-size: 100% 100%;
border-radius:15px;
width: 51%;
padding:30px;
box-sizing: border-box;
margin-right: 20px;
color: white;
flex-shrink: 0;
.bigimgBox{
margin-top: 20px;
}
.main_card_item_btn{
background:#ffffff;
&:hover{
background: #091221;
}
}
}
.styleSecond_right{
display: flex;
flex-wrap: wrap;
overflow: hidden;
.imgBox{
width: 372px;
height: 217px;
margin-left: 27px;
}
.styleSecond_right_bottom{
width: 100%;
margin-top: 20px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
.imgBox{
display: none;
}
.main_card_item:only-child {
grid-column: span 2;
.imgBox{
display: inline-block;
}
}
}
}
.main_card_item_btn{
width: 120px;
transition-duration: 0.5s;
}
.bigimgBox{
height: 280px;
}
}
}
.styleThreeBox{
background-image: url('../../img/custom/new_3_bk.png');
background-size: 100% 100%;
padding-bottom: 90px;
.styleThree{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
}
.styleFourBox{
background-image: url('../../img/custom/new_4_bk.png');
background-size: 100% 100%;
padding-bottom: 90px;
.styleFour{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.main_card_item_white{
grid-column: span 2;
background-image: url('../../img/custom/newBk4.png');
background-size: 100% 100%;
padding: 49px 60px 49px 49px;
border-radius:15px;
.main_card_item_btn{
width: 120px;
background:#ffffff;
transition-duration: 0.5s;
}
.imgBoxBg{
width:372px;
height:217px;
top: -30px;
background: rgba(255, 255, 255, 0.3);
backdrop-filter:blur(7.65px);
border-radius:15px;
margin-left: 40px;
}
.imgBox{
width:372px;
height:217px;
margin-left: 30px;
margin-top: 30px;
}
}
}
.styleFiveBox{
background-image: url('../../img/custom/new_5_bk.png');
background-size: 100% 100%;
padding-bottom: 90px;
.three_cols, .two_cols{
display: grid;
gap: 20px;
}
.three_cols{
grid-template-columns: repeat(3, 1fr);
margin-bottom: 20px;
}
.two_cols{
grid-template-columns: repeat(2, 1fr);
}
}
.customNews_bottom_box{
background-image: url('../../img/custom/new_6_bk.png');
background-size: 100% 100%;
padding-bottom: 90px;
padding-top: 98px;
.customNews_bottom{
display: grid;
gap: 20px;
grid-template-columns: repeat(2, 1fr);
}
.maintitle{
padding: 37px 30px;
background-image: url('../../img/custom/titleBk2.png');
background-size: 100% 100%;
margin-bottom: 15px;
}
.customNews_bottom_item{
background:#ffffff;
// border-radius:0px 0px 15px 15px;
border-radius: 15px;
overflow: hidden;
box-shadow:0px 3px 12px rgba(130, 132, 164, 0.05);
padding-bottom: 25px;
}
.customNews_bottom_item:first-of-type{
.maintitle{
background-image: url('../../img/custom/titleBk1.png');
}
}
.main_card_item{
margin: 0 30px;
&:hover{
background:linear-gradient(275.01deg,rgba(10, 145, 255, 0.08) 0.3%,rgba(43, 103, 238, 0.08) 54.94%,rgba(133, 110, 250, 0.08) 99.13%);
border-radius:15px;
}
}
.main_card_item_info{
padding: 20px 15px;
}
.sub_desc{
margin: 10px 0;
}
.sub_info{
padding-bottom: 10px;
border-bottom: 1px dashed rgba(76, 88, 118, 0.5);
}
.none_panels{
margin-top: 130px;
}
}
.docListBox{
background-image: url('../../img/custom/4.png');
background-size: 100% 100%;
padding-top: 56px;
padding-bottom: 60px;
.main_card_item{
margin-bottom: 25px;
.imgBox{
margin: 0 30px 0 0;
}
}
.docListGrid{
display: grid;
gap: 20px;
grid-template-columns: repeat(2, 1fr);
}
}
@keyframes arrow-move {
0%, 100% { transform: translateX(0); }
50% { transform: translateX(4px); }
}
// 视图切换按钮
.viewModeSwitch {
display: inline-flex;
margin-top: 35px;
background:rgba(255, 255, 255, 0.21);
border:1px solid;
border-color:#ffffff;
border-radius:19px;
padding: 4px;
.viewModeItem {
padding: 1px 17px;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
color:#091221;
transition: all 0.3s ease;
opacity: 0.8;
&.active {
background:#ffffff;
border-radius:15px;
font-weight: 500;
opacity: 1;
}
}
}