tianheng-ui 0.0.6 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,18 +1,11 @@
1
- # tianheng-ui
1
+ # Install
2
2
 
3
- > A Vue.js project
3
+ > npm i tianheng-ui
4
4
 
5
- ## Build Setup
5
+ ## Quick Start
6
6
 
7
7
  ``` bash
8
- # install dependencies
9
- npm install
10
-
11
- # serve with hot reload at localhost:8080
12
- npm run dev
13
-
14
- # build for production with minification
15
- npm run build
8
+ import TianhengUI from "tianheng-ui";
9
+ import 'tianheng-ui/lib/theme-chalk/index.css';
10
+ Vue.use(TianhengUI);
16
11
  ```
17
-
18
- For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).
@@ -15,7 +15,7 @@ if (typeof window !== "undefined" && window.Vue) {
15
15
  }
16
16
 
17
17
  export default {
18
- version: "0.0.6",
18
+ version: "0.0.10",
19
19
  install,
20
20
  ...components
21
21
  };
@@ -0,0 +1,40 @@
1
+ .th-cell {
2
+ position: relative;
3
+ display: flex;
4
+ padding: 10px 16px;
5
+ font-size: 14px;
6
+ box-sizing: border-box;
7
+ background-color: white;
8
+ overflow: hidden;
9
+ transition: 0.3s;
10
+ }
11
+ .th-cell-icon {
12
+ margin-right: 10px;
13
+ font-size: 18px;
14
+ }
15
+ .th-cell-content {
16
+ flex: 1;
17
+ }
18
+ .th-cell-title {
19
+ font-size: 16px;
20
+ color: #333333;
21
+ }
22
+ .th-cell-label {
23
+ margin-top: 5px;
24
+ font-size: 14px;
25
+ color: #666666;
26
+ word-wrap: break-word;
27
+ word-break: break-all;
28
+ }
29
+ .th-cell-value {
30
+ margin-left: 10px;
31
+ max-width: 50%;
32
+ font-size: 14px;
33
+ color: #999999;
34
+ word-wrap: break-word;
35
+ word-break: break-all;
36
+ }
37
+
38
+ .th-cell.is-center {
39
+ align-items: center;
40
+ }