@nikoyo-spa/style 1.2.0 → 1.2.2

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