@agorapulse/ui-theme 13.1.0 → 13.1.3
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.3.tgz +0 -0
- package/assets/style/_variables.scss +1 -0
- package/assets/style/components-custom-style/_mat-button.scss +156 -35
- package/assets/style/components-custom-style/_ng-select.scss +10 -0
- package/package.json +1 -1
- package/agorapulse-ui-theme-13.1.0.tgz +0 -0
- package/package.json.bak +0 -18
|
Binary file
|
|
@@ -124,9 +124,12 @@
|
|
|
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
|
-
&.square {
|
|
132
|
+
&.square, &.square-rounded {
|
|
130
133
|
min-width: 36px;
|
|
131
134
|
padding: 0;
|
|
132
135
|
&.small {
|
|
@@ -139,19 +142,118 @@
|
|
|
139
142
|
min-width: 44px;
|
|
140
143
|
}
|
|
141
144
|
}
|
|
145
|
+
|
|
146
|
+
&.square-rounded {
|
|
147
|
+
border-radius: 8px;
|
|
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
|
+
}
|
|
142
229
|
}
|
|
143
230
|
|
|
144
231
|
@mixin flat-button-color($background-color, $hover-background-color, $active-background-color) {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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
|
+
}
|
|
152
247
|
}
|
|
153
|
-
|
|
248
|
+
&.animated {
|
|
154
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
|
+
}
|
|
155
257
|
}
|
|
156
258
|
}
|
|
157
259
|
|
|
@@ -189,47 +291,66 @@ button.mat-flat-button {
|
|
|
189
291
|
background-color: map_get($colors-grey, 20);
|
|
190
292
|
color: #fff;
|
|
191
293
|
}
|
|
192
|
-
&.mat-accent
|
|
294
|
+
&.mat-accent {
|
|
193
295
|
@include flat-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 85), map_get($colors-electric-blue, 60));
|
|
194
296
|
}
|
|
195
|
-
&.mat-primary
|
|
297
|
+
&.mat-primary {
|
|
196
298
|
@include flat-button-color(map_get($colors-orange, 100), map_get($colors-orange, 85), map_get($colors-orange, 60));
|
|
197
299
|
}
|
|
198
|
-
&.mat-success
|
|
300
|
+
&.mat-success {
|
|
199
301
|
@include flat-button-color(map_get($colors-green, 100), map_get($colors-green, 85), map_get($colors-green, 60));
|
|
200
302
|
}
|
|
201
|
-
&.mat-warn
|
|
303
|
+
&.mat-warn {
|
|
202
304
|
@include flat-button-color(map_get($colors-red, 100), map_get($colors-red, 85), map_get($colors-red, 60));
|
|
203
305
|
}
|
|
204
306
|
// Social networks
|
|
205
|
-
&.mat-facebook
|
|
307
|
+
&.mat-facebook {
|
|
206
308
|
@include flat-button-color($color-facebook, $color-facebook, $color-facebook);
|
|
207
309
|
}
|
|
208
|
-
&.mat-instagram
|
|
310
|
+
&.mat-instagram {
|
|
209
311
|
@include flat-button-color($color-instagram, $color-instagram, $color-instagram);
|
|
210
312
|
}
|
|
211
|
-
&.mat-linkedin
|
|
313
|
+
&.mat-linkedin {
|
|
212
314
|
@include flat-button-color($color-linkedin, $color-linkedin, $color-linkedin);
|
|
213
315
|
}
|
|
214
|
-
&.mat-twitter
|
|
316
|
+
&.mat-twitter {
|
|
215
317
|
@include flat-button-color($color-twitter, $color-twitter, $color-twitter);
|
|
216
318
|
}
|
|
217
|
-
&.mat-youtube
|
|
319
|
+
&.mat-youtube {
|
|
218
320
|
@include flat-button-color($color-youtube, $color-youtube, $color-youtube);
|
|
219
321
|
}
|
|
220
|
-
&.mat-google
|
|
322
|
+
&.mat-google {
|
|
221
323
|
@include flat-button-color($color-google, $color-google, $color-google);
|
|
222
324
|
}
|
|
223
325
|
}
|
|
224
326
|
|
|
225
327
|
@mixin stroked-button-color($color, $border-color, $hover-border-color) {
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
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
|
+
}
|
|
230
339
|
}
|
|
231
|
-
|
|
340
|
+
&.animated {
|
|
341
|
+
color: $color;
|
|
232
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
|
+
}
|
|
233
354
|
}
|
|
234
355
|
}
|
|
235
356
|
@mixin ghost-button-color($color, $hover-background-color, $active-background-color) {
|
|
@@ -279,7 +400,7 @@ button.mat-stroked-button {
|
|
|
279
400
|
&:not([disabled]) {
|
|
280
401
|
border-color: map_get($colors-grey, 20);
|
|
281
402
|
&.active {
|
|
282
|
-
border-color: map_get($colors-electric-blue,
|
|
403
|
+
border-color: map_get($colors-electric-blue, 100);
|
|
283
404
|
}
|
|
284
405
|
}
|
|
285
406
|
&:not([disabled]):hover, &.force-hover {
|
|
@@ -300,16 +421,16 @@ button.mat-stroked-button {
|
|
|
300
421
|
color: map_get($colors-grey, 20);
|
|
301
422
|
}
|
|
302
423
|
|
|
303
|
-
&.mat-accent
|
|
424
|
+
&.mat-accent {
|
|
304
425
|
@include stroked-button-color(map_get($colors-electric-blue, 100), map_get($colors-electric-blue, 60), map_get($colors-electric-blue, 85));
|
|
305
426
|
}
|
|
306
|
-
&.mat-primary
|
|
427
|
+
&.mat-primary {
|
|
307
428
|
@include stroked-button-color(map_get($colors-orange, 100), map_get($colors-orange, 60), map_get($colors-orange, 85));
|
|
308
429
|
}
|
|
309
|
-
&.mat-success
|
|
430
|
+
&.mat-success {
|
|
310
431
|
@include stroked-button-color(map_get($colors-green, 100), map_get($colors-green, 60), map_get($colors-green, 85));
|
|
311
432
|
}
|
|
312
|
-
&.mat-warn
|
|
433
|
+
&.mat-warn {
|
|
313
434
|
@include stroked-button-color(map_get($colors-red, 100), map_get($colors-red, 60), map_get($colors-red, 85));
|
|
314
435
|
}
|
|
315
436
|
&.mat-warn.ghost {
|
|
@@ -352,22 +473,22 @@ button.mat-stroked-button {
|
|
|
352
473
|
}
|
|
353
474
|
}
|
|
354
475
|
}
|
|
355
|
-
&.mat-facebook
|
|
476
|
+
&.mat-facebook {
|
|
356
477
|
@include stroked-button-color($color-facebook, $color-facebook, 'none');
|
|
357
478
|
}
|
|
358
|
-
&.mat-instagram
|
|
479
|
+
&.mat-instagram {
|
|
359
480
|
@include stroked-button-color($color-instagram, $color-instagram, 'none');
|
|
360
481
|
}
|
|
361
|
-
&.mat-linkedin
|
|
482
|
+
&.mat-linkedin {
|
|
362
483
|
@include stroked-button-color($color-linkedin, $color-linkedin, 'none');
|
|
363
484
|
}
|
|
364
|
-
&.mat-twitter
|
|
485
|
+
&.mat-twitter {
|
|
365
486
|
@include stroked-button-color($color-twitter, $color-twitter, 'none');
|
|
366
487
|
}
|
|
367
|
-
&.mat-youtube
|
|
488
|
+
&.mat-youtube {
|
|
368
489
|
@include stroked-button-color($color-youtube, $color-youtube, 'none');
|
|
369
490
|
}
|
|
370
|
-
&.mat-google
|
|
491
|
+
&.mat-google {
|
|
371
492
|
@include stroked-button-color($color-google, $color-google, 'none');
|
|
372
493
|
}
|
|
373
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
|
-
}
|