@agorapulse/ui-theme 15.0.3 → 15.0.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.
Binary file
@@ -120,7 +120,7 @@
120
120
  color: map_get($colors-electric-blue, 100);
121
121
  }
122
122
  }
123
- &:not(.mat-accent):not(.mat-primary):not(.mat-success):not(.mat-warn):not(.mat-secondary):not(.mat-facebook):not(.mat-instagram):not(.mat-linkedin):not(.mat-twitter):not(.mat-youtube):not(.active) {
123
+ &:not(.mat-accent):not(.mat-primary):not(.mat-success):not(.mat-warn):not(.mat-secondary):not(.mat-facebook):not(.mat-instagram):not(.mat-linkedin):not(.mat-twitter):not(.mat-youtube):not(.active):not(.locked) {
124
124
  ap-symbol {
125
125
  color: map_get($colors-grey, 60);
126
126
  }
@@ -390,6 +390,38 @@ button.mat-stroked-button {
390
390
  color: map_get($colors-grey, 20);
391
391
  }
392
392
  }
393
+ &.locked {
394
+ background-color: map_get($colors-purple, 10);
395
+ border: 1px solid map_get($colors-purple, 20);
396
+ color: map_get($colors-purple, 100);
397
+ position: relative;
398
+
399
+ &:after {
400
+ display: block;
401
+ position: absolute;
402
+ right: -6px;
403
+ top: -6px;
404
+ height: 16px;
405
+ width: 16px;
406
+ background-color: white;
407
+ border-radius: 200px;
408
+ content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0a12 12 0 1 0 12 12A12.015 12.014 0 0 0 12 0Zm5.34 17.693a.912.912 0 0 1-1.297 1.14l-3.852-2.168a.386.387 0 0 0-.38 0L7.96 18.833a.911.911 0 0 1-1.298-1.14l1.567-3.603a.384.384 0 0 0-.083-.43l-2.83-2.787a.85.84 0 0 1 .598-1.487h3.232a.385.385 0 0 0 .351-.223l1.685-3.628a.92.92 0 0 1 1.637 0l1.684 3.628a.386.386 0 0 0 .352.223h3.23a.851.851 0 0 1 .602 1.487l-2.829 2.787a.384.384 0 0 0-.084.43l1.567 3.603Z' fill='%236554C0'/></svg>");
409
+ }
410
+ &:hover {
411
+ background-color: map_get($colors-purple, 20);
412
+ border: 1px solid map_get($colors-purple, 40);
413
+ }
414
+ &:focus-visible {
415
+ background-color: map_get($colors-purple, 20);
416
+ border: 1px solid map_get($colors-purple, 20);
417
+ box-shadow: 0 0 0 1px $color-white, 0 0 0 3px map_get($colors-electric-blue, 100);
418
+ }
419
+ &:active {
420
+ background: map_get($colors-purple, 40);
421
+ border: 1px solid map_get($colors-purple, 60);
422
+ }
423
+ }
424
+
393
425
  @extend %ap-button;
394
426
  &.background-grey {
395
427
  background-color: $color-grey-background;
@@ -397,7 +429,7 @@ button.mat-stroked-button {
397
429
  &.background-white {
398
430
  background-color: $color-white;
399
431
  }
400
- &:not([disabled]) {
432
+ &:not([disabled]), &:not(.locked) {
401
433
  border-color: map_get($colors-grey, 20);
402
434
  &.active {
403
435
  border-color: map_get($colors-electric-blue, 100);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Mar 2023 10:20:13 GMT
3
+ * Generated on Fri, 14 Apr 2023 09:15:49 GMT
4
4
  */
5
5
 
6
6
  :root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agorapulse/ui-theme",
3
- "version": "15.0.3",
3
+ "version": "15.0.4",
4
4
  "description": "Agorapulse UI Theme Library",
5
5
  "repository": {
6
6
  "type": "git",
Binary file