修复:添加reset.css和cell加上right-icon的slot (#27)

* add reset css and remove postcss-salad

* cell add right icon slog
This commit is contained in:
张敏
2017-05-09 11:45:33 +08:00
committed by Yao
parent 873c0ab25f
commit 8cdbb0fdd5
12 changed files with 126 additions and 533 deletions

View File

@@ -79,7 +79,7 @@
}
}
.van-icon-arrow {
@e right-icon {
position: absolute;
top: 50%;
right: 15px;

View File

@@ -1,6 +1,7 @@
/**
css组件库入口组装成css组件库
*/
@import './reset.css';
@import './button.css';
@import './cell.css';
@import './card.css';

View File

@@ -0,0 +1,26 @@
@reset-global mobile;
body {
font-family: Helvetica, "STHeiti STXihei", "Microsoft YaHei", Tohoma, Arial, sans-serif;
color: #333;
background-color: #eee;
-webkit-backface-visibility: hidden;
}
a {
background: transparent;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button,
input[type='number'],input[type='text'],input[type='password'],input[type='email'],input[type='search'],
select,
textarea {
font-family: inherit;
font-size: 100%;
margin: 0;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-appearance: none;
-moz-appearance: none;
}