mtl 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58be2225ba79d3bbbb74d40af9f194ef4f841e73
4
- data.tar.gz: 0ef8ff2feb48bd40ab7af804238575f52f3e8a5a
3
+ metadata.gz: 428963389c75ff1c66fda33c1e8c17c3baa70c31
4
+ data.tar.gz: f33cece0832c200004a076e203381eebc7ad00ea
5
5
  SHA512:
6
- metadata.gz: 2a3d69bb43e9b7abef1f5f6adcb7dd9f42fb1d1ae8ce560f2a5e19421b542b9d2f8ffd7e069549a7fa939544250f5e9a35f7c0ded7950505018bb1327bb917ef
7
- data.tar.gz: 89c4eba164571e5aa964f5f8e8a727b5110c51e1eea6b889f72b284a8c7d4a00f5dafd2cdcdb7a9bcd5951fe20c736c54cc84d889e95db0bd9bb6a0b98922468
6
+ metadata.gz: ba1357900bcad16026ea726a049c637a614963f3e04c48be22d0c533ebc1bf5e7bfc27a756a9ab74c0f1a8c2c651143040aafbe99be524ce20ff86cc2be5c40a
7
+ data.tar.gz: bf18bb5f6f05d03d12d02006d16b9b7cfa48a8e3bf8a79fa78e40cd2617e80c279b6ecfa9a4457c861368347f0f805edfb8541a1c28c6e98752c3f85c4277398
@@ -15,9 +15,9 @@
15
15
  }
16
16
 
17
17
  .close {
18
- font-size: $chip-font-size + 3px;
18
+ font-size: calc($chip-font-size + 3px);
19
19
  height: $chip-height;
20
20
  line-height: $chip-line-height;
21
- padding-left: ($chip-font-size + 3px) / 2;
21
+ padding-left: calc($chip-font-size + 3px) / 2;
22
22
  }
23
23
  }
@@ -49,6 +49,7 @@ $link-color: color('light-blue', 'darken-1') !default;
49
49
  // 2. Badges ================================================================
50
50
 
51
51
  $badge-bg-color: $secondary-color !default;
52
+ $badge-height: 22px !default;
52
53
 
53
54
 
54
55
  // 3. Buttons ===============================================================
@@ -89,7 +90,7 @@ $button-floating-radius: 50% !default;
89
90
 
90
91
  // 4. Cards =================================================================
91
92
 
92
- $card-padding: 20px !default;
93
+ $card-padding: 24px !default;
93
94
  $card-bg-color: #fff !default;
94
95
  $card-link-color: color('orange', 'accent-2') !default;
95
96
  $card-link-color-light: lighten($card-link-color, 20%) !default;
@@ -98,6 +99,7 @@ $card-link-color-light: lighten($card-link-color, 20%) !default;
98
99
  // 5. Collapsible ===========================================================
99
100
 
100
101
  $collapsible-height: 3rem !default;
102
+ $collapsible-line-height: $collapsible-height !default;
101
103
  $collapsible-header-color: #fff !default;
102
104
  $collapsible-border-color: #ddd !default;
103
105
 
@@ -213,7 +215,9 @@ $element-bottom-margin: ($gutter-width * 2) / 3 !default;
213
215
  // 13. Navigation Bar =======================================================
214
216
 
215
217
  $navbar-height: 64px !default;
218
+ $navbar-line-height: $navbar-height !default;
216
219
  $navbar-height-mobile: 56px !default;
220
+ $navbar-line-height-mobile: $navbar-height-mobile !default;
217
221
  $navbar-font-color: #fff !default;
218
222
  $navbar-font-size: 1rem !default;
219
223
  $navbar-brand-font-size: 2.1rem !default;
@@ -226,6 +230,7 @@ $sidenav-font-color: rgba(0,0,0,.87) !default;
226
230
  $sidenav-bg-color: #fff !default;
227
231
  $sidenav-padding: 16px !default;
228
232
  $sidenav-item-height: 40px !default;
233
+ $sidenav-line-height: $sidenav-item-height !default;
229
234
 
230
235
 
231
236
  // 15. Photo Slider =========================================================
@@ -293,6 +298,7 @@ $collection-active-bg-color: $secondary-color !default;
293
298
  $collection-active-color: lighten($secondary-color, 55%) !default;
294
299
  $collection-hover-bg-color: #ddd !default;
295
300
  $collection-link-color: $secondary-color !default;
301
+ $collection-line-height: 1.5rem !default;
296
302
 
297
303
 
298
304
  // 24. Progress Bar =========================================================
data/lib/mtl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Mtl
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  MATERIALIZE_VERSION = '0.98.0'.freeze
4
4
  ICONS_VERSION = '2.2.3'.freeze
5
5
  LODASH_VERSION = '4.14.1'.freeze
data/mtl.gemspec CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'actionview'
34
34
  spec.add_development_dependency 'simple_form', '>= 3.3'
35
35
 
36
- spec.post_install_message = %q{
36
+ spec.post_install_message = "
37
37
  Some component have been extend with configuration variables, don't forget to re-generate the scss configuration or
38
38
  add the following values to your existing one:
39
39
 
@@ -42,5 +42,10 @@ Gem::Specification.new do |spec|
42
42
  $chip-font-size: 13px !default;
43
43
  $chip-font-weight: 500 !default;
44
44
  $chip-border-radius: 16px !default;
45
- }
45
+ $badge-height: 22px !default;
46
+ $collapsible-line-height: $collapsible-height !default;
47
+ $navbar-line-height: $navbar-height !default;
48
+ $navbar-line-height-mobile: $navbar-height-mobile !default;
49
+ $sidenav-line-height: $sidenav-item-height !default;
50
+ $collection-line-height: 1.5rem !default;"
46
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Plüss
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-02-03 00:00:00.000000000 Z
13
+ date: 2017-03-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -287,11 +287,22 @@ homepage: https://github.com/at-point/mtl
287
287
  licenses:
288
288
  - MIT
289
289
  metadata: {}
290
- post_install_message: "\n Some component have been extend with configuration variables,
291
- don't forget to re-generate the scss configuration or\n add the following values
292
- to your existing one:\n\n $chip-height: 32px !default;\n $chip-line-height:
293
- 32px !default;\n $chip-font-size: 13px !default;\n $chip-font-weight:
294
- 500 !default;\n $chip-border-radius: 16px !default;\n "
290
+ post_install_message: |2-
291
+
292
+ Some component have been extend with configuration variables, don't forget to re-generate the scss configuration or
293
+ add the following values to your existing one:
294
+
295
+ $chip-height: 32px !default;
296
+ $chip-line-height: 32px !default;
297
+ $chip-font-size: 13px !default;
298
+ $chip-font-weight: 500 !default;
299
+ $chip-border-radius: 16px !default;
300
+ $badge-height: 22px !default;
301
+ $collapsible-line-height: $collapsible-height !default;
302
+ $navbar-line-height: $navbar-height !default;
303
+ $navbar-line-height-mobile: $navbar-height-mobile !default;
304
+ $sidenav-line-height: $sidenav-item-height !default;
305
+ $collection-line-height: 1.5rem !default;
295
306
  rdoc_options: []
296
307
  require_paths:
297
308
  - lib