@configura/web-ui 2.1.0-alpha.0 → 2.1.0-alpha.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 (116) hide show
  1. package/.eslintrc.json +5 -5
  2. package/.postcssrc.json +8 -8
  3. package/LICENSE +201 -201
  4. package/README.md +1 -1
  5. package/dist/components/CanvasWrapper.d.ts +9 -9
  6. package/dist/components/CanvasWrapper.js +8 -8
  7. package/dist/components/CfgPriceView.d.ts +6 -6
  8. package/dist/components/CfgPriceView.js +13 -13
  9. package/dist/components/ConfigurationActionsButtonRow.d.ts +14 -14
  10. package/dist/components/ConfigurationActionsButtonRow.js +16 -16
  11. package/dist/components/Configurator.d.ts +12 -12
  12. package/dist/components/Configurator.js +15 -15
  13. package/dist/components/ConfiguratorWrapper.d.ts +8 -8
  14. package/dist/components/ConfiguratorWrapper.js +5 -5
  15. package/dist/components/CurrencyPrice.d.ts +9 -9
  16. package/dist/components/CurrencyPrice.js +7 -7
  17. package/dist/components/ErrorContext.d.ts +2 -2
  18. package/dist/components/ErrorContext.js +2 -2
  19. package/dist/components/ExpandableHeadingRow.d.ts +15 -15
  20. package/dist/components/ExpandableHeadingRow.js +23 -23
  21. package/dist/components/Loading.d.ts +13 -13
  22. package/dist/components/Loading.js +20 -20
  23. package/dist/components/ProductInformation.d.ts +13 -13
  24. package/dist/components/ProductInformation.js +14 -14
  25. package/dist/components/ResetButton.d.ts +8 -8
  26. package/dist/components/ResetButton.js +7 -7
  27. package/dist/components/ShareView.d.ts +3 -3
  28. package/dist/components/ShareView.js +21 -21
  29. package/dist/components/TaskListView.d.ts +8 -8
  30. package/dist/components/TaskListView.js +69 -69
  31. package/dist/components/TaskStartView.d.ts +12 -12
  32. package/dist/components/TaskStartView.js +29 -29
  33. package/dist/components/icons/Checkmark.d.ts +6 -6
  34. package/dist/components/icons/Checkmark.js +12 -12
  35. package/dist/components/icons/Chevron.d.ts +7 -7
  36. package/dist/components/icons/Chevron.js +18 -18
  37. package/dist/components/icons/CircleXmarkIcon.d.ts +3 -3
  38. package/dist/components/icons/CircleXmarkIcon.js +8 -8
  39. package/dist/components/icons/DownloadIcon.d.ts +3 -3
  40. package/dist/components/icons/DownloadIcon.js +8 -8
  41. package/dist/components/icons/ErrorIcon.d.ts +3 -3
  42. package/dist/components/icons/ErrorIcon.js +8 -8
  43. package/dist/components/productConfiguration/CfgAdditionalProductView.d.ts +3 -3
  44. package/dist/components/productConfiguration/CfgAdditionalProductView.js +46 -46
  45. package/dist/components/productConfiguration/CfgCheckboxView.d.ts +4 -4
  46. package/dist/components/productConfiguration/CfgCheckboxView.js +7 -7
  47. package/dist/components/productConfiguration/CfgCheckboxesView.d.ts +4 -4
  48. package/dist/components/productConfiguration/CfgCheckboxesView.js +20 -20
  49. package/dist/components/productConfiguration/CfgConfigurationCommonView.d.ts +7 -7
  50. package/dist/components/productConfiguration/CfgConfigurationCommonView.js +8 -8
  51. package/dist/components/productConfiguration/CfgDropdownOptionView.d.ts +4 -4
  52. package/dist/components/productConfiguration/CfgDropdownOptionView.js +23 -23
  53. package/dist/components/productConfiguration/CfgDropdownView.d.ts +4 -4
  54. package/dist/components/productConfiguration/CfgDropdownView.js +23 -23
  55. package/dist/components/productConfiguration/CfgFeatureView.d.ts +72 -72
  56. package/dist/components/productConfiguration/CfgFeatureView.js +76 -76
  57. package/dist/components/productConfiguration/CfgGroupView.d.ts +4 -4
  58. package/dist/components/productConfiguration/CfgGroupView.js +7 -7
  59. package/dist/components/productConfiguration/CfgMiscFile.d.ts +4 -4
  60. package/dist/components/productConfiguration/CfgMiscFile.js +9 -9
  61. package/dist/components/productConfiguration/CfgMiscFiles.d.ts +4 -4
  62. package/dist/components/productConfiguration/CfgMiscFiles.js +5 -5
  63. package/dist/components/productConfiguration/CfgNote.d.ts +4 -4
  64. package/dist/components/productConfiguration/CfgNote.js +15 -15
  65. package/dist/components/productConfiguration/CfgNotes.d.ts +4 -4
  66. package/dist/components/productConfiguration/CfgNotes.js +5 -5
  67. package/dist/components/productConfiguration/CfgOptionCommonView.d.ts +6 -6
  68. package/dist/components/productConfiguration/CfgOptionCommonView.js +50 -48
  69. package/dist/components/productConfiguration/CfgOptionNumericView.d.ts +29 -29
  70. package/dist/components/productConfiguration/CfgOptionNumericView.js +132 -132
  71. package/dist/components/productConfiguration/CfgOptionPriceView.d.ts +9 -9
  72. package/dist/components/productConfiguration/CfgOptionPriceView.js +31 -31
  73. package/dist/components/productConfiguration/CfgProductConfigurationView.d.ts +22 -22
  74. package/dist/components/productConfiguration/CfgProductConfigurationView.js +50 -50
  75. package/dist/css/web-ui.css +1 -1
  76. package/dist/css/web-ui.css.map +1 -1
  77. package/dist/index.d.ts +29 -29
  78. package/dist/index.js +29 -29
  79. package/dist/scss/_button.scss +52 -52
  80. package/dist/scss/_configurator.scss +132 -132
  81. package/dist/scss/_expandable.scss +38 -38
  82. package/dist/scss/_feature-item.scss +146 -142
  83. package/dist/scss/_forms.scss +44 -44
  84. package/dist/scss/_hr.scss +16 -16
  85. package/dist/scss/_loading.scss +98 -98
  86. package/dist/scss/_misc-file-and-note.scss +44 -44
  87. package/dist/scss/_mixins.scss +56 -56
  88. package/dist/scss/_option-tree.scss +29 -29
  89. package/dist/scss/_product-information.scss +53 -53
  90. package/dist/scss/_range-view.scss +39 -39
  91. package/dist/scss/_slider.scss +70 -70
  92. package/dist/scss/_tasks.scss +72 -72
  93. package/dist/scss/_themed.scss +156 -156
  94. package/dist/scss/_utilities.scss +21 -21
  95. package/dist/scss/_variables.scss +6 -6
  96. package/dist/scss/icons/_checkmark.scss +46 -46
  97. package/dist/scss/icons/_chevron.scss +62 -62
  98. package/dist/scss/icons/_circle-xmark-icon.scss +24 -24
  99. package/dist/scss/icons/_download-icon.scss +24 -24
  100. package/dist/scss/icons/_error-icon.scss +24 -24
  101. package/dist/scss/web-ui.scss +11 -11
  102. package/dist/useCatParams.d.ts +17 -17
  103. package/dist/useCatParams.js +29 -29
  104. package/dist/useObservable.d.ts +4 -4
  105. package/dist/useObservable.js +18 -18
  106. package/dist/useRerender.d.ts +1 -1
  107. package/dist/useRerender.js +5 -5
  108. package/dist/useResize.d.ts +6 -6
  109. package/dist/useResize.js +47 -47
  110. package/dist/useSelected.d.ts +2 -2
  111. package/dist/useSelected.js +13 -13
  112. package/dist/useUniqueId.d.ts +1 -1
  113. package/dist/useUniqueId.js +3 -3
  114. package/dist/utilities.d.ts +5 -5
  115. package/dist/utilities.js +1 -1
  116. package/package.json +3 -3
