renusify 1.4.7 → 2.0.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.
Files changed (67) hide show
  1. package/components/app/style.scss +2 -10
  2. package/components/app/toast/toast.vue +4 -3
  3. package/components/bar/bottomNavigationCircle.vue +1 -1
  4. package/components/bar/scss/bottomNav.scss +2 -2
  5. package/components/breadcrumb/style.scss +1 -1
  6. package/components/button/index.vue +4 -4
  7. package/components/button/style.scss +17 -27
  8. package/components/calendar/index.vue +3 -4
  9. package/components/card/style.scss +1 -3
  10. package/components/chat/chatInput.vue +2 -2
  11. package/components/chat/chatMsg.vue +3 -3
  12. package/components/chat/index.vue +2 -1
  13. package/components/chip/index.vue +1 -1
  14. package/components/chip/style.scss +20 -10
  15. package/components/codeEditor/index.vue +5 -4
  16. package/components/codeEditor/mixin.js +5 -5
  17. package/components/confirm/index.vue +3 -3
  18. package/components/container/style.scss +1 -1
  19. package/components/form/address.vue +6 -0
  20. package/components/form/address_ir.vue +17 -17
  21. package/components/form/checkbox.vue +1 -1
  22. package/components/form/colorPicker/picker.vue +6 -5
  23. package/components/form/datePicker/index.vue +2 -4
  24. package/components/form/form.vue +7 -4
  25. package/components/form/group-input.vue +1 -1
  26. package/components/form/input.vue +21 -20
  27. package/components/form/inputTel/index.vue +1 -31
  28. package/components/form/json/index.vue +1 -1
  29. package/components/form/radioInput.vue +1 -1
  30. package/components/form/rating.vue +13 -6
  31. package/components/form/select.vue +17 -11
  32. package/components/form/switch.vue +1 -7
  33. package/components/form/text-editor/index.vue +15 -15
  34. package/components/form/text-editor/style.scss +6 -6
  35. package/components/form/timepicker/index.vue +3 -3
  36. package/components/form/timepicker/timepicker.vue +142 -112
  37. package/components/form/unit-input.vue +2 -2
  38. package/components/formCreator/index.vue +3 -3
  39. package/components/icon/style.scss +1 -4
  40. package/components/img/index.vue +3 -1
  41. package/components/img/svgImg.vue +5 -3
  42. package/components/infinite/div.vue +2 -2
  43. package/components/infinite/index.vue +1 -1
  44. package/components/infinite/page.vue +2 -2
  45. package/components/list/index.vue +2 -2
  46. package/components/list/style.scss +10 -6
  47. package/components/map/index.vue +1 -1
  48. package/components/map/route.vue +2 -2
  49. package/components/menu/index.vue +1 -1
  50. package/components/notify/notification.vue +2 -2
  51. package/components/progress/style.scss +4 -4
  52. package/components/searchBox/index.vue +2 -2
  53. package/components/table/crud/header.vue +1 -1
  54. package/components/table/index.vue +4 -3
  55. package/components/table/style.scss +19 -16
  56. package/components/tabs/index.vue +4 -65
  57. package/components/timeline/index.vue +1 -1
  58. package/components/tour/index.vue +5 -5
  59. package/components/tree/index.vue +0 -1
  60. package/package.json +1 -1
  61. package/plugins/request/Request.js +3 -3
  62. package/style/app.scss +52 -41
  63. package/style/base.scss +45 -51
  64. package/style/colors.scss +48 -39
  65. package/style/mixins/index.scss +17 -6
  66. package/style/variables/base.scss +84 -69
  67. package/style/variables/color.scss +1 -2
@@ -1,76 +1,76 @@
1
1
  <template>
2
2
  <div :class="`${$r.prefix}timepicker-clock`">
