@steroidsjs/bootstrap 3.0.0-beta.62 → 3.0.0-beta.64
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/content/Accordion/AccordionItemView.scss +96 -53
- package/content/Accordion/AccordionView.scss +23 -9
- package/content/Alert/AlertView.scss +48 -18
- package/content/Avatar/AvatarView.scss +1 -1
- package/content/Badge/BadgeView.scss +10 -4
- package/content/Calendar/CalendarView.scss +7 -3
- package/content/Calendar/CaptionElement.scss +1 -1
- package/content/Card/CardView.scss +5 -5
- package/content/Detail/DetailView.scss +7 -10
- package/content/DropDown/DropDownView.js +1 -0
- package/content/DropDown/DropDownView.scss +20 -8
- package/form/AutoCompleteField/AutoCompleteFieldView.scss +5 -5
- package/form/CheckboxField/CheckboxFieldView.scss +2 -2
- package/form/DateField/DateFieldView.js +1 -1
- package/form/DateField/DateFieldView.scss +9 -1
- package/form/DateRangeField/DateRangeFieldView.js +1 -1
- package/form/DateRangeField/DateRangeFieldView.scss +4 -0
- package/form/DateTimeField/DateTimeFieldView.js +1 -1
- package/form/DateTimeField/DateTimeFieldView.scss +5 -0
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +1 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +5 -0
- package/form/DropDownField/DropDownFieldView.scss +6 -13
- package/form/DropDownFieldItem/DropDownFieldItemView.scss +2 -2
- package/form/FieldList/FieldListView.scss +63 -55
- package/form/FileField/FileFieldView.scss +34 -34
- package/form/InputField/InputFieldView.scss +7 -7
- package/form/NumberField/NumberFieldView.scss +7 -7
- package/form/PasswordField/PasswordFieldView.scss +16 -11
- package/form/RadioField/RadioFieldView.scss +6 -6
- package/form/TextField/TextFieldView.scss +7 -7
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/index.scss +3 -2
- package/layout/ProgressBar/LineProgressBarView.scss +1 -1
- package/list/FlexGrid/FlexGridView.d.ts +2 -0
- package/list/FlexGrid/FlexGridView.js +71 -0
- package/list/FlexGrid/FlexGridView.scss +57 -0
- package/list/Grid/GridView.scss +12 -9
- package/list/Grid/views/ContentColumnView/ContentColumnView.scss +1 -1
- package/list/Pagination/PaginationButtonView.scss +21 -23
- package/modal/Modal/ModalView.scss +11 -1
- package/package.json +3 -3
- package/scss/mixins/date.scss +38 -17
- package/scss/variables/common/colors.scss +84 -72
- package/scss/variables/common/media.scss +1 -0
- package/scss/variables/components/calendar.scss +0 -1
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -176,6 +176,9 @@ exports["default"] = {
|
|
|
176
176
|
'list.GridView': {
|
|
177
177
|
lazy: function () { return require('./list/Grid/GridView')["default"]; }
|
|
178
178
|
},
|
|
179
|
+
'list.FlexGridView': {
|
|
180
|
+
lazy: function () { return require('./list/FlexGrid/FlexGridView')["default"]; }
|
|
181
|
+
},
|
|
179
182
|
'list.ContentColumnView': {
|
|
180
183
|
lazy: function () { return require('./list/Grid/views/ContentColumnView/ContentColumnView')["default"]; }
|
|
181
184
|
},
|
package/index.scss
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
@import './scss/animations';
|
|
4
4
|
@import './scss/fonts';
|
|
5
5
|
|
|
6
|
+
@import './content/Accordion/AccordionView';
|
|
7
|
+
@import './content/Accordion/AccordionItemView';
|
|
6
8
|
@import './crud/Crud/CrudView';
|
|
7
9
|
@import './content/Alert/AlertView';
|
|
8
10
|
@import './content/Avatar/AvatarView';
|
|
@@ -11,8 +13,6 @@
|
|
|
11
13
|
@import './content/Calendar/CalendarView';
|
|
12
14
|
@import './content/Calendar/CaptionElement';
|
|
13
15
|
@import './content/Card/CardView';
|
|
14
|
-
@import './content/Accordion/AccordionView';
|
|
15
|
-
@import './content/Accordion/AccordionItemView';
|
|
16
16
|
@import './content/Detail/DetailView';
|
|
17
17
|
@import './content/DropDown/DropDownView.scss';
|
|
18
18
|
@import './content/Menu/MenuItemView';
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
@import './list/CheckboxColumn/CheckboxColumnView';
|
|
62
62
|
@import './list/Empty/EmptyView';
|
|
63
63
|
@import './list/Grid/GridView';
|
|
64
|
+
@import './list/FlexGrid/FlexGridView';
|
|
64
65
|
@import './list/List/ListView';
|
|
65
66
|
@import './list/Pagination/PaginationButtonView';
|
|
66
67
|
@import './list/Pagination/PaginationMoreView';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
exports.__esModule = true;
|
|
37
|
+
var React = __importStar(require("react"));
|
|
38
|
+
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
39
|
+
function FlexGridView(props) {
|
|
40
|
+
var _a;
|
|
41
|
+
var bem = (0, hooks_1.useBem)('FlexGridView');
|
|
42
|
+
var halfColGap = props.colGap / 2;
|
|
43
|
+
var hasItems = !!((_a = props.items) === null || _a === void 0 ? void 0 : _a.length);
|
|
44
|
+
var colGapStyle = hasItems
|
|
45
|
+
? {
|
|
46
|
+
marginRight: -halfColGap,
|
|
47
|
+
marginLeft: -halfColGap
|
|
48
|
+
}
|
|
49
|
+
: {
|
|
50
|
+
columnGap: props.colGap
|
|
51
|
+
};
|
|
52
|
+
return (React.createElement("div", { className: bem(bem.block({
|
|
53
|
+
wrap: props.wrap,
|
|
54
|
+
align: props.align,
|
|
55
|
+
direction: props.direction,
|
|
56
|
+
justify: props.justify
|
|
57
|
+
}), props.className), style: __assign(__assign(__assign({}, props.style), colGapStyle), { rowGap: props.rowGap }) },
|
|
58
|
+
hasItems && props.items.map(function (item, index) { return (React.createElement("div", { key: index, className: bem(bem.element('item', {
|
|
59
|
+
col: item.col,
|
|
60
|
+
lg: item.lg,
|
|
61
|
+
md: item.md,
|
|
62
|
+
sm: item.sm,
|
|
63
|
+
offset: item.offset
|
|
64
|
+
}), props.itemClassName), style: {
|
|
65
|
+
paddingRight: halfColGap,
|
|
66
|
+
paddingLeft: halfColGap,
|
|
67
|
+
order: item.order
|
|
68
|
+
} }, item.content)); }),
|
|
69
|
+
props.children));
|
|
70
|
+
}
|
|
71
|
+
exports["default"] = FlexGridView;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
$justifyValues: center, end, start, stretch, flex-start, flex-end, left, right, space-between, space-around, space-evenly;
|
|
2
|
+
$alignValues: center, end, start, stretch, flex-start, flex-end;
|
|
3
|
+
$directionValues: column-reverse column row-reverse row;
|
|
4
|
+
$colValues: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12;
|
|
5
|
+
$colMaxValue: 12;
|
|
6
|
+
|
|
7
|
+
@mixin col($className, $root, $property: flex-basis) {
|
|
8
|
+
@each $colValue in $colValues {
|
|
9
|
+
&_#{$className}_#{$colValue} {
|
|
10
|
+
#{$property}: calc((100% / $colMaxValue) * $colValue);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.FlexGridView {
|
|
16
|
+
$root: &;
|
|
17
|
+
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-wrap: nowrap;
|
|
20
|
+
|
|
21
|
+
&_wrap {
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@each $alignValue in $alignValues {
|
|
26
|
+
&_align_#{$alignValue} {
|
|
27
|
+
align-items: $alignValue;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@each $justifyValue in $justifyValues {
|
|
32
|
+
&_justify_#{$justifyValue} {
|
|
33
|
+
justify-content: $justifyValue;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@each $directionValue in $directionValues {
|
|
38
|
+
&_direction_#{$directionValue} {
|
|
39
|
+
flex-direction: $directionValue;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__item {
|
|
44
|
+
@include col(col, $root);
|
|
45
|
+
@include col(offset, $root, margin-inline-start);
|
|
46
|
+
|
|
47
|
+
@media (max-width: $desktop-width) {
|
|
48
|
+
@include col(lg, $root);
|
|
49
|
+
}
|
|
50
|
+
@media (max-width: $tablet-width) {
|
|
51
|
+
@include col(md, $root);
|
|
52
|
+
}
|
|
53
|
+
@media (max-width: $mobile-width) {
|
|
54
|
+
@include col(sm, $root);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
package/list/Grid/GridView.scss
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--grid-header-background-color:
|
|
3
|
-
--grid-border-color:
|
|
4
|
-
|
|
2
|
+
--grid-header-background-color: var(--light-gray);
|
|
3
|
+
--grid-border-color: var(--gray);
|
|
4
|
+
|
|
5
5
|
--grid-td-background-color: #FFFFFF;
|
|
6
|
+
--grid-td-alternating-color: var(--additional-light-gray);
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
html[data-theme="dark"] {
|
|
9
|
-
--grid-header-background-color:
|
|
10
|
-
--grid-border-color:
|
|
11
|
-
|
|
12
|
-
--grid-td-background-color:
|
|
10
|
+
--grid-header-background-color: var(--additional-gray-dark);
|
|
11
|
+
--grid-border-color: var(--additional-gray-dark);
|
|
12
|
+
|
|
13
|
+
--grid-td-background-color: var(--graphite);
|
|
14
|
+
--grid-td-alternating-color: var(--graphite-dark);
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
$grid-header-background-color: var(--grid-header-background-color);
|
|
16
18
|
$grid-border-color: var(--grid-border-color);
|
|
17
|
-
|
|
19
|
+
|
|
18
20
|
$grid-td-background-color: var(--grid-td-background-color);
|
|
21
|
+
$grid-td-alternating-color: var(--grid-td-alternating-color);
|
|
19
22
|
|
|
20
23
|
.GridView {
|
|
21
24
|
$root: &;
|
|
@@ -78,7 +81,7 @@ $grid-td-background-color: var(--grid-td-background-color);
|
|
|
78
81
|
|
|
79
82
|
&_alternatingColors{
|
|
80
83
|
#{$root}__table tbody tr:nth-child(even) td {
|
|
81
|
-
background-color: $grid-alternating-color;
|
|
84
|
+
background-color: $grid-td-alternating-color;
|
|
82
85
|
}
|
|
83
86
|
}
|
|
84
87
|
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--pagination-
|
|
3
|
-
--pagination-hover-background-color:
|
|
2
|
+
--pagination-border-color: var(--gray);
|
|
3
|
+
--pagination-hover-background-color: $white;
|
|
4
|
+
|
|
4
5
|
--pagination-arrow-color: #323232;
|
|
5
|
-
--pagination-
|
|
6
|
-
--pagination-disabled-background-color: #eef1f2;
|
|
7
|
-
--pagination-disabled-color: rgba(0, 0, 0, 0.1);
|
|
6
|
+
--pagination-background-color-disabled: #F1F5F7;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
html[data-theme="dark"] {
|
|
11
|
-
--pagination-
|
|
12
|
-
--pagination-hover-background-color:
|
|
10
|
+
--pagination-border-color: var(--background-color);
|
|
11
|
+
--pagination-hover-background-color: var(--gray-dark);
|
|
12
|
+
|
|
13
13
|
--pagination-arrow-color: #ffffff;
|
|
14
|
-
--pagination-
|
|
15
|
-
--pagination-disabled-background-color: #5b5c6b;
|
|
16
|
-
--pagination-disabled-color: rgba(255, 255, 255, 0.1);
|
|
14
|
+
--pagination-background-color-disabled: #333646;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
|
-
$pagination-
|
|
17
|
+
$pagination-border-color: var(--pagination-border-color);
|
|
20
18
|
$pagination-hover-background-color: var(--pagination-hover-background-color);
|
|
19
|
+
|
|
21
20
|
$pagination-arrow-color: var(--pagination-arrow-color);
|
|
22
|
-
$pagination-
|
|
23
|
-
$pagination-disabled-background-color: var(--pagination-disabled-background-color);
|
|
24
|
-
$pagination-disabled-color: var(--pagination-disabled-color);
|
|
21
|
+
$pagination-background-color-disabled: var(--pagination-background-color-disabled);
|
|
25
22
|
|
|
26
23
|
.PaginationButtonView {
|
|
27
24
|
$root: &;
|
|
@@ -155,7 +152,7 @@ $pagination-disabled-color: var(--pagination-disabled-color);
|
|
|
155
152
|
cursor: pointer;
|
|
156
153
|
|
|
157
154
|
background-color: $element-background-color;
|
|
158
|
-
border: 1px solid $border-color;
|
|
155
|
+
border: 1px solid $pagination-border-color;
|
|
159
156
|
border-right: none;
|
|
160
157
|
|
|
161
158
|
&::before {
|
|
@@ -168,12 +165,12 @@ $pagination-disabled-color: var(--pagination-disabled-color);
|
|
|
168
165
|
height: 100%;
|
|
169
166
|
pointer-events: none;
|
|
170
167
|
border-radius: inherit;
|
|
171
|
-
border: 4px solid $
|
|
168
|
+
border: 4px solid $light-gray;
|
|
172
169
|
opacity: 0;
|
|
173
170
|
}
|
|
174
171
|
|
|
175
172
|
&:last-child {
|
|
176
|
-
border: 1px solid $border-color;
|
|
173
|
+
border: 1px solid $pagination-border-color;
|
|
177
174
|
}
|
|
178
175
|
|
|
179
176
|
&_active {
|
|
@@ -192,7 +189,7 @@ $pagination-disabled-color: var(--pagination-disabled-color);
|
|
|
192
189
|
}
|
|
193
190
|
|
|
194
191
|
&:not(#{$pageRoot}_disabled):not(#{$pageRoot}_active):hover {
|
|
195
|
-
border-color: $
|
|
192
|
+
border-color: $element-border-color-hover;
|
|
196
193
|
background-color: $pagination-hover-background-color;
|
|
197
194
|
}
|
|
198
195
|
|
|
@@ -233,7 +230,7 @@ $pagination-disabled-color: var(--pagination-disabled-color);
|
|
|
233
230
|
justify-content: center;
|
|
234
231
|
align-items: center;
|
|
235
232
|
|
|
236
|
-
rect {
|
|
233
|
+
rect {
|
|
237
234
|
fill: transparent;
|
|
238
235
|
}
|
|
239
236
|
|
|
@@ -247,18 +244,19 @@ $pagination-disabled-color: var(--pagination-disabled-color);
|
|
|
247
244
|
}
|
|
248
245
|
|
|
249
246
|
&_disabled {
|
|
250
|
-
background-color: $
|
|
251
|
-
color: $
|
|
247
|
+
background-color: $element-background-color-disabled;
|
|
248
|
+
color: $element-placeholder-color-disabled;
|
|
249
|
+
|
|
252
250
|
cursor: not-allowed;
|
|
253
251
|
|
|
254
|
-
button {
|
|
252
|
+
button {
|
|
255
253
|
cursor: not-allowed;
|
|
256
254
|
}
|
|
257
255
|
|
|
258
256
|
#{$pageRoot}-icon {
|
|
259
257
|
pointer-events: none;
|
|
260
258
|
path {
|
|
261
|
-
stroke: $
|
|
259
|
+
stroke: $element-placeholder-color-disabled;
|
|
262
260
|
}
|
|
263
261
|
}
|
|
264
262
|
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--modal-background-color: #FFFFFF;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
html[data-theme="dark"] {
|
|
6
|
+
--modal-background-color: #272A37;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
$modal-background-color: var(--modal-background-color);
|
|
10
|
+
|
|
1
11
|
.ModalView {
|
|
2
12
|
$root: &;
|
|
3
13
|
min-width: 300px;
|
|
@@ -18,7 +28,7 @@
|
|
|
18
28
|
&__body {
|
|
19
29
|
margin: auto;
|
|
20
30
|
overflow: visible;
|
|
21
|
-
background-color: $
|
|
31
|
+
background-color: $modal-background-color;
|
|
22
32
|
color: $text-color;
|
|
23
33
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
|
|
24
34
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steroidsjs/bootstrap",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.64",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-use": "^17.4.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.
|
|
38
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.45",
|
|
39
39
|
"@steroidsjs/eslint-config": "^2.1.4",
|
|
40
40
|
"@types/enzyme": "^3.10.8",
|
|
41
41
|
"@types/googlemaps": "^3.43.3",
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
"typescript": "^4.9.5"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.
|
|
56
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.45"
|
|
57
57
|
}
|
|
58
58
|
}
|
package/scss/mixins/date.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import "../variables/index";
|
|
2
|
+
|
|
1
3
|
:root {
|
|
2
4
|
--date-icon-default-color: #cbd5db;
|
|
3
5
|
--date-icon-close-default-color: #323232;
|
|
@@ -6,7 +8,7 @@
|
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
html[data-theme="dark"] {
|
|
9
|
-
--date-icon-default-color: #
|
|
11
|
+
--date-icon-default-color: #333646;
|
|
10
12
|
--date-icon-close-default-color: #ffffff;
|
|
11
13
|
--date-icon-disabled-color: rgba(255, 255, 255, 0.1);
|
|
12
14
|
--date-range-separator-color: rgba(255, 255, 255, 0.1);
|
|
@@ -106,8 +108,8 @@ $date-sizes: map-merge(
|
|
|
106
108
|
width: 100%;
|
|
107
109
|
font-size: inherit;
|
|
108
110
|
line-height: $line-height-lg;
|
|
109
|
-
background-color: $element-background-color;
|
|
110
|
-
border: 1px solid $border-color;
|
|
111
|
+
background-color: $element-field-background-color;
|
|
112
|
+
border: 1px solid $element-border-color;
|
|
111
113
|
color: $text-color;
|
|
112
114
|
transition: border-color 150ms ease-in-out;
|
|
113
115
|
|
|
@@ -116,12 +118,16 @@ $date-sizes: map-merge(
|
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
&::placeholder {
|
|
119
|
-
color: $placeholder-color;
|
|
121
|
+
color: $element-placeholder-color;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
&:disabled {
|
|
123
125
|
border: none;
|
|
124
|
-
background-color: $background-disabled
|
|
126
|
+
background-color: $element-background-color-disabled;
|
|
127
|
+
|
|
128
|
+
&::placeholder {
|
|
129
|
+
color: $element-placeholder-color-disabled;
|
|
130
|
+
}
|
|
125
131
|
}
|
|
126
132
|
}
|
|
127
133
|
}
|
|
@@ -163,10 +169,12 @@ $date-sizes: map-merge(
|
|
|
163
169
|
}
|
|
164
170
|
|
|
165
171
|
&_disabled {
|
|
166
|
-
#{$root}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
172
|
+
#{$root}__icon-container {
|
|
173
|
+
#{$root}__date-icon {
|
|
174
|
+
path,
|
|
175
|
+
circle {
|
|
176
|
+
stroke: $date-icon-disabled-color;
|
|
177
|
+
}
|
|
170
178
|
}
|
|
171
179
|
}
|
|
172
180
|
}
|
|
@@ -232,7 +240,7 @@ $date-sizes: map-merge(
|
|
|
232
240
|
}
|
|
233
241
|
|
|
234
242
|
&::before {
|
|
235
|
-
border-color: $border-color;
|
|
243
|
+
border-color: $element-border-color;
|
|
236
244
|
}
|
|
237
245
|
|
|
238
246
|
&::after {
|
|
@@ -263,7 +271,13 @@ $date-sizes: map-merge(
|
|
|
263
271
|
|
|
264
272
|
&_disabled {
|
|
265
273
|
#{$root}__body {
|
|
266
|
-
background-color: $background-disabled
|
|
274
|
+
background-color: $element-background-color-disabled;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
#{$root}__input {
|
|
278
|
+
&::placeholder {
|
|
279
|
+
color: $element-placeholder-color-disabled;
|
|
280
|
+
}
|
|
267
281
|
}
|
|
268
282
|
|
|
269
283
|
#{$root}__effect {
|
|
@@ -272,10 +286,12 @@ $date-sizes: map-merge(
|
|
|
272
286
|
}
|
|
273
287
|
|
|
274
288
|
&_disabled {
|
|
275
|
-
#{$root}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
289
|
+
#{$root}__icon-container {
|
|
290
|
+
#{$root}__date-icon {
|
|
291
|
+
path,
|
|
292
|
+
circle {
|
|
293
|
+
stroke: $date-icon-disabled-color;
|
|
294
|
+
}
|
|
279
295
|
}
|
|
280
296
|
}
|
|
281
297
|
}
|
|
@@ -325,12 +341,11 @@ $date-sizes: map-merge(
|
|
|
325
341
|
color: inherit;
|
|
326
342
|
|
|
327
343
|
&::placeholder {
|
|
328
|
-
color: $placeholder-color;
|
|
344
|
+
color: $element-placeholder-color;
|
|
329
345
|
}
|
|
330
346
|
}
|
|
331
347
|
}
|
|
332
348
|
|
|
333
|
-
|
|
334
349
|
@mixin date-time-panel($root) {
|
|
335
350
|
&__panel-container {
|
|
336
351
|
position: relative;
|
|
@@ -394,4 +409,10 @@ $date-sizes: map-merge(
|
|
|
394
409
|
margin-top: 3px;
|
|
395
410
|
}
|
|
396
411
|
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@mixin calendar-border () {
|
|
415
|
+
.CalendarView {
|
|
416
|
+
border: none;
|
|
417
|
+
}
|
|
397
418
|
}
|