renusify 1.4.8 → 2.0.1
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.
- package/components/app/style.scss +2 -10
- package/components/app/toast/toast.vue +4 -3
- package/components/bar/bottomNavigationCircle.vue +5 -5
- package/components/bar/scss/bottomNav.scss +4 -5
- package/components/bar/scss/toolbar.scss +5 -3
- package/components/breadcrumb/style.scss +1 -1
- package/components/button/index.vue +4 -4
- package/components/button/style.scss +19 -29
- package/components/calendar/index.vue +21 -20
- package/components/card/style.scss +3 -5
- package/components/chat/chatInput.vue +3 -2
- package/components/chat/chatMsg.vue +3 -3
- package/components/chat/index.vue +2 -1
- package/components/chip/index.vue +1 -1
- package/components/chip/style.scss +24 -10
- package/components/codeEditor/index.vue +5 -4
- package/components/confirm/index.vue +3 -3
- package/components/container/style.scss +1 -1
- package/components/form/checkbox.vue +3 -2
- package/components/form/colorPicker/index.vue +8 -3
- package/components/form/colorPicker/picker.vue +2 -6
- package/components/form/datePicker/index.vue +7 -9
- package/components/form/form.vue +7 -4
- package/components/form/group-input.vue +1 -1
- package/components/form/input.vue +29 -18
- package/components/form/inputTel/index.vue +2 -32
- package/components/form/json/JsonView.vue +2 -2
- package/components/form/json/index.vue +5 -5
- package/components/form/radioInput.vue +2 -2
- package/components/form/range.vue +2 -2
- package/components/form/rating.vue +4 -1
- package/components/form/select.vue +1 -1
- package/components/form/switch.vue +1 -7
- package/components/form/text-editor/index.vue +15 -15
- package/components/form/text-editor/style.scss +6 -6
- package/components/form/timepicker/index.vue +2 -0
- package/components/form/timepicker/timepicker.vue +3 -4
- package/components/form/unit-input.vue +3 -3
- package/components/formCreator/index.vue +1 -1
- package/components/icon/style.scss +1 -4
- package/components/img/index.vue +1 -1
- package/components/img/svgImg.vue +5 -3
- package/components/infinite/div.vue +2 -2
- package/components/infinite/index.vue +1 -1
- package/components/infinite/page.vue +2 -2
- package/components/list/index.vue +2 -2
- package/components/list/style.scss +5 -11
- package/components/map/index.vue +2 -2
- package/components/map/route.vue +3 -3
- package/components/menu/index.vue +1 -1
- package/components/modal/style.scss +1 -1
- package/components/notify/notification.vue +2 -2
- package/components/progress/line.vue +26 -27
- package/components/progress/style.scss +5 -5
- package/components/searchBox/index.vue +4 -4
- package/components/table/crud/header.vue +1 -1
- package/components/table/index.vue +4 -3
- package/components/table/style.scss +19 -16
- package/components/timeline/index.vue +1 -1
- package/components/tour/index.vue +5 -5
- package/components/tree/index.vue +0 -1
- package/package.json +1 -1
- package/style/app.scss +40 -34
- package/style/base.scss +45 -51
- package/style/colors.scss +48 -39
- package/style/mixins/index.scss +17 -6
- package/style/variables/base.scss +84 -69
- package/style/variables/color.scss +1 -2
|
@@ -3,16 +3,8 @@
|
|
|
3
3
|
.#{$prefix}app {
|
|
4
4
|
display: flex;
|
|
5
5
|
|
|
6
|
-
background: var(--color-
|
|
7
|
-
color: var(--color-
|
|
8
|
-
|
|
9
|
-
.background-one {
|
|
10
|
-
background: var(--color-background-one);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.background-two {
|
|
14
|
-
background: var(--color-background-two);
|
|
15
|
-
}
|
|
6
|
+
background: var(--color-sheet);
|
|
7
|
+
color: var(--color-on-sheet);
|
|
16
8
|
|
|
17
9
|
|
|
18
10
|
&.app-rtl {
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
<div :class="`${$r.prefix}toast`">
|
|
3
3
|
<transition name="slide-up">
|
|
4
4
|
<div class="toast-content br-sm elevation-md" :class="'color-'+type" v-if="modelValue">
|
|
5
|
-
<span class="title">
|
|
5
|
+
<span class="title-1">
|
|
6
6
|
<slot></slot>
|
|
7
7
|
</span>
|
|
8
8
|
<r-spacer></r-spacer>
|
|
9
|
-
|
|
9
|
+
<r-btn :class="{
|
|
10
10
|
'color-info-text':type==='warning',
|
|
11
11
|
'color-warning-text':type!=='warning'
|
|
12
|
-
}" v-if="action" @click.prevent="action(this)">{{actionName}}
|
|
12
|
+
}" class="title-1 font-weight-bold" text v-if="action" @click.prevent="action(this)">{{ actionName }}
|
|
13
|
+
</r-btn>
|
|
13
14
|
<r-btn @click.prevent="close()"
|
|
14
15
|
icon
|
|
15
16
|
text
|
|
@@ -43,8 +43,8 @@ export default {
|
|
|
43
43
|
height: 56px;
|
|
44
44
|
z-index: map_get($z-index, "default");
|
|
45
45
|
background-color: var(--color-sheet);
|
|
46
|
-
color: var(--color-
|
|
47
|
-
|
|
46
|
+
color: var(--color-on-sheet);
|
|
47
|
+
@include typography($headings, 'body-3');
|
|
48
48
|
|
|
49
49
|
.navigation-item {
|
|
50
50
|
width: 100%;
|
|
@@ -80,15 +80,15 @@ export default {
|
|
|
80
80
|
.navigation-item-icon {
|
|
81
81
|
transition: 0.3s all ease-in-out;
|
|
82
82
|
bottom: 31px;
|
|
83
|
-
background-color:
|
|
83
|
+
background-color: var(--color-one);
|
|
84
84
|
border-radius: 50%;
|
|
85
85
|
padding: 12px;
|
|
86
86
|
width: 50px;
|
|
87
87
|
height: 50px;
|
|
88
|
-
border: 3px solid
|
|
88
|
+
border: 3px solid var(--color-on-one);
|
|
89
89
|
|
|
90
90
|
.#{$prefix}icon {
|
|
91
|
-
color:
|
|
91
|
+
color: var(--color-on-one);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import "../../../style/include";
|
|
2
2
|
|
|
3
|
-
$bottom-nav-btn-font-size: map-metro-get($headings, '
|
|
3
|
+
$bottom-nav-btn-font-size: map-metro-get($headings, 'label-1', 'size') !default;
|
|
4
4
|
|
|
5
5
|
.#{$prefix}bottom-navigation {
|
|
6
6
|
bottom: 0;
|
|
@@ -9,13 +9,12 @@ $bottom-nav-btn-font-size: map-metro-get($headings, 'caption', 'size') !default;
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: $bottom-nav-height;
|
|
12
|
-
|
|
13
|
-
|
|
14
12
|
background-color: var(--color-sheet);
|
|
15
|
-
color: var(--color-
|
|
13
|
+
color: var(--color-on-sheet);
|
|
14
|
+
@include typography($headings, 'body-3');
|
|
16
15
|
|
|
17
16
|
.router-link-exact-active {
|
|
18
|
-
color: var(--color-one)
|
|
17
|
+
color: var(--color-one)
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
.#{$prefix}btn {
|
|
@@ -2,17 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
.#{$prefix}toolbar {
|
|
4
4
|
flex: 1 1 auto;
|
|
5
|
+
background-color: var(--color-sheet);
|
|
6
|
+
color: var(--color-on-sheet);
|
|
5
7
|
|
|
6
8
|
.toolbar-mobile {
|
|
7
|
-
.toolbar-close{
|
|
9
|
+
.toolbar-close {
|
|
8
10
|
width: 40px;
|
|
9
11
|
height: 40px;
|
|
10
12
|
position: absolute;
|
|
11
13
|
transition: 2s all map-get($transition, 'swing');
|
|
12
|
-
@include rtl(){
|
|
14
|
+
@include rtl() {
|
|
13
15
|
right: -40px;
|
|
14
16
|
}
|
|
15
|
-
@include ltr(){
|
|
17
|
+
@include ltr() {
|
|
16
18
|
left: -40px;
|
|
17
19
|
}
|
|
18
20
|
}
|
|
@@ -22,14 +22,15 @@
|
|
|
22
22
|
|
|
23
23
|
<script>
|
|
24
24
|
import './style.scss'
|
|
25
|
-
import {
|
|
25
|
+
import {roots} from '../../tools/rootable'
|
|
26
|
+
|
|
26
27
|
export default {
|
|
27
28
|
name: 'r-btn',
|
|
28
29
|
mixins: [roots],
|
|
29
30
|
props: {
|
|
30
31
|
tag: {
|
|
31
32
|
type: String,
|
|
32
|
-
default: '
|
|
33
|
+
default: 'button'
|
|
33
34
|
},
|
|
34
35
|
size: {
|
|
35
36
|
type: String,
|
|
@@ -89,8 +90,7 @@ export default {
|
|
|
89
90
|
c += ' btn-tile'
|
|
90
91
|
}
|
|
91
92
|
if (this.disabled) {
|
|
92
|
-
c +=
|
|
93
|
-
c += ' disabled-text'
|
|
93
|
+
c += ` btn-disabled`
|
|
94
94
|
}
|
|
95
95
|
if (this.readonly) {
|
|
96
96
|
c += ' btn-readonly'
|
|
@@ -58,37 +58,36 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
58
58
|
vertical-align: middle;
|
|
59
59
|
white-space: nowrap;
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
&.btn-disabled {
|
|
63
|
-
color: var(--color-disabled) !important;
|
|
64
|
-
|
|
65
|
-
.btn-loading {
|
|
66
|
-
color: var(--color-disabled) !important
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:not(.btn-text):not(.btn-outlined) {
|
|
70
|
-
background-color: var(--color-focused) !important
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
61
|
&:not(.btn-text):not(.btn-outlined) {
|
|
75
|
-
background-color: var(--color-sheet);
|
|
62
|
+
background-color: var(--color-sheet-container-low);
|
|
63
|
+
color: var(--color-on-sheet);
|
|
76
64
|
}
|
|
77
65
|
|
|
78
66
|
&.btn-outlined.btn-text {
|
|
79
|
-
border-color: var(--color-
|
|
67
|
+
border-color: var(--color-border)
|
|
80
68
|
}
|
|
81
69
|
|
|
82
70
|
|
|
83
71
|
@include states();
|
|
84
72
|
|
|
73
|
+
&.btn-disabled {
|
|
74
|
+
@include disable-states();
|
|
75
|
+
|
|
76
|
+
&:not(.btn-text):not(.btn-outlined) {
|
|
77
|
+
background-color: var(--color-#{map-metro-get($states, 'disabled','state','color')}) !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&.btn-text, &.btn-outlined {
|
|
81
|
+
&::before {
|
|
82
|
+
opacity: 0 !important;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
85
87
|
@include ltr() {
|
|
86
88
|
letter-spacing: $btn-letter-spacing;
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
&.btn-disabled {
|
|
90
|
-
pointer-events: none;
|
|
91
|
-
}
|
|
92
91
|
|
|
93
92
|
&.btn-readonly {
|
|
94
93
|
pointer-events: none;
|
|
@@ -109,10 +108,6 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
109
108
|
background-color: currentColor
|
|
110
109
|
}
|
|
111
110
|
|
|
112
|
-
&:not(.btn-disabled) {
|
|
113
|
-
will-change: box-shadow
|
|
114
|
-
}
|
|
115
|
-
|
|
116
111
|
&:not(.btn-round) {
|
|
117
112
|
@each $name, $size in $btn-sizes {
|
|
118
113
|
$p: div($size, 2.25);
|
|
@@ -223,11 +218,6 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
223
218
|
box-shadow: none !important
|
|
224
219
|
}
|
|
225
220
|
|
|
226
|
-
.btn-disabled {
|
|
227
|
-
box-shadow: none;
|
|
228
|
-
pointer-events: none
|
|
229
|
-
}
|
|
230
|
-
|
|
231
221
|
.btn-icon,
|
|
232
222
|
.btn-fab {
|
|
233
223
|
min-height: 0;
|
|
@@ -351,8 +341,8 @@ $btn-transition: opacity 0.2s map-get($transition, 'ease-in-out') !default;
|
|
|
351
341
|
|
|
352
342
|
.#{$prefix}button-group {
|
|
353
343
|
position: relative;
|
|
354
|
-
color:
|
|
355
|
-
background-color: var(--color-sheet);
|
|
344
|
+
color: var(--color-on-sheet);;
|
|
345
|
+
background-color: var(--color-sheet-low);
|
|
356
346
|
|
|
357
347
|
@include states();
|
|
358
348
|
|
|
@@ -111,7 +111,7 @@ export default {
|
|
|
111
111
|
year: Number,
|
|
112
112
|
month: Number,
|
|
113
113
|
},
|
|
114
|
-
emits:['change','select'],
|
|
114
|
+
emits: ['change', 'select'],
|
|
115
115
|
data() {
|
|
116
116
|
return {
|
|
117
117
|
tab: 'day',
|
|
@@ -322,33 +322,34 @@ export default {
|
|
|
322
322
|
position: relative;
|
|
323
323
|
display: inline-block;
|
|
324
324
|
font-size: 10px;
|
|
325
|
-
color: #303030;
|
|
326
325
|
overflow-x: auto;
|
|
327
326
|
max-width: 100%;
|
|
328
|
-
.cell, .headCell {
|
|
329
|
-
border: 1px solid var(--color-border);
|
|
330
|
-
}
|
|
331
|
-
.cell {
|
|
332
|
-
&.today {
|
|
333
|
-
color: var(--color-one);
|
|
334
327
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
328
|
+
.cell, .headCell {
|
|
329
|
+
border: 1px solid var(--color-border);
|
|
330
|
+
}
|
|
339
331
|
|
|
340
|
-
|
|
341
|
-
.cellContent {
|
|
342
|
-
border: solid 1px var(--color-one);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
332
|
+
.cell {
|
|
345
333
|
|
|
334
|
+
&.today {
|
|
335
|
+
.cellContent {
|
|
336
|
+
border: solid 1px var(--color-one);
|
|
337
|
+
}
|
|
346
338
|
}
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
339
|
+
|
|
340
|
+
&.selectable:hover {
|
|
341
|
+
.cellContent {
|
|
342
|
+
border: solid 1px var(--color-one);
|
|
343
|
+
}
|
|
350
344
|
}
|
|
351
345
|
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.cell.disabled {
|
|
349
|
+
background-color: var(--color-border);
|
|
350
|
+
opacity: 0.3;
|
|
351
|
+
}
|
|
352
|
+
|
|
352
353
|
|
|
353
354
|
.table {
|
|
354
355
|
width: 100%;
|
|
@@ -71,11 +71,9 @@
|
|
|
71
71
|
transition: box-shadow .3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
72
72
|
@include elevation('md');
|
|
73
73
|
border-radius: map_get($borders, 'md');
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
border-color: var(--color-sheet);
|
|
78
|
-
color: var(--color-text-primary);
|
|
74
|
+
background-color: var(--color-sheet-container-low);
|
|
75
|
+
border-color: var(--color-sheet-container-low);
|
|
76
|
+
color: var(--color-on-sheet);
|
|
79
77
|
|
|
80
78
|
|
|
81
79
|
&-tile {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<r-icon v-html="$r.icons.send"></r-icon>
|
|
38
38
|
</r-btn>
|
|
39
39
|
<br>
|
|
40
|
-
<span class="
|
|
40
|
+
<span v-if="remain<30" class="label-1 color-error-text">{{ remain }}</span>
|
|
41
41
|
</div>
|
|
42
42
|
<input accept="*"
|
|
43
43
|
@change="addFile()"
|
|
@@ -118,7 +118,8 @@ export default {
|
|
|
118
118
|
display: flex;
|
|
119
119
|
|
|
120
120
|
box-shadow: black 0px 8px 15px;
|
|
121
|
-
background: var(--color-
|
|
121
|
+
background: var(--color-sheet-container);
|
|
122
|
+
color: var(--color-on-sheet);
|
|
122
123
|
border-top: 1px solid var(--color-border);
|
|
123
124
|
|
|
124
125
|
.chat-input {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
'in-line-btm':i===message.list.length-1&&message.list.length>1
|
|
19
19
|
}">
|
|
20
20
|
<div class="message-text body-1">
|
|
21
|
-
<div class="message-username
|
|
21
|
+
<div v-if="!isMe" class="message-username title-3">{{ user.name }}
|
|
22
22
|
</div>
|
|
23
23
|
<div v-if="msg.type==='file'" @click="$helper.download('/'+msg.link)">
|
|
24
24
|
<div class="mx-n2 mt-n1" v-if="isImg(msg.link)">
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div v-html="msg.content"></div>
|
|
35
|
-
<div class="message-info text-end
|
|
35
|
+
<div class="message-info text-end label-1">
|
|
36
36
|
{{ msg.timestamp }}
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
@@ -170,7 +170,7 @@ export default {
|
|
|
170
170
|
height: 30px;
|
|
171
171
|
border-radius: 50%;
|
|
172
172
|
|
|
173
|
-
background-color: var(--color-
|
|
173
|
+
background-color: var(--color-sheet);
|
|
174
174
|
|
|
175
175
|
position: absolute;
|
|
176
176
|
top: -15px;
|
|
@@ -53,16 +53,29 @@ $icon-sizes: (
|
|
|
53
53
|
transition-duration: $chip-transition-duration;
|
|
54
54
|
transition-timing-function: $chip-transition-fn;
|
|
55
55
|
vertical-align: middle;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
border-color: var(--color-divider);
|
|
56
|
+
border-color: var(--color-border);
|
|
59
57
|
|
|
60
58
|
&:not(.chip-active) {
|
|
61
|
-
background:
|
|
59
|
+
background: var(--color-sheet-container-low);
|
|
60
|
+
color: var(--color-on-sheet);
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
@include states();
|
|
65
64
|
|
|
65
|
+
&.chip-disabled {
|
|
66
|
+
@include disable-states();
|
|
67
|
+
|
|
68
|
+
&:not(.chip-text):not(.chip-outlined) {
|
|
69
|
+
background-color: var(--color-#{map-metro-get($states, 'disabled','state','color')}) !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.btn-text, &.btn-outlined {
|
|
73
|
+
&::before {
|
|
74
|
+
opacity: 0 !important;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
66
79
|
&:before {
|
|
67
80
|
background-color: currentColor;
|
|
68
81
|
bottom: 0;
|
|
@@ -108,18 +121,19 @@ $icon-sizes: (
|
|
|
108
121
|
}
|
|
109
122
|
|
|
110
123
|
&.chip-active {
|
|
124
|
+
background-color: var(--color-one);
|
|
125
|
+
color: var(--color-on-one);
|
|
126
|
+
|
|
127
|
+
.chip-close {
|
|
128
|
+
color: var(--color-on-one);
|
|
129
|
+
}
|
|
130
|
+
|
|
111
131
|
.#{$prefix}icon {
|
|
112
132
|
color: inherit;
|
|
113
133
|
padding: 0 3px;
|
|
114
134
|
}
|
|
115
135
|
}
|
|
116
136
|
|
|
117
|
-
&.chip-disabled {
|
|
118
|
-
opacity: .4;
|
|
119
|
-
pointer-events: none;
|
|
120
|
-
user-select: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
137
|
&.chip-label {
|
|
124
138
|
border-radius: $chip-label-border-radius !important
|
|
125
139
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div :class="`${$r.prefix}code-editor`">
|
|
3
3
|
<div class="code-action text-right">
|
|
4
4
|
<r-btn
|
|
5
|
-
class="
|
|
5
|
+
class="color-white-text"
|
|
6
6
|
icon
|
|
7
7
|
text
|
|
8
8
|
@click.prevent="$helper.copy($refs.codeView.innerText)"
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
<r-icon v-html="$r.icons.copy"></r-icon>
|
|
11
11
|
</r-btn>
|
|
12
12
|
<r-btn
|
|
13
|
-
class="
|
|
13
|
+
class="color-white-text"
|
|
14
14
|
icon
|
|
15
15
|
text
|
|
16
16
|
@click.prevent="pretty"
|
|
17
17
|
>
|
|
18
18
|
P
|
|
19
19
|
</r-btn>
|
|
20
|
-
<r-btn v-if="show === 'code' && runnable" text @click="show = 'run'">
|
|
20
|
+
<r-btn v-if="show === 'code' && runnable" class="color-white-text" text @click="show = 'run'">
|
|
21
21
|
run
|
|
22
22
|
<r-icon v-html="$r.icons.play" exact></r-icon>
|
|
23
23
|
</r-btn>
|
|
24
|
-
<r-btn v-if="show === 'run'" text @click="show = 'code'">
|
|
24
|
+
<r-btn v-if="show === 'run'" class="color-white-text" text @click="show = 'code'">
|
|
25
25
|
<r-icon v-html="$r.icons.code_tags" exact></r-icon>
|
|
26
26
|
</r-btn>
|
|
27
27
|
</div>
|
|
@@ -137,6 +137,7 @@ export default {
|
|
|
137
137
|
background-color: #15212e;
|
|
138
138
|
color: #fff;
|
|
139
139
|
padding: 10px;
|
|
140
|
+
font-size: 14px;
|
|
140
141
|
|
|
141
142
|
.code-script,
|
|
142
143
|
.code-template {
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<r-container class="container-fluid">
|
|
5
5
|
<r-row>
|
|
6
6
|
<r-col class="col-12 text-center">
|
|
7
|
-
<h2 class="
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<h2 class="title-1">
|
|
8
|
+
{{ title || $t('confirm_title', 'renusify') }}
|
|
9
|
+
</h2>
|
|
10
10
|
<r-divider class="my-3 color-warning"></r-divider>
|
|
11
11
|
</r-col>
|
|
12
12
|
<r-col class="col-12">
|
|
@@ -70,7 +70,7 @@ $divider-inset-margin: 72px !default;
|
|
|
70
70
|
max-height: 0px;
|
|
71
71
|
transition: inherit;
|
|
72
72
|
|
|
73
|
-
border-top: solid thin var(--color-
|
|
73
|
+
border-top: solid thin var(--color-border-low);
|
|
74
74
|
|
|
75
75
|
&.divider-inset:not(.divider-vertical) {
|
|
76
76
|
max-width: calc(100% - #{$divider-inset-margin});
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
v-html="$r.icons.check" exact></r-icon>
|
|
17
17
|
</transition>
|
|
18
18
|
</span>
|
|
19
|
-
<span class="ms-2
|
|
19
|
+
<span class="ms-2" @click="emit">
|
|
20
20
|
<span class="color-error-text" v-if="isRequired">*</span>
|
|
21
21
|
<slot name="label">{{ label }}</slot>
|
|
22
22
|
</span>
|
|
@@ -72,7 +72,7 @@ emits:['update:modelValue'],
|
|
|
72
72
|
cursor: pointer;
|
|
73
73
|
|
|
74
74
|
.checkbox-input {
|
|
75
|
-
border: 1px solid var(--color-
|
|
75
|
+
border: 1px solid var(--color-on-sheet-low)
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.#{$prefix}icon {
|
|
@@ -145,6 +145,7 @@ emits:['update:modelValue'],
|
|
|
145
145
|
|
|
146
146
|
.checkbox-select {
|
|
147
147
|
background-color: currentColor;
|
|
148
|
+
border: 0;
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
</style>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
<r-input class="mt-5" :model-value="modelValue" hide labelControlClass="label-active"
|
|
3
3
|
:class="`${$r.prefix}color-picker`">
|
|
4
4
|
<div @click="open=true" class="shower" :style="{'background-color':modelValue||'#ffffff'}"></div>
|
|
5
|
-
<r-modal v-model="open"
|
|
5
|
+
<r-modal v-model="open" :closebtn="false" class="color-picker-modal" closable maxWidth="260px">
|
|
6
6
|
<picker :color="modelValue" @changeColor="emit"></picker>
|
|
7
7
|
<div class="d-flex h-space-between">
|
|
8
|
-
<r-btn class="color-success flex-grow-1 me-1" @click.prevent="close()">
|
|
8
|
+
<r-btn class="color-success flex-grow-1 me-1" outlined @click.prevent="close()">
|
|
9
9
|
<r-icon v-html="$r.icons.check" exact></r-icon>
|
|
10
10
|
</r-btn>
|
|
11
|
-
<r-btn class=" color-error flex-grow-1 ms-1" @click.prevent="clear()"
|
|
11
|
+
<r-btn class=" color-error flex-grow-1 ms-1" exact outlined @click.prevent="clear()">
|
|
12
12
|
<r-icon v-html="$r.icons.delete"></r-icon>
|
|
13
13
|
</r-btn>
|
|
14
14
|
</div>
|
|
@@ -62,5 +62,10 @@ export default {
|
|
|
62
62
|
cursor: pointer;
|
|
63
63
|
border: 1px solid black;
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
.color-picker-modal {
|
|
67
|
+
background-color: var(--color-sheet-container-high);
|
|
68
|
+
color: var(--color-on-sheet);
|
|
69
|
+
}
|
|
65
70
|
}
|
|
66
71
|
</style>
|
|
@@ -170,8 +170,6 @@ export default {
|
|
|
170
170
|
box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.16);
|
|
171
171
|
z-index: 1;
|
|
172
172
|
|
|
173
|
-
background: #f7f8f9;
|
|
174
|
-
|
|
175
173
|
canvas {
|
|
176
174
|
vertical-align: top;
|
|
177
175
|
}
|
|
@@ -212,13 +210,11 @@ export default {
|
|
|
212
210
|
|
|
213
211
|
|
|
214
212
|
.name {
|
|
215
|
-
|
|
216
|
-
background: #e7e8e9;
|
|
213
|
+
background: var(--color-sheet-container)
|
|
217
214
|
}
|
|
218
215
|
|
|
219
216
|
.value {
|
|
220
|
-
|
|
221
|
-
background: #eceef0;
|
|
217
|
+
background: var(--color-sheet)
|
|
222
218
|
}
|
|
223
219
|
}
|
|
224
220
|
}
|
|
@@ -375,7 +375,8 @@ export default {
|
|
|
375
375
|
position: relative;
|
|
376
376
|
display: inline-block;
|
|
377
377
|
font-size: 10px;
|
|
378
|
-
color:
|
|
378
|
+
color: var(--color-on-sheet);
|
|
379
|
+
background-color: var(--color-sheet-container-high);
|
|
379
380
|
|
|
380
381
|
.cell {
|
|
381
382
|
&.today {
|
|
@@ -388,8 +389,7 @@ export default {
|
|
|
388
389
|
|
|
389
390
|
&.selected {
|
|
390
391
|
.cellContent {
|
|
391
|
-
|
|
392
|
-
color: #fff;
|
|
392
|
+
color: var(--color-on-one);
|
|
393
393
|
background: var(--color-one);
|
|
394
394
|
|
|
395
395
|
}
|
|
@@ -398,7 +398,7 @@ export default {
|
|
|
398
398
|
&.selectable:hover {
|
|
399
399
|
.cellContent {
|
|
400
400
|
|
|
401
|
-
color:
|
|
401
|
+
color: var(--color-on-one);
|
|
402
402
|
background: var(--color-one);
|
|
403
403
|
|
|
404
404
|
}
|
|
@@ -439,7 +439,7 @@ export default {
|
|
|
439
439
|
|
|
440
440
|
font-size: 1.3em;
|
|
441
441
|
font-weight: normal;
|
|
442
|
-
color:
|
|
442
|
+
color: var(--color-on-sheet-low);
|
|
443
443
|
|
|
444
444
|
}
|
|
445
445
|
|
|
@@ -456,7 +456,7 @@ export default {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.cell.outOfRange {
|
|
459
|
-
color:
|
|
459
|
+
color: var(--color-sheet-low);
|
|
460
460
|
}
|
|
461
461
|
|
|
462
462
|
.cell.selectable {
|
|
@@ -466,9 +466,7 @@ export default {
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
.cell.disabled {
|
|
469
|
-
|
|
470
|
-
opacity: 0.5;
|
|
471
|
-
|
|
469
|
+
opacity: 0.38;
|
|
472
470
|
}
|
|
473
471
|
|
|
474
472
|
}
|