dlegr250_material_design 0.5.80 → 0.5.81

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dlegr250_material_design/version.rb +1 -1
  3. data/vendor/assets/stylesheets/base/base.scss +1 -28
  4. data/vendor/assets/stylesheets/base/global_classes.scss +59 -51
  5. data/vendor/assets/stylesheets/base/mixins.scss +120 -70
  6. data/vendor/assets/stylesheets/base/variables/colors.scss +295 -296
  7. data/vendor/assets/stylesheets/base/variables/dimensions.scss +57 -92
  8. data/vendor/assets/stylesheets/components/blank_states.scss +2 -1
  9. data/vendor/assets/stylesheets/components/dialogs.scss +13 -13
  10. data/vendor/assets/stylesheets/components/dividers.scss +37 -51
  11. data/vendor/assets/stylesheets/components/layout/application_container.scss +12 -0
  12. data/vendor/assets/stylesheets/components/layout/grid.scss +102 -0
  13. data/vendor/assets/stylesheets/components/layout/main.scss +16 -0
  14. data/vendor/assets/stylesheets/components/layout/overlay.scss +31 -0
  15. data/vendor/assets/stylesheets/components/layout/sidebar.scss +17 -0
  16. data/vendor/assets/stylesheets/components/layout/toolbar.scss +129 -0
  17. data/vendor/assets/stylesheets/components/search.scss +146 -0
  18. data/vendor/assets/stylesheets/components/tables.scss +106 -64
  19. data/vendor/assets/stylesheets/dlegr250_material_design.scss +7 -6
  20. metadata +9 -8
  21. data/vendor/assets/stylesheets/components/borders.scss +0 -8
  22. data/vendor/assets/stylesheets/components/breadcrumbs.scss +0 -32
  23. data/vendor/assets/stylesheets/components/circles.scss +0 -16
  24. data/vendor/assets/stylesheets/components/cursors.scss +0 -6
  25. data/vendor/assets/stylesheets/components/overlay.scss +0 -24
  26. data/vendor/assets/stylesheets/components/underlines.scss +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afce2656b4ecbf1a27a3282f5ca3e312a91fac91
4
- data.tar.gz: 1c62eb61ecd9a0130a5d53b84a54f6acbd617278
3
+ metadata.gz: 26f5b35e2dc6b0665f38071ae29967031cc96803
4
+ data.tar.gz: 498fad64ee97b8c8a06899802a12ce8755426f34
5
5
  SHA512:
6
- metadata.gz: 7cfb27951459a35cf3f51665a5551df05d2d8b98d234e03a9a1519e2d678ca801e76908e5aeb36bd82eae9078f771d1d14d791dbaf7ba5083100e4bb6086ce6d
7
- data.tar.gz: a7a688d6aa9627c291863a923833ca6fd1c8601c34cba8c92ae963706ce651df79faa0980aa8af8cff7c745b03596fdc3fb4cef2b1e2079226e84fad4b6b1a55
6
+ metadata.gz: 8b4493b89c6ccb47d0e5c99c8b9361a67beb4324476daaadc1aa41c1a5e09aa50a8760d1a2ef438c902762e522b73e540881c94353a4d60c7c8e88d7992647e4
7
+ data.tar.gz: 9db54602f4c22a19527098ae95124af2b37a4ce0a042288fbaf97c22432702fb671120879b071f4cc1c34178d2c8def9a88b099d3ac621018d6f24ea84e44310
@@ -1,3 +1,3 @@
1
1
  module Dlegr250MaterialDesign
2
- VERSION = "0.5.80"
2
+ VERSION = "0.5.81"
3
3
  end
@@ -32,13 +32,6 @@ body {
32
32
  font-size: $font-size-normal;
33
33
  font-weight: normal;
34
34
  line-height: 1.2;
35
-
36
- // Elements animated via transform instead of display will
37
- // still be rendered on the page and cause horizontal scroll.
38
- // This stops that scrolling on smaller devices.
39
- // &.has-right-sidebar {
40
- // overflow-x: hidden;
41
- // }
42
35
  }
43
36
 
44
37
  // Bold
@@ -56,17 +49,6 @@ p {
56
49
  margin: $spacing-normal 0;
57
50
  }
58
51
 
