145 lines
3.7 KiB
SCSS
145 lines
3.7 KiB
SCSS
.tempType{
|
|
background-color:#f4f6fe;
|
|
border-radius:20px;
|
|
padding: 4px;
|
|
display: inline-flex;
|
|
width: auto;
|
|
margin-top: 30px;
|
|
a{
|
|
padding:0 14px ;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
color:#3f455b;
|
|
&.active{
|
|
background-color: #fff;
|
|
border-radius:20px;
|
|
font-weight:700;
|
|
color:#333333;
|
|
font-size:15px;
|
|
}
|
|
}
|
|
}
|
|
.tempList{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
padding:25px 0;
|
|
.tempItem{
|
|
width: 23.8%;
|
|
margin-right: 1.6%;
|
|
margin-bottom: 20px;
|
|
min-height: 286px;
|
|
border-radius:8px;
|
|
padding:0 10px;
|
|
position: relative;
|
|
box-shadow:0px 6px 6px rgba(24, 54, 181, 0.04);
|
|
background-color: rgba(24, 54, 181, 0.05);
|
|
border:1px solid #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-size: 100% 100%;
|
|
&:hover:not(:first-child){
|
|
border:1px solid #466aff;
|
|
&::after{
|
|
position: absolute;
|
|
top:-5px;
|
|
left:-5px;
|
|
right:-5px;
|
|
bottom:-5px;
|
|
border:5px solid rgba(24, 54, 181, 0.05);
|
|
content: "";
|
|
border-radius:8px;
|
|
z-index: 1;
|
|
}
|
|
.deltemp{
|
|
color: #000;
|
|
}
|
|
}
|
|
&:nth-child(4n + 2){
|
|
background-image: unset;
|
|
}
|
|
&:nth-child(4n + 3){
|
|
background-image: url(./img/2.png);
|
|
&::after{
|
|
border-color: rgba(192 ,153 ,226,0.15)!important;
|
|
}
|
|
}
|
|
&:nth-child(4n + 4){
|
|
background-image: url(./img/3.png);
|
|
&::after{
|
|
border-color: rgba(142 ,208 ,233,0.15)!important;
|
|
}
|
|
}
|
|
&:nth-child(4n + 5){
|
|
background-image: url(./img/4.png);
|
|
&::after{
|
|
border-color: rgba(239, 189, 113,0.15)!important;
|
|
}
|
|
}
|
|
&:nth-child(4n){
|
|
margin-right: 0px;
|
|
}
|
|
.tempContent{
|
|
flex:1;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
border-radius: 8px;
|
|
padding:5px;
|
|
max-height: 265px;
|
|
overflow-y: hidden;
|
|
.markdown-body{
|
|
background-color: #fcfcfc;
|
|
border-radius: 8px;
|
|
h1,h2,h3,h4,h5,h6{
|
|
font-size: 14px;
|
|
}
|
|
p,ul,ol,li{
|
|
font-size: 12px!important;
|
|
}
|
|
}
|
|
}
|
|
.tempOperate{
|
|
position: absolute;
|
|
z-index: 3;
|
|
width: 100%;
|
|
left: 0px;
|
|
bottom: 0px;
|
|
text-align: center;
|
|
padding:18px;
|
|
border-radius:0px 0px 8px 8px;
|
|
background-color: #fff;
|
|
box-shadow:0px 0px 6px rgba(24, 54, 181, 0.05);
|
|
button{
|
|
margin:0px 20px;
|
|
width: 82px;
|
|
height: 32px;
|
|
line-height: 30px;
|
|
}
|
|
}
|
|
}
|
|
.tempName{
|
|
padding:0 5px;
|
|
text-align: center;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
color:#333333;
|
|
position: relative;
|
|
}
|
|
.deltemp{
|
|
position: absolute;
|
|
right: 15px;
|
|
top:4px;
|
|
z-index: 2;
|
|
color: #999;
|
|
}
|
|
.tempCreateItem{
|
|
align-items: center;
|
|
justify-content: center;
|
|
color:#333333;
|
|
font-size:16px;
|
|
cursor: pointer;
|
|
background-color: #fff;
|
|
&:hover{
|
|
color: #466aff;
|
|
}
|
|
}
|
|
} |