devextreme-themebuilder 23.1.2-beta → 23.1.3
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/data/metadata/dx-theme-builder-metadata.js +2 -2
- package/data/scss/widgets/base/calendar/_calendar.scss +14 -30
- package/data/scss/widgets/base/calendar/_mixins.scss +190 -108
- package/data/scss/widgets/base/dateRangeBox/_index.scss +37 -40
- package/data/scss/widgets/base/dateRangeBox/_mixins.scss +72 -80
- package/data/scss/widgets/generic/calendar/_colors.scss +1 -9
- package/data/scss/widgets/generic/calendar/_index.scss +26 -10
- package/data/scss/widgets/generic/dateRangeBox/_index.scss +134 -47
- package/data/scss/widgets/generic/dateRangeBox/_sizes.scss +0 -4
- package/data/scss/widgets/generic/tabPanel/_index.scss +8 -2
- package/data/scss/widgets/generic/textEditor/_index.scss +1 -1
- package/data/scss/widgets/material/calendar/_colors.scss +1 -0
- package/data/scss/widgets/material/calendar/_index.scss +19 -0
- package/data/scss/widgets/material/dateRangeBox/_index.scss +128 -5
- package/data/scss/widgets/material/dateRangeBox/_sizes.scss +0 -2
- package/data/scss/widgets/material/textEditor/_index.scss +2 -5
- package/package.json +1 -1
|
@@ -14,13 +14,13 @@ $calendar-cell-hover-color: null !default;
|
|
|
14
14
|
$calendar-cell-selected-bg: null !default;
|
|
15
15
|
$calendar-cell-selected-color: $base-inverted-text-color !default;
|
|
16
16
|
$calendar-cell-active-bg: null !default;
|
|
17
|
-
$calendar-navigator-border-radius: null !default;
|
|
18
17
|
$calendar-cell-contoured-border-color: null !default;
|
|
19
18
|
$calendar-cell-contoured-border-radius: $base-border-radius !default;
|
|
20
19
|
$calendar-invalid-focused-border-color: $base-invalid-color !default;
|
|
21
20
|
$calendar-invalid-faded-border-color: $base-invalid-faded-border-color !default;
|
|
22
21
|
$calendar-week-number-cell-color: color.change($calendar-color, $alpha: 0.56) !default;
|
|
23
22
|
$calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5) !default;
|
|
23
|
+
$calendar-cell-hover-border-color: color.change($base-accent, $alpha: 0.6) !default;
|
|
24
24
|
|
|
25
25
|
@if $color == "carmine" {
|
|
26
26
|
$calendar-cell-other-color: color.change($calendar-color, $alpha: 0.38) !default;
|
|
@@ -29,7 +29,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
29
29
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
30
30
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
31
31
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
32
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
33
32
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
34
33
|
}
|
|
35
34
|
|
|
@@ -40,7 +39,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
40
39
|
$calendar-cell-other-hover-color: $base-text-color !default;
|
|
41
40
|
$calendar-cell-selected-bg: $base-inverted-bg !default;
|
|
42
41
|
$calendar-cell-active-bg: $base-accent !default;
|
|
43
|
-
$calendar-navigator-border-radius: $base-border-radius !default;
|
|
44
42
|
$calendar-cell-contoured-border-color: $base-border-color !default;
|
|
45
43
|
}
|
|
46
44
|
|
|
@@ -51,7 +49,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
51
49
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
52
50
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
53
51
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
54
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
55
52
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
56
53
|
}
|
|
57
54
|
|
|
@@ -62,7 +59,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
62
59
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
63
60
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
64
61
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
65
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
66
62
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
67
63
|
}
|
|
68
64
|
|
|
@@ -73,7 +69,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
73
69
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
74
70
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
75
71
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
76
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
77
72
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
78
73
|
}
|
|
79
74
|
|
|
@@ -84,7 +79,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
84
79
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
85
80
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
86
81
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
87
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
88
82
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
89
83
|
}
|
|
90
84
|
|
|
@@ -95,7 +89,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
95
89
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
96
90
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
97
91
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
98
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
99
92
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
100
93
|
}
|
|
101
94
|
|
|
@@ -106,7 +99,6 @@ $calendar-week-number-cell-bg: color.change(darken($base-bg, 12%), $alpha: 0.5)
|
|
|
106
99
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
107
100
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
108
101
|
$calendar-cell-active-bg: color.change($base-accent, $alpha: 0.4) !default;
|
|
109
|
-
$calendar-navigator-border-radius: $button-border-radius !default;
|
|
110
102
|
$calendar-cell-contoured-border-color: color.change($base-accent, $alpha: 0.5) !default;
|
|
111
103
|
}
|
|
112
104
|
|
|
@@ -20,24 +20,21 @@
|
|
|
20
20
|
);
|
|
21
21
|
|
|
22
22
|
.dx-calendar-navigator {
|
|
23
|
-
.dx-button {
|
|
24
|
-
border-radius: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
.dx-calendar-caption-button {
|
|
28
24
|
font-weight: 600;
|
|
25
|
+
border-radius: 0;
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
.dx-calendar-navigator-previous-view {
|
|
32
|
-
margin-
|
|
33
|
-
border-
|
|
34
|
-
border-
|
|
29
|
+
margin-inline-end: -1px;
|
|
30
|
+
border-start-end-radius: 0;
|
|
31
|
+
border-end-end-radius: 0;
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
.dx-calendar-navigator-next-view {
|
|
38
|
-
margin-
|
|
39
|
-
border-
|
|
40
|
-
border-
|
|
35
|
+
margin-inline-start: -1px;
|
|
36
|
+
border-end-start-radius: 0;
|
|
37
|
+
border-start-start-radius: 0;
|
|
41
38
|
}
|
|
42
39
|
}
|
|
43
40
|
|
|
@@ -62,4 +59,23 @@
|
|
|
62
59
|
$calendar-cell-contoured-border-color,
|
|
63
60
|
$calendar-cell-other-color,
|
|
64
61
|
$calendar-cell-other-hover-color,
|
|
62
|
+
$calendar-cell-hover-border-color,
|
|
63
|
+
$base-border-radius,
|
|
64
|
+
);
|
|
65
|
+
@include dx-calendar-cell-in-range-mixin(
|
|
66
|
+
"::before",
|
|
67
|
+
$calendar-hover-bg,
|
|
68
|
+
$calendar-cell-hover-border-color,
|
|
69
|
+
$base-border-radius,
|
|
70
|
+
0,
|
|
71
|
+
);
|
|
72
|
+
@include dx-calendar-cell-in-range-mixin(
|
|
73
|
+
"::after",
|
|
74
|
+
inherit,
|
|
75
|
+
$calendar-cell-hover-border-color,
|
|
76
|
+
$base-border-radius,
|
|
77
|
+
1px,
|
|
78
|
+
'.dx-calendar-cell-range-hover',
|
|
79
|
+
'.dx-calendar-cell-range-hover-start',
|
|
80
|
+
'.dx-calendar-cell-range-hover-end',
|
|
65
81
|
);
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
@use "../colors" as *;
|
|
9
9
|
@use "../../base/dateRangeBox/mixins" as *;
|
|
10
10
|
@use "../../base/dateRangeBox";
|
|
11
|
+
@use "../../base/icons" as *;
|
|
12
|
+
@use "../textEditor" as *;
|
|
13
|
+
@use "../dropDownEditor" as *;
|
|
11
14
|
|
|
12
15
|
// adduse
|
|
13
16
|
|
|
@@ -16,18 +19,46 @@ $label-offset-y: math.div(($border-width + $generic-base-font-size), 2);
|
|
|
16
19
|
|
|
17
20
|
@include dx-filled-mixin(0, $generic-texteditor-label-size, $generic-base-inline-block-height, $generic-base-line-height);
|
|
18
21
|
@include dx-underlined-mixin($generic-texteditor-label-size, $generic-base-inline-block-height, $generic-base-line-height);
|
|
19
|
-
@include dx-outlined-mixin(
|
|
22
|
+
@include dx-outlined-mixin(
|
|
23
|
+
$base-bg,
|
|
24
|
+
2px,
|
|
25
|
+
$generic-texteditor-label-size,
|
|
26
|
+
$label-offset-y,
|
|
27
|
+
$generic-base-inline-block-height,
|
|
28
|
+
normal,
|
|
29
|
+
1.5px,
|
|
30
|
+
-1px,
|
|
31
|
+
);
|
|
20
32
|
|
|
21
33
|
.dx-daterangebox {
|
|
22
34
|
@include dx-dropdowneditor-button-icon-styling(eventall);
|
|
23
35
|
|
|
36
|
+
.dx-dropdowneditor-button {
|
|
37
|
+
min-width: $generic-dropdowneditor-container-button-size - 2px;
|
|
38
|
+
width: $generic-dropdowneditor-container-button-size - 2px;
|
|
39
|
+
|
|
40
|
+
.dx-dropdowneditor-icon {
|
|
41
|
+
width: $generic-dropdowneditor-button-size - 2px;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.dx-texteditor-input {
|
|
46
|
+
min-height: $generic-texteditor-input-height - 2px;
|
|
47
|
+
}
|
|
48
|
+
|
|
24
49
|
&.dx-editor-outlined {
|
|
25
|
-
|
|
26
|
-
&.dx-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
50
|
+
&,
|
|
51
|
+
&.dx-dropdowneditor-active,
|
|
52
|
+
&.dx-state-focused {
|
|
53
|
+
&.dx-daterangebox-with-label,
|
|
54
|
+
&.dx-daterangebox-with-floating-label {
|
|
55
|
+
.dx-datebox.dx-editor-outlined {
|
|
56
|
+
.dx-texteditor-label {
|
|
57
|
+
.dx-label {
|
|
58
|
+
span {
|
|
59
|
+
line-height: normal;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
31
62
|
}
|
|
32
63
|
}
|
|
33
64
|
}
|
|
@@ -40,78 +71,134 @@ $label-offset-y: math.div(($border-width + $generic-base-font-size), 2);
|
|
|
40
71
|
&::before {
|
|
41
72
|
content: '';
|
|
42
73
|
position: absolute;
|
|
43
|
-
border:
|
|
44
|
-
border-bottom-width: 1px;
|
|
45
|
-
border-style: solid;
|
|
46
|
-
width: 100%;
|
|
47
|
-
border-color: transparent;
|
|
74
|
+
border-bottom: 1px solid transparent;
|
|
48
75
|
bottom: 0;
|
|
49
76
|
z-index: 2;
|
|
50
77
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.dx-editor-outlined,
|
|
54
|
-
.dx-editor-filled {
|
|
55
|
-
&::before {
|
|
56
|
-
width: calc(100% - 2 * $generic-daterangebox-active-bar-horizontal-margin);
|
|
57
|
-
margin: 0 $generic-daterangebox-active-bar-horizontal-margin;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
78
|
|
|
61
|
-
|
|
62
|
-
&.dx-editor-filled,
|
|
63
|
-
&.dx-editor-underlined {
|
|
64
|
-
.dx-datebox {
|
|
79
|
+
&.dx-state-hover {
|
|
65
80
|
&::before {
|
|
66
|
-
border-
|
|
81
|
+
border-bottom-color: $texteditor-hover-border-color;
|
|
67
82
|
}
|
|
68
83
|
|
|
69
|
-
&.dx-
|
|
84
|
+
&.dx-invalid {
|
|
70
85
|
&::before {
|
|
71
|
-
border-bottom-
|
|
72
|
-
border-color: $texteditor-hover-border-color;
|
|
86
|
+
border-bottom-color: $texteditor-invalid-faded-border-color;
|
|
73
87
|
}
|
|
74
88
|
}
|
|
89
|
+
}
|
|
75
90
|
|
|
76
|
-
|
|
91
|
+
&.dx-state-focused {
|
|
92
|
+
&::before {
|
|
93
|
+
border-bottom-color: $texteditor-focused-border-color;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.dx-invalid {
|
|
77
97
|
&::before {
|
|
78
|
-
border-bottom-
|
|
79
|
-
border-color: $texteditor-focused-border-color;
|
|
98
|
+
border-bottom-color: $texteditor-invalid-focused-border-color;
|
|
80
99
|
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
81
102
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
border-color: $texteditor-invalid-focused-border-color;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
103
|
+
&.dx-state-readonly {
|
|
104
|
+
&::before {
|
|
105
|
+
border-bottom-style: dashed;
|
|
88
106
|
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
89
109
|
|
|
90
|
-
|
|
110
|
+
&.dx-invalid {
|
|
111
|
+
.dx-editor-outlined,
|
|
112
|
+
.dx-editor-filled,
|
|
113
|
+
.dx-editor-underlined {
|
|
114
|
+
&.dx-state-hover {
|
|
91
115
|
&::before {
|
|
92
|
-
border-bottom-
|
|
116
|
+
border-bottom-color: $texteditor-invalid-faded-border-color;
|
|
93
117
|
}
|
|
94
118
|
}
|
|
95
119
|
|
|
96
|
-
&.dx-
|
|
120
|
+
&.dx-state-focused {
|
|
97
121
|
&::before {
|
|
98
|
-
border-bottom-
|
|
99
|
-
border-color: $texteditor-invalid-faded-border-color;
|
|
122
|
+
border-bottom-color: $texteditor-invalid-focused-border-color;
|
|
100
123
|
}
|
|
101
124
|
}
|
|
102
125
|
}
|
|
103
126
|
}
|
|
104
127
|
|
|
105
|
-
|
|
128
|
+
.dx-editor-outlined,
|
|
129
|
+
.dx-editor-filled {
|
|
130
|
+
&::before {
|
|
131
|
+
width: calc(100% - 2 * $generic-daterangebox-active-bar-horizontal-margin);
|
|
132
|
+
margin: 0 $generic-daterangebox-active-bar-horizontal-margin;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.dx-editor-underlined {
|
|
137
|
+
&::before {
|
|
138
|
+
width: 100%;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
106
141
|
|
|
107
142
|
&.dx-editor-underlined {
|
|
108
143
|
.dx-daterangebox-separator {
|
|
109
|
-
padding-right: $generic-
|
|
144
|
+
padding-right: $generic-base-inline-borderedwidget-horizontal-padding;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.dx-datebox {
|
|
149
|
+
&.dx-start-datebox,
|
|
150
|
+
&.dx-end-datebox {
|
|
151
|
+
&.dx-editor-outlined,
|
|
152
|
+
&.dx-editor-filled,
|
|
153
|
+
&.dx-editor-underlined {
|
|
154
|
+
.dx-texteditor-input {
|
|
155
|
+
padding-right: $generic-base-inline-borderedwidget-horizontal-padding;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.dx-rtl {
|
|
159
|
+
.dx-texteditor-input {
|
|
160
|
+
padding-left: $generic-base-inline-borderedwidget-horizontal-padding;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&.dx-end-datebox {
|
|
167
|
+
&.dx-editor-outlined,
|
|
168
|
+
&.dx-editor-filled,
|
|
169
|
+
&.dx-editor-underlined {
|
|
170
|
+
&.dx-invalid {
|
|
171
|
+
.dx-texteditor-input {
|
|
172
|
+
padding-right: $generic-texteditor-invalid-badge-size;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
&.dx-rtl {
|
|
176
|
+
.dx-texteditor-input {
|
|
177
|
+
padding-right: $generic-base-inline-borderedwidget-horizontal-padding;
|
|
178
|
+
padding-left: $generic-texteditor-invalid-badge-size;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.dx-editor-underlined {
|
|
185
|
+
&.dx-invalid {
|
|
186
|
+
&.dx-rtl {
|
|
187
|
+
.dx-texteditor-input {
|
|
188
|
+
padding-right: 0;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
110
193
|
}
|
|
111
194
|
}
|
|
112
195
|
}
|
|
113
196
|
|
|
114
197
|
.dx-daterangebox-separator {
|
|
115
|
-
padding-left: $generic-
|
|
116
|
-
|
|
198
|
+
padding-left: $generic-base-inline-borderedwidget-horizontal-padding;
|
|
199
|
+
color: $texteditor-label-color;
|
|
200
|
+
|
|
201
|
+
.dx-icon {
|
|
202
|
+
@include dx-icon-sizing($generic-base-icon-size);
|
|
203
|
+
}
|
|
117
204
|
}
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
// adduse
|
|
4
4
|
|
|
5
|
-
$generic-daterangebox-separator-horizontal-padding: 10px !default;
|
|
6
5
|
$generic-daterangebox-active-bar-horizontal-margin: null !default;
|
|
7
|
-
$generic-daterangebox-label-height: null !default;
|
|
8
6
|
|
|
9
7
|
@if $size == "default" {
|
|
10
8
|
$generic-daterangebox-active-bar-horizontal-margin: 9px !default;
|
|
11
|
-
$generic-daterangebox-label-height: 14px !default;
|
|
12
9
|
}
|
|
13
10
|
|
|
14
11
|
@else if $size == "compact" {
|
|
15
12
|
$generic-daterangebox-active-bar-horizontal-margin: 5px !default;
|
|
16
|
-
$generic-daterangebox-label-height: 12px !default;
|
|
17
13
|
}
|
|
@@ -54,11 +54,17 @@ $tab-selected-not-focused-left-right-rtl-shadow: $generic-tabpanel-inset-shadow-
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
#{$tabs-expanded}:first-of-type {
|
|
57
|
-
|
|
57
|
+
@include tabpanel-tab-shadow-mixin(
|
|
58
|
+
#{$generic-tabpanel-inset-shadow-top $tabs-border-color, $generic-tabpanel-inset-shadow-bottom $accent-color, $generic-tabpanel-inset-shadow-left $tabs-border-color},
|
|
59
|
+
#{$generic-tabpanel-inset-shadow-top $tabs-border-color, $generic-tabpanel-inset-shadow-bottom $accent-color, $generic-tabpanel-inset-shadow-right $tabs-border-color}
|
|
60
|
+
);
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
.dx-tabs-stretched#{$tabs-expanded}:last-of-type {
|
|
61
|
-
|
|
64
|
+
@include tabpanel-tab-shadow-mixin(
|
|
65
|
+
#{$generic-tabpanel-inset-shadow-top $tabs-border-color, $generic-tabpanel-inset-shadow-bottom $accent-color, $generic-tabpanel-inset-shadow-right $tabs-border-color},
|
|
66
|
+
#{$generic-tabpanel-inset-shadow-top $tabs-border-color, $generic-tabpanel-inset-shadow-bottom $accent-color, $generic-tabpanel-inset-shadow-left $tabs-border-color}
|
|
67
|
+
);
|
|
62
68
|
}
|
|
63
69
|
}
|
|
64
70
|
|
|
@@ -584,7 +584,7 @@ $generic-texteditor-label-transition:
|
|
|
584
584
|
&.dx-state-disabled {
|
|
585
585
|
@include dx-state-empty($texteditor-border-color, dashed);
|
|
586
586
|
|
|
587
|
-
&.dx-state-
|
|
587
|
+
&.dx-state-hover {
|
|
588
588
|
@include dx-state-empty($texteditor-hover-border-color, dashed);
|
|
589
589
|
}
|
|
590
590
|
|
|
@@ -11,6 +11,7 @@ $calendar-cell-other-color: color.change($calendar-color, $alpha: 0.38) !default
|
|
|
11
11
|
$calendar-cell-other-hover-color: color.change($calendar-color, $alpha: 0.38) !default;
|
|
12
12
|
$calendar-bg: $base-bg !default;
|
|
13
13
|
$calendar-hover-bg: color.change($base-accent, $alpha: 0.24) !default;
|
|
14
|
+
$calendar-cell-hover-border-color: color.change($base-accent, $alpha: 0.6) !default;
|
|
14
15
|
$calendar-cell-hover-color: $calendar-color !default;
|
|
15
16
|
$calendar-cell-selected-bg: $base-accent !default;
|
|
16
17
|
$calendar-cell-selected-color: $base-inverted-text-color !default;
|
|
@@ -50,4 +50,23 @@
|
|
|
50
50
|
$calendar-cell-contoured-border-color,
|
|
51
51
|
$calendar-cell-other-color,
|
|
52
52
|
$calendar-cell-other-hover-color,
|
|
53
|
+
$calendar-cell-hover-border-color,
|
|
54
|
+
999em,
|
|
55
|
+
);
|
|
56
|
+
@include dx-calendar-cell-in-range-mixin(
|
|
57
|
+
"::before",
|
|
58
|
+
$calendar-hover-bg,
|
|
59
|
+
$calendar-cell-hover-border-color,
|
|
60
|
+
999em,
|
|
61
|
+
0,
|
|
62
|
+
);
|
|
63
|
+
@include dx-calendar-cell-in-range-mixin(
|
|
64
|
+
"::after",
|
|
65
|
+
inherit,
|
|
66
|
+
$calendar-cell-hover-border-color,
|
|
67
|
+
999em,
|
|
68
|
+
1px,
|
|
69
|
+
'.dx-calendar-cell-range-hover',
|
|
70
|
+
'.dx-calendar-cell-range-hover-start',
|
|
71
|
+
'.dx-calendar-cell-range-hover-end',
|
|
53
72
|
);
|
|
@@ -8,15 +8,24 @@
|
|
|
8
8
|
@use "../colors" as *;
|
|
9
9
|
@use "../../base/dateRangeBox/mixins" as *;
|
|
10
10
|
@use "../../base/dateRangeBox";
|
|
11
|
+
@use "../../base/icons" as *;
|
|
12
|
+
@use "../textEditor" as *;
|
|
11
13
|
|
|
12
14
|
// adduse
|
|
13
15
|
|
|
16
|
+
$material-editor-custom-button-margin: 5px;
|
|
17
|
+
$material-filled-texteditor-input-button-horizontal-padding: $material-filled-texteditor-input-horizontal-padding - 4px;
|
|
18
|
+
$material-filled-texteditor-spin-button-horizontal-padding: $material-filled-texteditor-input-horizontal-padding - 8px;
|
|
19
|
+
|
|
14
20
|
@include dx-outlined-mixin(
|
|
15
21
|
$base-bg,
|
|
16
22
|
4px,
|
|
17
23
|
$material-texteditor-label-font-size,
|
|
18
24
|
math.div($material-texteditor-label-font-size, 2),
|
|
25
|
+
$material-texteditor-label-font-size + 1px,
|
|
19
26
|
$material-texteditor-label-font-size,
|
|
27
|
+
2.5px,
|
|
28
|
+
0,
|
|
20
29
|
);
|
|
21
30
|
@include dx-underlined-mixin(
|
|
22
31
|
$material-texteditor-label-font-size,
|
|
@@ -61,6 +70,15 @@
|
|
|
61
70
|
}
|
|
62
71
|
}
|
|
63
72
|
|
|
73
|
+
&.dx-state-focused {
|
|
74
|
+
&.dx-invalid {
|
|
75
|
+
&::before {
|
|
76
|
+
border-bottom-width: 1px;
|
|
77
|
+
transition: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
64
82
|
.dx-datebox {
|
|
65
83
|
&::before {
|
|
66
84
|
bottom: 1px;
|
|
@@ -73,16 +91,121 @@
|
|
|
73
91
|
}
|
|
74
92
|
}
|
|
75
93
|
|
|
76
|
-
@include dx-invalid-mixin($texteditor-invalid-faded-border-color, $texteditor-invalid-focused-border-color);
|
|
77
|
-
|
|
78
94
|
&.dx-editor-underlined {
|
|
79
95
|
.dx-daterangebox-separator {
|
|
80
|
-
padding-right: $material-
|
|
96
|
+
padding-right: $material-filled-texteditor-input-horizontal-padding;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&.dx-editor-outlined,
|
|
101
|
+
&.dx-editor-filled,
|
|
102
|
+
&.dx-editor-underlined {
|
|
103
|
+
> .dx-texteditor-buttons-container {
|
|
104
|
+
> .dx-button,
|
|
105
|
+
> .dx-clear-button-area {
|
|
106
|
+
margin-left: $material-editor-custom-button-margin;
|
|
107
|
+
margin-right: $material-editor-custom-button-margin;
|
|
108
|
+
|
|
109
|
+
&:first-child {
|
|
110
|
+
margin-left: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&:last-child {
|
|
114
|
+
margin-right: $material-editor-custom-button-margin * 2;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
> .dx-dropdowneditor-button:last-child {
|
|
119
|
+
margin-right: $material-filled-texteditor-spin-button-horizontal-padding;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
> .dx-clear-button-area:last-child,
|
|
123
|
+
> .dx-clear-button-area + div:empty:last-child {
|
|
124
|
+
margin-right: $material-filled-texteditor-input-button-horizontal-padding;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&.dx-rtl {
|
|
129
|
+
> .dx-texteditor-buttons-container {
|
|
130
|
+
> .dx-button,
|
|
131
|
+
> .dx-clear-button-area {
|
|
132
|
+
&:first-child {
|
|
133
|
+
margin-left: $material-editor-custom-button-margin;
|
|
134
|
+
margin-right: 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:last-child {
|
|
138
|
+
margin-left: $material-editor-custom-button-margin * 2;
|
|
139
|
+
margin-right: $material-editor-custom-button-margin;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
> .dx-dropdowneditor-button:last-child {
|
|
144
|
+
margin-left: $material-filled-texteditor-spin-button-horizontal-padding;
|
|
145
|
+
margin-right: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
> .dx-clear-button-area:last-child {
|
|
149
|
+
margin-left: $material-filled-texteditor-input-button-horizontal-padding;
|
|
150
|
+
margin-right: 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.dx-datebox {
|
|
157
|
+
&.dx-start-datebox {
|
|
158
|
+
&.dx-editor-outlined,
|
|
159
|
+
&.dx-editor-filled,
|
|
160
|
+
&.dx-editor-underlined {
|
|
161
|
+
.dx-texteditor-input {
|
|
162
|
+
padding-right: $material-filled-texteditor-input-horizontal-padding;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.dx-rtl {
|
|
166
|
+
.dx-texteditor-input {
|
|
167
|
+
padding-left: $material-filled-texteditor-input-horizontal-padding;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&.dx-end-datebox {
|
|
174
|
+
&.dx-editor-outlined,
|
|
175
|
+
&.dx-editor-underlined,
|
|
176
|
+
&.dx-editor-filled {
|
|
177
|
+
&.dx-invalid {
|
|
178
|
+
.dx-texteditor-input {
|
|
179
|
+
padding-right: $material-texteditor-invalid-badge-size;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&.dx-rtl {
|
|
183
|
+
.dx-texteditor-input {
|
|
184
|
+
padding-right: $material-filled-texteditor-input-horizontal-padding;
|
|
185
|
+
padding-left: $material-texteditor-invalid-badge-size;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.dx-editor-underlined {
|
|
192
|
+
&.dx-invalid {
|
|
193
|
+
&.dx-rtl {
|
|
194
|
+
.dx-texteditor-input {
|
|
195
|
+
padding-right: 0;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
81
200
|
}
|
|
82
201
|
}
|
|
83
202
|
}
|
|
84
203
|
|
|
85
204
|
.dx-daterangebox-separator {
|
|
86
|
-
padding-left: $material-
|
|
87
|
-
|
|
205
|
+
padding-left: $material-filled-texteditor-input-horizontal-padding;
|
|
206
|
+
color: $texteditor-label-color;
|
|
207
|
+
|
|
208
|
+
.dx-icon {
|
|
209
|
+
@include dx-icon-sizing($material-base-icon-size);
|
|
210
|
+
}
|
|
88
211
|
}
|
|
@@ -270,8 +270,7 @@ $material-editor-label-transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1) 0ms
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
&.dx-state-disabled,
|
|
273
|
-
&.dx-state-readonly
|
|
274
|
-
&.dx-state-readonly.dx-state-hover {
|
|
273
|
+
&.dx-state-readonly {
|
|
275
274
|
box-shadow: inset 0 0 0 1px color.change($texteditor-color, $alpha: 0.5);
|
|
276
275
|
|
|
277
276
|
.dx-texteditor-input {
|
|
@@ -622,7 +621,7 @@ $material-editor-label-transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1) 0ms
|
|
|
622
621
|
font-size: $material-texteditor-label-font-size;
|
|
623
622
|
margin-top: 0;
|
|
624
623
|
top: 0;
|
|
625
|
-
height: $material-texteditor-label-font-size;
|
|
624
|
+
height: $material-texteditor-label-font-size + 1px;
|
|
626
625
|
line-height: $material-texteditor-label-font-size;
|
|
627
626
|
}
|
|
628
627
|
}
|
|
@@ -822,8 +821,6 @@ $material-editor-label-transition: transform 0.2s cubic-bezier(0, 0, 0.2, 1) 0ms
|
|
|
822
821
|
@include dx-state-empty(color.change($texteditor-color, $alpha: 0.5), 1);
|
|
823
822
|
|
|
824
823
|
&.dx-state-focused,
|
|
825
|
-
&.dx-state-focused.dx-state-hover,
|
|
826
|
-
&.dx-textarea.dx-state-focused.dx-state-hover,
|
|
827
824
|
&.dx-textarea.dx-state-focused {
|
|
828
825
|
@include dx-state-empty($texteditor-focused-border-color, 2);
|
|
829
826
|
|