59
- // HRs used as spacers with lines
60
- //----------------------------------------------------------------------
61
-
62
- hr {
63
- border: none;
64
- border-bottom: 1px solid color("divider");
65
- height: 1px;
66
- margin: $spacing-xsmall 0;
67
- padding: 0;
68
- }
69
-
70
52
  // Links
71
53
  //----------------------------------------------------------------------
72
54
 
@@ -75,16 +57,7 @@ a {
75
57
  text-decoration: none;
76
58
  }
77
59
 
78
- a.link {
79
- &:hover {
80
- text-decoration: underline;
81
- }
82
- }
83
-
84
60
  // Images
85
61
  //----------------------------------------------------------------------
86
62
 
87
- // img {
88
- // width: 100%;
89
- // height: auto;
90
- // }
63
+ // NOOP
@@ -12,13 +12,6 @@
12
12
  .color-#{$color-name} { color: #{$hex-value} !important; }
13
13
  }
14
14
 
15
- // Scroll shadow
16
- //----------------------------------------------------------------------
17
-
18
- .scroll-shadow {
19
- @include box-shadow(0 2px 5px rgba(0, 0, 0, 0.30));
20
- }
21
-
22
15
  // Simple dot divider
23
16
  //----------------------------------------------------------------------
24
17
 
@@ -30,17 +23,17 @@
30
23
  // Alignments
31
24
  //----------------------------------------------------------------------
32
25
 
33
- .align-left { text-align: left; }
26
+ .align-left { text-align: left; }
34
27
  .align-center { text-align: center; }
35
- .align-right { text-align: right; }
28
+ .align-right { text-align: right; }
36
29
 
37
- .float-left { float: left; }
30
+ .float-left { float: left; }
38
31
  .float-right { float: right; }
39
32
 
40
33
  // Expand entire width and take element padding into consideration.
41
34
  .full-width { @include full-width; }
42
35
 
43
- // Flex sizes for rows with items of different widths
36
+ // Flexbox
44
37
  //----------------------------------------------------------------------
45
38
 
46
39
  .flex-1 { flex: 1 !important; }
@@ -48,8 +41,16 @@
48
41
  .flex-3 { flex: 3 !important; }
49
42
  .flex-4 { flex: 4 !important; }
50
43
 
51
- .flex-parent-row { @include flex-parent-row(); }
52
- .flex-parent-row-align-top { @include flex-parent-row-align-top(); }
44
+ .flex-parent { @include flex-parent(); }
45
+ .flex-parent-align-top { @include flex-parent-align-top(); }
46
+
47
+ .flex-align-left { @include flex-align-left(); }
48
+ .flex-align-center { @include flex-align-center(); }
49
+ .flex-align-right { @include flex-align-right(); }
50
+
51
+ .flex-vertical-align-top { @include flex-vertical-align-top(); }
52
+ .flex-vertical-align-center { @include flex-vertical-align-center(); }
53
+ .flex-vertical-align-bottom { @include flex-vertical-align-bottom(); }
53
54
 
54
55
  // Constrained to max size to center content
55
56
  //----------------------------------------------------------------------
@@ -65,61 +66,60 @@
65
66
  }
66
67
 
67
68
  .constrained-xsmall { max-width: $device-xsmall; }
68
- .constrained-small { max-width: $device-small; }
69
+ .constrained-small { max-width: $device-small; }
69
70
  .constrained-medium { max-width: $device-medium; }
70
- .constrained-large { max-width: $device-large; }
71
+ .constrained-large { max-width: $device-large; }
71
72
  .constrained-xlarge { max-width: $device-xlarge; }
72
73
 
73
74
  // Padding
74
75
  //----------------------------------------------------------------------
75
76
 
76
77
  .padding-xsmall { padding: $spacing-xsmall; }
77
- .padding-small { padding: $spacing-small; }
78
+ .padding-small { padding: $spacing-small; }
78
79
  .padding-normal { padding: $spacing-normal; }
79
- .padding-large { padding: $spacing-large; }
80
+ .padding-large { padding: $spacing-large; }
80
81
  .padding-xlarge { padding: $spacing-xlarge; }
81
82
 
82
83
  .padding-top-xsmall { padding-bottom: $spacing-xsmall; }
83
- .padding-top-small { padding-bottom: $spacing-small; }
84
+ .padding-top-small { padding-bottom: $spacing-small; }
84
85
  .padding-top-normal { padding-bottom: $spacing-normal; }
