playbook_ui 14.1.0.pre.alpha.PLAY15063613 → 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: 0f27a66c0f7f2c05dcd12583dfba050ac241fc4059da57e55c12712de3e3136f
4
- data.tar.gz: 40399fa71a2d92f3cf654d36b367f4d1072a94915cd028db0d530f197ab40327
3
+ metadata.gz: df41e33aa0df2f998a39182c3692b8fd3ef9aeb046718aebf1e7dc3dd2313c79
4
+ data.tar.gz: 1ce3f1dc14db9279e0342ff4d177a5bba4ee5ad2e09e3747147f482e8625a15a
5
5
  SHA512:
6
- metadata.gz: cb1e53b5951d080ccd77bd2fc5cb28c73cef630bf8db773766903cf3e8a6a85c3d13f21b60850675a055fb409dd26c8f9779aac25cc382af2b313f993e708aeb
7
- data.tar.gz: 559640dabd061d79da2aa10fad7f422f38424e264283e83d380fc92d7eacd8c44208d355a4fe53526f1c5e48b0848b8f3d02806c4acf40da526ed47c5a705501
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.PLAY15063613"
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.PLAY15063613
4
+ version: 14.1.0.pre.alpha.PLAY15063614
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX