wpfw_ewei_shopv2/plugin/membercard/static/css/common.css
2023-02-14 19:57:32 +08:00

223 lines
5.0 KiB
CSS

.card-item{
width: 100px;
height:60px;
background: #000;
display: inline-block;
margin-right: 18px;
border-radius: 4px;
position: relative;
}
.card-item i{
position: absolute;
font-size: 30px;
color: #fff;
opacity: 0.1;
right:-5px;
bottom: -5px;
}
.card-item.active{
width: 100px;
height: 60px;
border:2px solid #4aa3f7;
}
.card-group-list{
display: none;
}
.card-group-list.in{
display: block;
}
.list-group.none{
display: none;
}
/*卡片式*/
.card-group{
border-top:1px solid #ededed;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-wrap: wrap;
-webkit-flex-wrap: wrap;
}
.card-list-item{
width: 320px;
height: 182px;
border-radius: 10px;
margin-top: 26px;
margin-right: 26px;
position: relative;
overflow: hidden;
box-sizing: border-box;
padding: 11px;
}
.card-style-golden{
background: -webkit-linear-gradient(left, #c1a167 , #e9d5aa);
background: -o-linear-gradient(right, #c1a167 , #e9d5aa);
background: -moz-linear-gradient(right, #c1a167 , #e9d5aa);
background: linear-gradient(to right, #c1a167 , #e9d5aa);
}
.card-style-erythrine{
background: -webkit-linear-gradient(left, #745757 , #966d6d);
background: -o-linear-gradient(right, #745757 , #966d6d);
background: -moz-linear-gradient(right, #745757 , #966d6d);
background: linear-gradient(to right, #745757 , #966d6d);
}
.card-style-gray{
background: -webkit-linear-gradient(left, #434247 , #7a7985);
background: -o-linear-gradient(right, #434247 , #7a7985);
background: -moz-linear-gradient(right, #434247 , #7a7985);
background: linear-gradient(to right, #434247 , #7a7985);
}
.card-style-brown{
background: -webkit-linear-gradient(left, #736e6c , #978c8c);
background: -o-linear-gradient(right, #736e6c , #978c8c);
background: -moz-linear-gradient(right, #736e6c , #978c8c);
background: linear-gradient(to right, #736e6c , #978c8c);
}
.card-style-blue{
background: -webkit-linear-gradient(left, #576074 , #6d7b96);
background: -o-linear-gradient(right, #576074 , #6d7b96);
background: -moz-linear-gradient(right, #576074 , #6d7b96);
background: linear-gradient(to right, #576074 , #6d7b96);
}
.card-style-black{
background: -webkit-linear-gradient(left, #373737 , #4a4a4a);
background: -o-linear-gradient(right, #373737 , #4a4a4a);
background: -moz-linear-gradient(right, #373737 , #4a4a4a);
background: linear-gradient(to right, #373737 , #4a4a4a);
}
.card-list-item .iconbg{
position: absolute;
font-size: 100px;
color: #fff;
opacity: 0.1;
bottom: -14px;
right: -20px;
}
.card-list-item .line{
width: 299px;
height: 160px;
position: absolute;
left: 11px;
top: 11px;
border: 1px solid #000;
opacity: 0.1;
z-index: 1;
}
.card-list-item .status{
position: absolute;
height: 40px;
width: 320px;
left:0;
right:0;
bottom: 0;
z-index: 3;
opacity: 1;
background: rgba(255,255,255,0.2);
}
.status-icon{
float: left;
width: 115px;
height: 40px;
line-height:40px;
color: #fff;
padding-left: 20px;
}
.status-icon i{
margin-right: 6px;
}
.status-btn{
float: right;
line-height:40px;
}
.status-btn{
text-align: center;
line-height:40px;
color: #fff;
font-size: 14px;
padding-right: 20px;
}
.status-btn .item{
width: 42px;
display: inline-block;
cursor: pointer;
}
.card-list-item .content{
width: 299px;
height: 160px;
position: absolute;
left: 11px;
top: 11px;
z-index: 2;
box-sizing: border-box;
padding: 10px 13px;
}
.content-title{
height: 28px;
line-height:28px;
}
.content-title .title-l{
float: left;
color: #fff;
}
.content-title .title-l i{
margin-right: 10px;
}
.content-title .title-r{
float: right;
display: inline-block;
padding: 0 16px;
height: 24px;
line-height:24px;
text-align: center;
background: rgba(50,50,50,0.6);
font-size: 14px;
border-radius: 14px;
color: #a69175;
}
.card-list-item .content .price{
text-align: center;
font-size: 30px;
color: #fff;
font-weight: bold;
line-height: 1;
/*margin-top: 26px;*/
}
.card-list-item .content .date{
text-align: center;
font-size: 14px;
color: #fff;
line-height: 1;
margin-top: 10px;
}
.card-list-item .content .equity{
text-align: center;
font-size: 12px;
color: #fff;
line-height: 1;
margin-top: 15px;
}
.card-list-item .paused{
width: 320px;
height: 142px;
position: absolute;
top:0;
left:0;
right: 0;
z-index: 3;
background: rgba(255,255,255,0.6);
}
.card-list-item .paused .text{
width: 60px;
height: 60px;
color: #fff;
font-size: 14px;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
background: rgba(0,0,0,0.9);
margin: 46px auto 0;
text-align: center;
line-height:60px;
}