react-miui 0.23.0 → 0.23.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/dist/components/form/Checkbox.module.scss +71 -0
  3. package/dist/components/form/Label.module.scss +15 -0
  4. package/dist/components/form/Toggle.module.scss +55 -0
  5. package/dist/components/form/choice/Choice.module.scss +56 -0
  6. package/dist/components/form/input/Input.module.scss +7 -0
  7. package/dist/components/layout/card/Card.module.scss +15 -0
  8. package/dist/components/layout/header/Header.module.scss +108 -0
  9. package/dist/components/layout/header/HeaderIconAction.module.scss +26 -0
  10. package/dist/components/layout/header/StickyHeader.module.scss +18 -0
  11. package/dist/components/layout/section/SearchContainer.module.scss +3 -0
  12. package/dist/components/layout/table/Table.module.scss +30 -0
  13. package/dist/components/ui/action/Action.module.scss +26 -0
  14. package/dist/components/ui/action/EqualActions.module.scss +11 -0
  15. package/dist/components/ui/directionPad/Pad.module.scss +45 -0
  16. package/dist/components/ui/drawer/Drawer.module.scss +15 -0
  17. package/dist/components/ui/keyValue/KeyValue.module.scss +57 -0
  18. package/dist/components/ui/message/Message.module.scss +31 -0
  19. package/dist/components/ui/pop/Pop.module.scss +60 -0
  20. package/dist/components/ui/stats/Stats.module.scss +48 -0
  21. package/dist/components/ui/tabs/Item.module.scss +11 -0
  22. package/dist/components/ui/tabs/Selector.module.scss +6 -0
  23. package/dist/components/ui/toaster/Toaster.module.scss +32 -0
  24. package/dist/components/utils/Spacer.module.scss +3 -0
  25. package/dist/global.scss +95 -0
  26. package/dist/scrollbars.scss +22 -0
  27. package/docs/classes/Drawer.html +14 -14
  28. package/docs/classes/Pop.html +14 -14
  29. package/docs/classes/ToasterProvider.html +10 -10
  30. package/docs/enums/ICON.html +14 -14
  31. package/docs/functions/Action.html +4 -4
  32. package/docs/functions/Button.html +4 -4
  33. package/docs/functions/Card.html +4 -4
  34. package/docs/functions/Checkbox.html +4 -4
  35. package/docs/functions/Choice.html +5 -5
  36. package/docs/functions/CoveringLoader.html +4 -4
  37. package/docs/functions/DirectionPad.html +4 -4
  38. package/docs/functions/EqualActions.html +4 -4
  39. package/docs/functions/FullLoader.html +4 -4
  40. package/docs/functions/HandleEsc.html +4 -4
  41. package/docs/functions/Header.html +4 -4
  42. package/docs/functions/HeaderIconAction.html +4 -4
  43. package/docs/functions/Icon-1.html +4 -4
  44. package/docs/functions/If.html +4 -4
  45. package/docs/functions/Input.html +5 -5
  46. package/docs/functions/KeyValue.html +4 -4
  47. package/docs/functions/Label.html +4 -4
  48. package/docs/functions/List-1.html +4 -4
  49. package/docs/functions/Loader.html +4 -4
  50. package/docs/functions/Loading.html +4 -4
  51. package/docs/functions/Message.html +4 -4
  52. package/docs/functions/Modal-1.html +4 -4
  53. package/docs/functions/ModalButtons.html +4 -4
  54. package/docs/functions/PopLoader.html +4 -4
  55. package/docs/functions/PopOption.html +4 -4
  56. package/docs/functions/SearchContainer.html +4 -4
  57. package/docs/functions/Section.html +4 -4
  58. package/docs/functions/Select.html +4 -4
  59. package/docs/functions/Selector.html +5 -5
  60. package/docs/functions/Spacer.html +4 -4
  61. package/docs/functions/Stats.html +4 -4
  62. package/docs/functions/StickyHeader-1.html +4 -4
  63. package/docs/functions/StickyHeader.Content.html +5 -5
  64. package/docs/functions/Table.html +4 -4
  65. package/docs/functions/TextArea.html +4 -4
  66. package/docs/functions/Toggle.html +4 -4
  67. package/docs/functions/getCssText.html +4 -4
  68. package/docs/functions/styled.html +4 -4
  69. package/docs/functions/useToaster.html +5 -5
  70. package/docs/index.html +4 -4
  71. package/docs/interfaces/ActionProps.html +12 -12
  72. package/docs/modules/List.html +7 -7
  73. package/docs/modules/Modal.html +6 -6
  74. package/docs/modules/StickyHeader.html +6 -6
  75. package/docs/modules.html +4 -4
  76. package/docs/pages/tutorials/Test.html +4 -4
  77. package/docs/types/ThemeCSS.html +5 -5
  78. package/docs/variables/List.Header.html +5 -5
  79. package/docs/variables/List.Item.html +5 -5
  80. package/docs/variables/Modal.RemovePadding.html +5 -5
  81. package/docs/variables/cssReset.html +5 -5
  82. package/docs/variables/miuiScrollbars.html +5 -5
  83. package/esm/components/form/Checkbox.module.scss +71 -0
  84. package/esm/components/form/Label.module.scss +15 -0
  85. package/esm/components/form/Toggle.module.scss +55 -0
  86. package/esm/components/form/choice/Choice.module.scss +56 -0
  87. package/esm/components/form/input/Input.module.scss +7 -0
  88. package/esm/components/layout/card/Card.module.scss +15 -0
  89. package/esm/components/layout/header/Header.module.scss +108 -0
  90. package/esm/components/layout/header/HeaderIconAction.module.scss +26 -0
  91. package/esm/components/layout/header/StickyHeader.module.scss +18 -0
  92. package/esm/components/layout/section/SearchContainer.module.scss +3 -0
  93. package/esm/components/layout/table/Table.module.scss +30 -0
  94. package/esm/components/ui/action/Action.module.scss +26 -0
  95. package/esm/components/ui/action/EqualActions.module.scss +11 -0
  96. package/esm/components/ui/directionPad/Pad.module.scss +45 -0
  97. package/esm/components/ui/drawer/Drawer.module.scss +15 -0
  98. package/esm/components/ui/keyValue/KeyValue.module.scss +57 -0
  99. package/esm/components/ui/message/Message.module.scss +31 -0
  100. package/esm/components/ui/pop/Pop.module.scss +60 -0
  101. package/esm/components/ui/stats/Stats.module.scss +48 -0
  102. package/esm/components/ui/tabs/Item.module.scss +11 -0
  103. package/esm/components/ui/tabs/Selector.module.scss +6 -0
  104. package/esm/components/ui/toaster/Toaster.module.scss +32 -0
  105. package/esm/components/utils/Spacer.module.scss +3 -0
  106. package/esm/global.scss +95 -0
  107. package/esm/scrollbars.scss +22 -0
  108. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,7 +3,11 @@ All notable changes to this project will be documented in this file.
