add readme

This commit is contained in:
Boyuzhou 2016-11-14 16:38:01 +08:00
parent 5226b02248
commit 122cd69142
4 changed files with 26 additions and 56 deletions

View File

@ -11,3 +11,19 @@ tinper-bee组件库的核心样式及公用方法库
- 主辅色及常用颜色设置
## 工具方法库
### set-global
### set-h5bp
### set-mobile
### set-normalize
### set-resets
### util-iconfont
### util-ripple
### util-shadow
### util-tool
### util-utilities
### minxin-colors
### minxin-mixins
### minxin-palette
### minxin-themeColors
### minxin-variables

View File

@ -1,6 +1,6 @@
{
"name": "tinper-bee-core",
"version": "0.0.5",
"version": "0.0.6",
"description": "style core and js util for tinper-bee",
"main": "js/index.js",
"engines": {

View File

@ -1,25 +1,9 @@
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@import "minxin-variables";
/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
* 跨浏览器样式适配
*/
/* ==========================================================================
@ -33,11 +17,7 @@ html {
}
/*
* Remove text-shadow in selection highlight:
* https://twitter.com/miketaylr/status/12228805301
*
* These selection rule sets have to be separate.
* Customize the background color to match your design.
* 选择时删除文本阴影及设置默认选中颜色
*/
::selection {
@ -46,7 +26,7 @@ html {
}
/*
* A better looking default horizontal rule
* 默认水平规则
*/
hr {
@ -59,9 +39,7 @@ hr {
}
/*
* Remove the gap between audio, canvas, iframes,
* images, videos and the bottom of their containers:
* https://github.com/h5bp/html5-boilerplate/issues/440
* 删除音频画布iframes图像视频和其容器底部之间的差距
*/
audio,
@ -74,7 +52,7 @@ video {
}
/*
* Remove default fieldset styles.
* 删除默认字段集样式
*/
fieldset {
@ -84,7 +62,7 @@ fieldset {
}
/*
* Allow only vertical resizing of textareas.
* 仅允许垂直调整textareas的大小
*/
textarea {
@ -102,9 +80,6 @@ textarea {
padding: 0.2em 0;
}
/* ==========================================================================
Author's custom styles
========================================================================== */
@ -123,20 +98,16 @@ textarea {
/* ==========================================================================
Helper classes
帮助样式
========================================================================== */
/*
* Hide visually and from screen readers:
*/
.hidden {
display: none !important;
}
/*
* Hide only visually, but have it available for screen readers:
* http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
* 适用于屏幕阅读器的隐藏
*/
.visuallyhidden {

View File

@ -1,22 +1,5 @@
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* Remove the unwanted box around FAB buttons */
/* More info: http://goo.gl/IPwKi */
a, .mdl-accordion, .mdl-button, .mdl-card, .mdl-checkbox, .mdl-dropdown-menu,
.mdl-icon-toggle, .mdl-item, .mdl-radio, .mdl-slider, .mdl-switch, .mdl-tabs__tab {