3
- <div ref="clock" class="clock ltr">
4
- <div ref="circle" class="circle" :class="{ 'is-small': isSmall }"></div>
5
- <div ref="center" class="center"></div>
6
- <div ref="hand" class="clock-item-hand hour"></div>
7
-
8
- <div
9
- v-for="(num, i) in nums"
10
- :key="i"
11
- class="number"
12
- :class="['number' + i,{'number-disabled':disableTime(parseInt(i),show,hour,min,sec)}]"
13
- ref="number"
14
- @click="set(i)"
15
- >
16
- {{ num }}
3
+ <transition mode="out-in" name="scale">
4
+ <div :key="show" ref="clock" class="clock ltr">
5
+ <div ref="center" class="center"></div>
6
+ <div ref="hand" :class="{ 'is-small': isSmall }" class="clock-item-hand hour"></div>
7
+ <div
8
+ v-for="(num, i) in nums"
9
+ :key="i"
10
+ ref="number"
11
+ :class="['number' + i,{'number-disabled':disableTime(parseInt(i),show,hour,min,sec)}]"
12
+ class="number"
13
+ @click="set(i)"
14
+ >
15
+ {{ num }}
16
+ </div>
17
17
  </div>
18
- </div>
18
+ </transition>
19
19
  <div class="text-meridiem ltr" v-if="!is24Hour">
20
20
  <div
21
- class="time-meridiem"
22
- @click="(meridiem = 'AM'),emit()"
23
21
  :class="{ 'meridiem-active': meridiem === 'AM' }"
22
+ class="time-meridiem overflow-hidden"
23
+ @click="(meridiem = 'AM'),emit()"
24
24
  >
25
25
  {{ $t('timepicker_am', 'renusify') }}
26
26
  </div>
27
27
  <div
28
- class="time-meridiem"
29
- @click="(meridiem = 'PM'),emit()"
30
28
  :class="{ 'meridiem-active': meridiem === 'PM' }"
29
+ class="time-meridiem overflow-hidden"
30
+ @click="(meridiem = 'PM'),emit()"
31
31
  >
32
32
  {{ $t('timepicker_pm', 'renusify') }}
33
33
  </div>
34
34
  </div>
35
35
  <div class="text-time ltr">
36
36
  <input
37
- @input="emit"
38
37
  v-model="hour"
39
- placeholder="00"
40
- @update:model-value="handle_hour()"
41
- @click.prevent.stop="handle_hour(false)"
42
- class="time-show"
43
38
  :class="{
44
39
  'time-active': show === 'hours24'||show==='hours12',
45
40
  'time-selected': hour != null
46
41
  }"
42
+ class="time-show"
43
+ placeholder="00"
44
+ @input="emit"
45
+ @update:model-value="handle_hour()"
46
+ @click.prevent.stop="handle_hour(false)"
47
47
  />
48
48
  <div class="t-text">:</div>
49
49
  <input
50
- @input="emit"
51
50
  v-model="min"
52
- placeholder="00"
53
- @update:model-value="handle_min()"
54
- @click.prevent.stop="handle_min(false)"
55
- class="time-show"
56
51
  :class="{
57
52
  'time-active': show === 'mins',
58
53
  'time-selected': min != null
59
54
  }"
55
+ class="time-show"
56
+ placeholder="00"
57
+ @input="emit"
58
+ @update:model-value="handle_min()"
59
+ @click.prevent.stop="handle_min(false)"
60
60
  />
61
61
  <div class="t-text" v-if="withSec">:</div>
62
62
  <input
63
- @input="emit"
64
63
  v-if="withSec"
65
64
  v-model="sec"
66
- placeholder="00"
67
- @update:model-value="handle_sec()"
68
- @click.prevent.stop="handle_sec(false)"
69
- class="time-show"
70
65
  :class="{
71
66
  'time-active': show === 'seconds',
72
67
  'time-selected': sec != null
73
68
  }"
69
+ class="time-show"
70
+ placeholder="00"
71
+ @input="emit"
72
+ @update:model-value="handle_sec()"
73
+ @click.prevent.stop="handle_sec(false)"
74
74
  />
75
75
  </div>
76
76
  </div>
@@ -89,16 +89,16 @@ export default {
89
89
  is24Hour: Boolean,
90
90
  modelValue: String
91
91
  },
