Skip to content

Commit d639401

Browse files
committed
fix: style lint
1 parent 64dbcda commit d639401

File tree

9 files changed

+43
-16
lines changed

9 files changed

+43
-16
lines changed

src/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ $prefix-cls: #{$namespace}-app;
4040
4141
html,
4242
body {
43+
@extend .size;
44+
4345
padding: 0 !important;
4446
margin: 0;
4547
overflow: hidden;
46-
@extend .size;
4748
4849
#app {
4950
@extend .size;

src/components/Table/src/Table.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ export default defineComponent({
302302
margin-left: 0;
303303
padding: 8px 4px;
304304
}
305+
305306
:deep(.el-button.is-link) {
306307
margin-left: 0;
307308
padding: 8px 4px;

src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ watch(
407407
stroke-dasharray: 4px !important;
408408
fill-opacity: 0.2 !important;
409409
}
410+
410411
.highlight-todo.djs-shape .djs-visual > :nth-child(1) {
411412
fill: #1890ff !important;
412413
stroke: #1890ff !important;
@@ -418,8 +419,9 @@ watch(
418419
stroke: #1890ff !important;
419420
stroke-dasharray: 4px !important;
420421
fill-opacity: 0.2 !important;
421-
marker-end: url(#sequenceflow-end-_E7DFDF-_E7DFDF-803g1kf6zwzmcig1y2ulm5egr);
422+
marker-end: url('#sequenceflow-end-_E7DFDF-_E7DFDF-803g1kf6zwzmcig1y2ulm5egr');
422423
}
424+
423425
:deep(.highlight-todo.djs-shape .djs-visual > :nth-child(1)) {
424426
fill: #1890ff !important;
425427
stroke: #1890ff !important;
@@ -433,14 +435,17 @@ watch(
433435
stroke: green !important;
434436
fill-opacity: 0.2 !important;
435437
}
438+
436439
.highlight.djs-shape .djs-visual > :nth-child(2) {
437440
fill: green !important;
438441
}
442+
439443
.highlight.djs-shape .djs-visual > path {
440444
fill: green !important;
441445
fill-opacity: 0.2 !important;
442446
stroke: green !important;
443447
}
448+
444449
.highlight.djs-connection > .djs-visual > path {
445450
stroke: green !important;
446451
}
@@ -454,14 +459,17 @@ watch(
454459
stroke: green !important;
455460
fill-opacity: 0.2 !important;
456461
}
462+
457463
:deep(.highlight.djs-shape .djs-visual > :nth-child(2)) {
458464
fill: green !important;
459465
}
466+
460467
:deep(.highlight.djs-shape .djs-visual > path) {
461468
fill: green !important;
462469
fill-opacity: 0.2 !important;
463470
stroke: green !important;
464471
}
472+
465473
:deep(.highlight.djs-connection > .djs-visual > path) {
466474
stroke: green !important;
467475
}
@@ -472,14 +480,17 @@ watch(
472480
stroke: red !important;
473481
fill-opacity: 0.2 !important;
474482
}
483+
475484
.highlight-reject.djs-shape .djs-visual > :nth-child(2) {
476485
fill: red !important;
477486
}
487+
478488
.highlight-reject.djs-shape .djs-visual > path {
479489
fill: red !important;
480490
fill-opacity: 0.2 !important;
481491
stroke: red !important;
482492
}
493+
483494
.highlight-reject.djs-connection > .djs-visual > path {
484495
stroke: red !important;
485496
}
@@ -493,14 +504,17 @@ watch(
493504
stroke: red !important;
494505
fill-opacity: 0.2 !important;
495506
}
507+
496508
:deep(.highlight-reject.djs-shape .djs-visual > :nth-child(2)) {
497509
fill: red !important;
498510
}
511+
499512
:deep(.highlight-reject.djs-shape .djs-visual > path) {
500513
fill: red !important;
501514
fill-opacity: 0.2 !important;
502515
stroke: red !important;
503516
}
517+
504518
:deep(.highlight-reject.djs-connection > .djs-visual > path) {
505519
stroke: red !important;
506520
}
@@ -511,14 +525,17 @@ watch(
511525
stroke: grey !important;
512526
fill-opacity: 0.2 !important;
513527
}
528+
514529
.highlight-cancel.djs-shape .djs-visual > :nth-child(2) {
515530
fill: grey !important;
516531
}
532+
517533
.highlight-cancel.djs-shape .djs-visual > path {
518534
fill: grey !important;
519535
fill-opacity: 0.2 !important;
520536
stroke: grey !important;
521537
}
538+
522539
.highlight-cancel.djs-connection > .djs-visual > path {
523540
stroke: grey !important;
524541
}
@@ -532,22 +549,25 @@ watch(
532549
stroke: grey !important;
533550
fill-opacity: 0.2 !important;
534551
}
552+
535553
:deep(.highlight-cancel.djs-shape .djs-visual > :nth-child(2)) {
536554
fill: grey !important;
537555
}
556+
538557
:deep(.highlight-cancel.djs-shape .djs-visual > path) {
539558
fill: grey !important;
540559
fill-opacity: 0.2 !important;
541560
stroke: grey !important;
542561
}
562+
543563
:deep(.highlight-cancel.djs-connection > .djs-visual > path) {
544564
stroke: grey !important;
545565
}
546566
547567
.element-overlays {
548568
box-sizing: border-box;
549569
padding: 8px;
550-
background: rgba(0, 0, 0, 0.6);
570+
background: rgb(0 0 0 / 60%);
551571
border-radius: 4px;
552572
color: #fafafa;
553573
width: 200px;

src/components/bpmnProcessDesigner/package/palette/ProcessPalette.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ const addTask = (event, options: any = {}) => {
3232
<style scoped lang="scss">
3333
.my-process-palette {
3434
box-sizing: border-box;
35-
padding: 80px 20px 20px 20px;
35+
padding: 80px 20px 20px;
36+
3637
.test-button {
3738
box-sizing: border-box;
3839
padding: 8px 16px;
3940
border-radius: 4px;
40-
border: 1px solid rgba(24, 144, 255, 0.8);
41+
border: 1px solid rgb(24 144 255 / 80%);
4142
cursor: pointer;
4243
}
4344
}

src/layout/components/TabMenu/src/TabMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ $prefix-cls: #{$namespace}-tab-menu;
217217
.#{$prefix-cls} {
218218
transition: all var(--transition-time-02);
219219
220-
&:after {
220+
&::after {
221221
position: absolute;
222222
top: 0;
223223
right: 0;

src/views/Profile/Index.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,25 @@ const activeName = ref('basicInfo')
3939
<style scoped>
4040
.user {
4141
max-height: 960px;
42-
padding: 15px 20px 20px 20px;
42+
padding: 15px 20px 20px;
4343
}
44+
4445
.card-header {
4546
display: flex;
4647
justify-content: center;
4748
align-items: center;
4849
}
50+
4951
:deep(.el-card .el-card__header, .el-card .el-card__body) {
5052
padding: 15px !important;
5153
}
54+
5255
.profile-tabs > .el-tabs__content {
5356
padding: 32px;
5457
color: #6b778c;
5558
font-weight: 600;
5659
}
60+
5761
.el-tabs--left .el-tabs__content {
5862
height: 100%;
5963
}

src/views/mp/components/wx-material-select/main.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ onMounted(async () => {
229229
})
230230
</script>
231231
<style lang="scss" scoped>
232-
@media (min-width: 992px) and (max-width: 1300px) {
232+
@media (width >= 992px) and (width <= 1300px) {
233233
.waterfall {
234234
column-count: 3;
235235
}
@@ -239,7 +239,7 @@ onMounted(async () => {
239239
}
240240
}
241241
242-
@media (min-width: 768px) and (max-width: 991px) {
242+
@media (width >= 768px) and (width <= 991px) {
243243
.waterfall {
244244
column-count: 2;
245245
}
@@ -249,7 +249,7 @@ onMounted(async () => {
249249
}
250250
}
251251
252-
@media (max-width: 767px) {
252+
@media (width <= 767px) {
253253
.waterfall {
254254
column-count: 1;
255255
}

src/views/mp/draft/components/DraftTable.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ const emit = defineEmits<{
6767
}
6868
}
6969
70-
@media (min-width: 992px) and (max-width: 1300px) {
70+
@media (width >= 992px) and (width <= 1300px) {
7171
.waterfall {
7272
column-count: 3;
7373
}
7474
}
7575
76-
@media (min-width: 768px) and (max-width: 991px) {
76+
@media (width >= 768px) and (width <= 991px) {
7777
.waterfall {
7878
column-count: 2;
7979
}
8080
}
8181
82-
@media (max-width: 767px) {
82+
@media (width <= 767px) {
8383
.waterfall {
8484
column-count: 1;
8585
}

src/views/mp/material/components/ImageTable.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const emit = defineEmits<{
3131
</script>
3232

3333
<style lang="scss" scoped>
34-
@media (min-width: 992px) and (max-width: 1300px) {
34+
@media (width >= 992px) and (width <= 1300px) {
3535
.waterfall {
3636
column-count: 3;
3737
}
@@ -41,7 +41,7 @@ const emit = defineEmits<{
4141
}
4242
}
4343
44-
@media (min-width: 768px) and (max-width: 991px) {
44+
@media (width >= 768px) and (width <= 991px) {
4545
.waterfall {
4646
column-count: 2;
4747
}
@@ -51,7 +51,7 @@ const emit = defineEmits<{
5151
}
5252
}
5353
54-
@media (max-width: 767px) {
54+
@media (width <= 767px) {
5555
.waterfall {
5656
column-count: 1;
5757
}

0 commit comments

Comments
 (0)