@betarena/ad-engine 0.0.23 → 0.0.25

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.
@@ -0,0 +1,266 @@
1
+ /* #region ➤ [MAIN] [BUTTONS] Website Layout */
2
+
3
+ /*
4
+ ╭──────────────────────────────────────────────────────────────────╮
5
+ │ 📌 BUTTON STYLES │
6
+ ╰──────────────────────────────────────────────────────────────────╯
7
+ */
8
+
9
+ button
10
+ {
11
+ /* 🎨 style */
12
+ outline: none !important;
13
+ border: none !important;
14
+ opacity: 1;
15
+ cursor: pointer;
16
+ transition: all 0.3s ease;
17
+ align-items: center;
18
+ white-space: nowrap;
19
+ display: flex;
20
+ justify-content: center;
21
+
22
+ &:disabled
23
+ {
24
+ cursor: default;
25
+ }
26
+
27
+ &.btn-primary
28
+ {
29
+ /* 🎨 style */
30
+ background: var(--primary);
31
+
32
+ p
33
+ {
34
+ /* 🎨 style */
35
+ color: var(--white);
36
+ }
37
+ }
38
+
39
+ &.btn-secondary
40
+ {
41
+ /* 🎨 style */
42
+ background: var(--secondary);
43
+
44
+ p
45
+ {
46
+ /* 🎨 style */
47
+ color: var(--white);
48
+ }
49
+ }
50
+
51
+ &.btn-blue
52
+ {
53
+ /* 🎨 style */
54
+ background-color: var(--blue);
55
+
56
+ p
57
+ {
58
+ /* 🎨 style */
59
+ color: var(--white);
60
+ }
61
+
62
+ &:hover
63
+ {
64
+ /* 🎨 style */
65
+ background-color: var(--white);
66
+
67
+ p
68
+ {
69
+ /* 🎨 style */
70
+ color: var(--secondary);
71
+ }
72
+ }
73
+ }
74
+
75
+ &.btn-white
76
+ {
77
+ /* 🎨 style */
78
+ background-color: var(--white);
79
+
80
+ p
81
+ {
82
+ /* 🎨 style */
83
+ color: var(--black);
84
+ }
85
+ }
86
+
87
+ &.btn-primary-v2
88
+ {
89
+ /* 🎨 style */
90
+ height: 44px;
91
+ padding: 11.5px 24px;
92
+ background: var(--primary);
93
+ border-radius: 8px;
94
+ color: var(--white);
95
+
96
+ &:hover
97
+ {
98
+ /* 🎨 style */
99
+ background-color: var(--primary-fade);
100
+ }
101
+ }
102
+
103
+ &.btn-hollow
104
+ {
105
+ /* 🎨 style */
106
+ height: 44px;
107
+ padding: 11.5px 20px;
108
+ background: transparent;
109
+ border: 1px solid var(--grey-color) !important;
110
+ border-radius: 8px;
111
+ color: var(--dark-theme);
112
+
113
+ &:hover
114
+ {
115
+ /* 🎨 style */
116
+ border: 1px solid var(--primary) !important;
117
+ color: var(--primary);
118
+ }
119
+
120
+ /*
121
+ Variant (2)
122
+ */
123
+ &.danger
124
+ {
125
+ /* 🎨 style */
126
+ border: 1px solid var(--red) !important;
127
+ }
128
+
129
+ /*
130
+ Variant (3)
131
+ */
132
+ &.cta
133
+ {
134
+ /* 🎨 style */
135
+ border: 1px solid var(--primary) !important;
136
+
137
+ &:hover
138
+ {
139
+ /* 🎨 style */
140
+ background-color: var(--primary);
141
+ color: var(--white) !important;
142
+ }
143
+ }
144
+
145
+ /*
146
+ Variant (4)
147
+ */
148
+ &.v4:hover
149
+ {
150
+ /* 🎨 style */
151
+ border: 1px solid var(--grey-shade) !important;
152
+ color: initial;
153
+ }
154
+
155
+ /*
156
+ Variant (6)
157
+ */
158
+ &.v6
159
+ {
160
+ /* 🎨 style */
161
+ background: #292929;
162
+ height: 44px;
163
+ padding: 12px 24px 11px 24px;
164
+ border-radius: 8px;
165
+ border: 1px;
166
+ gap: 10px;
167
+
168
+ .dark-background &
169
+ , .dark-background-1 &
170
+ , .dark-mode &
171
+ {
172
+ /* 🎨 style */
173
+ border: 1px solid #FFFFFF
174
+ }
175
+ }
176
+
177
+ .dark-background &
178
+ , .dark-background-1 &
179
+ , .dark-mode &
180
+ {
181
+ &.v2
182
+ {
183
+ /* 🎨 style */
184
+ border: 1px solid var(--dark-theme-1) !important;
185
+ }
186
+
187
+ &.v3d
188
+ {
189
+ /* 🎨 style */
190
+ border: 1px solid var(--grey) !important;
191
+
192
+ &:hover
193
+ {
194
+ /* 🎨 style */
195
+ border: 1px solid var(--grey-shade) !important;
196
+ }
197
+ }
198
+
199
+ &.v5d
200
+ {
201
+ /* 🎨 style */
202
+ border: 1px solid var(--dark-theme-1-shade) !important;
203
+ }
204
+ }
205
+ }
206
+
207
+ &.btn-dark
208
+ {
209
+ /* 🎨 style */
210
+ padding: 10px 17px;
211
+ border-radius: 12px;
212
+ background-color: var(--grey-color);
213
+
214
+ &:hover
215
+ {
216
+ /* 🎨 style */
217
+ background-color: var(--white-3);
218
+ }
219
+
220
+ .dark-background &
221
+ , .dark-background-1 &
222
+ , .dark-mode &
223
+ {
224
+ /* 🎨 style */
225
+ background-color: var(--dark-theme-1-4-shade);
226
+
227
+ &:hover
228
+ {
229
+ /* 🎨 style */
230
+ background-color: var(--dark-theme);
231
+ }
232
+ }
233
+ }
234
+
235
+ &.btn-right-icon
236
+ {
237
+ /* 🎨 style */
238
+ padding: 5px 45px 5px 6px !important;
239
+ background-position: right 11px top 50%;
240
+ background-size: 16.17px 16.17px;
241
+ background-repeat: no-repeat;
242
+ }
243
+
244
+ &.btn-left-icon
245
+ {
246
+ /* 🎨 style */
247
+ padding: 5px 6px 5px 37px !important;
248
+ background-position: left 11px top 50%;
249
+ background-size: 16.17px 16.17px;
250
+ background-repeat: no-repeat;
251
+ }
252
+
253
+ /*
254
+ ╭──────────────────────────────────────────────────────────────────╮
255
+ │ 📌 EXTRA BUTTON STYLES │
256
+ ╰──────────────────────────────────────────────────────────────────╯
257
+ */
258
+
259
+ &.btn-shadow-1
260
+ {
261
+ /* 🎨 style */
262
+ box-shadow: 0px 3px 8px 0px rgba(212, 84, 12, 0.32);
263
+ }
264
+ }
265
+
266
+ /* #endregion ➤ [MAIN] [BUTTONS] Website Layout */
@@ -0,0 +1,40 @@
1
+ $prefixes: ('moz', 'webkit', 'ms', 'o');
2
+
3
+ @mixin prefix
4
+ (
5
+ $property
6
+ , $value
7
+ )
8
+ {
9
+ @each $prefix in $prefixes
10
+ {
11
+ -#{$prefix}-#{$property}: $value;
12
+ }
13
+ #{$property}: $value;
14
+ }
15
+
16
+ @mixin keyframes
17
+ (
18
+ $name
19
+ )
20
+ {
21
+ @keyframes #{$name}
22
+ {
23
+ @content;
24
+ }
25
+
26
+ @-webkit-keyframes #{$name}
27
+ {
28
+ @content;
29
+ }
30
+
31
+ @-moz-keyframes #{$name}
32
+ {
33
+ @content;
34
+ }
35
+
36
+ @-o-keyframes #{$name}
37
+ {
38
+ @content;
39
+ }
40
+ }
@@ -0,0 +1,298 @@
1
+ @use '_root';
2
+
3
+ /*
4
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
5
+ │ 📌 FONT WEIGHT │
6
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
7
+ */
8
+
9
+ $fontWeight: (400, 500, 600, 700, 'normal');
10
+
11
+ //
12
+ // Generate possible Font Weights
13
+ //
14
+
15
+ @each $w in $fontWeight
16
+ {
17
+ .w-#{$w}
18
+ {
19
+ font-weight: $w;
20
+ }
21
+ }
22
+
23
+ /*
24
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
25
+ │ 📌 FONT SIZE │
26
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
27
+ */
28
+
29
+ $fontSize: 50;
30
+
31
+ //
32
+ // Generate possible Font Sizes
33
+ //
34
+
35
+ @for $i from 1 through $count
36
+ {
37
+ .s-#{$i},
38
+ .global.s-#{$i},
39
+ .global.s-#{$i} > *
40
+ {
41
+ font-size: #{$i}px;
42
+ }
43
+ }
44
+
45
+ /*
46
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
47
+ │ 📌 LEGACY │
48
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
49
+ */
50
+
51
+ .global.color-grey > *
52
+ {
53
+ color: var(--grey) !important;
54
+ }
55
+
56
+ .x-large,
57
+ p.x-large,
58
+ span.x-large
59
+ {
60
+ font-size: 18px;
61
+ }
62
+
63
+ .large,
64
+ p.large,
65
+ span.large
66
+ {
67
+ font-size: 16px;
68
+ }
69
+
70
+ .medium,
71
+ p.medium,
72
+ span.medium
73
+ {
74
+ font-size: 14px;
75
+ }
76
+
77
+ .small,
78
+ p.small
79
+ {
80
+ font-size: 12px;
81
+ }
82
+
83
+ .s_small,
84
+ p.s_small
85
+ {
86
+ font-size: 12px;
87
+ }
88
+
89
+ @media only screen and (min-width: 768px)
90
+ {
91
+ .s-t-16
92
+ {
93
+ font-size: 16px;
94
+ }
95
+ .large,
96
+ p.large,
97
+ span.large
98
+ {
99
+ font-size: 18px;
100
+ }
101
+ }
102
+
103
+ /*
104
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
105
+ │ 📌 HEADINGS │
106
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
107
+ */
108
+
109
+ @mixin defaultHeader
110
+ {
111
+ /* 🎨 style */
112
+ font-family: "Roboto";
113
+ font-style: normal;
114
+ font-weight: 400;
115
+ line-height: 1.2;
116
+ }
117
+
118
+ @for $i from 1 through 6
119
+ {
120
+ h#{$i}
121
+ {
122
+ @include defaultHeader;
123
+ font-weight: 700;
124
+ line-height: 140%;
125
+
126
+ @if $i == 1
127
+ {
128
+ font-size: 32px;
129
+ }
130
+ @else if $i == 2
131
+ {
132
+ font-size: 20px;
133
+ }
134
+ @else if $i == 3
135
+ {
136
+ font-size: 18px;
137
+ }
138
+ @else if $i == 4
139
+ {
140
+ font-size: 14px;
141
+ }
142
+ }
143
+ }
144
+
145
+ .global.lh-125 > *
146
+ {
147
+ /* 🎨 style */
148
+ line-height: 125%;
149
+ }
150
+
151
+ .global.lh-128 > *
152
+ {
153
+ /* 🎨 style */
154
+ line-height: 128.571%;
155
+ }
156
+
157
+ /*
158
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
159
+ │ 📌 FONT COLORS │
160
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
161
+ */
162
+
163
+ @each $key, $data in $root-color-map
164
+ {
165
+ .#{map-get($data, "class-name")}
166
+ {
167
+ /* 🎨 style */
168
+ color: var(#{map-get($data, "root-name")}) !important;
169
+
170
+ @each $key-dark, $data-dark in map-get($data, "dark-mirror")
171
+ {
172
+ .dark-background &
173
+ , .dark-background-1 &
174
+ , .dark-mode &
175
+ {
176
+ &#{map-get($data-dark, "class-name")}
177
+ {
178
+ /* 🔥 override */
179
+ /* 🎨 style */
180
+ color: var(#{map-get($data-dark, "root-name")}) !important;
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+
187
+ .color-blue-green-gradient
188
+ {
189
+ /* 🎨 style */
190
+ background: -webkit-linear-gradient rgb(0, 255, 117), rgb(0, 163, 255);
191
+ background-clip: text;
192
+ -webkit-background-clip: text;
193
+ -webkit-text-fill-color: transparent;
194
+ }
195
+
196
+ .hover-color-primary:hover
197
+ {
198
+ /* 🎨 style */
199
+ color: var(--primary) !important;
200
+ }
201
+
202
+ /*
203
+ ╭──────────────────────────────────────────────────────────────────────────────────╮
204
+ │ 📌 FONT EXTRA STYLES │
205
+ ╰──────────────────────────────────────────────────────────────────────────────────╯
206
+ */
207
+
208
+ .no-wrap
209
+ {
210
+ white-space: nowrap;
211
+ }
212
+
213
+ .underline
214
+ {
215
+ text-decoration: underline !important;
216
+ }
217
+
218
+ .bold
219
+ {
220
+ font-style: normal;
221
+ font-weight: bold;
222
+ }
223
+
224
+ .not-bold
225
+ {
226
+ font-weight: normal;
227
+ }
228
+
229
+ .lowercase
230
+ {
231
+ text-transform: lowercase;
232
+ }
233
+
234
+ .uppercase
235
+ {
236
+ text-transform: uppercase;
237
+ }
238
+
239
+ .capitalize
240
+ {
241
+ text-transform: capitalize;
242
+ }
243
+
244
+ .text-center
245
+ {
246
+ text-align: center;
247
+ text-align: -webkit-center;
248
+ text-align: -moz-center;
249
+ }
250
+
251
+ .text-left
252
+ {
253
+ text-align: left;
254
+ text-align: -webkit-left;
255
+ text-align: -moz-left;
256
+ }
257
+
258
+ .text-right
259
+ {
260
+ text-align: right;
261
+ text-align: -webkit-right;
262
+ text-align: -moz-right;
263
+ }
264
+
265
+ .place-center
266
+ {
267
+ place-self: center;
268
+ }
269
+
270
+ .cursor-pointer
271
+ {
272
+ cursor: pointer;
273
+ }
274
+
275
+ .cursor-not-allowed
276
+ {
277
+ cursor: not-allowed !important;
278
+ }
279
+
280
+ .display-none
281
+ {
282
+ display: none !important;
283
+ }
284
+
285
+ .display-unset
286
+ {
287
+ display: unset !important;
288
+ }
289
+
290
+ .visibility-none
291
+ {
292
+ visibility: hidden;
293
+ }
294
+
295
+ .opacity-0-4
296
+ {
297
+ opacity: 0.4;
298
+ }