Merge pull request #27 from baiyaaaaa/master

docs update
pull/31/head^2
baiyaaaaa 2016-09-08 10:21:14 +08:00 committed by GitHub
commit 22e7a75508
9 changed files with 34 additions and 14 deletions

View File

@ -28,6 +28,7 @@
padding: 20px 25px;
background-color: #f9fafc;
margin-bottom: 25px;
border-radius: 2px;
}
.main-cnt {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@ -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

View File

@ -17,26 +17,41 @@
a {
font-size:18px;
color:#5e6d82;
line-height: 32px;
height: 32px;
margin: 10px 0;
padding: 0 0 0 10px;
line-height: 42px;
height: 42px;
margin: 0;
padding: 0 0 0 12px;
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: 32px;
line-height: 34px;
}
}
</style>

View File

@ -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 {

View File

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1471936010_8874195.css">
<title>ELEMENT</title>
<title>Element</title>
</head>
<body>
<div id="app"></div>

View File

@ -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/zujian.svg" alt="">
<img src="~examples/assets/images/zhinan.png" alt="">
<h3>指南</h3>
<p>了解设计指南帮助产品设计人员搭建逻辑清晰结构合理且高效易用的产品</p>
<router-link
@ -141,7 +141,7 @@
</li>
<li>
<div class="card">
<img src="~examples/assets/images/zhinan.svg" alt="">
<img src="~examples/assets/images/zujian.png" alt="">
<h3>组件</h3>
<p>使用组件 Demo 快速体验交互细节;使用前端框架封装的代码帮助工程师快速开发</p>
<router-link

View File

@ -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;