@nikoyo-spa/style 1.2.2 → 1.2.4

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ui.css +62 -58
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nikoyo-spa/style",
3
3
  "type": "module",
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "description": "Spa Style",
6
6
  "author": "qianyongdong <https://github.com/qianyongdong>",
7
7
  "license": "MIT",
package/src/ui.css CHANGED
@@ -6,68 +6,72 @@ html, body, #root {
6
6
  overflow: hidden;
7
7
  }
8
8
 
9
- #root{
10
- --el-color-primary:var(--color-main);
9
+ #root {
10
+ --el-color-primary: var(--color-main);
11
11
  --el-color-primary-light-3: color-mix(in srgb, var(--el-color-primary) 80%, white);
12
12
  --el-color-primary-light-5: color-mix(in srgb, var(--el-color-primary) 50%, white);
13
13
  --el-color-primary-light-7: color-mix(in srgb, var(--el-color-primary) 30%, white);
14
14
  --el-color-primary-light-8: color-mix(in srgb, var(--el-color-primary) 20%, white);
15
15
  --el-color-primary-light-9: color-mix(in srgb, var(--el-color-primary) 10%, white);
16
16
  --el-color-primary-dark-2: color-mix(in srgb, var(--el-color-primary) 30%, black);
17
-
18
17
  --el-font-size-base: 13px;
19
- --el-form-label-font-size:13px;
18
+ --el-form-label-font-size: 13px;
20
19
  --el-text-color-regular: #000000;
20
+ --new-text-color-regular: #1c65df;
21
21
  }
22
22
 
23
- #root:has(#header){
23
+ #root:has(#header) {
24
24
  --navbar-height: 50px;
25
25
  height: calc(100% - var(--navbar-height, 0px)) !important;
26
26
  margin-top: var(--navbar-height, 0px) !important;
27
27
  }
28
28
 
29
- #root:has(#menu){
29
+ #root:has(#menu) {
30
30
  --navbar-width: 240px;
31
- width: calc(100% - var(--navbar-width,0px)) !important;
32
- margin-left: var(--navbar-width,0px) !important;
31
+ width: calc(100% - var(--navbar-width, 0px)) !important;
32
+ margin-left: var(--navbar-width, 0px) !important;
33
33
  }
34
34
 
35
- #root>.container{
36
- width:100%;
37
- height:100%;
38
- max-height:unset !important;
39
- max-width:unset !important;
35
+ #root > .container {
36
+ width: 100%;
37
+ height: 100%;
38
+ max-height: unset !important;
39
+ max-width: unset !important;
40
40
  }
41
41
 
