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