85
- .padding-top-large { padding-bottom: $spacing-large; }
86
+ .padding-top-large { padding-bottom: $spacing-large; }
86
87
  .padding-top-xlarge { padding-bottom: $spacing-xlarge; }
87
88
 
88
89
  .padding-right-xsmall { padding-bottom: $spacing-xsmall; }
89
- .padding-right-small { padding-bottom: $spacing-small; }
90
+ .padding-right-small { padding-bottom: $spacing-small; }
90
91
  .padding-right-normal { padding-bottom: $spacing-normal; }
91
- .padding-right-large { padding-bottom: $spacing-large; }
92
+ .padding-right-large { padding-bottom: $spacing-large; }
92
93
  .padding-right-xlarge { padding-bottom: $spacing-xlarge; }
93
94
 
94
95
  .padding-bottom-xsmall { padding-bottom: $spacing-xsmall; }
95
- .padding-bottom-small { padding-bottom: $spacing-small; }
96
+ .padding-bottom-small { padding-bottom: $spacing-small; }
96
97
  .padding-bottom-normal { padding-bottom: $spacing-normal; }
97
- .padding-bottom-large { padding-bottom: $spacing-large; }
98
+ .padding-bottom-large { padding-bottom: $spacing-large; }
98
99
  .padding-bottom-xlarge { padding-bottom: $spacing-xlarge; }
99
100
 
100
101
  .padding-left-xsmall { padding-bottom: $spacing-xsmall; }
101
- .padding-left-small { padding-bottom: $spacing-small; }
102
+ .padding-left-small { padding-bottom: $spacing-small; }
102
103
  .padding-left-normal { padding-bottom: $spacing-normal; }
103
- .padding-left-large { padding-bottom: $spacing-large; }
104
+ .padding-left-large { padding-bottom: $spacing-large; }
104
105
  .padding-left-xlarge { padding-bottom: $spacing-xlarge; }
105
106
 
106
- .no-padding-top { padding-top: 0 !important; }
107
- .no-padding-right { padding-right: 0 !important; }
107
+ .no-padding-top { padding-top: 0 !important; }
108
+ .no-padding-right { padding-right: 0 !important; }
108
109
  .no-padding-bottom { padding-bottom: 0 !important; }
109
- .no-padding-left { padding-left: 0 !important; }
110
+ .no-padding-left { padding-left: 0 !important; }
110
111
 
111
112
  // Margins
112
113
  //----------------------------------------------------------------------
113
114
 
114
115
  .margin-xsmall { margin: $spacing-xsmall 0; }
115
- .margin-small { margin: $spacing-small 0; }
116
+ .margin-small { margin: $spacing-small 0; }
116
117
  .margin-normal { margin: $spacing-normal 0; }
117
- .margin-large { margin: $spacing-large 0; }
118
+ .margin-large { margin: $spacing-large 0; }
118
119
  .margin-xlarge { margin: $spacing-xlarge 0; }
119
120
 
120
121
  // If lists or other elements need extra room at bottom
121
122
  // or else the FAB overlaps them.
122
- .allow-room-for-fab-at-bottom,
123
123
  .fab-at-bottom {
124
124
  margin-bottom: $button-fab-height * 2;
125
125
  }
@@ -132,21 +132,22 @@
132
132
  // Decorate text
133
133
  //----------------------------------------------------------------------
134
134
 
135
- .bold { font-weight: 700; }
135
+ .bold { font-weight: 700; }
136
136
  .unbold { font-weight: normal !important; }
137
137
  .italic { font-style: italic; }
138
- .uppercase { text-transform: uppercase; }
138
+
139
+ .uppercase { text-transform: uppercase; }
139
140
  .capitalize { text-transform: capitalize; }
140
- .lowercase { text-transform: lowercase; }
141
+ .lowercase { text-transform: lowercase; }
141
142
 
142
143
  // Rounded corners
143
144
  //----------------------------------------------------------------------
144
145
 
145
- .rounded-corners { @include rounded-corners; }
146
- .rounded-top-corners { @include rounded-top-corners; }
147
- .rounded-right-corners { @include rounded-right-corners; }
146
+ .rounded-corners { @include rounded-corners; }
147
+ .rounded-top-corners { @include rounded-top-corners; }
148
+ .rounded-right-corners { @include rounded-right-corners; }
148
149
  .rounded-bottom-corners { @include rounded-bottom-corners; }
