@trilogy-ds/styles 0.0.1-alpha-prompt

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 (145) hide show
  1. package/README.md +47 -0
  2. package/dist/default/assets/icons/all/alert.svg +1 -0
  3. package/dist/default/assets/icons/all/arrow-down.svg +1 -0
  4. package/dist/default/assets/icons/all/arrow-left.svg +1 -0
  5. package/dist/default/assets/icons/all/arrow-right.svg +1 -0
  6. package/dist/default/assets/icons/all/arrow-up.svg +1 -0
  7. package/dist/default/assets/icons/all/attachment.svg +1 -0
  8. package/dist/default/assets/icons/all/bell.svg +1 -0
  9. package/dist/default/assets/icons/all/calendar.svg +1 -0
  10. package/dist/default/assets/icons/all/check-circle.svg +1 -0
  11. package/dist/default/assets/icons/all/check.svg +1 -0
  12. package/dist/default/assets/icons/all/exclamation-circle.svg +1 -0
  13. package/dist/default/assets/icons/all/eye-slash.svg +1 -0
  14. package/dist/default/assets/icons/all/eye.svg +1 -0
  15. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  16. package/dist/default/assets/icons/all/infos-circle.svg +1 -0
  17. package/dist/default/assets/icons/all/micro.svg +1 -0
  18. package/dist/default/assets/icons/all/search.svg +1 -0
  19. package/dist/default/assets/icons/all/times.svg +1 -0
  20. package/dist/default/assets/icons/all/trash.svg +1 -0
  21. package/dist/default/trilogy-mangled.css +1 -0
  22. package/dist/default/trilogy-partials.css +1 -0
  23. package/dist/default/trilogy.css +1 -0
  24. package/framework/src/_all.scss +8 -0
  25. package/framework/src/base/_all.scss +9 -0
  26. package/framework/src/base/_color.scss +7 -0
  27. package/framework/src/base/_elements.scss +34 -0
  28. package/framework/src/base/_fonts.scss +2 -0
  29. package/framework/src/base/_generic.scss +76 -0
  30. package/framework/src/base/_helpers.scss +875 -0
  31. package/framework/src/base/_loading.scss +109 -0
  32. package/framework/src/base/_reset.scss +148 -0
  33. package/framework/src/components/_accordion.scss +144 -0
  34. package/framework/src/components/_autocomplete.scss +38 -0
  35. package/framework/src/components/_autolayout.scss +332 -0
  36. package/framework/src/components/_badge.scss +87 -0
  37. package/framework/src/components/_box.scss +168 -0
  38. package/framework/src/components/_breadcrumb.scss +36 -0
  39. package/framework/src/components/_button.scss +79 -0
  40. package/framework/src/components/_calendar.scss +129 -0
  41. package/framework/src/components/_card.scss +244 -0
  42. package/framework/src/components/_checkbox.scss +71 -0
  43. package/framework/src/components/_chips.scss +84 -0
  44. package/framework/src/components/_container.scss +69 -0
  45. package/framework/src/components/_countdown.scss +57 -0
  46. package/framework/src/components/_date-picker.scss +58 -0
  47. package/framework/src/components/_divider.scss +52 -0
  48. package/framework/src/components/_dropdown.scss +195 -0
  49. package/framework/src/components/_fab.scss +47 -0
  50. package/framework/src/components/_flex-box.scss +994 -0
  51. package/framework/src/components/_icon.scss +384 -0
  52. package/framework/src/components/_image.scss +69 -0
  53. package/framework/src/components/_index.scss +51 -0
  54. package/framework/src/components/_link.scss +58 -0
  55. package/framework/src/components/_list.scss +66 -0
  56. package/framework/src/components/_loader.scss +126 -0
  57. package/framework/src/components/_modal.scss +232 -0
  58. package/framework/src/components/_otp.scss +73 -0
  59. package/framework/src/components/_pagination.scss +83 -0
  60. package/framework/src/components/_popover.scss +340 -0
  61. package/framework/src/components/_price.scss +184 -0
  62. package/framework/src/components/_product-tour.scss +129 -0
  63. package/framework/src/components/_prompt.scss +125 -0
  64. package/framework/src/components/_radio.scss +82 -0
  65. package/framework/src/components/_range.scss +85 -0
  66. package/framework/src/components/_scroll-view.scss +19 -0
  67. package/framework/src/components/_segmented-control.scss +62 -0
  68. package/framework/src/components/_select.scss +131 -0
  69. package/framework/src/components/_stepper.scss +217 -0
  70. package/framework/src/components/_sticker.scss +148 -0
  71. package/framework/src/components/_switch.scss +115 -0
  72. package/framework/src/components/_table.scss +244 -0
  73. package/framework/src/components/_tabs.scss +228 -0
  74. package/framework/src/components/_tag.scss +114 -0
  75. package/framework/src/components/_text.scss +55 -0
  76. package/framework/src/components/_textarea.scss +46 -0
  77. package/framework/src/components/_timeline.scss +282 -0
  78. package/framework/src/components/_title.scss +151 -0
  79. package/framework/src/components/alert/_alert.scss +94 -0
  80. package/framework/src/components/alert/_index.scss +2 -0
  81. package/framework/src/components/alert/_toaster.scss +124 -0
  82. package/framework/src/components/input/_entry.scss +135 -0
  83. package/framework/src/components/input/_form.scss +602 -0
  84. package/framework/src/components/input/_index.scss +4 -0
  85. package/framework/src/components/input/_input-gauge.scss +44 -0
  86. package/framework/src/components/input/_input-icons.scss +55 -0
  87. package/framework/src/components/progress/_index.scss +2 -0
  88. package/framework/src/components/progress/_progress-radial.scss +28 -0
  89. package/framework/src/components/progress/_progress.scss +223 -0
  90. package/framework/src/elements/_index.scss +5 -0
  91. package/framework/src/elements/_other.scss +3 -0
  92. package/framework/src/elements/_plus-symbol.scss +32 -0
  93. package/framework/src/grid/_all.scss +3 -0
  94. package/framework/src/grid/_columns.scss +467 -0
  95. package/framework/src/grid/_rows.scss +54 -0
  96. package/framework/src/grid/_tiles.scss +78 -0
  97. package/framework/src/layout/_all.scss +5 -0
  98. package/framework/src/layout/_hero.scss +146 -0
  99. package/framework/src/layout/_main.scss +36 -0
  100. package/framework/src/layout/_section.scss +46 -0
  101. package/framework/src/theming/_all.scss +3 -0
  102. package/framework/src/theming/buttons_partial.scss +32 -0
  103. package/framework/src/theming/common_partials.scss +10 -0
  104. package/framework/src/theming/links_partial.scss +20 -0
  105. package/framework/src/trilogy-core.scss +16 -0
  106. package/framework/src/trilogy-mangled.scss +14 -0
  107. package/framework/src/trilogy-namespaced.scss +14 -0
  108. package/framework/src/trilogy.scss +8 -0
  109. package/framework/src/utilities/_a11y.scss +13 -0
  110. package/framework/src/utilities/_all.scss +13 -0
  111. package/framework/src/utilities/_animations.scss +71 -0
  112. package/framework/src/utilities/_background.scss +21 -0
  113. package/framework/src/utilities/_controls.scss +56 -0
  114. package/framework/src/utilities/_derived-variables.scss +1 -0
  115. package/framework/src/utilities/_functions.scss +94 -0
  116. package/framework/src/utilities/_initial-variables.scss +10 -0
  117. package/framework/src/utilities/_post.scss +6 -0
  118. package/framework/src/utilities/_pre.scss +8 -0
  119. package/framework/src/utilities/_spacing.scss +10 -0
  120. package/framework/src/utilities/_tools.scss +3 -0
  121. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  122. package/framework/src/utilities/mixins/_delete.scss +86 -0
  123. package/framework/src/utilities/mixins/_index.scss +11 -0
  124. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  125. package/framework/src/utilities/mixins/_mixins.scss +294 -0
  126. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  127. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  128. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  129. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  130. package/framework/src/utilities/mixins/_state.scss +25 -0
  131. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  132. package/framework/src/utilities/mixins/_utils.scss +24 -0
  133. package/framework/src/utilities/variables/_animation.scss +2 -0
  134. package/framework/src/utilities/variables/_color.scss +85 -0
  135. package/framework/src/utilities/variables/_font.scss +97 -0
  136. package/framework/src/utilities/variables/_index.scss +6 -0
  137. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  138. package/framework/src/utilities/variables/_shadow.scss +3 -0
  139. package/framework/src/utilities/variables/_zindex.scss +14 -0
  140. package/package.json +28 -0
  141. package/themes/default/src/_all.scss +1 -0
  142. package/themes/default/src/assets.scss +11 -0
  143. package/themes/default/src/utilities/_all.scss +0 -0
  144. package/themes/default/src/utilities/_post.scss +0 -0
  145. package/themes/default/src/utilities/_pre.scss +3 -0
