Skip to content

Commit 3631bc2

Browse files
committed
update style on footer
1 parent 692d36e commit 3631bc2

File tree

4 files changed

+203
-151
lines changed

4 files changed

+203
-151
lines changed

site/theme/en-US.js

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@ module.exports = {
3535
'app.home.docs': 'documentation',
3636
'app.home.faq': 'faq',
3737
'app.home.ask': 'ask questions',
38-
'app.footer.repo': 'Repository',
38+
'app.footer.repo': 'GitHub Repository',
3939
'app.footer.awesome': 'Awesome Ant Design',
40-
'app.footer.customize-theme': 'Customize Theme',
40+
'app.footer.chinamirror': 'China Mirror 🇨🇳',
41+
'app.footer.primary-color-changed': 'Change primary color successfully!',
4142
'app.footer.scaffold': 'Scaffold',
43+
'app.footer.kitchen': 'Sketch Toolkit',
4244
'app.footer.scaffolds': 'Scaffold Market',
4345
'app.footer.dev-tools': 'Developer Tools',
4446
'app.footer.dva': 'Framework',
45-
'app.footer.links': 'Links',
46-
'app.footer.mobile': 'Mobile UI',
47+
'app.footer.resources': 'Resources',
4748
'app.footer.data-vis': 'Data Visualization',
48-
'app.footer.ant-design': 'UI Design Language',
4949
'app.footer.eggjs': 'Enterprise Node Framework',
50-
'app.footer.encloseio': 'Node.js Compiler',
5150
'app.footer.motion': 'Motion Solution',
5251
'app.footer.antd-library': 'Axure library',
5352
'app.footer.design-platform': 'Ant Financial Design Platform',
5453
'app.footer.antux': 'Sitemap Template',
5554
'app.footer.community': 'Community',
55+
'app.footer.help': 'Help',
5656
'app.footer.change-log': 'Change Log',
5757
'app.footer.faq': 'FAQ',
5858
'app.footer.feedback': 'Feedback',
@@ -62,14 +62,20 @@ module.exports = {
6262
'app.footer.discuss-cn': 'Chat Room (中文)',
6363
'app.footer.bug-report': 'Bug Report',
6464
'app.footer.issues': 'Issues',
65-
'app.footer.work-with-us': 'Work with Us',
6665
'app.footer.version': 'Version: ',
6766
'app.footer.author': 'Created by AFX',
68-
'app.footer.resources': 'Resource',
67+
'app.footer.work_with_us': 'Work with Us',
6968
'app.footer.more-product': 'More Products',
70-
'app.footer.privacy': 'Privacy Policy',
71-
'app.footer.commitment': 'Our Commitment to Customer Protection',
72-
'app.footer.company': 'Ant Financial',
69+
'app.footer.company': 'AFX',
70+
'app.footer.ant-design': 'UI Design Language',
71+
'app.footer.yuque': 'YuQue',
72+
'app.footer.yuque.slogan': 'Write your document as a team',
73+
'app.footer.fengdie': 'FengDie',
74+
'app.footer.fengdie.slogan': 'Mobile web app builder',
75+
'app.footer.zhihu': 'Zhihu',
76+
'app.footer.zhihu.xtech': 'Experience Cloud Blog',
77+
'app.footer.seeconf': 'Seeking Experience & Engineering Conference',
78+
'app.footer.xcloud': 'Ant Experience Cloud',
7379
'app.publish.title': 'Ant Desgin [email protected] has been released! 🎉 🎉 🎉',
7480
'app.publish.greeting': 'Hello, ',
7581
'app.publish.intro': 'has been released',

site/theme/static/footer.less

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,30 @@
11
@import './colors';
22

3-
@padding-space: 114px;
4-
5-
footer.dark {
6-
background-color: #000;
7-
color: rgba(255, 255, 255, 0.65);
8-
a {
9-
color: #fff;
10-
}
11-
h2 {
12-
color: rgba(255, 255, 255, 1);
13-
& > span {
14-
color: rgba(255, 255, 255, 1);
15-
}
16-
}
17-
.bottom-bar {
18-
border-top: 1px solid rgba(255, 255, 255, 0.25);
19-
overflow: hidden;
20-
}
21-
}
3+
@padding-space: 144px;
224

235
footer {
24-
border-top: 1px solid @border-color;
256
clear: both;
26-
font-size: 12px;
27-
background: #fff;
7+
font-size: 14px;
8+
background-color: #000;
289
position: relative;
2910
z-index: 100;
30-
color: @site-text-color;
11+
color: rgba(255, 255, 255, 0.65);
3112
box-shadow: 0 1000px 0 1000px #fff;
3213
.ant-row {
3314
text-align: center;
3415
.footer-center {
3516
display: inline-block;
3617
text-align: left;
3718
> h2 {
38-
font-size: 14px;
19+
font-size: 16px;
3920
margin: 0 auto 24px;
4021
font-weight: 500;
4122
position: relative;
23+
24+
> .title-icon {
25+
width: 27px;
26+
margin-right: 16px;
27+
}
4228
> .anticon {
4329
font-size: 16px;
4430
position: absolute;
@@ -54,33 +40,40 @@ footer {
5440
}
5541
.footer-wrap {
5642
position: relative;
57-
padding: 86px @padding-space 70px @padding-space;
43+
padding: 86px @padding-space 93px @padding-space;
44+
border-bottom: 1px solid rgba(255, 255, 255, 0.25);
5845
}
5946
.bottom-bar {
60-
border-top: 1px solid @border-color;
61-
text-align: right;
62-
padding: 20px @padding-space;
47+
text-align: center;
48+
padding: 16px @padding-space;
6349
margin: 0;
64-
line-height: 24px;
50+
line-height: 32px;
51+
overflow: hidden;
52+
font-family: Avenir, @font-family;
53+
font-size: 16px;
54+
font-variant: tabular-nums;
6555
a {
6656
color: rgba(255, 255, 255, 0.65);
57+
margin-left: 4px;
6758
&:hover {
6859
color: #fff;
6960
}
7061
}
7162
.translate-button {
7263
text-align: left;
73-
width: 200px;
74-
margin: 0 auto;
64+
}
65+
.heart {
66+
color: #f73f51;
67+
font-size: 22px;
7568
}
7669
}
77-
.footer-logo {
78-
position: relative;
79-
top: -2px;
70+
a {
71+
color: rgba(255, 255, 255, 0.9);
8072
}
81-
.footer-flag {
82-
position: relative;
83-
top: -4px;
84-
margin-right: 8px;
73+
h2 {
74+
color: rgba(255, 255, 255, 1);
75+
& > span {
76+
color: rgba(255, 255, 255, 1);
77+
}
8578
}
8679
}

0 commit comments

Comments
 (0)