3
3
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
4
4
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
5
 
6
- ## [0.23.0] - 2023-08-03
6
+ ## [0.23.1] - 2023-08-04
7
+ ### Fixed
8
+ - regression: missing css files in npm package
9
+
10
+ ## [0.23.0] - 2023-08-04
7
11
  ### Dev
8
12
  - big deps, config and builds upgrade
9
13
  ### Fixed
@@ -0,0 +1,71 @@
1
+ .checkbox {
2
+ input {
3
+ width: 0;
4
+ height: 0;
5
+ transform: scale(0);
6
+ margin: 0;
7
+ vertical-align: middle;
8
+
9
+ &:focus-visible {
10
+ + .checkmark {
11
+ box-shadow: 0 0 5px black;
12
+ }
13
+ }
14
+
15
+ + .checkmark + .label:not(:empty) {
16
+ margin-left: 0.75em;
17
+ }
18
+ }
19
+ }
20
+
21
+ .checkmark {
22
+ border-radius: 100px;
23
+ background: none;
24
+ border: 1px solid var(--inactive-bg);
25
+ width: 18px;
26
+ height: 18px;
27
+ display: inline-flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ vertical-align: middle;
31
+ box-sizing: border-box;
32
+
33
+ svg {
34
+ display: none;
35
+ width: 9px;
36
+ height: 9px;
37
+ fill: white;
38
+ }
39
+
40
+ + .label {
41
+ vertical-align: middle;
42
+ }
43
+ }
44
+
45
+ .checkmarkChecked {
46
+ border-width: 0;
47
+ color: var(--main-color);
48
+ background: currentColor;
49
+
50
+ svg {
51
+ display: inline-block;
52
+ }
53
+
54
+ &.checkmarkDisabled {
55
+ background: var(--inactive-dark-bg);
56
+ }
57
+ }
58
+
59
+ .checkmarkDisabled {
60
+ background: var(--active-bg);
61
+
62
+ + .label {
63
+ color: var(--input-disabled-text);
64
+ }
65
+ }
66
+
67
+ .checkmarkReadOnly {
68
+ + .label {
69
+ color: var(--input-disabled-text);
70
+ }
71
+ }
@@ -0,0 +1,15 @@
1
+ .label + .label {
2
+ margin-top: 23px;
3
+ display: block;
4
+ }
5
+
6
+ .text {
7
+ font-size: calc(28px / var(--ratio-font));
8
+ margin-bottom: calc(24px / var(--ratio-dimensions));
9
+ color: var(--sub);
10
+ }
11
+
12
+ .textBig {
13
+ font-size: calc(34px / var(--ratio-font));
14
+
15
+ }
@@ -0,0 +1,55 @@
1
+ .container {
2
+ --ratio-dimensions: 2.5;
3
+
4
+ display: inline-flex;
5
+ align-items: center;
6
+ border: 1px solid #ccc;
7
+ border-radius: 100px;
8
+ position: relative;
9
+ line-height: 0;
10
+ width: calc(110px / var(--ratio-dimensions));
11
+ height: calc(62px / var(--ratio-dimensions));
12
+ padding-left: calc(8px / var(--ratio-dimensions));
13
+ box-sizing: border-box;
14
+
15
+ input {
16
+ position: absolute;
17
+ width: 0;
18
+ height: 0;
19
+ overflow: hidden;
20
+ visibility: hidden;
21
+
22
+ &:not(:checked) + .toggle {
23
+ transform: translateX(0);
24
+ background: var(--toggle-handle-bg);
25
+ border-color: var(--toggle-handle-border);
26
+ }
27
+
28
+ &[data-undetermined=true] + .toggle {
29
+ transform: translateX(calc(24px / var(--ratio-dimensions)));
30
+ background: var(--toggle-handle-border);
31
+ border-color: var(--toggle-handle-border);
32
+ }
33
+
34
+ &:disabled:checked + .toggle {
35
+ border-color: var(--toggle-handle-border-disabled);
36
+ background: var(--toggle-handle-bg-disabled);
37
+ }
38
+ }
39
+ }
40
+
41
+ .disabled {
42
+ background: var(--toggle-bg-disabled);
43
+ }
44
+
45
+ .toggle {
46
+ box-sizing: border-box;
47
+ border-radius: 100px;
48
+ display: inline-block;
49
+ width: calc(44px / var(--ratio-dimensions));
50
+ height: calc(44px / var(--ratio-dimensions));
51
+ border: calc(1px / var(--ratio-border)) solid var(--orange1-darker);
52
+ background: var(--orange1);
53
+ transition: transform 200ms, background-color 200ms, border-color 200ms;
54
+ transform: translateX(calc(48px / var(--ratio-dimensions)));
55
+ }
@@ -0,0 +1,56 @@
1
+ .choice {
2
+ input {
3
+ width: 0;
4
+ height: 0;
5
+ overflow: hidden;
6
+ opacity: 0;
7
+ margin: 0;
8
+ position: absolute;
9
+
10
+ &:checked + span {
11
+ color: var(--choice-active-text);
12
+ background: var(--choice-active-bg);
13
+ }
14
+ }
15
+
16
+ span {
17
+ display: flex;
18
+ padding: 0 1em;
19
+ flex: 1;
20
+ height: 100%;
21
+ align-items: center;
22
+ justify-content: center;
23
+ font-size: calc(24px / var(--ratio-font));
24
+ color: var(--choice-text);
25
+ background: var(--choice-bg);
26
+ white-space: nowrap;
27
+ }
28
+
29
+ display: flex;
30
+ border: 1px solid var(--choice-border); // @TODO width
31
+ position: relative;
32
+ border-radius: 8px;
33
+ overflow: hidden;
34
+ width: max-content;
35
+ margin-left: auto;
36
+ margin-right: auto;
37
+
38
+ label {
39
+ flex: 1;
40
+ height: calc(89px / var(--ratio-dimensions));
41
+ display: flex;
42
+
43
+ + label {
44
+ border-left: 1px solid var(--choice-border);
45
+ }
46
+ }
47
+ }
48
+
49
+ .wide {
50
+ width: 100%;
51
+ }
52
+
53
+ .left {
54
+ margin-left: unset;
55
+ margin-right: unset;
56
+ }
@@ -0,0 +1,7 @@
1
+ .textarea {
2
+ padding: 1.2em calc(36px / var(--ratio-dimensions));
3
+ height: unset;
4
+ resize: vertical;
5
+ min-height: calc(103px * 3 / var(--ratio-dimensions))
6
+ }
7
+
@@ -0,0 +1,15 @@
1
+ .card {
2
+ background: var(--background);
3
+ border-radius: 5px;
4
+ display: flex;
5
+ flex-direction: column;
6
+
7
+ + .card {
8
+ margin-top: 23px;
9
+ }
10
+ }
11
+
12
+ .margin {
13
+ margin-left: 23px;
14
+ margin-right: 23px;
15
+ }
@@ -0,0 +1,108 @@
1
+ .header {
2
+ --border-color: var(--header-border);
3
+ --background-color: var(--header-bg);
4
+ background-clip: padding-box;
5
+ background: var(--background-color);
6
+ display: flex;
7
+ align-items: center;
8
+ font-size: 15px;
9
+ font-weight: bold;
10
+ box-sizing: border-box;
11
+ color: var(--header-text);
12
+ }
13
+
14
+ .header--toolbar {
15
+ --border-color: var(--toolbar-border);
16
+ --background-color: var(--toolbar-bg);
17
+ }
18
+
19
+ .header--colored {
20
+ --border-color: var(--custom-header-color);
21
+ --background-color: var(--custom-header-color);
22
+ color: var(--custom-text-color);
23
+ }
24
+
25
+ .header--top, .header--bottom {
26
+ padding: 0 16.666px;
27
+ min-height: 44px;
28
+ }
29
+ .header--left, .header--right {
30
+ padding: 16.666px 0;
31
+ min-width: 44px;
32
+ flex-direction: column;
33
+
34
+ > .contents {
35
+ flex-direction: column;
36
+ align-items: center;
37
+ }
38
+ }
39
+
40
+ .header--top {
41
+ border-bottom: 0.37px solid var(--border-color);
42
+ }
43
+ .header--bottom {
44
+ border-top: 0.37px solid var(--border-color);
45
+ order: 2;
46
+ }
47
+ .header--left {
48
+ border-right: 0.37px solid var(--border-color);
49
+ }
50
+ .header--right {
51
+ border-left: 0.37px solid var(--border-color);
52
+ order: 2;
53
+ }
54
+
55
+ .contents {
56
+ flex: 1;
57
+ display: flex;
58
+ }
59
+
60
+ .header--center > .contents {
61
+ justify-content: center;
62
+ }
63
+
64
+ .header--top, .header--bottom {
65
+ .before {
66
+ margin-right: calc(50px / var(--ratio-dimensions));
67
+ height: 100%;
68
+ padding: 7px 0;
69
+ box-sizing: border-box;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ }
74
+
75
+ .after {
76
+ margin-left: calc(50px / var(--ratio-dimensions));
77
+ height: 100%;
78
+ padding: 7px 0;
79
+ box-sizing: border-box;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ }
84
+
85
+ .actions {
86
+ margin: calc(56px / var(--ratio-dimensions)) 0;
87
+ }
88
+ }
89
+
90
+ .header--left, .header--right {
91
+ .before {
92
+ margin-bottom: calc(50px / var(--ratio-dimensions));
93
+ flex-direction: column;
94
+ }
95
+
96
+ .after {
97
+ margin-top: calc(50px / var(--ratio-dimensions));
98
+ flex-direction: column;
99
+ }
100
+
101
+ .actions {
102
+ margin: 0 calc(56px / var(--ratio-dimensions));
103
+ }
104
+ }
105
+
106
+ .before, .after {
107
+ display: flex;
108
+ }
@@ -0,0 +1,26 @@
1
+ .btn, .a {
2
+ height: 100%;
3
+ aspect-ratio: 1;
4
+ background: none;
5
+ border-radius: 666px;
6
+ display: inline-flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ border: calc(2px / var(--ratio-border)) solid transparent;
10
+ color: currentColor;
11
+
12
+ &:hover {
13
+ background: #00000022;
14
+ }
15
+ &:active {
16
+ background: #00000011;
17
+ color: currentColor;
18
+ }
19
+ }
20
+
21
+ .icon {
22
+ width: 16px;
23
+ height: 16px;
24
+ display: block;
25
+ fill: currentColor;
26
+ }
@@ -0,0 +1,18 @@
1
+ .stickyHeader {
2
+ height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+
6
+ &__content {
7
+ flex: 1;
8
+ overflow: auto;
9
+
10
+ &--bottom, &--right {
11
+ order: 1;
12
+ }
13
+ }
14
+ }
15
+
16
+ .stickyHeader--left, .stickyHeader--right {
17
+ flex-direction: row;
18
+ }
@@ -0,0 +1,3 @@
1
+ .section {
2
+ margin: 12px;
3
+ }
@@ -0,0 +1,30 @@
1
+ .table {
2
+ border-spacing: 10px;
3
+ border-collapse: collapse;
4
+
5
+ > * > tr > * {
6
+ text-align: left;
7
+ padding: 0.75em 0.5em;
8
+ border-bottom: 1px solid var(--border);
9
+ }
10
+
11
+ > thead > tr:last-child > * {
12
+ border-bottom: 2px solid var(--border);
13
+ box-shadow: 0 4px 10px -10px rgba(0, 0, 0, 0.6);
14
+ }
15
+ }
16
+
17
+ .striped {
18
+ > tbody > tr:nth-child(even) > * {
19
+ background: var(--table-striped-bg);
20
+ }
21
+ }
22
+
23
+ .centered {
24
+ margin-left: auto;
25
+ margin-right: auto;
26
+ }
27
+
28
+ .wide {
29
+ width: 100%;
30
+ }
@@ -0,0 +1,26 @@
1
+ .action {
2
+ height: calc(102px / var(--ratio-dimensions));
3
+ width: calc(102px / var(--ratio-dimensions));
4
+ border-radius: 100px;
5
+ border: calc(1px / var(--ratio-border)) solid var(--button-border);
6
+ background: white;
7
+ padding: 0;
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ }
12
+
13
+ .a {
14
+ display: inline-block;
15
+ vertical-align: middle;
16
+ }
17
+
18
+ .button {
19
+ border: none;
20
+ padding: 0;
21
+ background: none;
22
+ display: inline-flex;
23
+ flex-direction: column;
24
+ align-items: center;
25
+ gap: calc(18px / var(--ratio-dimensions));
26
+ }
@@ -0,0 +1,11 @@
1
+ .actions {
2
+ --actions-count: 1;
3
+ display: inline-grid;
4
+ grid-template-columns: repeat(var(--actions-count), 1fr);
5
+ gap: calc(56px / var(--ratio-dimensions));
6
+ }
7
+
8
+ .vertical {
9
+ grid-template-columns: auto;
10
+ grid-template-rows: repeat(var(--actions-count), 1fr);
11
+ }
@@ -0,0 +1,45 @@
1
+ .pad {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ justify-content: center;
6
+ height: 150px;
7
+ border-radius: 666px;
8
+ width: 150px;
9
+ border: 1px solid #aaa;
10
+ background: white;
11
+
12
+ &__line {
13
+ display: flex;
14
+ }
15
+
16
+ &__button {
17
+ height: 50px;
18
+ width: 50px;
19
+ margin: 0;
20
+ border-radius: 666px;
21
+ border: none;
22
+ display: block;
23
+ background: none;
24
+ }
25
+
26
+ &__middle {
27
+ display: block;
28
+ margin: 0;
29
+ height: 50px;
30
+ width: 50px;
31
+ border: 1px solid #999;
32
+ box-sizing: border-box;
33
+ border-radius: 666px;
34
+ background: none;
35
+ }
36
+
37
+ &__dot {
38
+ display: block;
39
+ width: 4px;
40
+ height: 4px;
41
+ border-radius: 666px;
42
+ background: black;
43
+ margin: auto;
44
+ }
45
+ }
@@ -0,0 +1,15 @@
1
+ .drawer {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ right: 0;
6
+ bottom: 0;
7
+ background: white;
8
+ z-index: 1;
9
+
10
+ transition: transform 300ms;
11
+ }
12
+
13
+ .content {
14
+ height: 100%;
15
+ }
@@ -0,0 +1,57 @@
1
+ .container {
2
+ --kv-border-color: var(--header-border);
3
+ --kv-border: calc(1px / var(--ratio-border)) solid var(--kv-border-color);
4
+ --kv-background-color: white;
5
+ --kv-hover-background-color: var(--active-bg);
6
+ border: 1px solid var(--kv-border-color);
7
+ background-color: var(--kv-background-color);
8
+ border-radius: 5px;
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ }
12
+
13
+ .item {
14
+ display: inline-flex;
15
+ box-sizing: border-box;
16
+ padding: 10px;
17
+ align-items: center;
18
+ gap: 10px;
19
+ border: none;
20
+ background: none;
21
+ }
22
+
23
+ button.item:hover {
24
+ background: var(--kv-hover-background-color)
25
+ }
26
+
27
+ .kv {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 3px;
31
+ }
32
+
33
+ .key {
34
+ font-size: calc(22px / var(--ratio-font));
35
+ color: var(--sub);
36
+ }
37
+
38
+ .value {
39
+ font-size: calc(29px / var(--ratio-font));
40
+ }
41
+
42
+ .itemNotFirstRow {
43
+ border-top: var(--kv-border);
44
+ }
45
+
46
+ .itemNotFirstCol {
47
+ border-left: var(--kv-border);
48
+ }
49
+
50
+ .itemLastWithoutFullRow {
51
+ border-right: var(--kv-border);
52
+ }
53
+
54
+ .missingItem {
55
+ border-top: var(--kv-border);
56
+ border-left: var(--kv-border);
57
+ }
@@ -0,0 +1,31 @@
1
+ .container {
2
+ border-top: 1px solid var(--border);
3
+ border-bottom: 1px solid var(--border);
4
+ padding: calc(47px / var(--ratio-dimensions)) calc(83px / var(--ratio-dimensions));
5
+ font-weight: 500;
6
+ line-height: 1.25;
7
+ }
8
+
9
+ .box {
10
+ border-left: 1px solid var(--border);
11
+ border-right: 1px solid var(--border);
12
+ margin: 12px;
13
+ }
14
+
15
+ .warning {
16
+ background-color: var(--yellow3);
17
+ border-color: var(--yellow1);
18
+ color: var(--yellow2);
19
+ }
20
+
21
+ .error {
22
+ background-color: var(--pinky3);
23
+ border-color: var(--pinky1);
24
+ color: var(--pinky2);
25
+ }
26
+
27
+ .info {
28
+ background-color: var(--blue3);
29
+ border-color: var(--blue2);
30
+ color: var(--blue1);
31
+ }
@@ -0,0 +1,60 @@
1
+ .overlay {
2
+ position: fixed;
3
+ background: #0000004c;
4
+ top: 0;
5
+ left: 0;
6
+ right: 0;
7
+ bottom: 0;
8
+ z-index: 4;
9
+ }
10
+
11
+ .pop {
12
+ z-index: 5;
13
+ position: absolute;
14
+ background: white;
15
+ margin: 0;
16
+ padding: 0;
17
+ list-style-type: none;
18
+ }
19
+
20
+ .li {
21
+ margin: 0;
22
+ padding: 0;
23
+ list-style-type: none;
24
+
25
+ + .li {
26
+ border-top: 1px solid var(--border);
27
+ }
28
+ }
29
+
30
+ .button {
31
+ border: none;
32
+ background: white;
33
+ height: calc(116px / var(--ratio-dimensions));
34
+ padding: 0 calc(42px / var(--ratio-dimensions));
35
+ box-sizing: border-box;
36
+ width: 100%;
37
+ min-width: calc(460px / var(--ratio-dimensions));
38
+ text-align: left;
39
+ color: var(--pop-text);
40
+ font-size: calc(26px / var(--ratio-font));
41
+ font-weight: revert;
42
+ display: flex;
43
+ align-items: center;
44
+
45
+ &:hover {
46
+ background: var(--active-bg);
47
+ }
48
+ }
49
+
50
+ .icon {
51
+ fill: currentColor;
52
+ margin-right: calc(42px / var(--ratio-dimensions));
53
+ }
54
+
55
+ .fakeIcon {
56
+ display: inline-block;
57
+ width: 16px;
58
+ height: 16px;
59
+ margin-right: calc(42px / var(--ratio-dimensions));
60
+ }