@byline/richtext-lexical 6.10.0 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/field/content-editable.css +22 -18
- package/dist/field/editor-component.css +33 -29
- package/dist/field/editor.css +1218 -1214
- package/dist/field/extensions/admonition/admonition-modal.css +20 -16
- package/dist/field/extensions/admonition/admonition-node.css +114 -110
- package/dist/field/extensions/admonition/icons/danger-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/note-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/tip-icon.css +13 -9
- package/dist/field/extensions/admonition/icons/warning-icon.css +13 -9
- package/dist/field/extensions/auto-embed/auto-embed-modal.css +14 -10
- package/dist/field/extensions/floating-text-format/index.css +130 -126
- package/dist/field/extensions/inline-image/inline-image-modal.css +120 -116
- package/dist/field/extensions/inline-image/inline-image-node-component.css +243 -239
- package/dist/field/extensions/layout/insert-layout-modal.css +16 -12
- package/dist/field/extensions/link/floating-link-editor.css +113 -109
- package/dist/field/extensions/link/link-target-fields.css +61 -57
- package/dist/field/normalize/adapted-notice.css +2 -4
- package/dist/field/plugins/table-plugin/table-modal.css +17 -13
- package/dist/field/themes/lexical-editor-theme.css +471 -467
- package/dist/field/ui/button.css +28 -24
- package/dist/field/ui/checkbox.css +43 -39
- package/dist/field/ui/color-picker.css +69 -65
- package/dist/field/ui/dialog.css +18 -14
- package/dist/field/ui/input.css +23 -19
- package/dist/field/ui/modal.css +66 -62
- package/dist/field/ui/placeholder.css +25 -21
- package/dist/field/ui/select.css +32 -28
- package/dist/field/ui/text-area.css +29 -25
- package/dist/richtext-field_module.css +21 -17
- package/package.json +6 -6
- package/src/field/content-editable.css +31 -17
- package/src/field/editor-component.css +56 -40
- package/src/field/editor.css +1248 -1232
- package/src/field/extensions/admonition/admonition-modal.css +32 -16
- package/src/field/extensions/admonition/admonition-node.css +105 -89
- package/src/field/extensions/admonition/icons/danger-icon.css +25 -9
- package/src/field/extensions/admonition/icons/note-icon.css +25 -9
- package/src/field/extensions/admonition/icons/tip-icon.css +25 -9
- package/src/field/extensions/admonition/icons/warning-icon.css +25 -9
- package/src/field/extensions/auto-embed/auto-embed-modal.css +25 -9
- package/src/field/extensions/floating-text-format/index.css +142 -126
- package/src/field/extensions/inline-image/inline-image-modal.css +144 -128
- package/src/field/extensions/inline-image/inline-image-node-component.css +258 -242
- package/src/field/extensions/layout/insert-layout-modal.css +28 -12
- package/src/field/extensions/link/floating-link-editor.css +129 -113
- package/src/field/extensions/link/link-target-fields.css +68 -52
- package/src/field/normalize/adapted-notice.css +5 -4
- package/src/field/plugins/table-plugin/table-modal.css +29 -13
- package/src/field/themes/lexical-editor-theme.css +508 -494
- package/src/field/ui/button.css +46 -30
- package/src/field/ui/checkbox.css +62 -46
- package/src/field/ui/color-picker.css +89 -73
- package/src/field/ui/dialog.css +30 -14
- package/src/field/ui/input.css +38 -22
- package/src/field/ui/modal.css +81 -65
- package/src/field/ui/placeholder.css +36 -20
- package/src/field/ui/select.css +46 -30
- package/src/field/ui/text-area.css +45 -29
- package/src/lexical-editor.tsx +2 -0
- package/src/richtext-field.module.css +38 -22
package/src/field/ui/button.css
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
17
|
*
|
|
@@ -7,39 +21,41 @@
|
|
|
7
21
|
*
|
|
8
22
|
*/
|
|
9
23
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
@layer byline-components.cms {
|
|
25
|
+
.Button__root {
|
|
26
|
+
padding-top: 10px;
|
|
27
|
+
padding-bottom: 10px;
|
|
28
|
+
padding-left: 15px;
|
|
29
|
+
padding-right: 15px;
|
|
30
|
+
border: 0px;
|
|
31
|
+
background-color: #eee;
|
|
32
|
+
border-radius: 5px;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
}
|
|
21
36
|
|
|
22
|
-
.Button__root:hover {
|
|
23
|
-
|
|
24
|
-
}
|
|
37
|
+
.Button__root:hover {
|
|
38
|
+
background-color: #ddd;
|
|
39
|
+
}
|
|
25
40
|
|
|
26
|
-
.Button__small {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
41
|
+
.Button__small {
|
|
42
|
+
padding-top: 5px;
|
|
43
|
+
padding-bottom: 5px;
|
|
44
|
+
padding-left: 10px;
|
|
45
|
+
padding-right: 10px;
|
|
46
|
+
font-size: 13px;
|
|
47
|
+
}
|
|
33
48
|
|
|
34
|
-
.Button__disabled:hover {
|
|
35
|
-
|
|
36
|
-
}
|
|
49
|
+
.Button__disabled:hover {
|
|
50
|
+
background-color: #eee;
|
|
51
|
+
}
|
|
37
52
|
|
|
38
|
-
[data-theme="dark"] .Button__root {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
53
|
+
[data-theme="dark"] .Button__root {
|
|
54
|
+
color: #ccc;
|
|
55
|
+
background-color: #222222;
|
|
56
|
+
}
|
|
42
57
|
|
|
43
|
-
[data-theme="dark"] .Button__root:hover {
|
|
44
|
-
|
|
58
|
+
[data-theme="dark"] .Button__root:hover {
|
|
59
|
+
background-color: #282828;
|
|
60
|
+
}
|
|
45
61
|
}
|
|
@@ -1,52 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
6
12
|
|
|
7
|
-
|
|
8
|
-
[type="checkbox"]:not(:checked) + label {
|
|
9
|
-
position: relative;
|
|
10
|
-
padding-right: 55px;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
line-height: 20px;
|
|
13
|
-
display: inline-block;
|
|
14
|
-
color: #666;
|
|
15
|
-
}
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
[type="checkbox"]:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
width: 18px;
|
|
24
|
-
height: 18px;
|
|
25
|
-
border: 1px solid #666;
|
|
26
|
-
background: #fff;
|
|
27
|
-
}
|
|
15
|
+
@layer byline-components.cms {
|
|
16
|
+
[type="checkbox"]:checked,
|
|
17
|
+
[type="checkbox"]:not(:checked) {
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: -9999px;
|
|
20
|
+
}
|
|
28
21
|
|
|
29
|
-
[type="checkbox"]:checked + label
|
|
30
|
-
[type="checkbox"]:not(:checked) + label
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-webkit-transition: all 0.2s ease;
|
|
39
|
-
transition: all 0.2s ease;
|
|
40
|
-
}
|
|
22
|
+
[type="checkbox"]:checked + label,
|
|
23
|
+
[type="checkbox"]:not(:checked) + label {
|
|
24
|
+
position: relative;
|
|
25
|
+
padding-right: 55px;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
line-height: 20px;
|
|
28
|
+
display: inline-block;
|
|
29
|
+
color: #666;
|
|
30
|
+
}
|
|
41
31
|
|
|
42
|
-
[type="checkbox"]:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
[type="checkbox"]:checked + label:before,
|
|
33
|
+
[type="checkbox"]:not(:checked) + label:before {
|
|
34
|
+
content: "";
|
|
35
|
+
position: absolute;
|
|
36
|
+
right: 0;
|
|
37
|
+
top: 0;
|
|
38
|
+
width: 18px;
|
|
39
|
+
height: 18px;
|
|
40
|
+
border: 1px solid #666;
|
|
41
|
+
background: #fff;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[type="checkbox"]:checked + label:after,
|
|
45
|
+
[type="checkbox"]:not(:checked) + label:after {
|
|
46
|
+
content: "";
|
|
47
|
+
width: 8px;
|
|
48
|
+
height: 8px;
|
|
49
|
+
background: #222222;
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 6px;
|
|
52
|
+
right: 6px;
|
|
53
|
+
-webkit-transition: all 0.2s ease;
|
|
54
|
+
transition: all 0.2s ease;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[type="checkbox"]:not(:checked) + label:after {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
-webkit-transform: scale(0);
|
|
60
|
+
transform: scale(0);
|
|
61
|
+
}
|
|
47
62
|
|
|
48
|
-
[type="checkbox"]:checked + label:after {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
63
|
+
[type="checkbox"]:checked + label:after {
|
|
64
|
+
opacity: 1;
|
|
65
|
+
-webkit-transform: scale(1);
|
|
66
|
+
transform: scale(1);
|
|
67
|
+
}
|
|
52
68
|
}
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
17
|
*
|
|
@@ -6,83 +20,85 @@
|
|
|
6
20
|
*
|
|
7
21
|
*/
|
|
8
22
|
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
23
|
+
@layer byline-components.cms {
|
|
24
|
+
.color-picker-wrapper {
|
|
25
|
+
padding: 20px;
|
|
26
|
+
}
|
|
12
27
|
|
|
13
|
-
.color-picker-basic-color {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
28
|
+
.color-picker-basic-color {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
gap: 10px;
|
|
32
|
+
margin: 0;
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
20
35
|
|
|
21
|
-
.color-picker-basic-color button {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
36
|
+
.color-picker-basic-color button {
|
|
37
|
+
border: 1px solid #ccc;
|
|
38
|
+
border-radius: 4px;
|
|
39
|
+
height: 16px;
|
|
40
|
+
width: 16px;
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
list-style-type: none;
|
|
43
|
+
}
|
|
29
44
|
|
|
30
|
-
.color-picker-basic-color button.active {
|
|
31
|
-
|
|
32
|
-
}
|
|
45
|
+
.color-picker-basic-color button.active {
|
|
46
|
+
box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.3);
|
|
47
|
+
}
|
|
33
48
|
|
|
34
|
-
.color-picker-saturation {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
.color-picker-saturation_cursor {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
.color-picker-hue {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
49
|
+
.color-picker-saturation {
|
|
50
|
+
width: 100%;
|
|
51
|
+
position: relative;
|
|
52
|
+
margin-top: 15px;
|
|
53
|
+
height: 150px;
|
|
54
|
+
background-image:
|
|
55
|
+
linear-gradient(transparent, black), linear-gradient(to right, white, transparent);
|
|
56
|
+
user-select: none;
|
|
57
|
+
}
|
|
58
|
+
.color-picker-saturation_cursor {
|
|
59
|
+
position: absolute;
|
|
60
|
+
width: 20px;
|
|
61
|
+
height: 20px;
|
|
62
|
+
border: 2px solid #ffffff;
|
|
63
|
+
border-radius: 50%;
|
|
64
|
+
box-shadow: 0 0 15px #00000026;
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
transform: translate(-10px, -10px);
|
|
67
|
+
}
|
|
68
|
+
.color-picker-hue {
|
|
69
|
+
width: 100%;
|
|
70
|
+
position: relative;
|
|
71
|
+
margin-top: 15px;
|
|
72
|
+
height: 12px;
|
|
73
|
+
background-image: linear-gradient(
|
|
74
|
+
to right,
|
|
75
|
+
rgb(255, 0, 0),
|
|
76
|
+
rgb(255, 255, 0),
|
|
77
|
+
rgb(0, 255, 0),
|
|
78
|
+
rgb(0, 255, 255),
|
|
79
|
+
rgb(0, 0, 255),
|
|
80
|
+
rgb(255, 0, 255),
|
|
81
|
+
rgb(255, 0, 0)
|
|
82
|
+
);
|
|
83
|
+
user-select: none;
|
|
84
|
+
border-radius: 12px;
|
|
85
|
+
}
|
|
71
86
|
|
|
72
|
-
.color-picker-hue_cursor {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
87
|
+
.color-picker-hue_cursor {
|
|
88
|
+
position: absolute;
|
|
89
|
+
width: 20px;
|
|
90
|
+
height: 20px;
|
|
91
|
+
border: 2px solid #ffffff;
|
|
92
|
+
border-radius: 50%;
|
|
93
|
+
box-shadow: #0003 0 0 0 0.5px;
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
transform: translate(-10px, -4px);
|
|
96
|
+
}
|
|
82
97
|
|
|
83
|
-
.color-picker-color {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
98
|
+
.color-picker-color {
|
|
99
|
+
border: 1px solid #ccc;
|
|
100
|
+
margin-top: 15px;
|
|
101
|
+
width: 100%;
|
|
102
|
+
height: 20px;
|
|
103
|
+
}
|
|
88
104
|
}
|
package/src/field/ui/dialog.css
CHANGED
|
@@ -1,17 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
7
12
|
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
15
|
+
@layer byline-components.cms {
|
|
16
|
+
.DialogActions {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
justify-content: right;
|
|
20
|
+
margin-top: 20px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.DialogButtonsList {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
justify-content: right;
|
|
27
|
+
margin-top: 20px;
|
|
28
|
+
}
|
|
14
29
|
|
|
15
|
-
.DialogButtonsList button {
|
|
16
|
-
|
|
30
|
+
.DialogButtonsList button {
|
|
31
|
+
margin-bottom: 20px;
|
|
32
|
+
}
|
|
17
33
|
}
|
package/src/field/ui/input.css
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
17
|
*
|
|
@@ -7,26 +21,28 @@
|
|
|
7
21
|
*
|
|
8
22
|
*/
|
|
9
23
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
@layer byline-components.cms {
|
|
25
|
+
.Input__wrapper {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: row;
|
|
28
|
+
align-items: center;
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
}
|
|
31
|
+
.Input__label {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex: 1;
|
|
34
|
+
color: #666;
|
|
35
|
+
}
|
|
36
|
+
.Input__input {
|
|
37
|
+
display: flex;
|
|
38
|
+
flex: 2;
|
|
39
|
+
border: 1px solid #999;
|
|
40
|
+
padding-top: 7px;
|
|
41
|
+
padding-bottom: 7px;
|
|
42
|
+
padding-left: 10px;
|
|
43
|
+
padding-right: 10px;
|
|
44
|
+
font-size: 16px;
|
|
45
|
+
border-radius: 5px;
|
|
46
|
+
min-width: 0;
|
|
47
|
+
}
|
|
32
48
|
}
|
package/src/field/ui/modal.css
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
@layer base,
|
|
2
|
+
byline-base,
|
|
3
|
+
theme,
|
|
4
|
+
byline-theme,
|
|
5
|
+
byline-functional,
|
|
6
|
+
byline-typography,
|
|
7
|
+
components,
|
|
8
|
+
byline-components,
|
|
9
|
+
overrides,
|
|
10
|
+
byline-utilities,
|
|
11
|
+
utilities;
|
|
12
|
+
|
|
13
|
+
@layer byline-components.primitives, byline-components.cms;
|
|
14
|
+
|
|
1
15
|
/**
|
|
2
16
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
17
|
*
|
|
@@ -7,78 +21,80 @@
|
|
|
7
21
|
*
|
|
8
22
|
*/
|
|
9
23
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
@layer byline-components.cms {
|
|
25
|
+
.Modal__overlay {
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
position: fixed;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
top: 0px;
|
|
32
|
+
bottom: 0px;
|
|
33
|
+
left: 0px;
|
|
34
|
+
right: 0px;
|
|
35
|
+
background-color: rgba(40, 40, 40, 0.6);
|
|
36
|
+
flex-grow: 0px;
|
|
37
|
+
flex-shrink: 1px;
|
|
38
|
+
z-index: 100;
|
|
39
|
+
}
|
|
25
40
|
|
|
26
|
-
.Modal__modal {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
41
|
+
.Modal__modal {
|
|
42
|
+
padding: 20px;
|
|
43
|
+
min-height: 100px;
|
|
44
|
+
min-width: 300px;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-grow: 0px;
|
|
47
|
+
background-color: #fff;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
position: relative;
|
|
50
|
+
box-shadow: 0 0 20px 0 #444;
|
|
51
|
+
border-radius: 10px;
|
|
52
|
+
}
|
|
38
53
|
|
|
39
|
-
.Modal__title {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
54
|
+
.Modal__title {
|
|
55
|
+
color: #444;
|
|
56
|
+
margin: 0px;
|
|
57
|
+
padding-bottom: 10px;
|
|
58
|
+
font-size: 1.4rem;
|
|
59
|
+
border-bottom: 1px solid #ccc;
|
|
60
|
+
}
|
|
46
61
|
|
|
47
|
-
.Modal__closeButton {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
62
|
+
.Modal__closeButton {
|
|
63
|
+
border: 0px;
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: 20px;
|
|
66
|
+
border-radius: 20px;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
align-items: center;
|
|
69
|
+
display: flex;
|
|
70
|
+
width: 30px;
|
|
71
|
+
height: 30px;
|
|
72
|
+
text-align: center;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
background-color: #eee;
|
|
75
|
+
}
|
|
61
76
|
|
|
62
|
-
.Modal__closeButton:hover {
|
|
63
|
-
|
|
64
|
-
}
|
|
77
|
+
.Modal__closeButton:hover {
|
|
78
|
+
background-color: #ddd;
|
|
79
|
+
}
|
|
65
80
|
|
|
66
|
-
.Modal__content {
|
|
67
|
-
|
|
68
|
-
}
|
|
81
|
+
.Modal__content {
|
|
82
|
+
padding-top: 20px;
|
|
83
|
+
}
|
|
69
84
|
|
|
70
|
-
[data-theme="dark"] .Modal__modal {
|
|
71
|
-
|
|
72
|
-
}
|
|
85
|
+
[data-theme="dark"] .Modal__modal {
|
|
86
|
+
background-color: #111111;
|
|
87
|
+
}
|
|
73
88
|
|
|
74
|
-
[data-theme="dark"] .Modal__closeButton {
|
|
75
|
-
|
|
76
|
-
}
|
|
89
|
+
[data-theme="dark"] .Modal__closeButton {
|
|
90
|
+
background-color: #222222;
|
|
91
|
+
}
|
|
77
92
|
|
|
78
|
-
[data-theme="dark"] .Modal__closeButton:hover {
|
|
79
|
-
|
|
80
|
-
}
|
|
93
|
+
[data-theme="dark"] .Modal__closeButton:hover {
|
|
94
|
+
background-color: #282828;
|
|
95
|
+
}
|
|
81
96
|
|
|
82
|
-
[data-theme="dark"] .Modal__title {
|
|
83
|
-
|
|
97
|
+
[data-theme="dark"] .Modal__title {
|
|
98
|
+
color: #ccc;
|
|
99
|
+
}
|
|
84
100
|
}
|