dlegr250_material_design 0.3.27 → 0.3.28

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
  SHA1:
3
- metadata.gz: 3ea6ad1a7e0bb7e79aeb6904802ae70d795d5376
4
- data.tar.gz: 723670923a5c76ce99bd04d7e87234625d0c2322
3
+ metadata.gz: d6f65f79ee7d3ff77ff1718acb9bbe2eac8d3dc5
4
+ data.tar.gz: 6a8d7edceec4fb24a74dee7ef6f91bf440fd0b81
5
5
  SHA512:
6
- metadata.gz: ece7e729c37ff61b03d9fe29a67b0c22d36cf3ed6da5d57ad756ae9d06fa3cdf9cc3e3d4f9997780320b897ab0e679b6a0ec6414bf75526ad3e402355b05344b
7
- data.tar.gz: 5e92fdeadfd4784a983ae22312a15cffd365100bf6629a6da4a070c3f7dc9e88c52fd838fca31b37834421188b60ed63d0b8fa5c2cff930f773fa3e2e9797c8a
6
+ metadata.gz: c50376edb9d5c782889b0f2643a946e08b7f2343c87e6a425b80d6a5e71573780e67dbddb57cba8c1b33fefce624061a8dbdba62ccd79b194f41df479adf5836
7
+ data.tar.gz: c626ed6d5333df285be63ae971132c6e9bed6464b4ec6500b8f29b1a8add7cdfb3237d4227448697fc219e4b93773bfe17dc98ce054484e554bbe71487784027
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.3.27"
2
+ VERSION = "0.3.28"
3
3
  end
@@ -1,12 +1,6 @@
1
1
  //======================================================================
2
2
  // EXAMPLE:
3
3
  // <div class="blank-state">
4
- // <div class="blank-state-icon">
5
- // <span class="zmdi-hc-stack">
6
- // <i class="zmdi zmdi-circle zmdi-hc-stack-2x"></i>
7
- // <i class="zmdi zmdi-comments zmdi-hc-stack-1x zmdi-hc-inverse"></i>
8
- // </span>
9
- // </div>
10
4
  // <div class="blank-state-primary">
11
5
  // Primary text
12
6
  // <div class="blank-state-primary-subtext">
@@ -37,33 +31,6 @@
37
31
  text-align: center;
38
32
  }
39
33
 
40
- // Blank state - icon
41
- //----------------------------------------------------------------------
42
-
43
- .blank-state-icon {
44
- color: color("divider");
45
- display: inline-block;
46
- height: 80px;
47
- margin-bottom: $spacing-normal;
48
- width: 80px;
49
- text-align: center;
50
-
51
- .icon {
52
- color: color("divider");
53
- font-size: 60px;
54
- line-height: 80px;
55
- }
56
- }
57
-
58
- .blank-state-icon-circle {
59
- background-color: color("divider");
60
- @include rounded-corners(50%);
61
-
62
- .icon {
63
- color: color("helper");
64
- }
65
- }
66
-
67
34
  // Blank state - primary
68
35
  //----------------------------------------------------------------------
69
36
 
@@ -19,7 +19,8 @@ $buttons: ".button";
19
19
  border: 1px solid transparent;
20
20
  box-sizing: border-box;
21
21
  cursor: pointer;
22
- display: inline-block;
22
+ // display: inline-block;
23
+ display: inline-flex;
23
24
  font-size: $font-size-normal;
24
25
  font-weight: 500;
25
26
  height: $button-height;
@@ -37,6 +38,10 @@ $buttons: ".button";
37
38
  @include rounded-corners;
38
39
  @include transition(all 0.2s ease-in-out);
39
40
 
41
+ .material-icons {
42
+ line-height: $button-height;
43
+ }
44
+
40
45
  &:hover {
41
46
  text-decoration: none !important;
42
47
  }
@@ -53,14 +58,26 @@ $buttons: ".button";
53
58
  height: $button-height-large !important;
54
59
  line-height: $button-height-large !important;
55
60
  }
61
+ }
62
+
63
+ // Icons inside button
64
+ .button .material-icons {
65
+ line-height: 40px;
66
+ }
67
+
68
+ .button.icon-left {
69
+ padding-left: $spacing-normal - 8px;
56
70
 
57
- // Icons within button
58
- .icon-left {
59
- margin-right: $spacing-xsmall;
71
+ .material-icons {
72
+ padding-right: 4px;
60
73
  }
74
+ }
75
+
76
+ .button.icon-right {
77
+ padding-right: $spacing-normal - 8px;
61
78
 
62
- .icon-right {
63
- margin-left: $spacing-xsmall;
79
+ .material-icons {
80
+ padding-left: 4px;
64
81
  }
65
82
  }
66
83
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlegr250_material_design
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.27
4
+ version: 0.3.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel LeGrand
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-03 00:00:00.000000000 Z
11
+ date: 2016-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler