efront 3.4.7 → 3.5.0

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.
@@ -45,56 +45,66 @@ table {
45
45
  table-layout: fixed;
46
46
  white-space: nowrap;
47
47
 
48
- >thead {
49
- user-select: none;
50
- line-height: 36px;
48
+ }
51
49
 
52
- >tr {
50
+ >thead {
51
+ user-select: none;
52
+ line-height: 36px;
53
53
 
54
- >td,
55
- >th {
56
- padding: @cell-padding;
57
- position: relative;
58
- color: #fff;
59
- background-color: #999;
60
- }
54
+ >tr {
55
+
56
+ >td,
57
+ >th {
58
+ padding: @cell-padding;
59
+ position: relative;
60
+ color: #fff;
61
+ background-color: #999;
61
62
  }
62
63
  }
64
+ }
63
65
 
64
- >tbody {
65
- line-height: 32px;
66
+ >tbody {
67
+ line-height: 32px;
68
+ height: 100%;
69
+ min-height: 30px;
66
70
 
67
- >tr {
71
+ display: table-row-group;
68
72
 
69
- >td,
70
- >th {
71
- padding: @cell-padding;
72
- position: relative;
73
- }
73
+ >tr {
74
74
 
75
- &:nth-child(even) {
75
+ >td,
76
+ >th {
77
+ padding: @cell-padding;
78
+ position: relative;
79
+ }
80
+
81
+ &:nth-child(even) {
76
82
 
77
- >td,
78
- >th {
79
- background-color: #eee;
80
- }
83
+ >td,
84
+ >th {
85
+ background-color: #eee;
81
86
  }
87
+ }
82
88
 
83
- &:nth-child(odd) {
89
+ &:nth-child(odd) {
84
90
 
85
- >td,
86
- >th {
87
- background-color: #fff;
88
- }
91
+ >td,
92
+ >th {
93
+ background-color: #fff;
89
94
  }
95
+ }
90
96
 
91
- &:hover {
97
+ &:hover {
92
98
 
93
- >td,
94
- >th {
95
- background: #dddddd;
96
- }
99
+ >td,
100
+ >th {
101
+ background: #dddddd;
97
102
  }
98
103
  }
99
104
  }
105
+ }
106
+ .button{
107
+ margin-right: 10px;
108
+ vertical-align: middle;
109
+ display: inline-block;
100
110
  }
@@ -576,11 +576,17 @@ function addGlobal(element, name = null, isDestroy) {
576
576
  }
577
577
  }
578
578
  var _switch = zimoli.switch = function (history_name = default_history, target_body = document.body, emptyState) {
579
- if (isString(history_name))
580
- current_history = history_name = history_name.replace(/\/$/, '') + "/";
581
- if (target_body)
582
- body = target_body;
583
- if (emptyState !== false && !history[history_name]) root_path = (history[history_name] = [].concat(emptyState || ":empty"))[0];
579
+ if (!arguments.length) {
580
+ current_history = default_history;
581
+ body = document.body;
582
+ }
583
+ else {
584
+ if (isString(history_name)) {
585
+ current_history = history_name = history_name.replace(/\/$/, '') + "/";
586
+ }
587
+ if (target_body) body = target_body;
588
+ }
589
+ if (emptyState !== false && !history[current_history]) root_path = (history[current_history] = [].concat(emptyState || ":empty"))[0];
584
590
  };
585
591
  popup.global = zimoli.global = addGlobal;
586
592
  popup.go = zimoli.go = go;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "efront",
3
- "version": "3.4.7",
3
+ "version": "3.5.0",
4
4
  "description": "一个开发工具,开放源代码,自带组件库和编译环境,可以用来开发web组件,web应用或nodejs模块,或做为已有代码的加密工具,也可以做为静态页面服务器或跨域中转服务器使用",
5
5
  "main": "public/efront.js",
6
6
  "directories": {