Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
22e7a755
Commit
22e7a755
authored
Sep 08, 2016
by
baiyaaaaa
Committed by
GitHub
Sep 08, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #27 from baiyaaaaa/master
docs update
parents
9caa78bd
85160822
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
34 additions
and
14 deletions
+34
-14
examples/app.vue
examples/app.vue
+1
-0
examples/assets/images/zhinan.png
examples/assets/images/zhinan.png
+0
-0
examples/assets/images/zujian.png
examples/assets/images/zujian.png
+0
-0
examples/components/header.vue
examples/components/header.vue
+1
-1
examples/components/side-nav.vue
examples/components/side-nav.vue
+24
-9
examples/docs/typography.md
examples/docs/typography.md
+2
-0
examples/index.template.html
examples/index.template.html
+1
-1
examples/pages/index.vue
examples/pages/index.vue
+3
-3
examples/pages/resource.vue
examples/pages/resource.vue
+2
-0
No files found.
examples/app.vue
View file @
22e7a755
...
...
@@ -28,6 +28,7 @@
padding
:
20px
25px
;
background-color
:
#f9fafc
;
margin-bottom
:
25px
;
border-radius
:
2px
;
}
.main-cnt
{
...
...
examples/assets/images/zhinan.png
0 → 100644
View file @
22e7a755
5.09 KB
examples/assets/images/zujian.png
0 → 100644
View file @
22e7a755
4.7 KB
examples/components/header.vue
View file @
22e7a755
...
...
@@ -99,7 +99,7 @@
'header-hangUp': hangUp
}">
<div
class=
"container"
>
<h1><router-link
to=
"/"
>
Element
<
span>
Beta
</span><
/router-link></h1>
<h1><router-link
to=
"/"
>
Element
</router-link></h1>
<ul
class=
"nav"
>
<li
class=
"nav-item"
>
<router-link
...
...
examples/components/side-nav.vue
View file @
22e7a755
...
...
@@ -17,26 +17,41 @@
a
{
font-size
:
18px
;
color
:
#5e6d82
;
line-height
:
3
2px
;
height
:
3
2px
;
margin
:
10px
0
;
padding
:
0
0
0
1
0
px
;
line-height
:
4
2px
;
height
:
4
2px
;
margin
:
0
;
padding
:
0
0
0
1
2
px
;
text-decoration
:
none
;
border-left
:
2px
solid
transparent
;
display
:
block
;
position
:
relative
;
transition
:
all
.3s
;
&.active
{
color
:
#20a0ff
;
border-left-color
:
#20a0ff
;
&:after
{
content
:
''
;
width
:
2px
;
background-color
:
#20a0ff
;
height
:
32px
;
border-radius
:
2px
;
left
:
0
;
position
:
absolute
;
top
:
5px
;
}
}
}
.nav-item
{
a
{
display
:
block
;
height
:
42px
;
line-height
:
42px
;
font-size
:
14px
;
padding-left
:
20px
;
padding-left
:
22px
;
&:hover
{
background-color
:
#eee
;
color
:
#20a0ff
;
}
}
}
...
...
@@ -44,7 +59,7 @@
.nav-group__title
{
color
:
#99a9bf
;
padding-left
:
15px
;
line-height
:
3
2
px
;
line-height
:
3
4
px
;
}
}
</
style
>
...
...
examples/docs/typography.md
View file @
22e7a755
...
...
@@ -12,6 +12,7 @@
box-sizing: border-box;
display: inline-block;
margin-right: 17px;
border-radius: 4px;
.name {
position: absolute;
...
...
@@ -24,6 +25,7 @@
line-height: 35px;
text-align: left;
text-indent: 10px;
font-family: 'Helvetica Neue';
}
}
.demo-typo-size {
...
...
examples/index.template.html
View file @
22e7a755
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_1471936010_8874195.css"
>
<title>
E
LEMENT
</title>
<title>
E
lement
</title>
</head>
<body>
<div
id=
"app"
></div>
...
...
examples/pages/index.vue
View file @
22e7a755
...
...
@@ -60,7 +60,7 @@
box-sizing
:
border-box
;
text-align
:
center
;
position
:
relative
;
transition
:
bottom
.3s
;
transition
:
all
.3s
ease-in-out
;
bottom
:
0
;
img
{
...
...
@@ -129,7 +129,7 @@
<ul
class=
"container"
>
<li>
<div
class=
"card"
>
<img
src=
"~examples/assets/images/z
ujian.sv
g"
alt=
""
>
<img
src=
"~examples/assets/images/z
hinan.pn
g"
alt=
""
>
<h3>
指南
</h3>
<p>
了解设计指南,帮助产品设计人员搭建逻辑清晰、结构合理且高效易用的产品。
</p>
<router-link
...
...
@@ -141,7 +141,7 @@
</li>
<li>
<div
class=
"card"
>
<img
src=
"~examples/assets/images/z
hinan.sv
g"
alt=
""
>
<img
src=
"~examples/assets/images/z
ujian.pn
g"
alt=
""
>
<h3>
组件
</h3>
<p>
使用组件 Demo 快速体验交互细节;使用前端框架封装的代码帮助工程师快速开发。
</p>
<router-link
...
...
examples/pages/resource.vue
View file @
22e7a755
...
...
@@ -42,12 +42,14 @@
img
{
margin
:
75px
auto
35px
;
height
:
87px
;
}
h3
{
margin
:
0
0
10px
;
font-size
:
18px
;
color
:
#1f2f3d
;
font-weight
:
normal
;
height
:
22px
;
}
p
{
font-size
:
14px
;
...
...
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