149
- .rounded-left-corners { @include rounded-left-corners; }
150
+ .rounded-left-corners { @include rounded-left-corners; }
150
151
 
151
152
  // Visibility
152
153
  //----------------------------------------------------------------------
@@ -161,35 +162,35 @@
161
162
  //----------------------------------------------------------------------
162
163
 
163
164
  .font-size-xsmall { font-size: $font-size-xsmall !important; }
164
- .font-size-small { font-size: $font-size-small !important; }
165
+ .font-size-small { font-size: $font-size-small !important; }
165
166
  .font-size-normal { font-size: $font-size-normal !important; }
166
- .font-size-16 { font-size: 16px !important; }
167
- .font-size-large { font-size: $font-size-large !important; }
167
+ .font-size-16 { font-size: 16px !important; }
168
+ .font-size-large { font-size: $font-size-large !important; }
168
169
  .font-size-xlarge { font-size: $font-size-xlarge !important; }
169
170
 
170
171
  // Truncating text
171
172
  //----------------------------------------------------------------------
172
173
 
173
- .truncate-text { @include truncate-text(); }
174
+ .truncate-text { @include truncate-text(); }
174
175
  .force-text-wrap { @include force-text-wrap(); }
175
176
 
176
177
  // Borders
177
178
  //----------------------------------------------------------------------
178
179
 
179
180
  .border-bottom { border-bottom: 1px solid color("divider") !important; }
180
- .border-left { border-left: 1px solid color("divider") !important; }
181
- .border-right { border-right: 1px solid color("divider") !important; }
182
- .border-top { border-top: 1px solid color("divider") !important; }
181
+ .border-left { border-left: 1px solid color("divider") !important; }
182
+ .border-right { border-right: 1px solid color("divider") !important; }
183
+ .border-top { border-top: 1px solid color("divider") !important; }
183
184
 
184
185
  .no-border-bottom { border-bottom: 0 !important; }
185
- .no-border-left { border-left: 0 !important; }
186
- .no-border-right { border-right: 0 !important; }
187
- .no-border-top { border-top: 0 !important; }
186
+ .no-border-left { border-left: 0 !important; }
187
+ .no-border-right { border-right: 0 !important; }
188
+ .no-border-top { border-top: 0 !important; }
188
189
 
189
190
  // Rotation
190
191
  //----------------------------------------------------------------------
191
192
 
192
- .rotate-90 { @include transform(rotate(90deg)); }
193
+ .rotate-90 { @include transform(rotate(90deg)); }
193
194
  .rotate-180 { @include transform(rotate(180deg)); }
194
195
  .rotate-270 { @include transform(rotate(270deg)); }
195
196
 
@@ -202,13 +203,20 @@
202
203
  pointer-events: none;
203
204
  }
204
205
 
206
+ // Cursors
207
+ //----------------------------------------------------------------------
208
+
209
+ .cursor-default { cursor: default !important; }
210
+ .cursor-disabled { cursor: not-allowed !important; }
211
+ .cursor-drag { cursor: move !important; }
212
+
205
213
  // Widths
206
214
  //----------------------------------------------------------------------
207
215
 
208
216
  .width-xsmall { width: $device-xsmall; }
209
- .width-small { width: $device-small; }
217
+ .width-small { width: $device-small; }
210
218
  .width-medium { width: $device-medium; }
211
- .width-large { width: $device-large; }
219
+ .width-large { width: $device-large; }
212
220
  .width-xlarge { width: $device-xlarge; }
213
221
 
214
222
  // Media query classes for various device sizes
@@ -6,7 +6,7 @@
6
6
  // Default values for mixins
7
7
  //----------------------------------------------------------------------
8
8
 
9
- $default-rounded-corners-radius: 3px;
9
+ $default-rounded-corners-radius: 2px; // As per Material Design spec
10
10
 
11
11
  // Rounded corners
12
12
  //----------------------------------------------------------------------
@@ -127,87 +127,105 @@ $default-rounded-corners-radius: 3px;
127
127
  // Shadows
128
128
  //----------------------------------------------------------------------
129
129
 
