dlegr250_material_design 0.1.90 → 0.1.91

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: f7c73f955b74f2c7bda1a44ac9b6c46e8a9309c4
4
- data.tar.gz: ec4c374c1e1ab2ab18c09fd1d3417263a072b027
3
+ metadata.gz: 4a16cca9a4f944374edf14b94d69ae62f803d689
4
+ data.tar.gz: cccafb7e2175e75c0cbc914de8b7d39108200d61
5
5
  SHA512:
6
- metadata.gz: ed6eaf2271789391a5a6a9ae7a498bd5cca6d980f1dfad0cf87960c71adb87b5ba678518591cc9ab47a60a528c68f6ad7f8cd3ce3be9b00fe77daafc7186c091
7
- data.tar.gz: 2b14784cc627bb46cd0abe502d5fd14d98960f1de051edf1140810b285e5cc5889a8c0233ba9302063d45712f613d8dbe1f9c4930feb4c72f06f21cb9c557419
6
+ metadata.gz: 32d66741a1d9b2fd8501bb15b188abeff010796519d109f51141fb63d6425d7e74f4648d28b847322045435a884904008baeef85611e6eaab78a3a632f180f3d
7
+ data.tar.gz: 171b5ab682ac9001eadabd9cc2f0074c5614cea66156cb6b4dee3d79a1055fea8cf6517dcf3adc77097a2f357a43408f28a52b82ccab617677af58f0bef9a8e1
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.1.90"
2
+ VERSION = "0.1.91"
3
3
  end
@@ -21,92 +21,43 @@
21
21
  background-color: color("white");
22
22
  border: 1px solid color("divider");
23
23
  width: $card-width;
24
- @include box-shadow(0 1px 0 color("divider"));
24
+ @include box-shadow(0 1px 0 rgba(0, 0, 0, 0.2));
25
25
  @include rounded-corners;
26
-
27
- &.xsmall {
28
- width: $card-width * 0.33;
29
- }
30
-
31
- &.small {
32
- width: $card-width * 0.5;
33
- }
34
-
35
- &.normal {
36
- width: $card-width;
37
- }
38
-
39
- &.large {
40
- width: $card-width * 2;
41
- }
42
-
43
- &.xlarge {
44
- width: $card-width * 3;
45
- }
46
26
  }
47
27
 
48
- .card-no-shadow {
28
+ .card-flat {
49
29
  @include box-shadow(none);
50
30
  }
51
31
 
52
32
  // Card - header
53
33
  //----------------------------------------------------------------------
54
34
 
55
- .card header {
35
+ .card-header {
56
36
  border-bottom: 1px solid color("divider");
57
37
  padding: $spacing-normal;
58
38
 
59
- &.no-border {
60
- border-bottom: none;
61
- }
62
-
63
- .card-title {
64
- font-size: $font-size-large * 0.8;
65
- font-weight: bold;
66
- }
67
-
68
- .card-subtitle {
69
- color: color("helper");
70
- padding-top: $spacing-small;
71
- }
72
-
39
+ // Still need this???
73
40
  .button {
74
41
  margin-top: -6px;
75
42
  }
76
43
  }
77
44
 
78
- .card-primary {
45
+ .card-header-no-border {
46
+ border-bottom: none;
47
+ }
48
+
49
+ .card-header-title {
79
50
  font-size: $font-size-large * 0.8;
80
51
  font-weight: bold;
81
52
  }
82
53
 
83
- .card-primary-subtext {
54
+ .card-header-title-subtext {
84
55
  color: color("helper");
85
56
  font-size: $font-size-normal;
86
57
  font-weight: normal;
87
58
  padding-top: $spacing-small;
88
59
  }
89
60
 
90
- @media (min-width: $medium-width) {
91
- .card header {
92
- .card-title,
93
- .card-primary {
94
- font-size: $font-size-large;
95
- }
96
- }
97
- }
98
-
99
- // Card - rich media
100
- //----------------------------------------------------------------------
101
-
102
- .card-rich-media {
103
- img {
104
- height: auto;
105
- max-width: 100%;
106
- width: 100%;
107
- }
108
- }
109
-
110
61
  // Card - content
111
62
  //----------------------------------------------------------------------
112
63
 
@@ -114,22 +65,16 @@
114
65
  padding: $spacing-normal;
115
66
  }
116
67
 
117
- @media (min-width: $medium-width) {
118
- .card-content {
119
- padding: $spacing-normal;
120
- }
121
- }
122
-
123
68
  // Card - actions
124
69
  //----------------------------------------------------------------------
125
70
 
126
71
  .card-actions {
127
72
  border-top: 1px solid color("divider");
128
- padding: $spacing-normal;
73
+ padding: $spacing-small;
74
+ }
129
75
 
130
- &.no-border {
131
- border-top: none;
132
- }
76
+ .card-actions-no-border {
77
+ border-top: none;
133
78
  }
134
79
 
135
80
  // Card - image header
@@ -138,6 +83,7 @@
138
83
 
139
84
  .card-image {
140
85
  img {
86
+ height: auto;
141
87
  max-width: 100%;
142
88
  width: 100%;
143
89
  @include rounded-top-corners;
@@ -39,13 +39,13 @@ ol {
39
39
  min-height: 48px;
40
40
  @include flex-parent-row();
41
41
 
42
- .list-header-title,
42
+ .list-header-primary,
43
43
  .list-header-secondary {
44
44
  box-sizing: border-box;
45
45
  padding: $spacing-small $spacing-normal;
46
46
  }
47
47
 
48
- .list-header-title {
48
+ .list-header-primary {
49
49
  flex: 1;
50
50
  font-size: $font-size-normal;
51
51
  font-weight: bold;
@@ -59,18 +59,6 @@ ol {
59
59
  }
60
60
  }
61
61
 
62
- // Lists - subheader to breakup lists
63
- //----------------------------------------------------------------------
64
-
65
- .list-subheader {
66
- color: color("helper");
67
- font-size: $font-size-small;
68
- font-weight: 600;
69
- height: $tab-height;
70
- line-height: $tab-height;
71
- padding-left: $spacing-normal;
72
- }
73
-
74
62
  // Lists - base
75
63
  //----------------------------------------------------------------------
76
64
 
@@ -87,8 +75,13 @@ ol {
87
75
  .list-item {
88
76
  border-bottom: 1px solid color("divider");
89
77
  }
78
+
79
+ .list-item:last-child {
80
+ border-bottom: none;
81
+ }
90
82
  }
91
83
 
84
+
92
85
  // Don't have double lines on last item for bordered and divided
93
86
  .list-bordered .list-item:last-child {
94
87
  border-bottom: none;
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.1.90
4
+ version: 0.1.91
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-06-12 00:00:00.000000000 Z
11
+ date: 2016-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler