Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
16d768d1
Commit
16d768d1
authored
Oct 23, 2017
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed design of result & user page
parent
3390281a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
src/components/Result/index.less
src/components/Result/index.less
+7
-6
src/layouts/UserLayout.less
src/layouts/UserLayout.less
+1
-1
src/routes/User/Login.js
src/routes/User/Login.js
+1
-1
src/routes/User/Login.less
src/routes/User/Login.less
+7
-0
No files found.
src/components/Result/index.less
View file @
16d768d1
...
...
@@ -6,9 +6,9 @@
margin: 0 auto;
.icon {
font-size:
72
px;
line-height:
72
px;
margin-bottom:
24
px;
font-size:
64
px;
line-height:
64
px;
margin-bottom:
32
px;
& > .success {
color: @success-color;
...
...
@@ -20,15 +20,16 @@
}
.title {
font-size: 2
4
px;
font-size: 2
0
px;
color: @heading-color;
font-weight: 500;
line-height:
32
px;
line-height:
28
px;
margin-bottom: 8px;
}
.description {
font-size: 14px;
line-height: 22px;
color: @text-color-secondary;
margin-bottom: 16px;
}
...
...
@@ -42,7 +43,7 @@
}
.actions {
margin-top:
32
px;
margin-top:
40
px;
button:not(:last-child) {
margin-right: 8px;
...
...
src/layouts/UserLayout.less
View file @
16d768d1
...
...
@@ -33,7 +33,7 @@
.title {
font-size: 33px;
color: @heading-color;
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-family:
'Myriad Pro Semibold',
Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
position: relative;
top: -2px;
}
...
...
src/routes/User/Login.js
View file @
16d768d1
...
...
@@ -78,7 +78,7 @@ export default class Login extends Component {
return
(
<
div
className
=
{
styles
.
main
}
>
<
Form
onSubmit
=
{
this
.
handleSubmit
}
>
<
Tabs
className
=
{
styles
.
tabs
}
activeKey
=
{
type
}
onChange
=
{
this
.
onSwitch
}
>
<
Tabs
animated
=
{
false
}
className
=
{
styles
.
tabs
}
activeKey
=
{
type
}
onChange
=
{
this
.
onSwitch
}
>
<
TabPane
tab
=
"
账ζ·ε―η η»ε½
"
key
=
"
account
"
>
{
login
.
status
===
'
error
'
&&
...
...
src/routes/User/Login.less
View file @
16d768d1
...
...
@@ -7,6 +7,12 @@
.tabs {
padding: 0 2px;
margin: 0 -2px;
:global {
.ant-tabs-tab {
font-size: 16px;
line-height: 24px;
}
}
}
:global {
...
...
@@ -82,6 +88,7 @@
.other {
text-align: left;
margin-top: 24px;
line-height: 22px;
.register {
float: right;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment