playbook_ui 14.1.0.pre.alpha.PLAY15063615 → 14.1.0.pre.alpha.PLAY15063616
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e867947a5b9a78b085c51e48aa0a3c883048d6826c8a9351028d55e9702dc089
|
4
|
+
data.tar.gz: 699cf8fcef6fc2823aa27d3262e98c50c27bdcae977fa046792d1126a0f451ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247455763d0bc712a015d94772d0a935030beedb12987532c56bc3f6797743870c6ae344a779b654b08b7ba68ffb39cf71186a659743483609bf265a92e86f26
|
7
|
+
data.tar.gz: c7ace21b2fc8d6207ad06e8c34759167873229406b6bb1c9c26c4e55dc951ce7a00549de31909e5f24c104e4e1765723642a36091d5c023960e7a7658bffbbb2
|
@@ -14,13 +14,29 @@
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
+
@mixin icon-base {
|
18
|
+
&.dark{
|
19
|
+
background-color: $bg_dark
|
20
|
+
}
|
21
|
+
width: $icon_size;
|
22
|
+
height: $icon_size;
|
23
|
+
position: absolute;
|
24
|
+
background-color: $white;
|
25
|
+
border-radius: $icon_size;
|
26
|
+
font-size: ($icon_size - $border_size * 2);
|
27
|
+
display: flex;
|
28
|
+
justify-content: center;
|
29
|
+
align-items: center;
|
30
|
+
z-index: 1;
|
31
|
+
}
|
32
|
+
|
17
33
|
@each $name, $size in $avatar-sizes {
|
18
34
|
|
19
35
|
&[class*=_#{$name}] {
|
20
36
|
|
21
37
|
$avatar_size: map-get($avatar-sizes, $name);
|
22
|
-
$icon_size:
|
23
|
-
$border_size:
|
38
|
+
$icon_size: $avatar_size / 2;
|
39
|
+
$border_size: $icon_size / 10;
|
24
40
|
|
25
41
|
position: relative;
|
26
42
|
width: $avatar_size * 1.25;
|
@@ -32,51 +48,14 @@
|
|
32
48
|
}
|
33
49
|
|
34
50
|
&[class*=_bottom] .icon {
|
35
|
-
|
36
|
-
background-color: $bg_dark;
|
37
|
-
}
|
38
|
-
width: $icon_size;
|
39
|
-
height: $icon_size;
|
40
|
-
position: absolute;
|
41
|
-
background-color: $white;
|
42
|
-
border-radius: $icon_size;
|
43
|
-
font-size: calc($icon_size - $border_size * 2);
|
44
|
-
display: flex;
|
45
|
-
justify-content: center;
|
46
|
-
align-items: center;
|
47
|
-
z-index: 1;
|
51
|
+
@include icon-base;
|
48
52
|
top: $icon_size * 1.27;
|
49
53
|
}
|
50
54
|
&[class*=_top] .icon {
|
51
|
-
|
52
|
-
background-color: $bg_dark;
|
53
|
-
}
|
54
|
-
width: $icon_size;
|
55
|
-
height: $icon_size;
|
56
|
-
position: absolute;
|
57
|
-
background-color: $white;
|
58
|
-
border-radius: $icon_size;
|
59
|
-
font-size: calc($icon_size - $border_size * 2);
|
60
|
-
display: flex;
|
61
|
-
justify-content: center;
|
62
|
-
align-items: center;
|
63
|
-
z-index: 1;
|
55
|
+
@include icon-base;
|
64
56
|
bottom: $icon_size * 1.27;
|
65
57
|
}
|
66
58
|
&[class*=_right] .icon {
|
67
|
-
&.dark {
|
68
|
-
background-color: $bg_dark;
|
69
|
-
}
|
70
|
-
width: $icon_size;
|
71
|
-
height: $icon_size;
|
72
|
-
position: absolute;
|
73
|
-
background-color: $white;
|
74
|
-
border-radius: $icon_size;
|
75
|
-
font-size: calc($icon_size - $border_size * 2);
|
76
|
-
display: flex;
|
77
|
-
justify-content: center;
|
78
|
-
align-items: center;
|
79
|
-
z-index: 1;
|
80
59
|
left: $icon_size * 1.5;
|
81
60
|
}
|
82
61
|
&[class*=_left] [class^=pb_avatar_kit] {
|