cloud-web-corejs 1.0.314 → 1.0.315

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.
@@ -279,3 +279,18 @@
279
279
  &:before{margin-right:8px;}
280
280
  }
281
281
  }
282
+
283
+ body.hideMenu {
284
+ .sidebar-container {
285
+ z-index: 1001 !important;
286
+ }
287
+ }
288
+
289
+ body {
290
+ .search-btn.el-input {
291
+ width: calc(100% + 16px) !important;
292
+ padding: 2px 16px 10px;
293
+ border-bottom: solid 2px $bg-color-page;
294
+ margin: 0 -8px;
295
+ }
296
+ }
@@ -1,106 +1,106 @@
1
- // Core 通用状态色与提示辅助类。仅由 styles/index.scss 引入一次。
2
- @import "./variables.scss";
3
-
4
- .a-link > i {
5
- vertical-align: middle;
6
- }
7
-
8
- .f-red {
9
- color: $red;
10
- }
11
- .f-dred {
12
- color: $dred;
13
- }
14
- .f-green {
15
- color: $green;
16
- }
17
- .f-blue {
18
- color: $baseColor;
19
- }
20
- .f-gray {
21
- color: #999;
22
- }
23
-
24
- .underLine {
25
- border-bottom: solid 1px;
26
- &.f-red {
27
- border-color: $red;
28
- &:focus,
29
- &:hover {
30
- color: $red;
31
- }
32
- }
33
- }
34
- .txt-status {
35
- border-radius: 22px;
36
- display: inline-block;
37
- height: 22px;
38
- line-height: 22px;
39
- padding: 0 14px;
40
- background: transparentize($green, 0.88);
41
- color: $green;
42
- &:before {
43
- content: "";
44
- margin: -2px 6px 0 0;
45
- width: 6px;
46
- height: 6px;
47
- vertical-align: middle;
48
- display: inline-block;
49
- background-color: $green;
50
- text-align: center;
51
- border-radius: 3px;
52
- }
53
- &.disable,
54
- &.s-3 {
55
- color: $red;
56
- background: transparentize($red, 0.88);
57
- &:before {
58
- background-color: $red;
59
- }
60
- }
61
- &.red {
62
- color: $dred;
63
- background: transparentize($dred, 0.88);
64
- &:before {
65
- background-color: $dred;
66
- }
67
- }
68
- &.green {
69
- color: $green;
70
- background: transparentize($green, 0.88);
71
- &:before {
72
- background-color: $green;
73
- }
74
- }
75
- span {
76
- padding: 0 3px;
77
- }
78
- }
79
- .tips {
80
- font-size: $fontSizeBase;
81
- color: $red;
82
- line-height: 28px;
83
- }
84
- .tips_1 {
85
- font-size: $fontSizeBase;
86
- color: $dred;
87
- line-height: 28px;
88
- > span {
89
- border-bottom: solid 1px $dred;
90
- line-height: 18px;
91
- display: inline-block;
92
- }
93
- }
94
- .tips_2 {
95
- font-size: $fontSizeBase;
96
- line-height: 28px;
97
- display: inline-block;
98
- margin-left: 14px;
99
- > span {
100
- margin-right: 13px;
101
- }
102
- }
103
-
1
+ // Core 通用辅助类(状态色、提示、细线表、flex 基线等)。仅由 styles/index.scss 引入一次。
2
+ @import "./variables.scss";
3
+
4
+ .a-link > i {
5
+ vertical-align: middle;
6
+ }
7
+
8
+ .f-red {
9
+ color: $red;
10
+ }
11
+ .f-dred {
12
+ color: $dred;
13
+ }
14
+ .f-green {
15
+ color: $green;
16
+ }
17
+ .f-blue {
18
+ color: $baseColor;
19
+ }
20
+ .f-gray {
21
+ color: #999;
22
+ }
23
+
24
+ .underLine {
25
+ border-bottom: solid 1px;
26
+ &.f-red {
27
+ border-color: $red;
28
+ &:focus,
29
+ &:hover {
30
+ color: $red;
31
+ }
32
+ }
33
+ }
34
+ .txt-status {
35
+ border-radius: 22px;
36
+ display: inline-block;
37
+ height: 22px;
38
+ line-height: 22px;
39
+ padding: 0 14px;
40
+ background: transparentize($green, 0.88);
41
+ color: $green;
42
+ &:before {
43
+ content: "";
44
+ margin: -2px 6px 0 0;
45
+ width: 6px;
46
+ height: 6px;
47
+ vertical-align: middle;
48
+ display: inline-block;
49
+ background-color: $green;
50
+ text-align: center;
51
+ border-radius: 3px;
52
+ }
53
+ &.disable,
54
+ &.s-3 {
55
+ color: $red;
56
+ background: transparentize($red, 0.88);
57
+ &:before {
58
+ background-color: $red;
59
+ }
60
+ }
61
+ &.red {
62
+ color: $dred;
63
+ background: transparentize($dred, 0.88);
64
+ &:before {
65
+ background-color: $dred;
66
+ }
67
+ }
68
+ &.green {
69
+ color: $green;
70
+ background: transparentize($green, 0.88);
71
+ &:before {
72
+ background-color: $green;
73
+ }
74
+ }
75
+ span {
76
+ padding: 0 3px;
77
+ }
78
+ }
79
+ .tips {
80
+ font-size: $fontSizeBase;
81
+ color: $red;
82
+ line-height: 28px;
83
+ }
84
+ .tips_1 {
85
+ font-size: $fontSizeBase;
86
+ color: $dred;
87
+ line-height: 28px;
88
+ > span {
89
+ border-bottom: solid 1px $dred;
90
+ line-height: 18px;
91
+ display: inline-block;
92
+ }
93
+ }
94
+ .tips_2 {
95
+ font-size: $fontSizeBase;
96
+ line-height: 28px;
97
+ display: inline-block;
98
+ margin-left: 14px;
99
+ > span {
100
+ margin-right: 13px;
101
+ }
102
+ }
103
+
104
104
  .is-error {
105
105
  .ace-editor,
106
106
  .el-checkbox__inner,
@@ -115,23 +115,139 @@
115
115
  .el-button-tag {
116
116
  border: solid 1px $dred !important;
117
117
  }
118
- }
119
-
120
- .d-item {
121
- position: relative;
122
- .btn-tips {
123
- display: inline-block;
124
- position: absolute;
125
- padding: 4px;
126
- margin: -5px 0 0 10px;
127
- }
128
- }
129
-
118
+ }
119
+
120
+ .d-item {
121
+ position: relative;
122
+ .btn-tips {
123
+ display: inline-block;
124
+ position: absolute;
125
+ padding: 4px;
126
+ margin: -5px 0 0 10px;
127
+ }
128
+ }
129
+
130
130
  .ellipsis-box {
131
- overflow: hidden;
132
- text-overflow: ellipsis;
131
+ overflow: hidden;
132
+ text-overflow: ellipsis;
133
133
  white-space: nowrap;
134
134
  .a-link {
135
135
  display: inline !important;
136
136
  }
137
- }
137
+ }
138
+
139
+ // 以下从历史 style.scss 迁入。body 前缀的三类保持 (0,1,1)。
140
+ // .flex 内的 .flex-tabboxWidth 分栏宽度仍在 App 层 style.scss。
141
+ body {
142
+ .f12 {
143
+ font-size: $fontSizeBase;
144
+ }
145
+ .txt-mid {
146
+ vertical-align: middle;
147
+ > i,
148
+ > span {
149
+ vertical-align: middle;
150
+ }
151
+ }
152
+ .disable-click {
153
+ pointer-events: none;
154
+ }
155
+ }
156
+
157
+ .table-border {
158
+ border-collapse: collapse;
159
+ font-size: $fontSizeBase;
160
+ width: 100%;
161
+ border-top: solid 1px #ebebec;
162
+ border-left: solid 1px #ebebec;
163
+ thead th {
164
+ background: #f6faff;
165
+ border-bottom: 1px solid #ebebec;
166
+ border-right: solid 1px #ebebec;
167
+ font-weight: 600;
168
+ padding: 6px 10px;
169
+ text-align: center;
170
+ line-height: 18px;
171
+ }
172
+ td {
173
+ border-bottom: 1px solid #ebebec;
174
+ border-right: solid 1px #ebebec;
175
+ padding: 6px 10px;
176
+ line-height: 18px;
177
+ &.tc {
178
+ text-align: center;
179
+ }
180
+ .el-input {
181
+ width: 100% !important;
182
+ }
183
+ }
184
+ }
185
+
186
+ .disabled-upload {
187
+ .upload-list .el-upload-list__item .el-icon-close {
188
+ display: none;
189
+ }
190
+ .el-upload .avatar-uploader {
191
+ display: none;
192
+ }
193
+ }
194
+
195
+ .flex {
196
+ display: flex;
197
+ height: 100%;
198
+ .flex-item {
199
+ flex: 1;
200
+ -webkit-transition: all 0.2s ease-in;
201
+ -moz-transition: all 0.2s ease-in;
202
+ -o-transition: all 0.2s ease-in;
203
+ transition: all 0.2s ease-in;
204
+ }
205
+ }
206
+
207
+ .number-range {
208
+ .el-input-number {
209
+ width: 148px !important;
210
+ overflow: hidden;
211
+ vertical-align: middle;
212
+ }
213
+ > span {
214
+ margin: 0 6px;
215
+ vertical-align: middle;
216
+ }
217
+ }
218
+
219
+ .list-tag {
220
+ background-color: #eaf0f4;
221
+ border-color: #d4e0ea;
222
+ display: inline-block;
223
+ height: 22px;
224
+ padding: 0 10px;
225
+ line-height: 20px;
226
+ font-size: $fontSizeBase;
227
+ color: $baseColor;
228
+ border-width: 1px;
229
+ border-style: solid;
230
+ border-radius: 4px;
231
+ box-sizing: border-box;
232
+ white-space: nowrap;
233
+ &.warning {
234
+ background-color: #fdf6ec;
235
+ border-color: #faecd8;
236
+ color: #e6a23c;
237
+ }
238
+ &.success {
239
+ background-color: #eaf7f4;
240
+ border-color: #d6efe9;
241
+ color: #30b08f;
242
+ }
243
+ &.info {
244
+ background-color: #f4f4f5;
245
+ border-color: #e9e9eb;
246
+ color: $text-color-secondary;
247
+ }
248
+ &.danger {
249
+ background-color: #fdeeee;
250
+ border-color: #fbdddd;
251
+ color: #ea5353;
252
+ }
253
+ }
@@ -30,6 +30,34 @@ $baseColor:#2a6494 !default;
30
30
  $borderColor:#e9e9e9 !default;
