oxy-uni-ui 2.1.3 → 2.1.5
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/attributes.json +1 -1
- package/components/common/abstracts/variable.scss +364 -5
- package/components/oxy-action-sheet/index.scss +21 -13
- package/components/oxy-backtop/index.scss +1 -1
- package/components/oxy-badge/index.scss +1 -1
- package/components/oxy-button/index.scss +13 -10
- package/components/oxy-calendar/index.scss +32 -8
- package/components/oxy-calendar-view/month/index.scss +3 -3
- package/components/oxy-calendar-view/monthPanel/index.scss +4 -4
- package/components/oxy-calendar-view/year/index.scss +3 -3
- package/components/oxy-calendar-view/yearPanel/index.scss +1 -1
- package/components/oxy-card/index.scss +5 -5
- package/components/oxy-cell/index.scss +9 -9
- package/components/oxy-cell-group/index.scss +10 -10
- package/components/oxy-checkbox/index.scss +47 -6
- package/components/oxy-checkbox-group/index.scss +1 -1
- package/components/oxy-col-picker/index.scss +7 -7
- package/components/oxy-collapse/index.scss +7 -3
- package/components/oxy-collapse-item/index.scss +9 -5
- package/components/oxy-config-provider/oxy-config-provider.vue +49 -10
- package/components/oxy-config-provider/types.ts +856 -1
- package/components/oxy-corner/index.scss +1 -1
- package/components/oxy-count-down/index.scss +2 -2
- package/components/oxy-curtain/index.scss +1 -1
- package/components/oxy-date-strip-item/index.scss +1 -1
- package/components/oxy-datetime-picker/index.scss +12 -8
- package/components/oxy-divider/index.scss +3 -3
- package/components/oxy-drop-menu/index.scss +3 -3
- package/components/oxy-drop-menu-item/index.scss +10 -2
- package/components/oxy-drop-menu-item/oxy-drop-menu-item.vue +1 -1
- package/components/oxy-echarts/oxy-echarts.vue +2 -2
- package/components/oxy-fab/index.scss +25 -0
- package/components/oxy-file-list/index.scss +3 -3
- package/components/oxy-floating-panel/index.scss +10 -2
- package/components/oxy-footer/index.scss +6 -0
- package/components/oxy-gap/index.scss +3 -1
- package/components/oxy-gap/oxy-gap.vue +2 -2
- package/components/oxy-gap/types.ts +1 -1
- package/components/oxy-grid-item/index.scss +7 -4
- package/components/oxy-grid-item/oxy-grid-item.vue +4 -3
- package/components/oxy-index-anchor/index.scss +4 -4
- package/components/oxy-index-bar/index.scss +8 -3
- package/components/oxy-index-bar/oxy-index-bar.vue +14 -1
- package/components/oxy-index-bar/types.ts +2 -1
- package/components/oxy-input/index.scss +14 -14
- package/components/oxy-input/placeholder.scss +1 -1
- package/components/oxy-input-number/index.scss +16 -6
- package/components/oxy-keyboard/index.scss +11 -3
- package/components/oxy-keyboard/key/index.scss +4 -4
- package/components/oxy-keyboard/oxy-keyboard.vue +1 -0
- package/components/oxy-loadmore/index.scss +1 -1
- package/components/oxy-message-box/index.scss +5 -5
- package/components/oxy-message-box/oxy-message-box.vue +5 -1
- package/components/oxy-navbar/index.scss +9 -5
- package/components/oxy-navbar-capsule/index.scss +5 -5
- package/components/oxy-overlay/index.scss +2 -0
- package/components/oxy-pagination/index.scss +47 -9
- package/components/oxy-password-input/index.scss +7 -7
- package/components/oxy-picker/index.scss +43 -6
- package/components/oxy-picker-view/index.scss +12 -4
- package/components/oxy-popover/index.scss +2 -2
- package/components/oxy-popup/index.scss +2 -2
- package/components/oxy-progress/index.scss +1 -1
- package/components/oxy-radio/index.scss +17 -16
- package/components/oxy-radio-group/index.scss +1 -1
- package/components/oxy-rich-text/index.scss +27 -4
- package/components/oxy-rich-text/mp-html/mp-html.vue +4 -0
- package/components/oxy-rich-text/oxy-rich-text.vue +4 -15
- package/components/oxy-rich-text/types.ts +11 -0
- package/components/oxy-search/index.scss +14 -11
- package/components/oxy-segmented/index.scss +6 -6
- package/components/oxy-select/index.scss +22 -22
- package/components/oxy-select-picker/index.scss +24 -4
- package/components/oxy-sidebar/index.scss +5 -5
- package/components/oxy-sidebar-item/index.scss +8 -7
- package/components/oxy-skeleton/index.scss +1 -1
- package/components/oxy-slider/index.scss +3 -3
- package/components/oxy-sort-button/index.scss +1 -1
- package/components/oxy-splitter-panel/index.scss +7 -7
- package/components/oxy-status-tip/index.scss +3 -2
- package/components/oxy-step/index.scss +10 -10
- package/components/oxy-tabbar/index.scss +7 -3
- package/components/oxy-tabbar-item/index.scss +2 -2
- package/components/oxy-table/index.scss +7 -7
- package/components/oxy-tabs/index.scss +30 -18
- package/components/oxy-tag/index.scss +19 -7
- package/components/oxy-textarea/index.scss +17 -17
- package/components/oxy-textarea/placeholder.scss +2 -2
- package/components/oxy-tooltip/index.scss +2 -2
- package/components/oxy-tree/index.scss +1 -1
- package/components/oxy-upload/index.scss +10 -10
- package/components/oxy-voice-player/index.scss +4 -0
- package/package.json +1 -1
- package/tags.json +1 -1
- package/web-types.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="oxy-rich-text" :style="customStyle"
|
|
2
|
+
<view :class="['oxy-rich-text', { editable }, customClass]" :style="customStyle">
|
|
3
3
|
<view v-if="editable" class="editor_toolbox">
|
|
4
4
|
<template v-for="(button, index) in toolButtons" :key="index">
|
|
5
5
|
<image width="32rpx" height="32rpx" v-if="button.icon" :src="button.icon" alt="" @click="button.tap()" />
|
|
@@ -99,7 +99,7 @@ import OxyInput from '../oxy-input/oxy-input.vue'
|
|
|
99
99
|
import OxyButton from '../oxy-button/oxy-button.vue'
|
|
100
100
|
import { useMessage } from '../../index'
|
|
101
101
|
import { useTranslate } from '../composables/useTranslate'
|
|
102
|
-
import { type ActionSheetInfo, type RemoveEvent, richTextProps, type ToolButton } from './types'
|
|
102
|
+
import { type ActionSheetInfo, type CustomNodeTapEvent, type LinkTapEvent, type RemoveEvent, richTextProps, type ToolButton } from './types'
|
|
103
103
|
import emjio from './icon/emjio.svg'
|
|
104
104
|
import quote from './icon/quote.svg'
|
|
105
105
|
import text from './icon/text.svg'
|
|
@@ -107,23 +107,12 @@ import title from './icon/title.svg'
|
|
|
107
107
|
|
|
108
108
|
const props = defineProps(richTextProps)
|
|
109
109
|
|
|
110
|
-
type LinkTapEvent = {
|
|
111
|
-
href: string
|
|
112
|
-
innerText?: string
|
|
113
|
-
[key: string]: unknown
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
type CustomTapEvent = {
|
|
117
|
-
innerText?: string
|
|
118
|
-
[key: string]: unknown
|
|
119
|
-
}
|
|
120
|
-
|
|
121
110
|
const emit = defineEmits<{
|
|
122
111
|
save: [value: string]
|
|
123
112
|
clear: [void]
|
|
124
113
|
remove: [event: RemoveEvent]
|
|
125
114
|
linktap: [event: LinkTapEvent]
|
|
126
|
-
customtap: [event:
|
|
115
|
+
customtap: [event: CustomNodeTapEvent]
|
|
127
116
|
}>()
|
|
128
117
|
const { translate } = useTranslate('richText')
|
|
129
118
|
const templates = [
|
|
@@ -421,7 +410,7 @@ function handleLinkTap(e: LinkTapEvent): void {
|
|
|
421
410
|
emit('linktap', e)
|
|
422
411
|
}
|
|
423
412
|
|
|
424
|
-
function handleCustomTap(e:
|
|
413
|
+
function handleCustomTap(e: CustomNodeTapEvent): void {
|
|
425
414
|
emit('customtap', e)
|
|
426
415
|
}
|
|
427
416
|
|
|
@@ -70,6 +70,17 @@ export type RichTextProps = ExtractPropTypes<typeof richTextProps>
|
|
|
70
70
|
|
|
71
71
|
export type RichTextInstance = ComponentPublicInstance<RichTextExpose, RichTextProps>
|
|
72
72
|
|
|
73
|
+
export interface LinkTapEvent {
|
|
74
|
+
href?: string
|
|
75
|
+
innerText?: string
|
|
76
|
+
[key: string]: unknown
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export interface CustomNodeTapEvent {
|
|
80
|
+
innerText?: string
|
|
81
|
+
[key: string]: unknown
|
|
82
|
+
}
|
|
83
|
+
|
|
73
84
|
export interface ToolButton {
|
|
74
85
|
name: string
|
|
75
86
|
method?: string
|
|
@@ -3,42 +3,45 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(search) {
|
|
6
|
-
background: $-dark
|
|
6
|
+
background: $-search-bg-dark;
|
|
7
7
|
|
|
8
8
|
@include e(block) {
|
|
9
|
-
background-color: $-dark
|
|
9
|
+
background-color: $-search-input-bg-dark;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@include e(input) {
|
|
13
|
-
color: $-
|
|
13
|
+
color: $-search-input-color-dark;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
@include e(cover) {
|
|
17
|
-
background-color: $-dark
|
|
17
|
+
background-color: $-search-input-bg-dark;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@include e(search-icon) {
|
|
21
|
-
color: $-
|
|
21
|
+
color: $-search-icon-color-dark;
|
|
22
22
|
}
|
|
23
23
|
@include e(search-left-icon) {
|
|
24
|
-
color: $-
|
|
24
|
+
color: $-search-icon-color-dark;
|
|
25
25
|
}
|
|
26
26
|
@include e(clear) {
|
|
27
|
-
color: $-
|
|
27
|
+
color: $-search-icon-color-dark;
|
|
28
28
|
}
|
|
29
29
|
@include e(cancel) {
|
|
30
|
-
color: $-
|
|
30
|
+
color: $-search-cancel-color-dark;
|
|
31
|
+
}
|
|
32
|
+
@include e(placeholder-txt) {
|
|
33
|
+
color: $-search-placeholder-color-dark;
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
@include when(light) {
|
|
34
|
-
background: $-dark
|
|
37
|
+
background: $-search-light-bg-dark;
|
|
35
38
|
|
|
36
39
|
.oxy-search__block {
|
|
37
|
-
background: $-dark
|
|
40
|
+
background: $-search-light-input-bg-dark;
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
.oxy-search__cover {
|
|
41
|
-
background: $-dark
|
|
44
|
+
background: $-search-light-input-bg-dark;
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
}
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(segmented) {
|
|
6
|
-
background: $-dark
|
|
6
|
+
background: $-segmented-item-bg-color-dark;
|
|
7
7
|
|
|
8
8
|
@include e(item) {
|
|
9
|
-
color: $-dark
|
|
9
|
+
color: $-segmented-item-color-dark;
|
|
10
10
|
|
|
11
11
|
@include when(active) {
|
|
12
|
-
color: $-
|
|
12
|
+
color: $-segmented-item-active-color-dark;
|
|
13
13
|
|
|
14
14
|
@include when(disabled) {
|
|
15
|
-
color: $-dark
|
|
15
|
+
color: $-segmented-item-active-disabled-color-dark;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@include when(disabled) {
|
|
20
|
-
color: $-
|
|
20
|
+
color: $-segmented-item-disabled-color-dark;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@include m(active) {
|
|
24
|
-
background-color: $-
|
|
24
|
+
background-color: $-segmented-item-acitve-bg-dark;
|
|
25
25
|
|
|
26
26
|
@include when(disabled) {
|
|
27
27
|
opacity: $-opacity-disabled;
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
.oxy-select__wrapper {
|
|
39
39
|
font-size: $-select-fs;
|
|
40
40
|
color: $-select-text-color;
|
|
41
|
-
border: 1px solid $-
|
|
41
|
+
border: 1px solid $-select-border-color;
|
|
42
42
|
box-sizing: border-box;
|
|
43
43
|
border-radius: $-select-wrapper-radius;
|
|
44
44
|
padding: 0 $-select-wrapper-padding-x;
|
|
@@ -54,19 +54,19 @@
|
|
|
54
54
|
transition: all $-transition-duration-base;
|
|
55
55
|
|
|
56
56
|
&:hover:not(.is-disabled):not(.is-readonly) {
|
|
57
|
-
border-color: $-color
|
|
57
|
+
border-color: $-select-focus-border-color;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&.is-focus:not(.is-disabled):not(.is-readonly) {
|
|
61
|
-
border-color: $-color
|
|
61
|
+
border-color: $-select-focus-border-color;
|
|
62
62
|
box-shadow: $-select-focus-shadow;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
&.is-disabled {
|
|
66
|
-
background-color: $-
|
|
67
|
-
border-color: $-
|
|
66
|
+
background-color: $-select-bg;
|
|
67
|
+
border-color: $-select-disabled-border-color;
|
|
68
68
|
cursor: not-allowed;
|
|
69
|
-
color: $-color
|
|
69
|
+
color: $-select-disabled-text-color;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&.is-readonly {
|
|
@@ -110,17 +110,17 @@
|
|
|
110
110
|
max-width: 100%;
|
|
111
111
|
height: $-select-tag-height;
|
|
112
112
|
padding: $-select-tag-padding;
|
|
113
|
-
background-color: $-
|
|
114
|
-
border-color: $-
|
|
113
|
+
background-color: $-select-bg;
|
|
114
|
+
border-color: $-select-tag-border-color;
|
|
115
115
|
border-radius: $-select-tag-radius;
|
|
116
|
-
color: $-color
|
|
116
|
+
color: $-select-tag-text-color;
|
|
117
117
|
font-size: $-select-tag-font-size;
|
|
118
118
|
line-height: $-select-tag-line-height;
|
|
119
119
|
transition: all $-transition-duration-base;
|
|
120
120
|
|
|
121
121
|
&:hover {
|
|
122
|
-
border-color: $-color
|
|
123
|
-
color: $-color
|
|
122
|
+
border-color: $-select-tag-hover-border-color;
|
|
123
|
+
color: $-select-tag-hover-text-color;
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -140,11 +140,11 @@
|
|
|
140
140
|
margin-right: 0;
|
|
141
141
|
height: auto;
|
|
142
142
|
line-height: 1;
|
|
143
|
-
color: $-color
|
|
143
|
+
color: $-select-tag-close-color;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
:deep(.oxy-select__tags-item-tag .oxy-tag__close:active) {
|
|
147
|
-
color: $-color
|
|
147
|
+
color: $-select-tag-close-active-color;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.oxy-select__tags-item-text {
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.oxy-select__input-plac {
|
|
162
|
-
color: $-color
|
|
162
|
+
color: $-select-placeholder-color;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.oxy-select__selector__down {
|
|
@@ -187,8 +187,8 @@
|
|
|
187
187
|
position: absolute;
|
|
188
188
|
left: 0;
|
|
189
189
|
width: 100%;
|
|
190
|
-
background-color: $-
|
|
191
|
-
border: 1px solid $-
|
|
190
|
+
background-color: $-select-dropdown-bg;
|
|
191
|
+
border: 1px solid $-select-dropdown-border-color;
|
|
192
192
|
border-radius: $-select-dropdown-radius;
|
|
193
193
|
box-shadow: $-select-dropdown-shadow;
|
|
194
194
|
z-index: $-z-index-overlay;
|
|
@@ -252,11 +252,11 @@
|
|
|
252
252
|
display: flex;
|
|
253
253
|
justify-content: space-between;
|
|
254
254
|
align-items: center;
|
|
255
|
-
color: $-color
|
|
255
|
+
color: $-select-option-text-color;
|
|
256
256
|
cursor: pointer;
|
|
257
257
|
|
|
258
258
|
&:hover:not(.oxy-select__selector__disabled) {
|
|
259
|
-
background-color: $-
|
|
259
|
+
background-color: $-select-hover-bg;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
&.oxy-select_selector-item_active {
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
.oxy-select__selector__disabled {
|
|
270
|
-
color: $-color
|
|
270
|
+
color: $-select-option-disabled-text-color;
|
|
271
271
|
cursor: not-allowed;
|
|
272
272
|
background-color: transparent !important;
|
|
273
273
|
}
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
align-items: center;
|
|
278
278
|
justify-content: center;
|
|
279
279
|
padding: $-spacing-40 0;
|
|
280
|
-
color: $-color
|
|
280
|
+
color: $-select-loading-color;
|
|
281
281
|
font-size: $-fs-secondary;
|
|
282
282
|
|
|
283
283
|
&-icon {
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
left: 10%;
|
|
310
310
|
margin-right: $-spacing-8;
|
|
311
311
|
border-top-width: 0;
|
|
312
|
-
border-bottom-color: $-
|
|
312
|
+
border-bottom-color: $-select-dropdown-border-color;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
.oxy-select__selector-arrow::after {
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
top: 2rpx;
|
|
318
318
|
margin-left: -12rpx;
|
|
319
319
|
border-top-width: 0;
|
|
320
|
-
border-bottom-color: $-
|
|
320
|
+
border-bottom-color: $-select-dropdown-bg;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.oxy-select__input-text {
|
|
@@ -4,20 +4,40 @@
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(select-picker) {
|
|
6
6
|
:deep(.oxy-select-picker__arrow),
|
|
7
|
-
:deep(.oxy-select-picker__close)
|
|
7
|
+
:deep(.oxy-select-picker__close) {
|
|
8
|
+
color: $-select-picker-arrow-color-dark;
|
|
9
|
+
}
|
|
10
|
+
|
|
8
11
|
:deep(.oxy-select-picker__clear) {
|
|
9
|
-
color: $-
|
|
12
|
+
color: $-select-picker-clear-color-dark;
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
:deep(.oxy-select-picker__cell--placeholder) {
|
|
13
16
|
.oxy-cell__value {
|
|
14
|
-
color: $-
|
|
17
|
+
color: $-select-picker-placeholder-color-dark;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
|
|
21
|
+
@include e(loading) {
|
|
22
|
+
background: $-picker-loading-bg-dark;
|
|
23
|
+
}
|
|
17
24
|
}
|
|
18
25
|
}
|
|
19
26
|
|
|
20
27
|
@include b(select-picker) {
|
|
28
|
+
--oxy-action-sheet-bg: #{$-picker-bg};
|
|
29
|
+
--oxy-popup-bg: #{$-picker-bg};
|
|
30
|
+
--oxy-action-sheet-color: #{$-picker-toolbar-title-color};
|
|
31
|
+
--oxy-action-sheet-close-color: #{$-picker-toolbar-cancel-color};
|
|
32
|
+
--oxy-search-bg: #{$-picker-search-bg};
|
|
33
|
+
--oxy-search-input-bg: #{$-picker-column-select-bg};
|
|
34
|
+
--oxy-search-input-color: #{$-picker-search-input-color};
|
|
35
|
+
--oxy-search-placeholder-color: #{$-picker-search-placeholder-color};
|
|
36
|
+
--oxy-search-icon-color: #{$-picker-search-icon-color};
|
|
37
|
+
--oxy-search-cancel-color: #{$-picker-toolbar-cancel-color};
|
|
38
|
+
--oxy-checkbox-label-color: #{$-picker-column-color};
|
|
39
|
+
--oxy-radio-label-color: #{$-picker-column-color};
|
|
40
|
+
|
|
21
41
|
@include edeep(cell) {
|
|
22
42
|
@include when(disabled) {
|
|
23
43
|
.oxy-cell__value {
|
|
@@ -36,7 +56,7 @@
|
|
|
36
56
|
|
|
37
57
|
@include m(placeholder) {
|
|
38
58
|
.oxy-cell__value {
|
|
39
|
-
color: $-
|
|
59
|
+
color: $-select-picker-placeholder-color;
|
|
40
60
|
}
|
|
41
61
|
}
|
|
42
62
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(sidebar) {
|
|
6
|
-
background: $-dark
|
|
6
|
+
background: $-sidebar-bg-dark;
|
|
7
7
|
@include e(padding){
|
|
8
|
-
background: $-dark
|
|
8
|
+
background: $-sidebar-bg-dark;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
overflow-y: auto;
|
|
17
17
|
width: $-sidebar-width;
|
|
18
18
|
height: $-sidebar-height;
|
|
19
|
-
background: $-
|
|
20
|
-
|
|
19
|
+
background: $-sidebar-bg;
|
|
20
|
+
|
|
21
21
|
@include e(padding){
|
|
22
22
|
flex: 1 1 auto;
|
|
23
23
|
background: $-sidebar-bg;
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(sidebar-item) {
|
|
6
|
-
background: $-dark
|
|
7
|
-
color: $-
|
|
6
|
+
background: $-sidebar-item-bg-dark;
|
|
7
|
+
color: $-sidebar-color-dark;
|
|
8
8
|
|
|
9
9
|
&:active {
|
|
10
|
-
background-color: $-dark
|
|
10
|
+
background-color: $-sidebar-hover-bg-dark;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@include m(active) {
|
|
14
|
-
background: $-dark
|
|
14
|
+
background: $-sidebar-active-bg-dark;
|
|
15
15
|
color: $-sidebar-active-color;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@include m(disabled) {
|
|
19
|
-
color: $-
|
|
19
|
+
color: $-sidebar-disabled-color-dark;
|
|
20
20
|
|
|
21
21
|
&:active {
|
|
22
|
-
background-color: $-dark
|
|
22
|
+
background-color: $-sidebar-item-bg-dark;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
cursor: not-allowed;
|
|
90
90
|
|
|
91
91
|
&:active {
|
|
92
|
-
background-color:
|
|
92
|
+
background-color: inherit;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
@include edeep(icon) {
|
|
102
102
|
font-size: $-sidebar-icon-size;
|
|
103
103
|
margin-right: $-spacing-8;
|
|
104
|
+
color: currentColor;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
}
|
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(slider) {
|
|
6
6
|
@include e(label-min, label-max) {
|
|
7
|
-
color: $-
|
|
7
|
+
color: $-slider-color-dark;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@include e(label) {
|
|
11
|
-
color: $-
|
|
11
|
+
color: $-slider-color-dark;
|
|
12
12
|
background-color: $-slider-dark-label-bg;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@include m(disabled) {
|
|
16
16
|
@include me(label-min, label-max) {
|
|
17
|
-
color: $-
|
|
17
|
+
color: $-slider-disabled-color-dark;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -327,18 +327,18 @@
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
@include e(action) {
|
|
330
|
-
background-color: $-dark
|
|
331
|
-
border-color: $-
|
|
332
|
-
color: $-dark
|
|
330
|
+
background-color: $-splitter-action-bg-dark;
|
|
331
|
+
border-color: $-splitter-action-border-dark;
|
|
332
|
+
color: $-splitter-action-color-dark;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
@include e(action-group) {
|
|
336
|
-
background-color: $-dark
|
|
337
|
-
border-color: $-
|
|
336
|
+
background-color: $-splitter-action-bg-dark;
|
|
337
|
+
border-color: $-splitter-action-border-dark;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
@include e(action-segment) {
|
|
341
|
-
color: $-dark
|
|
341
|
+
color: $-splitter-action-color-dark;
|
|
342
342
|
|
|
343
343
|
&:active {
|
|
344
344
|
background-color: $-splitter-action-dark-active-bg;
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
@include e(action-separator) {
|
|
349
|
-
background-color: $-
|
|
349
|
+
background-color: $-splitter-action-border-dark;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
@include e(grip) {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@import '../common/abstracts/mixin';
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
|
-
background-color: $-dark-background2;
|
|
6
5
|
@include b(status-tip) {
|
|
6
|
+
background-color: $-statustip-bg-dark;
|
|
7
7
|
@include e(text) {
|
|
8
|
-
color: $-dark
|
|
8
|
+
color: $-statustip-color-dark;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
padding: $-statustip-padding;
|
|
15
15
|
width: 100%;
|
|
16
16
|
margin: 0 auto;
|
|
17
|
+
background-color: $-statustip-bg;
|
|
17
18
|
color: $-statustip-color;
|
|
18
19
|
font-size: $-statustip-fs;
|
|
19
20
|
box-sizing: border-box;
|
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(step) {
|
|
6
6
|
@include e(icon) {
|
|
7
|
-
background: $-dark
|
|
7
|
+
background: $-step-icon-bg-dark;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@include e(content){
|
|
11
|
-
color: $-dark
|
|
11
|
+
color: $-steps-inactive-color-dark;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
@include e(line) {
|
|
15
|
-
background: $-
|
|
15
|
+
background: $-steps-line-color-dark;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
@include e(dot) {
|
|
19
|
-
background: $-
|
|
19
|
+
background: $-steps-line-color-dark;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@include e(description) {
|
|
23
|
-
color: $-dark
|
|
23
|
+
color: $-steps-description-color-dark;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
@include when(wait) {
|
|
27
27
|
.oxy-step__description {
|
|
28
|
-
color: $-
|
|
28
|
+
color: $-steps-inactive-color-dark;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:deep(.oxy-step__icon-outer),:deep(.oxy-step__icon-inner){
|
|
33
|
-
color: $-dark
|
|
34
|
-
border-color: $-
|
|
33
|
+
color: $-step-icon-text-color-dark;
|
|
34
|
+
border-color: $-step-icon-border-color-dark;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
position: relative;
|
|
58
58
|
width: $-steps-icon-size;
|
|
59
59
|
height: $-steps-icon-size;
|
|
60
|
-
background: $-
|
|
60
|
+
background: $-step-icon-bg;
|
|
61
61
|
z-index: $-z-index-sticky;
|
|
62
62
|
|
|
63
63
|
@include when(icon) {
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
.oxy-step__icon-outer {
|
|
152
|
-
color: $-color
|
|
152
|
+
color: $-step-process-text-color;
|
|
153
153
|
background: $-steps-finished-color;
|
|
154
154
|
border-color: $-steps-finished-color;
|
|
155
155
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(tabbar) {
|
|
6
|
-
background: $-dark
|
|
6
|
+
background: $-tabbar-bg-dark;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
flex-wrap: nowrap;
|
|
14
14
|
position: relative;
|
|
15
|
-
background: $-
|
|
15
|
+
background: $-tabbar-bg;
|
|
16
16
|
height: $-tabbar-height;
|
|
17
17
|
|
|
18
18
|
@include e(placeholder) {
|
|
@@ -48,7 +48,11 @@
|
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
@include when(border) {
|
|
51
|
-
@include halfPixelBorder('top');
|
|
51
|
+
@include halfPixelBorder('top', 0, $-tabbar-border-color);
|
|
52
|
+
|
|
53
|
+
.oxy-theme-dark & {
|
|
54
|
+
@include halfPixelBorder('top', 0, $-tabbar-border-color-dark);
|
|
55
|
+
}
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
58
|
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
|
|
4
4
|
.oxy-theme-dark {
|
|
5
5
|
@include b(table) {
|
|
6
|
-
background: $-dark
|
|
6
|
+
background: $-table-bg-dark;
|
|
7
7
|
|
|
8
8
|
@include when(border) {
|
|
9
|
-
border: 1px solid $-
|
|
9
|
+
border: 1px solid $-table-border-color-dark;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
@include e(cell) {
|
|
13
|
-
color: $-
|
|
14
|
-
background: $-dark
|
|
13
|
+
color: $-table-color-dark;
|
|
14
|
+
background: $-table-bg-dark;
|
|
15
15
|
|
|
16
16
|
@include when(stripe) {
|
|
17
|
-
background: $-dark
|
|
17
|
+
background: $-table-stripe-bg-dark;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
@include when(border) {
|
|
21
|
-
border-right: 1px solid $-
|
|
22
|
-
border-bottom: 1px solid $-
|
|
21
|
+
border-right: 1px solid $-table-border-color-dark;
|
|
22
|
+
border-bottom: 1px solid $-table-border-color-dark;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
@include when(shadow) {
|