2022-07-05 21:55:21 +08:00
|
|
|
@import (reference) '../../../style/themes/index.less';
|
2019-12-26 15:27:52 +08:00
|
|
|
|
|
|
|
.design-card {
|
|
|
|
position: relative;
|
|
|
|
min-height: 278px;
|
|
|
|
padding: 32px 40px;
|
|
|
|
color: #697b8c;
|
|
|
|
line-height: 2;
|
|
|
|
background: rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
|
&.main-card {
|
2021-10-22 13:35:36 +08:00
|
|
|
background-image: url('https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*i1EySrFVZvAAAAAAAAAAAABkARQnAQ');
|
2019-12-26 15:27:52 +08:00
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
color: #0d1a26;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #2f54eb;
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-card-detail {
|
2020-04-26 17:53:08 +08:00
|
|
|
display: block;
|
|
|
|
margin-top: 12px;
|
2019-12-26 15:27:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.design-values {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
display: none;
|
|
|
|
width: 56px;
|
|
|
|
height: 56px;
|
|
|
|
margin: 20px auto 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 18px;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sub-card {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.card-info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 40px 0 32px 40px;
|
|
|
|
|
2020-01-03 15:20:10 +08:00
|
|
|
.ant-row-rtl & {
|
|
|
|
padding: 40px 40px 32px 0;
|
|
|
|
}
|
|
|
|
|
2019-12-26 15:27:52 +08:00
|
|
|
ul {
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #2f54eb;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-mini-panel {
|
2020-01-02 20:30:06 +08:00
|
|
|
&:hover {
|
2020-02-27 10:53:30 +08:00
|
|
|
box-shadow: @shadow-2;
|
2020-01-02 20:30:06 +08:00
|
|
|
}
|
|
|
|
|
2019-12-26 15:27:52 +08:00
|
|
|
.ant-card-meta-title {
|
|
|
|
color: #0d1a26;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-card-body {
|
2021-10-22 13:35:36 +08:00
|
|
|
padding: 16px 20px 20px;
|
2019-12-26 15:27:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.ant-card-meta-description {
|
|
|
|
color: #697b8c;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
.design-card {
|
2019-12-28 11:57:41 +08:00
|
|
|
&.main-card {
|
|
|
|
padding-right: 0;
|
2020-01-03 15:20:10 +08:00
|
|
|
|
|
|
|
.ant-row-rtl & {
|
|
|
|
padding-right: 40px;
|
2020-01-03 15:57:57 +08:00
|
|
|
padding-left: 0;
|
2020-01-03 15:20:10 +08:00
|
|
|
}
|
2019-12-28 11:57:41 +08:00
|
|
|
}
|
|
|
|
|
2019-12-26 15:27:52 +08:00
|
|
|
&.sub-card {
|
|
|
|
background-image: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: @screen-sm-min) {
|
|
|
|
.design-card {
|
|
|
|
height: 478px;
|
|
|
|
padding: 24px 16px;
|
|
|
|
|
|
|
|
&.main-card {
|
|
|
|
height: auto;
|
|
|
|
padding-bottom: 16px;
|
2021-10-22 13:35:36 +08:00
|
|
|
background-image: url('https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*a8u5Q4QIJzcAAAAAAAAAAABkARQnAQ');
|
2019-12-26 15:27:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
h3.ant-typography {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-card-detail {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
margin-top: 12px;
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-values {
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.sub-card {
|
|
|
|
padding: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
background-repeat: no-repeat !important;
|
|
|
|
background-position: left 50% bottom 0% !important;
|
|
|
|
background-size: contain !important;
|
|
|
|
|
|
|
|
h3.ant-typography {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.card-info {
|
|
|
|
padding: 24px 16px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-card-img-col {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.design-mini-panels {
|
|
|
|
margin-top: -23px !important;
|
|
|
|
|
|
|
|
.design-mini-panel {
|
|
|
|
.ant-card-body {
|
|
|
|
padding: 16px 16px 20px;
|
|
|
|
|
|
|
|
.ant-card-meta-title {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-28 11:57:41 +08:00
|
|
|
|
|
|
|
html.en-us {
|
|
|
|
.design-card.main-card {
|
|
|
|
line-height: 22px;
|
|
|
|
}
|
|
|
|
}
|