92
- emits:['update:modelValue','finish'],
92
+ emits: ['update:modelValue', 'finish'],
93
93
  data() {
94
94
  return {
95
95
  show: this.is24Hour ? "hours24" : "hours12",
96
- hour: 0,
96
+ hour: null,
97
+ delay: 350,
97
98
  meridiem: "AM",
98
- min: 0,
99
- sec: 0,
99
+ min: null,
100
+ sec: null,
100
101
  isSmall: false,
101
- isHand: false,
102
102
  hours12: {
103
103
  1: "1",
104
104
  2: "2",
@@ -267,7 +267,9 @@ export default {
267
267
  },
268
268
  mounted() {
269
269
  this.setup_hour();
270
- this.parser(this.modelValue)
270
+ setTimeout(() => {
271
+ this.parser(this.modelValue)
272
+ }, 100)
271
273
  },
272
274
  computed: {
273
275
  nums() {
@@ -286,12 +288,15 @@ export default {
286
288
  txt = txt[0].split(':')
287
289
  this.hour = parseInt(txt[0])
288
290
  this.min = parseInt(txt[1])
291
+ if (this.withSec) {
292
+ this.sec = parseInt(txt[2])
293
+ }
289
294
  this.handle_hour(false)
290
295
  },
291
296
  emit() {
292
- let hour = this.hour
293
- let min = this.min
294
- let sec = this.sec
297
+ let hour = this.hour || 0
298
+ let min = this.min || 0
299
+ let sec = this.sec || 0
295
300
  if (hour < 10) {
296
301
  hour = '0' + hour;
297
302
  }
@@ -308,10 +313,9 @@ export default {
308
313
  if (!this.is24Hour) {
309
314
  n += " " + this.meridiem;
310
315
  }
316
+
311
317
  this.$emit("update:modelValue", n);
312
- if ((min !== null && !this.withSec) || sec !== null) {
313
- this.$emit("finish", true);
314
- }
318
+ this.$emit("finish", this.min === null ? 'hour' : (this.sec === null ? 'minute' : 'second'));
315
319
  },
316
320
  handle_hour(next = true) {
317
321
  if (this.hour > (this.is24Hour ? 23 : 12)) {
@@ -320,42 +324,45 @@ export default {
320
324
 
321
325
  this.show = this.is24Hour ? "hours24" : "hours12";
322
326
  setTimeout(() => {
327
+ this.isSmall = false
323
328
  this.setup_hour();
324
329
  this.hour && this.set(this.hour, next);
325
- }, 10);
330
+ }, this.delay);
326
331
  },
327
332
  handle_min(next = true) {
328
333
  if (this.min > 59) {
329
334
  this.min = 59;
330
335
  }
331
336
  this.show = "mins";
332
-
337
+ this.setSmall(this.min)
333
338
  setTimeout(() => {
334
339
  this.setup_min();
335
340
  this.min && this.set(this.min, next);
336
- }, 10);
341
+ }, this.delay);
337
342
  },
338
343
  handle_sec(next = true) {
339
344
  if (this.sec > 59) {
340
345
  this.sec = 59;
341
346
  }
342
347
  this.show = "seconds";
348
+ this.setSmall(this.sec)
343
349
  setTimeout(() => {
344
350
  this.setup_min();
345
351
  this.sec && this.set(this.sec, next);
346
- }, 10);
352
+ }, this.delay);
347
353
  },
348
354
 
349
355
  set(h, next = true) {
350
356
  h = parseInt(h);
351
- const circle = this.$refs.circle;
352
- const cl = this.$refs["number"][h];
357
+ let cl = this.$refs["number"][h];
358
+ if (this.show === "hours12") {
359
+ cl = this.$refs["number"][h - 1];
360
+ }
361
+
353
362
  const hand = this.$refs.hand;
354
363
  const clock = this.$refs.clock.getBoundingClientRect();
355
364
 
356
365
  const b = cl.getBoundingClientRect();
357
- circle.style.top = parseInt(cl.style.top) + 10 + "px";
358
- circle.style.left = parseInt(cl.style.left) + 10 + "px";
359
366
 
360
367
  let ang = this.angle(
361
368
  b.left + 10,
@@ -376,46 +383,62 @@ export default {
376
383
  hand.style.transform = "rotate(" + ang + "deg)";
377
384
 
378
385
  if (this.show === "hours24" && (h === 0 || h >= 13)) {
379
- hand.style.height = "60px";
386
+ hand.style.height = "70px";
380
387
  } else {
381
- hand.style.height = "100px";
388
+ hand.style.height = "110px";
382
389
  }
383
390
 
384
391
  if (!next) {
392
+ if (this.show === "hours24" || this.show === "hours12") {
393
+ this.hour = h;
394
+ } else if (this.show === "mins") {
395
+ this.min = h;
396
+ }
397
+ this.emit();
385
398
  return
386
399
  }
387
400
  if (this.show === "hours24") {
388
- this.show = "mins";
389
401
  this.hour = h;
390
402
  setTimeout(() => {
391
- this.setup_min();
392
- }, 10);
403
+ this.show = "mins";
404
+ setTimeout(() => {
405
+ this.setup_min();
406
+ }, this.delay);
407
+ }, this.delay);
393
408
  } else if (this.show === "hours12") {
394
- this.show = "mins";
395
- setTimeout(() => {
396
- this.setup_min();
397
- }, 10);
398
409
  this.hour = h;
410
+ setTimeout(() => {
411
+ this.show = "mins";
412
+ setTimeout(() => {
413
+ this.setup_min();
414
+ }, this.delay);
415
+ }, this.delay);
416
+
399
417
  } else if (this.show === "mins") {
400
418
  this.min = h;
401
- if ([0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55].includes(h)) {
402
- this.isSmall = false;
403
- this.isHand = false;
404
- } else {
405
- this.isSmall = true;
406
- this.isHand = true;
407
- }
419
+ this.setSmall(h)
408
420
  if (this.withSec) {
409
- this.show = "seconds";
410
421
  setTimeout(() => {
411
- this.setup_min();
412
- }, 10);
422
+ this.show = "seconds";
423
+ this.isSmall = false;
424
+ setTimeout(() => {
425
+ this.setup_min();
426
+ }, this.delay);
427
+ }, this.delay);
413
428
  }
414
429
  } else {
430
+ this.setSmall(h)
415
431
  this.sec = h;
416
432
  }
417
433
  this.emit();
418
434
  },