@@ -1,142 +1,146 @@
1
- /**
2
- * Web UI Feature item
3
- */
4
-
5
- @use "mixins";
6
-
7
- @mixin classes(
8
- $textColor,
9
- $grayTextColor,
10
- $checkButtonUncheckedColor,
11
- $checkButtonCheckedColor,
12
- $focusOutlineInnerColor,
13
- $focusOutlineOuterColor,
14
- $dividerDark
15
- ) {
16
- .cfgThumbnailImage {
17
- border-radius: 0.7em;
18
- display: inline-block;
19
- height: 3em;
20
- width: 3em;
21
- }
22
-
23
- .cfgThumbnailPlaceholder {
24
- align-items: center;
25
- display: flex;
26
- flex: 0 0 4.2em;
27
- justify-content: flex-start;
28
- }
29
-
30
- .cfgFeatureItem {
31
- @include mixins.cfgRootStyles;
32
-
33
- color: $textColor;
34
-
35
- &__dropdown {
36
- @include mixins.noButtonLook;
37
- align-items: stretch;
38
- display: flex;
39
- height: 3.9em;
40
- outline: 0;
41
- position: relative;
42
- width: 100%;
43
- cursor: pointer;
44
- }
45
-
46
- &--optional {
47
- margin-top: 1em;
48
- }
49
-
50
- &__hiddenInput {
51
- left: -99999px;
52
- opacity: 0;
53
- position: absolute;
54
- z-index: -1;
55
- }
56
-
57
- &__radio {
58
- @include mixins.cfgRadio($checkButtonUncheckedColor);
59
- }
60
-
61
- &__checkbox {
62
- @include mixins.cfgCheckbox($checkButtonUncheckedColor);
63
- }
64
-
65
- /* The &-syntax brings in the entire path, so the second part of this rule must be explicit */
66
-
67
- &__hiddenInput:focus ~ .cfgFeatureItem__radio,
68
- &__hiddenInput:focus ~ .cfgFeatureItem__checkbox {
69
- @include mixins.focusOutline($focusOutlineInnerColor, $focusOutlineOuterColor);
70
- }
71
-
72
- &__hiddenInput:checked ~ .cfgFeatureItem__radio {
73
- @include mixins.cfgRadio($checkButtonCheckedColor);
74
- }
75
- &__hiddenInput:checked ~ .cfgFeatureItem__checkbox {
76
- @include mixins.cfgCheckbox($checkButtonCheckedColor);
77
- }
78
-
79
- &.cfgAdditionalProduct {
80
- > .cfgExpandableHeadingRow {
81
- > .cfgExpandableHeadingRow__title {
82
- font-weight: 600;
83
- }
84
- }
85
-
86
- > .cfgFeatureItem__hr {
87
- border-bottom-color: $dividerDark;
88
- }
89
-
90
- /* The last themathic break (hr) we move under the next thematic break so it appears as one */
91
- .cfgFeatureItem:last-child .cfgFeatureItem__hr {
92
- margin-bottom: -0.1em;
93
- }
94
- }
95
-
96
- & > .cfgNotes,
97
- & > .cfgMiscFiles {
98
- margin-left: 3.2em;
99
- }
100
- }
101
-
102
- .cfgFeatureItemOptional__titleWrapper,
103
- .cfgFeatureItemOption__titleWrapper {
104
- flex: 1 1 auto;
105
- margin-left: 1em;
106
- }
107
-
108
- .cfgFeatureItemOptional__title,
109
- .cfgFeatureItemOption__title {
110
- font-size: 1.5em;
111
- }
112
-
113
- .cfgFeatureItemOption__price {
114
- font-weight: 600;
115
- font-size: 0.75em;
116
- color: $grayTextColor;
117
- }
118
-
119
- .cfgOptionTree--subLevel .cfgFeatureItem__hr {
120
- display: none;
121
- }
122
-
123
- .cfgFeatureItemOption {
124
- align-items: center;
125
- display: flex;
126
- }
127
-
128
- .cfgFeatureItemOptional {
129
- align-items: center;
130
- display: flex;
131
- justify-content: center;
132
- margin-top: 0.5em;
133
-
134
- &__header {
135
- font-size: 1.2em;
136
- font-weight: 600;
137
- margin: 0 0 0.3em 0;
138
- padding: 0;
139
- text-transform: uppercase;
140
- }
141
- }
142
- }
1
+ /**
2
+ * Web UI Feature item
3
+ */
4
+
5
+ @use "mixins";
6
+
7
+ @mixin classes(
8
+ $textColor,
9
+ $grayTextColor,
10
+ $checkButtonUncheckedColor,
11
+ $checkButtonCheckedColor,
12
+ $focusOutlineInnerColor,
13
+ $focusOutlineOuterColor,
14
+ $dividerDark
15
+ ) {
16
+ .cfgThumbnailImage {
17
+ border-radius: 0.7em;
18
+ display: inline-block;
19
+ height: 3em;
20
+ width: 3em;
21
+ }
22
+
23
+ .cfgThumbnailPlaceholder {
24
+ align-items: center;
25
+ display: flex;
26
+ flex: 0 0 4.2em;
27
+ justify-content: flex-start;
28
+ }
29
+
30
+ .cfgFeatureItem {
31
+ @include mixins.cfgRootStyles;
32
+
33
+ color: $textColor;
34
+
35
+ &__dropdown {
36
+ @include mixins.noButtonLook;
37
+ align-items: stretch;
38
+ display: flex;
39
+ height: 3.9em;
40
+ outline: 0;
41
+ position: relative;
42
+ width: 100%;
43
+ cursor: pointer;
44
+ }
45
+
46
+ &--optional {
47
+ margin-top: 1em;
48
+ }
49
+
50
+ &__hiddenInput {
51
+ left: -99999px;
52
+ opacity: 0;
53
+ position: absolute;
54
+ z-index: -1;
55
+ }
56
+
57
+ &__radio {
58
+ @include mixins.cfgRadio($checkButtonUncheckedColor);
59
+ }
60
+
61
+ &__checkbox {
62
+ @include mixins.cfgCheckbox($checkButtonUncheckedColor);
63
+ }
64
+
65
+ /* The &-syntax brings in the entire path, so the second part of this rule must be explicit */
66
+
67
+ &__hiddenInput:focus ~ .cfgFeatureItem__radio,
68
+ &__hiddenInput:focus ~ .cfgFeatureItem__checkbox {
69
+ @include mixins.focusOutline($focusOutlineInnerColor, $focusOutlineOuterColor);
70
+ }
71
+
72
+ &__hiddenInput:checked ~ .cfgFeatureItem__radio {
73
+ @include mixins.cfgRadio($checkButtonCheckedColor);
74
+ }
75
+ &__hiddenInput:checked ~ .cfgFeatureItem__checkbox {
76
+ @include mixins.cfgCheckbox($checkButtonCheckedColor);
77
+ }
78
+
79
+ &.cfgAdditionalProduct {
80
+ > .cfgExpandableHeadingRow {
81
+ > .cfgExpandableHeadingRow__title {
82
+ font-weight: 600;
83
+ }
84
+ }
85
+
86
+ > .cfgFeatureItem__hr {
87
+ border-bottom-color: $dividerDark;
88
+ }
89
+
90
+ /* The last themathic break (hr) we move under the next thematic break so it appears as one */
91
+ .cfgFeatureItem:last-child .cfgFeatureItem__hr {
92
+ margin-bottom: -0.1em;
93
+ }
94
+ }
95
+
96
+ & > .cfgNotes,
97
+ & > .cfgMiscFiles {
98
+ margin-left: 3.2em;
99
+ }
100
+
101
+ &.disabled {
102
+ opacity: 0.2;
103
+ }
104
+ }
105
+
106
+ .cfgFeatureItemOptional__titleWrapper,
107
+ .cfgFeatureItemOption__titleWrapper {
108
+ flex: 1 1 auto;
109
+ margin-left: 1em;
110
+ }
111
+
112
+ .cfgFeatureItemOptional__title,
113
+ .cfgFeatureItemOption__title {
114
+ font-size: 1.5em;
115
+ }
116
+
117
+ .cfgFeatureItemOption__price {
118
+ font-weight: 600;
119
+ font-size: 0.75em;
120
+ color: $grayTextColor;
121
+ }
122
+
123
+ .cfgOptionTree--subLevel .cfgFeatureItem__hr {
124
+ display: none;
125
+ }
126
+
127
+ .cfgFeatureItemOption {
128
+ align-items: center;
129
+ display: flex;
130
+ }
131
+
132
+ .cfgFeatureItemOptional {
133
+ align-items: center;
134
+ display: flex;
135
+ justify-content: center;
136
+ margin-top: 0.5em;
137
+
138
+ &__header {
139
+ font-size: 1.2em;
140
+ font-weight: 600;
141
+ margin: 0 0 0.3em 0;
142
+ padding: 0;
143
+ text-transform: uppercase;
144
+ }
145
+ }
146
+ }
@@ -1,44 +1,44 @@
1
- @mixin classes($borderColor) {
2
- .cfgInput,
3
- .cfgFormSelect {
4
- border: 0.1em solid $borderColor;
5
- padding: 0.3em 0.4em;
6
- border-radius: 0.3em;
7
- color: inherit;
8
- }
9
-
10
- .cfgFormSelect {
11
- select {
12
- appearance: none;
13
- padding: 0 1em 0 0;
14
- margin: 0;
15
- width: 100%;
16
-
17
- background-color: transparent;
18
- font-family: inherit;
19
- font-size: inherit;
20
- font-weight: inherit;
21
- color: inherit;
22
- cursor: inherit;
23
- line-height: inherit;
24
- outline: none;
25
- border: none;
26
- }
27
-
28
- cursor: pointer;
29
- position: relative;
30
-
31
- &::after {
32
- position: absolute;
33
- right: 0.35em;
34
- top: 50%;
35
- margin-top: -0.55em;
36
- content: "";
37
- width: 1em;
38
- height: 1em;
39
- background-color: $borderColor;
40
- clip-path: polygon(50% 80%, 90% 40%, 100% 50%, 50% 100%, 0 50%, 10% 40%);
41
- justify-self: end;
42
- }
43
- }
44
- }
1
+ @mixin classes($borderColor) {
2
+ .cfgInput,
3
+ .cfgFormSelect {
4
+ border: 0.1em solid $borderColor;
5
+ padding: 0.3em 0.4em;
6
+ border-radius: 0.3em;
7
+ color: inherit;
8
+ }
9
+
10
+ .cfgFormSelect {
11
+ select {
12
+ appearance: none;
13
+ padding: 0 1em 0 0;
14
+ margin: 0;
15
+ width: 100%;
16
+
17
+ background-color: transparent;
18
+ font-family: inherit;
19
+ font-size: inherit;
20
+ font-weight: inherit;
21
+ color: inherit;
22
+ cursor: inherit;
23
+ line-height: inherit;
24
+ outline: none;
25
+ border: none;
26
+ }
27
+
28
+ cursor: pointer;
29
+ position: relative;
30
+
31
+ &::after {
32
+ position: absolute;
33
+ right: 0.35em;
34
+ top: 50%;
35
+ margin-top: -0.55em;
36
+ content: "";
37
+ width: 1em;
38
+ height: 1em;
39
+ background-color: $borderColor;
40
+ clip-path: polygon(50% 80%, 90% 40%, 100% 50%, 50% 100%, 0 50%, 10% 40%);
41
+ justify-self: end;
42
+ }
43
+ }
44
+ }
@@ -1,16 +1,16 @@
1
- @use "mixins";
2
-
3
- @mixin styles($color) {
4
- @include mixins.cfgRootStyles;
5
- border: 0;
6
- border-bottom: 0.1em solid $color;
7
- padding: 0;
8
- margin: 0;
9
- }
10
-
11
- @mixin classes($color) {
12
- .cfgHr {
13
- @include styles($color);
14
- @content;
15
- }
16
- }
1
+ @use "mixins";
2
+
3
+ @mixin styles($color) {
4
+ @include mixins.cfgRootStyles;
5
+ border: 0;
6
+ border-bottom: 0.1em solid $color;
7
+ padding: 0;
8
+ margin: 0;
9
+ }
10
+
11
+ @mixin classes($color) {
12
+ .cfgHr {
13
+ @include styles($color);
14
+ @content;
15
+ }
16
+ }
@@ -1,98 +1,98 @@
1
- /**
2
- * Web UI Loading
3
- */
4
-
5
- @use "mixins";
6
-
7
- @mixin classes(
8
- $textColor,
9
- $spinnerColor1,
10
- $spinnerColor2,
11
- $overlayBackgroundColor,
12
- $overlayingZIndex
13
- ) {
14
- .cfgCenteredLoading {
15
- @include mixins.cfgRootStyles;
16
- align-items: center;
17
- display: flex;
18
- flex-direction: column;
19
- height: 100%;
20
- justify-content: center;
21
- width: 100%;
22
- }
23
-
24
- .cfgOverlayLoading {
25
- @include mixins.cfgRootStyles;
26
-
27
- align-items: center;
28
- background-color: $overlayBackgroundColor;
29
- bottom: 0;
30
- display: flex;
31
- flex-direction: column;
32
- justify-content: center;
33
- left: 0;
34
- position: absolute;
35
- right: 0;
36
- top: 0;
37
- z-index: $overlayingZIndex;
38
-
39
- &--clickThrough {
40
- background-color: transparent;
41
- pointer-events: none;
42
-
43
- .cfgLoadingWithText {
44
- padding: 2em 2em 1.8em;
45
- border-radius: 0.8em;
46
- background-color: $overlayBackgroundColor;
47
- opacity: 0.8;
48
- border: 0.1em solid $spinnerColor2;
49
- }
50
- }
51
-
52
- &--fullWindow {
53
- position: fixed;
54
- z-index: #{$overlayingZIndex + 1};
55
- }
56
- }
57
-
58
- .cfgLoadingWithText {
59
- @include mixins.cfgRootStyles;
60
- @include mixins.cfgDefaultFont;
61
-
62
- text-align: center;
63
-
64
- &__text {
65
- color: $textColor;
66
- font-weight: 600;
67
- margin-top: 0.5em;
68
- font-size: 1.6em;
69
- }
70
- }
71
-
72
- .cfgLoading {
73
- @include mixins.cfgRootStyles;
74
-
75
- animation: rotate 1.1s linear 0s infinite;
76
- border-radius: 100%;
77
- border: 0.5em solid $spinnerColor2;
78
- border-bottom-color: $spinnerColor1;
79
- display: inline-block;
80
- height: 3em;
81
- width: 3em;
82
-
83
- &--small {
84
- border-width: 0.4em;
85
- height: 2em;
86
- width: 2em;
87
- }
88
- }
89
-
90
- @keyframes rotate {
91
- from {
92
- transform: rotate(0deg);
93
- }
94
- to {
95
- transform: rotate(360deg);
96
- }
97
- }
98
- }
1
+ /**
2
+ * Web UI Loading
3
+ */
4
+
5
+ @use "mixins";
6
+
7
+ @mixin classes(
8
+ $textColor,
9
+ $spinnerColor1,
10
+ $spinnerColor2,
11
+ $overlayBackgroundColor,
12
+ $overlayingZIndex
13
+ ) {
14
+ .cfgCenteredLoading {
15
+ @include mixins.cfgRootStyles;
16
+ align-items: center;
17
+ display: flex;
18
+ flex-direction: column;
19
+ height: 100%;
20
+ justify-content: center;
21
+ width: 100%;
22
+ }
23
+
24
+ .cfgOverlayLoading {
25
+ @include mixins.cfgRootStyles;
26
+
27
+ align-items: center;
28
+ background-color: $overlayBackgroundColor;
29
+ bottom: 0;
30
+ display: flex;
31
+ flex-direction: column;
32
+ justify-content: center;
33
+ left: 0;
34
+ position: absolute;
35
+ right: 0;
36
+ top: 0;
37
+ z-index: $overlayingZIndex;
38
+
39
+ &--clickThrough {
40
+ background-color: transparent;
41
+ pointer-events: none;
42
+
43
+ .cfgLoadingWithText {
44
+ padding: 2em 2em 1.8em;
45
+ border-radius: 0.8em;
46
+ background-color: $overlayBackgroundColor;
47
+ opacity: 0.8;
48
+ border: 0.1em solid $spinnerColor2;
49
+ }
50
+ }
51
+
52
+ &--fullWindow {
53
+ position: fixed;
54
+ z-index: #{$overlayingZIndex + 1};
55
+ }
56
+ }
57
+
58
+ .cfgLoadingWithText {
59
+ @include mixins.cfgRootStyles;
60
+ @include mixins.cfgDefaultFont;
61
+
62
+ text-align: center;
63
+
64
+ &__text {
65
+ color: $textColor;
66
+ font-weight: 600;
67
+ margin-top: 0.5em;
68
+ font-size: 1.6em;
69
+ }
70
+ }
71
+
72
+ .cfgLoading {
73
+ @include mixins.cfgRootStyles;
74
+
75
+ animation: rotate 1.1s linear 0s infinite;
76
+ border-radius: 100%;
77
+ border: 0.5em solid $spinnerColor2;
78
+ border-bottom-color: $spinnerColor1;
79
+ display: inline-block;
80
+ height: 3em;
81
+ width: 3em;
82
+
83
+ &--small {
84
+ border-width: 0.4em;
85
+ height: 2em;
86
+ width: 2em;
87
+ }
88
+ }
89
+
90
+ @keyframes rotate {
91
+ from {
92
+ transform: rotate(0deg);
93
+ }
94
+ to {
95
+ transform: rotate(360deg);
96
+ }
97
+ }
98
+ }
@@ -1,44 +1,44 @@
1
- @use "mixins";
2
-
3
- @mixin classes($grayTextColor, $linkColor) {
4
- .cfgMiscFiles,
5
- .cfgNotes {
6
- list-style: none;
7
- margin: 0;
8
- padding: 0;
9
- }
10
-
11
- .cfgMiscFiles {
12
- &__item {
13
- display: flex;
14
- align-items: center;
15
- margin-top: 1em;
16
- margin-bottom: 1em;
17
- }
18
-
19
- &__link {
20
- display: block;
21
-
22
- color: $linkColor;
23
- font-size: 1.4em;
24
- font-weight: 600;
25
- }
26
- }
27
-
28
- .cfgNotes {
29
- &__item:not(:last-child) {
30
- margin-bottom: -0.5em;
31
- }
32
-
33
- &__body {
34
- white-space: pre-wrap;
35
- overflow: hidden;
36
-
37
- color: $grayTextColor;
38
- font-size: 1.5em;
39
-
40
- margin-bottom: 1em;
41
- margin-right: 3em;
42
- }
43
- }
44
- }
1
+ @use "mixins";
2
+
3
+ @mixin classes($grayTextColor, $linkColor) {
4
+ .cfgMiscFiles,
5
+ .cfgNotes {
6
+ list-style: none;
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+
11
+ .cfgMiscFiles {
12
+ &__item {
13
+ display: flex;
14
+ align-items: center;
15
+ margin-top: 1em;
16
+ margin-bottom: 1em;
17
+ }
18
+
19
+ &__link {
20
+ display: block;
21
+
22
+ color: $linkColor;
23
+ font-size: 1.4em;
24
+ font-weight: 600;
25
+ }
26
+ }
27
+
28
+ .cfgNotes {
29
+ &__item:not(:last-child) {
30
+ margin-bottom: -0.5em;
31
+ }
32
+
33
+ &__body {
34
+ white-space: pre-wrap;
35
+ overflow: hidden;
36
+
37
+ color: $grayTextColor;
38
+ font-size: 1.5em;
39
+
40
+ margin-bottom: 1em;
41
+ margin-right: 3em;
42
+ }
43
+ }
44
+ }