@@ -0,0 +1,129 @@
1
+ .calendar {
2
+ border-collapse: separate;
3
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
4
+ padding: 24px;
5
+ border-radius: 8px;
6
+ border-spacing: 0 8px;
7
+ background-color: getColor('background');
8
+
9
+ button {
10
+ all: unset;
11
+ &:focus-visible:not(.is-disabled, .is-active), &:hover:not(.is-disabled, .is-active){
12
+ background-color: getColor('main-fade');
13
+ }
14
+
15
+ &.is-active:hover, &.is-active:focus-visible,
16
+ &.is-disabled:hover, &.is-disabled:focus-visible {
17
+ filter: brightness(80%);
18
+ }
19
+ }
20
+
21
+ &-range.calendar-range-init {
22
+ .calendar-week-day:not(.calendar-date-in-range) {
23
+ button:focus-visible:not(.is-disabled, .is-active), button:hover:not(.is-disabled, .is-active){
24
+ background-color: getColor('main');
25
+ color: getColor('background');
26
+ }
27
+ }
28
+ }
29
+
30
+ &-date-in-range {
31
+ button:not(.is-disabled, .is-active){
32
+ background-color: getColor('main-fade');
33
+ border-radius: 0px;
34
+ &:hover {
35
+ filter: brightness(95%) ;
36
+ border-radius: 4px;
37
+ }
38
+ }
39
+
40
+ &.calendar-date-rounded-left {
41
+ button:not(.is-disabled, .is-active){
42
+ border-radius: 8px 0 0 8px;
43
+ }
44
+ }
45
+
46
+ &.calendar-date-rounded-right {
47
+ button:not(.is-disabled, .is-active){
48
+ border-radius: 0px 8px 8px 0;
49
+ }
50
+ }
51
+ }
52
+
53
+ &-next-month, &-prev-month {
54
+ padding-bottom: 16px;
55
+ button {
56
+ text-align: center;
57
+ border-radius: 4px;
58
+ width: 36px;
59
+ height: 36px;
60
+ i {
61
+ height: 100%;
62
+ }
63
+ }
64
+ }
65
+
66
+ &-week-day {
67
+ text-align: center !important;
68
+ vertical-align: middle;
69
+ &-disabled {
70
+ button {
71
+ color: getColor('disabled');
72
+ background-color: getColor('disabled-fade');
73
+ }
74
+ }
75
+ &-label {
76
+ padding: 4px;
77
+ text-align: center !important;
78
+ width: 36px;
79
+ color: getColor('font-placeholder');
80
+ }
81
+ button {
82
+ display: block;
83
+ width: 36px;
84
+ height: 36px;
85
+ border-radius: 4px;
86
+ }
87
+ }
88
+
89
+ &-active-month {
90
+ height: 28px;
91
+ text-align: center !important;
92
+ position: relative;
93
+ padding-bottom: 16px;
94
+ .icon {
95
+ vertical-align: bottom;
96
+ }
97
+ button {
98
+ padding: 2px 6px;
99
+ border-radius: 4px;
100
+ }
101
+ }
102
+
103
+ &-active-date button {
104
+ background-color: getColor('main');
105
+ color: getColor('background');
106
+ }
107
+
108
+ &-header-dropdown {
109
+ display: flex;
110
+ gap: $spacing-3;
111
+ justify-content: center;
112
+ .select{
113
+ margin-bottom: 0 !important;
114
+ width: 40%;
115
+ select {
116
+ height: 30px !important;
117
+ margin-bottom: 0 !important;
118
+ padding: 0px 25px 0px 5px;
119
+ &:focus{
120
+ padding-left: 4px !important;
121
+ }
122
+ }
123
+ .control:after {
124
+ right: -8px !important;
125
+ }
126
+ }
127
+ }
128
+
129
+ }
@@ -0,0 +1,244 @@
1
+ $basis-values: (
2
+ 'is-1': 70%,
3
+ 'is-2': 60%,
4
+ 'is-3': 50%,
5
+ 'is-4': 40%
6
+ );
7
+
8
+
9
+ .card {
10
+ max-width: 100%;
11
+ display: flex;
12
+ border-radius: var(--radius);
13
+ overflow: hidden;
14
+ flex-direction: column;
15
+ position: relative;
16
+ box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
17
+ background-color: getColor('background');
18
+
19
+ &:not(.is-reversed) .card-image {
20
+ order: 1;
21
+ }
22
+
23
+
24
+ &:not(.is-reversed) .card-content {
25
+ order: 2;
26
+ }
27
+
28
+ .card-image {
29
+ display: block;
30
+ position: relative;
31
+ flex-shrink: 0;
32
+ overflow: hidden;
33
+ }
34
+
35
+ .card-content {
36
+ padding: $spacing-5;
37
+ flex-grow: 1;
38
+
39
+ @include mobile {
40
+ padding: $spacing-4;
41
+ }
42
+ }
43
+
44
+ .card-footer {
45
+ border-top: 1px solid getColor('neutral');
46
+ }
47
+
48
+ .mention {
49
+ position: absolute;
50
+ bottom: 5px;
51
+ font-size: 9px;
52
+ left: 0;
53
+ right: 0;
54
+ text-align: center;
55
+ }
56
+
57
+ .media:not(:last-child) {
58
+ margin-bottom: 7.5px;
59
+ }
60
+
61
+ &.is-strong {
62
+ .title {
63
+ font-family: $family-secondary;
64
+ font-size: 24px !important;
65
+ }
66
+ }
67
+
68
+ &.is-flat {
69
+ box-shadow: none;
70
+ border: var(--border);
71
+
72
+ .card-content {
73
+ padding-left: 20px;
74
+ padding-right: 20px;
75
+
76
+ @include desktop {
77
+ padding-left: $spacing-5;
78
+ padding-right: $spacing-5;
79
+ }
80
+ }
81
+ }
82
+
83
+ &.is-active {
84
+ outline: var(--border-active);
85
+
86
+ .card-content {
87
+
88
+ padding: 22px;
89
+ @include mobile {
90
+ padding: 14px;
91
+ }
92
+ }
93
+ }
94
+
95
+ &.is-horizontal {
96
+ display: flex;
97
+ flex-direction: column;
98
+ align-items: stretch;
99
+ text-align: left;
100
+
101
+ @include tablet {
102
+ flex-direction: row;
103
+ flex-wrap: wrap;
104
+
105
+ &.is-vcentered {
106
+ align-items: stretch;
107
+ }
108
+ }
109
+
110
+ @for $i from 1 through 4 {
111
+ &:has(.card-content + .card-image.is-#{$i}) .card-content {
112
+ flex-basis: map-get($basis-values, 'is-#{$i}');
113
+ }
114
+ }
115
+
116
+ .card-image {
117
+ max-width: 100%;
118
+
119
+ @include tablet {
120
+ img {
121
+ object-fit: cover;
122
+ height: 100%;
123
+ }
124
+
125
+ width: 20%;
126
+ max-width: 20%;
127
+
128
+ + .card-content {
129
+ flex-basis: 80%;
130
+ }
131
+
132
+ &.is-medium,
133
+ &.is-1 {
134
+ width: 30%;
135
+ max-width: 30%;
136
+
137
+ + .card-content {
138
+ flex-basis: 70%;
139
+ }
140
+ }
141
+
142
+ &.is-large,
143
+ &.is-2 {
144
+ width: 40%;
145
+ max-width: 40%;
146
+
147
+ + .card-content {
148
+ flex-basis: 60%;
149
+ }
150
+ }
151
+
152
+ &.is-3 {
153
+ width: 50%;
154
+ max-width: 50%;
155
+
156
+ + .card-content {
157
+ flex-basis: 50%;
158
+ }
159
+ }
160
+
161
+ &.is-4 {
162
+ width: 60%;
163
+ max-width: 60%;
164
+
165
+ + .card-content {
166
+ flex-basis: 40%;
167
+ }
168
+ }
169
+ }
170
+
171
+ .image {
172
+ height: 100%;
173
+
174
+ @include desktop {
175
+ img {
176
+ height: auto;
177
+ min-height: 100%;
178
+ object-fit: cover;
179
+ position: absolute;
180
+ top: 50%;
181
+ transform: translateY(-50%);
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ .card-content {
188
+ padding-left: 20px;
189
+ padding-right: 20px;
190
+
191
+ @include desktop {
192
+ padding-left: $spacing-5;
193
+ padding-right: $spacing-5;
194
+ }
195
+ }
196
+
197
+ .card-footer {
198
+ flex-basis: 100%;
199
+ padding: 15px 20px;
200
+ }
201
+ }
202
+
203
+ &.is-floating {
204
+ box-shadow: none;
205
+ background: transparent;
206
+
207
+ .card-image .image img {
208
+ border-radius: var(--radius);
209
+ }
210
+
211
+ .card-content {
212
+ padding-left: 0;
213
+ padding-right: 0;
214
+ }
215
+
216
+ &.is-horizontal {
217
+ .card-content {
218
+ padding-left: 0;
219
+ padding-right: 0;
220
+
221
+ @include tablet {
222
+ padding-left: 20px;
223
+ padding-right: 20px;
224
+ }
225
+
226
+ @include desktop {
227
+ padding-left: $spacing-5;
228
+ padding-right: $spacing-5;
229
+ }
230
+ }
231
+ }
232
+ }
233
+
234
+ &.is-inverted,
235
+ &.is-reversed {
236
+ .card-image {
237
+ order: 2;
238
+ }
239
+
240
+ .card-content {
241
+ order: 1;
242
+ }
243
+ }
244
+ }
@@ -0,0 +1,71 @@
1
+ @include checkbox-and-radio('checkbox');
2
+
3
+ .checkboxes {
4
+ width: 100%;
5
+ column-gap: $spacing-5;
6
+ row-gap: $spacing-3;
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ flex-direction: column;
10
+
11
+ @include tablet {
12
+ flex-direction: row;
13
+
14
+ &.is-vertical-desktop {
15
+ flex-direction: column;
16
+ }
17
+ }
18
+
19
+ @include mobile {
20
+ &.is-horizontal-mobile {
21
+ flex-direction: row;
22
+ }
23
+ }
24
+
25
+ &.is-centered,
26
+ &.has-text-centered,
27
+ .has-text-centered & {
28
+ justify-content: center;
29
+ }
30
+ }
31
+
32
+ .checkbox,
33
+ .checkbox-tile {
34
+ input:checked ~ label.checkbox-label {
35
+ &:before {
36
+ background-color: getColor('main');
37
+ }
38
+
39
+ &:after {
40
+ content: "";
41
+ mask-image: url('./assets/icons/all/check.svg');
42
+ background-color: getColor('background');
43
+ mask-size: 18px;
44
+ }
45
+ }
46
+
47
+ label.checkbox-label {
48
+ &:before,
49
+ &:after {
50
+ border-radius: var(--radius-small);
51
+ }
52
+ }
53
+ }
54
+
55
+ .checkbox-tile {
56
+ input:checked ~ label.checkbox-label {
57
+ &:after {
58
+ top: 15px;
59
+ left: 15px;
60
+ }
61
+ }
62
+ }
63
+
64
+ .checkbox {
65
+ input:not(:disabled):not(:checked) ~ label.checkbox-label:hover {
66
+ &:before {
67
+ @include hoverRules()
68
+ }
69
+ }
70
+ }
71
+
@@ -0,0 +1,84 @@
1
+ @import "../utilities/spacing";
2
+
3
+ .chips-list {
4
+ align-items: center;
5
+ display: flex;
6
+ justify-content: flex-start;
7
+ flex-wrap: wrap;
8
+ gap: $spacing-2;
9
+
10
+ // centrage des chips
11
+ &.is-centered {
12
+ justify-content: center;
13
+ }
14
+
15
+ &.is-scrollable {
16
+ flex-wrap: nowrap;
17
+ overflow: auto;
18
+ &::-webkit-scrollbar {
19
+ display: none;
20
+ }
21
+ }
22
+
23
+ &.is-multiple {
24
+ .chips:before {
25
+ content: "";
26
+ mask-image: url('./assets/icons/all/check.svg');
27
+ background-color: currentColor;
28
+ margin-right: 4px;
29
+ margin-left: -8px;
30
+ width: 0;
31
+ height: 20px;
32
+ mask-size: 20px;
33
+ transition: width 250ms;
34
+ }
35
+ .chips.is-active:before{
36
+ width: 20px;
37
+ }
38
+ }
39
+
40
+ .chips {
41
+ align-items: center;
42
+ background-color: white;
43
+ border-radius: 9999px;
44
+ color: getColor('font');
45
+ display: inline-flex;
46
+ font-size: $size-normal;
47
+ height: 32px;
48
+ justify-content: center;
49
+ line-height: 2;
50
+ padding: 6px $spacing-4;
51
+ white-space: nowrap;
52
+ cursor: pointer;
53
+ border: var(--border);
54
+ &:not(.is-disabled) {
55
+ &.is-active {
56
+ background-color: getColor('main');
57
+ color: white;
58
+ border: var(--border-active);
59
+ padding: 5px ($spacing-4 - 1px);
60
+ #{$hoverSelector} {
61
+ background-color: getColor('main');
62
+ color: white;
63
+ }
64
+ }
65
+ #{$hoverSelector} {
66
+ background-color: getColor('neutral-fade');
67
+ }
68
+ }
69
+
70
+ &.is-inverted {
71
+ background-color: white;
72
+ color: getColor('accent');
73
+
74
+ &:active,
75
+ &:hover,
76
+ &:focus,
77
+ &:focus-visible,
78
+ &.is-active {
79
+ background-color: getColor('accent') !important;
80
+ color: getColor('background') !important;
81
+ }
82
+ }
83
+ }
84
+ }
@@ -0,0 +1,69 @@
1
+ .container {
2
+ margin: 0 auto;
3
+ position: relative;
4
+
5
+ &.is-fullhd {
6
+ width: auto;
7
+ }
8
+
9
+ &.is-sticky-top,
10
+ &.is-sticky-bottom {
11
+ background-color: getColor('background');
12
+ }
13
+
14
+ &.is-sticky-top {
15
+ z-index: 1000;
16
+ }
17
+
18
+ &.is-sticky-bottom {
19
+ z-index: 999;
20
+ }
21
+
22
+ @include desktop {
23
+ max-width: $desktop - 2 * $gap;
24
+ width: auto;
25
+ }
26
+
27
+ @include until-widescreen {
28
+ &.is-widescreen {
29
+ max-width: $widescreen - 2 * $gap;
30
+ width: auto;
31
+ }
32
+ }
33
+
34
+ @include until-fullhd {
35
+ &.is-fullhd {
36
+ max-width: $fullhd - 2 * $gap;
37
+ width: auto;
38
+ }
39
+ }
40
+
41
+ @include widescreen {
42
+ max-width: $widescreen - 2 * $gap;
43
+ }
44
+
45
+ @include fullhd {
46
+ margin: 0 auto;
47
+ max-width: $fullhd - 2 * $gap;
48
+ }
49
+
50
+ &.is-medium {
51
+ max-width: 960px;
52
+ margin: auto;
53
+ }
54
+ }
55
+
56
+ main,
57
+ header .navbar,
58
+ header,
59
+ footer {
60
+ > .container {
61
+ @include desktop {
62
+ margin: 0 auto;
63
+ }
64
+
65
+ @include fullhd {
66
+ max-width: 100%;
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,57 @@
1
+ .countdown {
2
+ border: 1px solid currentcolor;
3
+ border-radius: var(--radius);
4
+ display: inline-flex;
5
+ padding: $spacing-2;
6
+ color: getColor('font');
7
+
8
+ .count {
9
+ font-family: $family-primary;
10
+ font-size: $text-14;
11
+ font-weight: 400;
12
+ list-style-type: none;
13
+ text-align: center;
14
+ padding: 0 $spacing-2;
15
+ position: relative;
16
+
17
+ &:not(:last-child)::before {
18
+ content: ' ';
19
+ border-left: 1px solid currentcolor;
20
+ height: 100%;
21
+ position: absolute;
22
+ top: 0;
23
+ bottom: 0;
24
+ right: 0;
25
+ }
26
+
27
+ .value {
28
+ font-size: $text-24;
29
+ font-weight: 600;
30
+ }
31
+ }
32
+
33
+ &.is-small {
34
+ padding: $spacing-2 0;
35
+ border-radius: var(--radius-small);
36
+
37
+ .count {
38
+ font-size: $text-12;
39
+ padding: 0 $spacing-2;
40
+ font-weight: 500;
41
+
42
+ .value {
43
+ font-size: $text-16;
44
+ font-weight: 600;
45
+ }
46
+ }
47
+ }
48
+
49
+ &.is-inverted {
50
+ color: invertColor('font');
51
+
52
+ .count {
53
+ &:not(:last-child)::before {
54
+ }
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,58 @@
1
+ .date-picker {
2
+ span {
3
+ outline: none;
4
+ text-align: center;
5
+ caret-color: transparent;
6
+ &:focus-visible {
7
+ background-color: getColor('main-fade')
8
+ }
9
+ &::selection {
10
+ background-color: getColor('main-fade')
11
+ }
12
+ }
13
+
14
+ .input {
15
+ &.is-focused {
16
+ border: 2px solid currentColor;
17
+ padding-left: 15px !important;
18
+ background-color: getColor('background') !important;
19
+ }
20
+ &:active {
21
+ padding-left: 15px !important;
22
+ }
23
+ &[aria-disabled="true"] {
24
+ &:active {
25
+ padding-left: 16px !important;
26
+ }
27
+ & span::selection {
28
+ background-color: transparent !important
29
+ }
30
+ }
31
+ &-hidden {
32
+ border: 0;
33
+ clip: rect(0 0 0 0);
34
+ height: 1px;
35
+ margin: -1px;
36
+ overflow: hidden;
37
+ padding: 0;
38
+ white-space: nowrap;
39
+ width: 1px;
40
+ }
41
+ }
42
+
43
+ .modal {
44
+ flex-direction: inherit;
45
+ .modal-content, .modal-header {
46
+ background-color: transparent !important;
47
+ }
48
+ .modal-body {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ .calendar {
53
+ height: 440px;
54
+ }
55
+ }
56
+ }
57
+
58
+ }