@1024pix/pix-ui 60.1.0 → 60.2.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.
|
@@ -5,6 +5,14 @@
|
|
|
5
5
|
box-shadow: 0 $verticalSize $blur rgba(7, 20, 46, 0.08);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
@mixin coloredShadow($colorA, $colorB, $colorC) {
|
|
9
|
+
box-shadow:
|
|
10
|
+
0 2px 5px 0 $colorA,
|
|
11
|
+
0 -2px 5px 0 $colorB inset,
|
|
12
|
+
0 1px 1px 0 rgba(255, 255, 255, 0.1) inset,
|
|
13
|
+
0 3px 4px 0 $colorC inset;
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
%pix-shadow-xs,
|
|
9
17
|
.pix-shadow-xs {
|
|
10
18
|
@include shadow(4px, 8px);
|
|
@@ -29,3 +37,39 @@
|
|
|
29
37
|
.pix-shadow-xl {
|
|
30
38
|
@include shadow(12px, 24px);
|
|
31
39
|
}
|
|
40
|
+
|
|
41
|
+
%pix-shadow-default,
|
|
42
|
+
.pix-shadow-default {
|
|
43
|
+
@include coloredShadow(
|
|
44
|
+
rgba(74, 58, 255, 0.25),
|
|
45
|
+
rgba(74, 58, 255, 0.15),
|
|
46
|
+
rgba(223, 238, 255, 0.1)
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
%pix-shadow-neutral,
|
|
51
|
+
.pix-shadow-neutral {
|
|
52
|
+
@include coloredShadow(
|
|
53
|
+
rgba(79, 99, 132, 0.25),
|
|
54
|
+
rgba(79, 99, 132, 0.15),
|
|
55
|
+
rgba(200, 207, 217, 0.1)
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
%pix-shadow-orga,
|
|
60
|
+
.pix-shadow-orga {
|
|
61
|
+
@include coloredShadow(
|
|
62
|
+
rgba(54, 116, 191, 0.25),
|
|
63
|
+
rgba(54, 116, 191, 0.15),
|
|
64
|
+
rgba(235, 241, 249, 0.1)
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
%pix-shadow-certif,
|
|
69
|
+
.pix-shadow-certif {
|
|
70
|
+
@include coloredShadow(
|
|
71
|
+
rgba(24, 127, 125, 0.25),
|
|
72
|
+
rgba(24, 127, 125, 0.15),
|
|
73
|
+
rgba(232, 242, 242, 0.1)
|
|
74
|
+
);
|
|
75
|
+
}
|