130
- @mixin box-shadow($text...) {
131
- @if length($text) == 0 {
132
- $text: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
130
+ @mixin box-shadow($shadow...) {
131
+ @if length($shadow) == 0 {
132
+ $shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
133
133
  }
134
134
 
135
- box-shadow: $text;
136
- -moz-box-shadow: $text;
137
- -webkit-box-shadow: $text;
135
+ box-shadow: $shadow;
136
+ -moz-box-shadow: $shadow;
137
+ -webkit-box-shadow: $shadow;
138
138
  }
139
139
 
140
- @mixin text-shadow($text) {
141
- text-shadow: $text;
142
- -moz-text-shadow: $text;
143
- -webkit-text-shadow: $text;
140
+ @mixin text-shadow($shadow) {
141
+ text-shadow: $shadow;
142
+ -moz-text-shadow: $shadow;
143
+ -webkit-text-shadow: $shadow;
144
144
  }
145
145
 
146
146
  // Flexbox
147
147
  //----------------------------------------------------------------------
148
148
 
149
+ // Defaults to horizontal and vertical center.
150
+ // Expects additional classes to override.
149
151
  @mixin flex-parent() {
152
+ align-items: center;
150
153
  display: flex;
151
154
  display: -ms-flexbox;
152
155
  display: -webkit-flex;
153
- }
154
-
155
- // For a row of flex elements, such as the appbar.
156
- @mixin flex-parent-row() {
157
- @include flex-parent();
158
- align-items: center;
159
- -ms-flex-align: center;
160
- -webkit-align-items: center;
161
- -webkit-box-align: center;
162
156
  flex-direction: row;
163
- flex-wrap: nowrap;
164
- justify-content: flex-start;
165
- }
166
-
167
- @mixin flex-parent-row-align-center() {
168
- @include flex-parent-row();
169
- flex: 1 1 auto;
170
157
  justify-content: center;
171
158
  }
172
159
 
173
- @mixin flex-parent-row-align-right() {
174
- @include flex-parent-row();
175
- flex: 1;
176
- justify-content: flex-end;
177
- }
160
+ @mixin flex-align-left() { justify-content: flex-start; }
161
+ @mixin flex-align-center() { justify-content: center; }
162
+ @mixin flex-align-right() { justify-content: flex-end; }
178
163
 
179
- @mixin flex-parent-row-align-top() {
180
- @include flex-parent-row();
181
- align-items: flex-start;
182
- -ms-flex-align: flex-start;
183
- -webkit-align-items: flex-start;
184
- -webkit-box-align: flex-start;
185
- }
164
+ @mixin flex-vertical-align-top() { align-items: flex-start; }
165
+ @mixin flex-vertical-align-center() { align-items: center; }
166
+ @mixin flex-vertical-align-bottom() { align-items: flex-end; }
186
167
 
187
- // Center elements vertically and horizontally
188
- @mixin flex-center() {
168
+ @mixin flex-parent-align-top() {
189
169
  @include flex-parent();
190
- align-items: center;
191
- -ms-flex-align: center;
192
- -webkit-align-items: center;
193
- -webkit-box-align: center;
194
- flex-direction: column;
195
- flex-wrap: nowrap;
196
- justify-content: center;
197
- height: 100%;
198
- width: 100%;
199
- }
170
+ @include flex-vertical-align-top();
171
+ }
172
+
173
+ // // For a row of flex elements, such as the appbar.
174
+ // @mixin flex-parent-row() {
175
+ // @include flex-parent();
176
+ // align-items: center;
177
+ // -ms-flex-align: center;
178
+ // -webkit-align-items: center;
179
+ // -webkit-box-align: center;
180
+ // flex-direction: row;
181
+ // flex-wrap: nowrap;
182
+ // justify-content: flex-start;
183
+ // }
184
+ //
185
+ // @mixin flex-parent-row-align-center() {
186
+ // @include flex-parent-row();
187
+ // flex: 1 1 auto;
188
+ // justify-content: center;
189
+ // }
190
+ //
191
+ // @mixin flex-parent-row-align-right() {
192
+ // @include flex-parent-row();
193
+ // flex: 1;
194
+ // justify-content: flex-end;
195
+ // }
196
+ //
197
+ // @mixin flex-parent-row-align-top() {
198
+ // @include flex-parent-row();
199
+ // align-items: flex-start;
200
+ // -ms-flex-align: flex-start;
201
+ // -webkit-align-items: flex-start;
202
+ // -webkit-box-align: flex-start;
203
+ // }
204
+
205
+ // // Center elements vertically and horizontally
206
+ // @mixin flex-center() {
207
+ // @include flex-parent();
208
+ // align-items: center;
209
+ // -ms-flex-align: center;
210
+ // -webkit-align-items: center;
211
+ // -webkit-box-align: center;
212
+ // flex-direction: column;
213
+ // flex-wrap: nowrap;
214
+ // justify-content: center;
215
+ // height: 100%;
216
+ // width: 100%;
217
+ // }
200
218
 
201
219
  // Grid list
202
- @mixin flex-grid-list() {
203
- @include flex-parent();
204
- align-items: flex-start;
205
- -ms-flex-align: flex-start;
206
- -webkit-align-items: flex-start;
207
- -webkit-box-align: flex-start;
208
- flex-direction: row;
209
- flex-wrap: wrap;
210
- }
220
+ // @mixin flex-grid-list() {
221
+ // @include flex-parent();
222
+ // align-items: flex-start;
223
+ // -ms-flex-align: flex-start;
224
+ // -webkit-align-items: flex-start;
225
+ // -webkit-box-align: flex-start;
226
+ // flex-direction: row;
227
+ // flex-wrap: wrap;
228
+ // }
211
229
 
212
230
  // Boxes
213
231
  //----------------------------------------------------------------------
@@ -265,7 +283,8 @@ $default-rounded-corners-radius: 3px;
265
283
  min-height: $list-one-line-height;
266
284
  padding-left: $spacing-small;
267
285
  padding-right: $spacing-small;
268
- @include flex-parent-row();
286
+ @include flex-parent();
287
+ @include flex-align-left();
269
288
  @include no-touch-highlight-color();
270
289
  @include transition(background-color 0.30s ease);
271
290
  }
@@ -290,7 +309,8 @@ $default-rounded-corners-radius: 3px;
290
309
  font-size: $font-size-small;
291
310
  font-weight: normal;
292
311
  padding-bottom: $spacing-xsmall;
293
- @include flex-parent-row();
312
+ @include flex-parent();
313
+ @include flex-align-left();
294
314
  }
295
315
 
296
316
  @mixin list-item-primary-subtext() {
@@ -303,12 +323,6 @@ $default-rounded-corners-radius: 3px;
303
323
  color: color("helper");
304
324
  padding-left: $spacing-small;
305
325
  padding-right: $spacing-small;
306
- // text-align: right;
307
- }
308
-
309
- @mixin list-item-secondary-actions() {
310
- @include list-item-secondary();
311
- padding-right: 0;
312
326
  }
313
327
 
314
328
  // Font smoothing
@@ -318,9 +332,45 @@ $default-rounded-corners-radius: 3px;
318
332
  -webkit-font-smoothing: antialiased;
319
333
  }
