playbook_ui 14.1.0.pre.alpha.PLAY15063612 → 14.1.0.pre.alpha.PLAY15063614

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: b85d79387b59e487ff6cd65dc8550cd0f6463797bb19fb8dee4e2fd32fe3645f
4
- data.tar.gz: 4fcbfa3431453f6f4b883907b3baedd1224bb1cf151847f8d916a7a56c791d90
3
+ metadata.gz: df41e33aa0df2f998a39182c3692b8fd3ef9aeb046718aebf1e7dc3dd2313c79
4
+ data.tar.gz: 1ce3f1dc14db9279e0342ff4d177a5bba4ee5ad2e09e3747147f482e8625a15a
5
5
  SHA512:
6
- metadata.gz: 975730ced8be71332f301bbceca41aac354dae1cc4b5c3cc2a7d36f3798bed2db2cb7baeb9666c4f6447184a1ba0890fc910b53b633a9752f1c3c6aa3230d465
7
- data.tar.gz: 67a87155d3340841cebf1e6a597999b90485808888253d09a1e10134ae3294e125588f19b784e976786ae67a40ee8847f82719eb1297cd1403c9f33d21957c77
6
+ metadata.gz: 553a52c4d07ff77f1f1a43b60871ad7727524770028a101145e58f10efe28ec96ca0e27af2176702d279b8bfa993e16313caee911eeda3afb6eb71d33258dc03
7
+ data.tar.gz: a116dbedc8fa5f67aa10ad5e9b81aa15ac97aac93b52c124a4505989946eb2e4e04034eebfdd912e1db029ec4573eaeb16ad9983db9729609f7e231d5c5ac212
@@ -14,16 +14,16 @@
14
14
  }
15
15
  }
16
16
 
17
- @mixin icon-base {
18
- &.dark{
19
- background-color: $bg_dark
17
+ @mixin icon-base($icon_size, $border_size) {
18
+ &.dark {
19
+ background-color: $bg_dark;
20
20
  }
21
21
  width: $icon_size;
22
22
  height: $icon_size;
23
23
  position: absolute;
24
24
  background-color: $white;
25
25
  border-radius: $icon_size;
26
- font-size: calc($icon_size - $border_size * 2);
26
+ font-size: $icon_size - ($border_size * 2);
27
27
  display: flex;
28
28
  justify-content: center;
29
29
  align-items: center;
@@ -35,8 +35,8 @@
35
35
  &[class*=_#{$name}] {
36
36
 
37
37
  $avatar_size: map-get($avatar-sizes, $name);
38
- $icon_size: calc($avatar_size / 2);
39
- $border_size: calc($icon_size / 10);
38
+ $icon_size: $avatar_size / 2;
39
+ $border_size: $icon_size / 10;
40
40
 
41
41
  position: relative;
42
42
  width: $avatar_size * 1.25;
@@ -48,11 +48,11 @@
48
48
  }
49
49
 
50
50
  &[class*=_bottom] .icon {
51
- @include icon-base;
51
+ @include icon-base($icon_size, $border_size);
52
52
  top: $icon_size * 1.27;
53
53
  }
54
54
  &[class*=_top] .icon {
55
- @include icon-base;
55
+ @include icon-base($icon_size, $border_size);
56
56
  bottom: $icon_size * 1.27;
57
57
  }
58
58
  &[class*=_right] .icon {
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.1.0"
5
- VERSION = "14.1.0.pre.alpha.PLAY15063612"
5
+ VERSION = "14.1.0.pre.alpha.PLAY15063614"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.0.pre.alpha.PLAY15063612
4
+ version: 14.1.0.pre.alpha.PLAY15063614
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX