@agorapulse/ui-theme 13.1.1 → 13.1.4
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.
- package/agorapulse-ui-theme-13.1.4.tgz +0 -0
- package/assets/style/_colors.scss +5 -0
- package/assets/style/_variables.scss +1 -0
- package/assets/style/components-custom-style/_mat-button.scss +150 -33
- package/assets/style/components-custom-style/_ng-select.scss +10 -0
- package/package.json +1 -1
- package/agorapulse-ui-theme-13.1.1.tgz +0 -0
- package/package.json.bak +0 -18
|
Binary file
|
|
@@ -124,6 +124,9 @@
|
|
|
124
124
|
ap-symbol {
|
|
125
125
|
color: map_get($colors-grey, 60);
|
|
126
126
|
}
|
|
127
|
+
&.animated ap-symbol {
|
|
128
|
+
color: map_get($colors-electric-blue, 100);
|
|
129
|
+
}
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
&.square, &.square-rounded {
|
|
@@ -143,19 +146,114 @@
|
|
|
143
146
|
&.square-rounded {
|
|
144
147
|
border-radius: 8px;
|
|
145
148
|
}
|
|
149
|
+
|
|
150
|
+
//loading
|
|
151
|
+
&.animated {
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
opacity: 1;
|
|
154
|
+
|
|
155
|
+
&.circle, &.square {
|
|
156
|
+
ap-symbol {
|
|
157
|
+
animation: fadeout 0.4s linear 1 forwards;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.animation {
|
|
161
|
+
position: absolute;
|
|
162
|
+
border: 2px solid transparent;
|
|
163
|
+
width: 16px;
|
|
164
|
+
height: 16px;
|
|
165
|
+
box-sizing: border-box;
|
|
166
|
+
border-radius: 50%;
|
|
167
|
+
border-top: 2px solid map_get($colors-electric-blue, 100);
|
|
168
|
+
border-right: 2px solid map_get($colors-electric-blue, 100);
|
|
169
|
+
animation: spin 1s linear infinite, fadein 0.4s linear 1 forwards;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.animation-fade-out {
|
|
173
|
+
ap-symbol {
|
|
174
|
+
animation: fadein 0.4s linear 1 forwards;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.animation {
|
|
178
|
+
animation: spin 1s linear infinite, fadeout 0.4s linear 1 forwards;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&:not(.circle):not(.square) .animation {
|
|
184
|
+
position: absolute;
|
|
185
|
+
bottom: 0;
|
|
186
|
+
background-color: map_get($colors-orange, 100);
|
|
187
|
+
height: 5px;
|
|
188
|
+
width: 50%;
|
|
189
|
+
border-radius: 6px;
|
|
190
|
+
animation: slide 1.2s linear infinite;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@keyframes spin {
|
|
195
|
+
0% {
|
|
196
|
+
transform: rotate(0deg);
|
|
197
|
+
}
|
|
198
|
+
100% {
|
|
199
|
+
transform: rotate(360deg);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
@keyframes slide {
|
|
204
|
+
0% {
|
|
205
|
+
left: -70px;
|
|
206
|
+
}
|
|
207
|
+
100% {
|
|
208
|
+
left: calc(100%);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@keyframes fadein {
|
|
213
|
+
0% {
|
|
214
|
+
opacity: 0;
|
|
215
|
+
}
|
|
216
|
+
100% {
|
|
217
|
+
opacity: 1;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@keyframes fadeout {
|
|
222
|
+
0% {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
}
|
|
225
|
+
100% {
|
|
226
|
+
opacity: 0;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
146
229
|
}
|
|
147
230
|
|
|
148
231
|
@mixin flat-button-color($background-color, $hover-background-color, $active-background-color) {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
232
|
+
&:not([disabled]) {
|
|
233
|
+
background-color: $background-color;
|
|
234
|
+
color: #fff;
|
|
235
|
+
|
|
236
|
+
ap-symbol {
|
|
237
|
+
color: #fff !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&:hover, &.force-hover {
|
|
241
|
+
background-color: $hover-background-color;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&:active {
|
|
245
|
+
background-color: $active-background-color;
|
|
246
|
+
}
|
|
156
247
|
}
|
|
157
|
-
|
|
248
|
+
&.animated {
|
|
158
249
|
background-color: $active-background-color;
|
|
250
|
+
&:not(.circle):not(.square) .animation {
|
|
251
|
+
background-color: $background-color;
|
|
252
|
+
}
|
|
253
|
+
&.circle .animation, &.square .animation {
|
|
254
|
+
border-top-color: white;
|
|
255
|
+
border-right-color: white;
|
|
256
|
+
}
|
|
159
257
|
}
|
|
160
258
|
}
|
|
161
259
|
|
|
@@ -193,47 +291,66 @@ button.mat-flat-button {
|
|
|
193
291
|
background-color: map_get($colors-grey, 20);
|
|
194
292
|
color: #fff;
|
|
195
293
|
}
|
|
196
|
-
&.mat-accent
|
|
294
|
+
&.mat-accent {
|
|
197
295
|
@include flat-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 85), map_get($colors-electric-blue, 60));
|
|
198
296
|
}
|
|
199
|
-
&.mat-primary
|
|
297
|
+
&.mat-primary {
|
|
200
298
|
@include flat-button-color(map_get($colors-orange, 100), map_get($colors-orange, 85), map_get($colors-orange, 60));
|
|
201
299
|
}
|
|
202
|
-
&.mat-success
|
|
300
|
+
&.mat-success {
|
|
203
301
|
@include flat-button-color(map_get($colors-green, 100), map_get($colors-green, 85), map_get($colors-green, 60));
|
|
204
302
|
}
|
|
205
|
-
&.mat-warn
|
|
303
|
+
&.mat-warn {
|
|
206
304
|
@include flat-button-color(map_get($colors-red, 100), map_get($colors-red, 85), map_get($colors-red, 60));
|
|
207
305
|
}
|
|
208
306
|
// Social networks
|
|
209
|
-
&.mat-facebook
|
|
307
|
+
&.mat-facebook {
|
|
210
308
|
@include flat-button-color($color-facebook, $color-facebook, $color-facebook);
|
|
211
309
|
}
|
|
212
|
-
&.mat-instagram
|
|
310
|
+
&.mat-instagram {
|
|
213
311
|
@include flat-button-color($color-instagram, $color-instagram, $color-instagram);
|
|
214
312
|
}
|
|
215
|
-
&.mat-linkedin
|
|
313
|
+
&.mat-linkedin {
|
|
216
314
|
@include flat-button-color($color-linkedin, $color-linkedin, $color-linkedin);
|
|
217
315
|
}
|
|
218
|
-
&.mat-twitter
|
|
316
|
+
&.mat-twitter {
|
|
219
317
|
@include flat-button-color($color-twitter, $color-twitter, $color-twitter);
|
|
220
318
|
}
|
|
221
|
-
&.mat-youtube
|
|
319
|
+
&.mat-youtube {
|
|
222
320
|
@include flat-button-color($color-youtube, $color-youtube, $color-youtube);
|
|
223
321
|
}
|
|
224
|
-
&.mat-google
|
|
322
|
+
&.mat-google {
|
|
225
323
|
@include flat-button-color($color-google, $color-google, $color-google);
|
|
226
324
|
}
|
|
227
325
|
}
|
|
228
326
|
|
|
229
327
|
@mixin stroked-button-color($color, $border-color, $hover-border-color) {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
328
|
+
&:not([disabled]) {
|
|
329
|
+
color: $color;
|
|
330
|
+
border-color: $border-color;
|
|
331
|
+
|
|
332
|
+
&:hover, &.force-hover {
|
|
333
|
+
border-color: $hover-border-color;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
&:active {
|
|
337
|
+
border-color: $color;
|
|
338
|
+
}
|
|
234
339
|
}
|
|
235
|
-
|
|
340
|
+
&.animated {
|
|
341
|
+
color: $color;
|
|
236
342
|
border-color: $color;
|
|
343
|
+
&:not(.circle):not(.square) .animation {
|
|
344
|
+
bottom: -1px;
|
|
345
|
+
background-color: $color;
|
|
346
|
+
}
|
|
347
|
+
&.circle, &.square {
|
|
348
|
+
border: none;
|
|
349
|
+
.animation {
|
|
350
|
+
border-top-color: $color;
|
|
351
|
+
border-right-color: $color;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
237
354
|
}
|
|
238
355
|
}
|
|
239
356
|
@mixin ghost-button-color($color, $hover-background-color, $active-background-color) {
|
|
@@ -304,16 +421,16 @@ button.mat-stroked-button {
|
|
|
304
421
|
color: map_get($colors-grey, 20);
|
|
305
422
|
}
|
|
306
423
|
|
|
307
|
-
&.mat-accent
|
|
424
|
+
&.mat-accent {
|
|
308
425
|
@include stroked-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 60), map_get($colors-electric-blue, 85));
|
|
309
426
|
}
|
|
310
|
-
&.mat-primary
|
|
427
|
+
&.mat-primary {
|
|
311
428
|
@include stroked-button-color(map_get($colors-orange, 100), map_get($colors-orange, 60), map_get($colors-orange, 85));
|
|
312
429
|
}
|
|
313
|
-
&.mat-success
|
|
430
|
+
&.mat-success {
|
|
314
431
|
@include stroked-button-color(map_get($colors-green, 100), map_get($colors-green, 60), map_get($colors-green, 85));
|
|
315
432
|
}
|
|
316
|
-
&.mat-warn
|
|
433
|
+
&.mat-warn {
|
|
317
434
|
@include stroked-button-color(map_get($colors-red, 100), map_get($colors-red, 60), map_get($colors-red, 85));
|
|
318
435
|
}
|
|
319
436
|
&.mat-warn.ghost {
|
|
@@ -356,22 +473,22 @@ button.mat-stroked-button {
|
|
|
356
473
|
}
|
|
357
474
|
}
|
|
358
475
|
}
|
|
359
|
-
&.mat-facebook
|
|
476
|
+
&.mat-facebook {
|
|
360
477
|
@include stroked-button-color($color-facebook, $color-facebook, 'none');
|
|
361
478
|
}
|
|
362
|
-
&.mat-instagram
|
|
479
|
+
&.mat-instagram {
|
|
363
480
|
@include stroked-button-color($color-instagram, $color-instagram, 'none');
|
|
364
481
|
}
|
|
365
|
-
&.mat-linkedin
|
|
482
|
+
&.mat-linkedin {
|
|
366
483
|
@include stroked-button-color($color-linkedin, $color-linkedin, 'none');
|
|
367
484
|
}
|
|
368
|
-
&.mat-twitter
|
|
485
|
+
&.mat-twitter {
|
|
369
486
|
@include stroked-button-color($color-twitter, $color-twitter, 'none');
|
|
370
487
|
}
|
|
371
|
-
&.mat-youtube
|
|
488
|
+
&.mat-youtube {
|
|
372
489
|
@include stroked-button-color($color-youtube, $color-youtube, 'none');
|
|
373
490
|
}
|
|
374
|
-
&.mat-google
|
|
491
|
+
&.mat-google {
|
|
375
492
|
@include stroked-button-color($color-google, $color-google, 'none');
|
|
376
493
|
}
|
|
377
494
|
}
|
|
@@ -87,6 +87,11 @@ form.submitted {
|
|
|
87
87
|
box-shadow: 0 7px 50px rgba(0, 0, 0, 0.08);
|
|
88
88
|
margin-top: $padding-sm;
|
|
89
89
|
}
|
|
90
|
+
&.ng-select-top {
|
|
91
|
+
border-radius: $border-radius;
|
|
92
|
+
box-shadow: 0 7px 50px rgba(0, 0, 0, 0.08);
|
|
93
|
+
margin-bottom: $padding-sm;
|
|
94
|
+
}
|
|
90
95
|
.ng-dropdown-panel-items {
|
|
91
96
|
padding: $padding-s 0;
|
|
92
97
|
.ng-option, .ng-optgroup {
|
|
@@ -120,6 +125,11 @@ form.submitted {
|
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
127
|
|
|
128
|
+
.ng-dropdown-panel.ng-select-top .ng-dropdown-panel-items .ng-option:first-child {
|
|
129
|
+
border-top-right-radius: 0;
|
|
130
|
+
border-top-left-radius: 0;
|
|
131
|
+
}
|
|
132
|
+
|
|
123
133
|
.ng-dropdown-panel.ng-select-bottom .ng-dropdown-panel-items .ng-option:last-child {
|
|
124
134
|
border-bottom-right-radius: 0;
|
|
125
135
|
border-bottom-left-radius: 0;
|
package/package.json
CHANGED
|
Binary file
|
package/package.json.bak
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agorapulse/ui-theme",
|
|
3
|
-
"version": "1.0.0-SNAPSHOT",
|
|
4
|
-
"description": "Agorapulse UI Theme Library",
|
|
5
|
-
"repository": {
|
|
6
|
-
"type": "git",
|
|
7
|
-
"url": "https://github.com/agorapulse/design.git"
|
|
8
|
-
},
|
|
9
|
-
"author": "Arnaud BUSO",
|
|
10
|
-
"license": "ISC",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/agorapulse/design/issues"
|
|
13
|
-
},
|
|
14
|
-
"homepage": "https://github.com/agorapulse/design#readme",
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@angular/material": "^13.2.3"
|
|
17
|
-
}
|
|
18
|
-
}
|