320
334
 
321
- // DRY borders
335
+ // Specifically for small devices where the border would normally leave
336
+ // a 1px line on the edges. Using box-shadow allows the border to be
337
+ // hidden on the edges.
322
338
  //----------------------------------------------------------------------
323
339
 
324
- @mixin border($color: #aaa) {
340
+ @mixin border($color: color("divider")) {
325
341
  @include box-shadow(0 0 1px $color);
326
342
  }
343
+
344
+ // Elevation (z-index)
345
+ //----------------------------------------------------------------------
346
+
347
+ @mixin elevation($z-value) {
348
+ @if type-of($z-value) != number or not unitless($z-value) {
349
+ @error "$z-value must be a unitless number";
350
+ }
351
+
352
+ z-index: : $z-value;
353
+ }
354
+
355
+ // Material Icons
356
+ //----------------------------------------------------------------------
357
+
358
+ @mixin material-icons() {
359
+ font-family: "Material Icons";
360
+ font-weight: normal;
361
+ font-style: normal;
362
+ font-size: 24px; // Default icon size
363
+ display: inline-block;
364
+ // line-height: 1;
365
+ line-height: inherit;
366
+ text-transform: none;
367
+ letter-spacing: normal;
368
+ word-wrap: normal;
369
+ white-space: nowrap;
370
+ direction: ltr;
371
+
372
+ -webkit-font-smoothing: antialiased; // WebKit
373
+ text-rendering: optimizeLegibility; // Safari/Chrome
374
+ -moz-osx-font-smoothing: grayscale; // Firefox
375
+ font-feature-settings: "liga"; // IE
376
+ }