42
- /* new */
43
- #root {
44
- --new-text-color-regular:#1c65df;
45
- }
46
- .main{
47
- background-color: #f5f7fa;
42
+ .main {
43
+ background-color: #f5f7fa;
48
44
  }
49
45
 
50
- .el-button{
46
+ .el-button {
51
47
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
52
48
  }
53
- .el-button.is-text{
49
+
50
+ .el-button.is-text {
54
51
  box-shadow: none;
55
52
  }
56
- .el-pagination .el-button,.el-button.is-link,.el-form-item .el-button{
53
+
54
+ .el-button .is-link {
55
+ box-shadow: none;
56
+ }
57
+
58
+ .el-pagination .el-button,
59
+ .el-button.is-link,
60
+ .el-form-item .el-button {
57
61
  box-shadow: none;
58
62
  }
59
63
  .el-pagination .el-button.is-link:hover {
60
64
  color: var(--new-text-color-regular);
61
65
  }
62
66
  .el-button.is-link:hover {
63
- --el-button-outline-color: rgb(159 67 18);
67
+ --el-button-outline-color: rgb(159, 67, 18);
64
68
  }
65
69
 
66
70
  .body-container {
67
- padding: 8px 10px 10px 10px;
71
+ padding: 8px 10px 10px 10px;
68
72
  }
69
73
 
70
- .tableStyle{
74
+ .tableStyle {
71
75
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
72
76
  margin-top: 5px;
73
77
  border-radius: 6px;
@@ -76,82 +80,82 @@ html, body, #root {
76
80
  }
77
81
  .tableStyle .el-pagination, .pagebar {
78
82
  padding: 5px 13px 3px 13px;
79
- border: 0px solid #ebeef5;
83
+ border: 0 solid #ebeef5;
80
84
  border-top: 0;
81
85
  }
82
86
  .el-menu-item.is-active {
83
87
  color: var(--color-main);
84
88
  }
85
89
 
86
- .boxStyle{
90
+ .boxStyle {
87
91
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
88
92
  border-radius: 4px;
89
93
  background-color: white;
90
94
  padding: 5px 5px 0 5px;
91
95
  }
92
96
 
93
- .el-form--inline .el-form-item{
97
+ .el-form--inline .el-form-item {
94
98
  margin-right: 0 !important;
95
99
  }
96
- .padding-16{
100
+ .padding-16 {
97
101
  padding: 16px 16px 0 16px;
98
102
  }
99
103
 
100
104
  .tabContentStyle {
101
105
  box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
102
106
  padding: 1px;
103
- border-radius:0 0 4px 4px;
104
- -webkit-border-radius:0 0 4px 4px;
105
- -moz-border-radius:0 0 4px 4px;
106
- -ms-border-radius:0 0 4px 4px;
107
- -o-border-radius:0 0 4px 4px;
107
+ border-radius: 0 0 4px 4px;
108
108
  margin-bottom: 12px;
109
109
  }
110
- .tabContentStyle .pagebar{
111
- border-top:1px solid var(--el-border-color);
110
+ .tabContentStyle .pagebar {
111
+ border-top: 1px solid var(--el-border-color);
112
112
  }
113
113
 
114
- .tableName{
114
+ .tableName {
115
115
  padding: 5px 5px 5px 12px;
116
116
  background: #f5f7fa;
117
117
  border-radius: 4px 4px 0 0;
118
- border:1px solid #ebeef5;
119
- border-bottom:0;
118
+ border: 1px solid #ebeef5;
119
+ border-bottom: 0;
120
120
  }
121
- .tableName h3{
121
+ .tableName h3 {
122
122
  margin: auto 0;
123
123
  }
124
124
 
125
125
  /* table */
126
126
  .el-table--border td {
127
- border-right: 1px solid transparent !important;
127
+ border-right: 1px solid transparent !important;
128
128
  }
129
129
 
130
130
  /* 查询条件折叠区 */
131
- .el-collapse-item__header{
132
- min-height:32px !important;
131
+ .el-collapse-item__header {
132
+ min-height: 32px !important;
133
133
  }
134
- .el-collapse-item__header.is-active{
135
- border-bottom:1px solid #ebeef5 !important;
134
+ .el-collapse-item__header.is-active {
135
+ border-bottom: 1px solid #ebeef5 !important;
136
136
  }
137
- .search-form .el-form-item{
138
- margin-bottom: 5px !important;
137
+ .search-form .el-form-item {
138
+ margin-bottom: 5px !important;
139
139
  }
140
- .search-form .button-group{
141
- margin-bottom: 0 !important;
140
+ .search-form .button-group {
141
+ margin-bottom: 0 !important;
142
142
  }
143
- .search-form-pl{
144
- padding-left:7px;
143
+ .search-form-pl {
144
+ padding-left: 7px;
145
145
  }
146
- .queryConditionsTitle{
147
- border-left: 5px solid var(--el-color-primary);
148
- padding-left:10px;
149
- border-radius:4px;
146
+ .queryConditionsTitle {
147
+ border-left: 5px solid var(--el-color-primary);
148
+ padding-left: 10px;
149
+ border-radius: 4px;
150
150
  }
151
- .search-form.el-button{
152
- padding:5px;
151
+ .search-form.el-button {
152
+ padding: 5px;
153
153
  }
154
154
 
155
155
  .el-select__wrapper {
156
- font-size:13px !important;
156
+ font-size: 13px !important;
157
+ }
158
+
159
+ .containerBox {
160
+ padding: 8px 10px 10px 10px;
157
161
  }