mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 03:54:28 +08:00
36bcaaef85
* chore: use varaible.less * chore: basic primary varaible * chore: Move to variable * chore: align active color * chore: global fix of css variable * chore: primary colors * chore: button danger * chore: btn default error color * chore: button series * chore: More examples * chore: More components * chore: Form demo * chore: form style * fix: Tag & Alert variable * chore: update footer * chore: rm tmp code * chore: transfer * fix: picker column active color * chore: Adjust active bg color * chore: table hover color * chore: all css variables * chore: Global using variables * chore: Test case * chore: Update test logic * chore: back of default less * chore: entry of site use proxy style * chore: update entry * chore: split of variables * refactor: quick dist speed * fix: site use variable version * chore: Update less config * chore: add mv script * chore: Update repalcement script * chore: Add inject variables * chore: Update script * fix: script path * chore: Move to component instead * chore: fix condition * chore: update config * chore: Update in less transform * chore: Modify logic * chore: change to variables * chore: Update name * fix: script name * chore: do inject * revert: back of path * chore: 2 way of generate * bump tools * chore: Add auto replacement script * chore: auto genrate less file * chore: fix test * test: More test case * chore: Update limit config * test: coverage * docs: Update doc
137 lines
2.3 KiB
Plaintext
137 lines
2.3 KiB
Plaintext
@import (reference) '../../../../../components/style/themes/variable.less';
|
|
|
|
@home-color: #0170fe;
|
|
|
|
.home-banner {
|
|
position: relative;
|
|
height: 512px;
|
|
overflow: hidden;
|
|
// background: radial-gradient(rgba(255, 255, 255, 0.5), rgba(235, 245, 255, 0.58)),
|
|
// linear-gradient(150deg, #fbfcfd, #f8fcff);
|
|
background: url(https://gw.alipayobjects.com/zos/basement_prod/a8cf2dfe-ff6a-4a2e-ab73-f72dced0df99.svg);
|
|
background-size: cover;
|
|
|
|
&-holder {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin-top: 160px;
|
|
}
|
|
|
|
&-content {
|
|
margin: 0 auto;
|
|
padding: 0 16px;
|
|
font-size: 14px;
|
|
text-align: center;
|
|
|
|
p {
|
|
margin: 16px 0 0;
|
|
font-weight: lighter;
|
|
}
|
|
|
|
.banner-video {
|
|
display: none;
|
|
margin: 20px auto 0;
|
|
color: @home-color;
|
|
}
|
|
|
|
.banner-qr {
|
|
margin: 8px auto 0;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
|
|
a {
|
|
color: #0170fe;
|
|
}
|
|
|
|
img {
|
|
display: inline-block;
|
|
width: 18px;
|
|
margin-right: 8px;
|
|
vertical-align: text-bottom;
|
|
.rtl & {
|
|
margin-right: 0;
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-operations {
|
|
margin-top: 72px;
|
|
white-space: nowrap;
|
|
|
|
a {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
button.ant-btn {
|
|
height: auto;
|
|
padding: 8px 24px;
|
|
color: @home-color;
|
|
font-size: 14px;
|
|
border-color: @home-color;
|
|
|
|
&:hover {
|
|
color: tint(@home-color, 20%);
|
|
border-color: tint(@home-color, 20%);
|
|
}
|
|
|
|
&.ant-btn-primary {
|
|
color: #fff;
|
|
background: @home-color;
|
|
|
|
&:hover {
|
|
background-color: tint(@home-color, 20%);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.banner-qr-code {
|
|
.ant-popover-inner-content {
|
|
padding: 12px 12px;
|
|
}
|
|
|
|
img {
|
|
width: 136px;
|
|
height: 136px;
|
|
}
|
|
|
|
p {
|
|
margin: 8px 0 0 0;
|
|
color: #314659;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
.home-banner {
|
|
height: 448px;
|
|
|
|
&-holder {
|
|
margin-top: 130px;
|
|
}
|
|
|
|
&-content {
|
|
font-size: 16px;
|
|
|
|
p {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.video {
|
|
margin: 8px auto;
|
|
}
|
|
|
|
&-operations {
|
|
margin-top: 40px;
|
|
|
|
button.ant-btn {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|