31
31
  $dialogheadHeight:42px !default;
32
32
  $dialogfooterHeight:52px !default;
33
+
34
+ // ===== 全局控件尺寸/圆角 =====
35
+ $control-height: 28px !default; // 标准控件高度(输入框、按钮、下拉等)
36
+ $control-radius: 2px !default; // 标准控件小圆角
37
+
38
+ // ===== 业务灰阶色板 =====
39
+ // 文字色(由深到浅)
40
+ $text-color-darker: #212121 !default;
41
+ $text-color-dark: #323232 !default;
42
+ $text-color-dark-gray: #464646 !default;
43
+ $text-color-title: #303133 !default;
44
+ $text-color-body: #606266 !default;
45
+ $text-color-gray: #808080 !default;
46
+ $text-color-muted: #999999 !default;
47
+ $text-color-secondary: #909399 !default;
48
+ $text-color-placeholder: #c0c4cc !default;
49
+ $text-color-disabled: #565656 !default;
50
+ // 边框色
51
+ $border-color-soft: #e8e8e8 !default;
52
+ $border-color-lighter: #eeeeee !default;
53
+ $border-color-light: #e4e7ed !default;
54
+ $border-color-base: #dcdfe6 !default;
55
+ $border-color-disabled: #dfe4ed !default;
56
+ // 背景色
57
+ $bg-color-page: #f1f5fb !default;
58
+ $bg-color-disabled: #f3f3f3 !default;
59
+ $bg-color-gray: #f5f7fa !default;
60
+ $bg-color-light: #fafafa !default;
33
61
  // the :export directive is the magic sauce for webpack
34
62
  // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
35
63
  :export {