435
+ setSmall(h) {
436
+ if ([0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55].includes(h)) {
437
+ this.isSmall = false;
438
+ } else {
439
+ this.isSmall = true;
440
+ }
441
+ },
419
442
  angle(p1x, p1y, p2x, p2y, p3x, p3y) {
420
443
  let p0c = Math.sqrt(Math.pow(p3x - p1x, 2) + Math.pow(p3y - p1y, 2));
421
444
  let p1c = Math.sqrt(Math.pow(p3x - p2x, 2) + Math.pow(p3y - p2y, 2));
@@ -439,14 +462,15 @@ export default {
439
462
  setup_hour() {
440
463
  let cl = null;
441
464
  let po = null;
442
- for (let i = 1; i <= 12; i++) {
443
- cl = this.$refs["number"][i];
444
- po = this.print_point(i, 110);
445
- cl.style.left = po[0] - 10 + "px";
446
- cl.style.top = po[1] - 10 + "px";
447
- cl.classList.add('number-show')
448
- }
465
+
449
466
  if (this.is24Hour) {
467
+ for (let i = 1; i <= 12; i++) {
468
+ cl = this.$refs["number"][i];
469
+ po = this.print_point(i, 110);
470
+ cl.style.left = po[0] - 10 + "px";
471
+ cl.style.top = po[1] - 10 + "px";
472
+ cl.classList.add('number-show')
473
+ }
450
474
  for (let i = 13; i <= 23; i++) {
451
475
  cl = this.$refs["number"][i];
452
476
  po = this.print_point(i, 70);
@@ -459,20 +483,24 @@ export default {
459
483
  cl.style.left = po[0] - 10 + "px";
460
484
  cl.style.top = po[1] - 10 + "px";
461
485
  cl.classList.add('number-show')
486
+ } else {
487
+ for (let i = 0; i < 12; i++) {
488
+ cl = this.$refs["number"][i];
489
+ po = this.print_point(i + 1, 110);
490
+ cl.style.left = po[0] - 10 + "px";
491
+ cl.style.top = po[1] - 10 + "px";
492
+ cl.classList.add('number-show')
493
+ }
462
494
  }
463
495
  },
464
496
  setup_min() {
465
- const circle = this.$refs.circle;
466
- circle.style.left = "130px";
467
- circle.style.top = "20px";
468
-
469
497
  const clock = this.$refs.hand;
470
498
  clock.style.transform = "rotate(0)";
471
- clock.style.height = "100px";
499
+ clock.style.height = "110px";
472
500
 
473
501
  let cl = null;
474
502
  let po = null;
475
- for (let i = 0; i <= 59; i++) {
503
+ for (let i = 0; i < 60; i++) {
476
504
  cl = this.$refs["number"][i];
477
505
  po = this.print_point(i, 110, 60);
478
506
  cl.style.left = po[0] - 10 + "px";
@@ -491,6 +519,10 @@ export default {
491
519
 
492
520
  --color-timepicker: var(--color-one);
493
521
 
522
+ * {
523
+ transition: .15s all ease-in-out !important;
524
+ }
525
+
494
526
  .text-time {
495
527
  display: flex;
496
528
  justify-content: center;
@@ -522,8 +554,8 @@ export default {
522
554
  }
523
555
 
524
556
  .meridiem-active {
525
- background-color: var(--color-timepicker);
526
- color: #fff;
557
+ background-color: var(--color-three-container);
558
+ color: var(--color-on-three-container);
527
559
  }
528
560
 
529
561
  .text-meridiem > .time-meridiem {
@@ -585,6 +617,27 @@ export default {
585
617
  border-top-left-radius: 10px;
586
618
  border-top-right-radius: 10px;
587
619
  transform-origin: bottom;
620
+
621
+ &:after {
622
+ content: "";
623
+ position: absolute;
624
+ width: 35px;
625
+ height: 35px;
626
+ border-radius: 50%;
627
+ color: var(--color-timepicker);
628
+ background-color: var(--color-timepicker);
629
+ border: 2px solid;
630
+ transform: translate(-50%, -50%);
631
+ }
632
+ }
633
+
634
+ .is-small:after {
635
+ width: 12px !important;
636
+ height: 12px !important;
637
+ border-radius: 50% !important;
638
+ border: 2px solid;
639
+ background-color: unset !important;
640
+ transform: translate(-50%, -90%) !important;
588
641
  }
589
642
 
590
643
  .clock > .clock-item {
@@ -610,20 +663,6 @@ export default {
610
663
  border-radius: 50%;
611
664
  }
612
665
 
613
- .clock .circle {
614
- position: absolute;
615
- z-index: 11;
616
- width: 35px;
617
- height: 35px;
618
- top: 20px;
619
- left: 130px;
620
- border-radius: 50%;
621
- color: var(--color-timepicker);
622
- background-color: var(--color-timepicker);
623
- border: 2px solid;
624
- transform: translate(-50%, -50%);
625
- }
626
-
627
666
  .time-active {
628
667
  color: var(--color-timepicker);
629
668
  }
@@ -642,18 +681,9 @@ export default {
642
681
  background-color: var(--color-timepicker);
643
682
  }
644
683
 
645
- .is-small {
646
- width: 12px !important;
647
- height: 12px !important;
648
- border-radius: 50% !important;
649
- border: 2px solid;
650
- background-color: unset !important;
651
- transform: translate(-50%, -50%) !important;
652
- }
653
684
 
654
685
  .number-disabled {
655
- pointer-events: none;
656
- color: var(--color-disabled)
686
+ @include disable-states()
657
687
  }
658
688
  }
659
689
  </style>
@@ -78,7 +78,7 @@ emits:['update:modelValue'],
78
78
 
79
79
  .#{$prefix}unit-input {
80
80
  .input-shadow, .input-shadow * {
81
- color: var(--color-disabled) !important
81
+ @include disable-states()
82
82
  }
83
83
 
84
84
  input {
@@ -94,7 +94,7 @@ emits:['update:modelValue'],
94
94
  overflow-x: clip;
95
95
 
96
96
  * {
97
- font-size: map-metro-get($headings, 'overline', 'size') !important;
97
+ font-size: map-metro-get($headings, 'label-3', 'size') !important;
98
98
  }
99
99
 
100
100
  .input-control {
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <r-card v-if="!autoSend" class="overflow-auto">
2
+ <r-card v-if="!autoSend" :class="$r.prefix+'form-creator'" class="overflow-auto">
3
3
  <r-container>
4
- <h1 v-if="title" class="title">{{ title }}</h1>
4
+ <h1 v-if="title" class="title-1">{{ title }}</h1>
5
5
  <r-form ref="form" v-model="valid" @submit.prevent="save">
6
6
  <r-row>
7
7
  <template :key="key" v-for="(item,key) in options">
@@ -194,4 +194,4 @@ export default {
194
194
  }
195
195
  }
196
196
  }
197
- </script>
197
+ </script>
@@ -5,10 +5,7 @@
5
5
  vertical-align: -.5rem;
6
6
 
7
7
  &.icon-disabled {
8
- pointer-events: none;
9
- opacity: .6;
10
- color: var(--color-disabled) !important
11
-
8
+ @include disable-states();
12
9
  }
13
10
 
14
11
  @include rtl() {
@@ -3,7 +3,7 @@
3
3
  [$r.prefix+'img']:true,
4
4
  'img-hoverZoom':hoverZoom,'img-hoverDark':hoverDark,'img-hoverTitle':hoverTitle}"
5
5
  ref="rImg">
6
- <div v-if="hoverTitle" class="title color-white-text img-title w-full"
6
+ <div v-if="hoverTitle" class="title-3 color-white-text img-title w-full"
7
7
  :class="{
8
8
  'title-hs':titleHs,
9
9
  'title-hc':titleHc,
@@ -130,6 +130,8 @@ export default {
130
130
  if (p0 && p1) {
131
131
  wPH = p0 / p1
132
132
  }
133
+ } else {
134
+ wPH = 1
133
135
  }
134
136
  }
135
137
  }
@@ -28,9 +28,11 @@ export default {
28
28
  const el = document.createElement('div')
29
29
  el.innerHTML = d
30
30
  let svg = el.querySelector('svg')
31
- svg.setAttribute('width', that.size.width + 'px')
32
- svg.setAttribute('height', that.size.height + 'px')
33
- that.replace(svg)
31
+ if (svg) {
32
+ svg.setAttribute('width', that.size.width + 'px')
33
+ svg.setAttribute('height', that.size.height + 'px')
34
+ that.replace(svg)
35
+ }
34
36
  })
35
37
  })
36
38
  }
@@ -20,9 +20,9 @@
20
20
  </div>
21
21
 
22
22
  </r-col>
23
- <r-col class="col-12 text-center title"
23
+ <r-col class="col-12 text-center title-1"
24
24
  v-if="noItem"
25
- >{{$t('no_item','renusify')}}
25
+ >{{ $t('no_item', 'renusify') }}
26
26
  </r-col>
27
27
  </r-row>
28
28
  </r-container>
@@ -3,7 +3,7 @@
3
3
  <r-container full-width class="pa-0">
4
4
  <r-row class="v-center h-space-between" :class="color">
5
5
  <r-col class="col-auto">
6
- <h3 class="title px-2">{{ title }}</h3>
6
+ <h3 class="title-1 px-2">{{ title }}</h3>
7
7
  </r-col>
8
8
  <r-col class="col-auto">
9
9
  <r-switch-input
@@ -7,9 +7,9 @@
7
7
  v-show="loading"
8
8
 
9
9
  ></r-progress-line>
10
- <div class="text-center subtitle-1"
10
+ <div class="text-center title-2"
11
11
  v-if="noItem"
12
- >{{noItemMsg}}
12
+ >{{ noItemMsg }}
13
13
  </div>
14
14
  </div>
15
15
  </template>
@@ -2,7 +2,7 @@
2
2
  <div :class="classes">
3
3
  <div
4
4
  class="list-item h-space-between"
5
- :class="{'list-item-active color-one-text':$helper.searchArray(list,text,item_value[text])!==false}"
5
+ :class="{'list-item-active':$helper.searchArray(list,text,item_value[text])!==false}"
6
6
  :key="item_key"
7
7
  @click.prevent="handle(item_value)"
8
8
  v-for="(item_value,item_key) in genItems"
@@ -52,7 +52,7 @@ export default {
52
52
  return []
53
53
  },
54
54
  classes() {
55
- let c = `${this.$r.prefix}list sheet sheet-tile`
55
+ let c = `${this.$r.prefix}list`
56
56
  if (this.disabled) {
57
57
  c += ' list-disabled'
58
58
  }
@@ -12,15 +12,19 @@ $item-height: 48px;
12
12
  max-width: 100%;
13
13
 
14
14
  .list-item {
15
- &.list-item-active {
16
- background-color: var(--color-sheet-active)
17
- }
15
+ &:hover {
16
+ background-color: var(--color-sheet-container);
17
+ color: var(--color-on-sheet-container);
18
+ }
18
19
 
19
- &:hover {
20
- background-color: var(--color-sheet-hover)
21
- }
20
+ &.list-item-active {
21
+ background-color: var(--color-one-container);
22
+ color: var(--color-on-one-container)
22
23
  }
23
24
 
25
+
26
+ }
27
+
24
28
  &.list-subheader {
25
29
  align-items: center;
26
30
  display: flex;
@@ -25,7 +25,7 @@
25
25
  <r-btn
26
26
  v-if="meLocation"
27
27
  :loading="loading"
28
- class="map-location color-white color-primary-text"
28
+ class="map-location color-white color-black-text"
29
29
  icon
30
30
  @click.prevent="showConfirm"
31
31
  >
@@ -8,7 +8,7 @@
8
8
  <r-col :style="'height: '+height" class="overflow-y-auto col-12 sm-3">
9
9
  <div class="pa-2">
10
10
  <slot :distance="distance" :time="time" name="header">
11
- <div class="title">{{ $helper.ifHas(modelValue, '------', 'summary', 'name') }}</div>
11
+ <div class="bodey-1">{{ $helper.ifHas(modelValue, '------', 'summary', 'name') }}</div>
12
12
  <r-divider class="my-3"></r-divider>
13
13
  <div>{{ time || '---' }}</div>
14
14
  <div>{{ distance || '0 km' }}</div>
@@ -18,7 +18,7 @@
18
18
  <div v-for="(point,i) in points"
19
19
  :key="i" class="route-point px-2 py-1 my-2 br-lg text-end">
20
20
  <div class="d-flex">
21
- <span class="mt-1 title">{{ pos(points_keys.indexOf(i)) }}</span>
21
+ <span class="mt-1 bodey-3">{{ pos(points_keys.indexOf(i)) }}</span>
22
22
  <r-spacer></r-spacer>
23
23
  <r-btn v-if="editable && i!==points_keys[0]" icon text
24
24
  @click.prevent="to(points_keys.indexOf(i),points_keys.indexOf(i)-1)">
@@ -157,7 +157,7 @@ export default {
157
157
  border: 1px solid var(--color-border);
158
158
 
159
159
  &-item:hover {
160
- background-color: var(--color-sheet-hover);
160
+ background-color: var(--color-sheet-container-high);
161
161
  }
162
162
  }
163
163
 
@@ -5,8 +5,8 @@
5
5
  <div v-if="show" :class="[status, 'notify-msg']" :style="{ width: width }">
6
6
  <slot>
7
7
  <div>
8
- <h3 class="title"><b>{{ content.title }}</b></h3>
9
- <p class="subtitle-1 ma-0">{{ content.text }}</p>
8
+ <h3 class="title-1"><b>{{ content.title }}</b></h3>
9
+ <p class="title-2 ma-0">{{ content.text }}</p>
10
10
  </div>
11
11
  </slot>
12
12
  <r-btn class="h-end" icon text @click.prevent.stop="hideMe">