mtl 1.1.6 → 1.1.7

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: 03fe425640745714bee600ab6029daef85350f15
4
- data.tar.gz: 8699ec5bc0a159a16fe0358b3041ed0a2750a7bb
3
+ metadata.gz: 57e2dac26b6a58590625382a0750e9646596b36d
4
+ data.tar.gz: f3f2731e287f7e1e5c367c46a0938646b3a9cced
5
5
  SHA512:
6
- metadata.gz: 4873992479a039aaa2047b357c298c7883bda19bff390ea52e2bab434ae839469a897e48cb5c8282c2e76fac81b7501bb5fd7d52b83b8edd5e66d62a66a65392
7
- data.tar.gz: 376c1f9fcede1176a4db5bfbbbad87ae6a3798598c26a75ce0021dba96fb203fa90bef315444851b84bf5ad71545369eaf1cfc171b49d7d93ee3ff46f1eb1916
6
+ metadata.gz: f9f982819c9477dd8f28331e61dc3864aaf7702bb56faba6f1d739fb302b03d3e2dd7fbf80e43b311d4960cf41e6e9548398d9cf3a8e932f8af655bbb4fe44d1
7
+ data.tar.gz: 641de61f49159ce2bf49df996b57b85892cf8d2de627b363b24314730b7e9960f28256bc9d9fbff0f7d895b29bada4605e067895295650d6311b728decbed7c2
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2016 at-point ag (Baar, Switzerland) https://at-point.ch
1
+ Copyright (c) 2016 at-point ag (Baar, Switzerland) https://atpoint.ch
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![Build Status](https://travis-ci.org/at-point/mtl.svg?branch=master)](https://travis-ci.org/at-point/mtl)
6
6
 
7
- Welcome to **MTL: Materializer**, this is a Rails gem we use at [at-point](https://at-point.ch)
7
+ Welcome to **MTL: Materializer**, this is a Rails gem we use at [atpoint](https://atpoint.ch)
8
8
  to simplify UI designs for back-office heavy applications by leveraging the following
9
9
  tools:
10
10
 
@@ -93,7 +93,7 @@ code of conduct.
93
93
 
94
94
  ### License
95
95
 
96
- [MIT License][license]. Copyright 2016 at-point ag. https://at-point.ch
96
+ [MIT License][license]. Copyright 2016 at-point ag. https://atpoint.ch
97
97
 
98
98
  [materialize]: http://materializecss.com/
99
99
  [icons]: https://design.google.com/icons/
@@ -1,4 +1,4 @@
1
- IMAGE_EXTENSIONS = ['png', 'jpg', 'gif', 'bmp']
1
+ IMAGE_EXTENSIONS = ['png', 'jpg', 'gif', 'bmp', 'jpeg']
2
2
  MTL.templates.document_modal = """
3
3
  <div class="document-modal">
4
4
  <div class="document-modal-dimmer" data-mtl-document-modal="close"></div>
@@ -10,5 +10,6 @@ if Turbolinks? then $(document).on('turbolinks:load', initMtlHooks) else $(initM
10
10
  # Things to run only once via on('ready') and need to be re-run in turbolinks
11
11
  $ ->
12
12
  $(document).on 'turbolinks:load', ->
13
+ $('.tooltipped').tooltip()
13
14
  Materialize.updateTextFields()
14
15
  Waves.displayEffect()
@@ -43,6 +43,7 @@
43
43
  @import 'materialize/forms/forms';
44
44
  @import './extend/forms';
45
45
  @import './extend/forms/input-fields';
46
+ @import './extend/tabs';
46
47
  @import 'materialize/table_of_contents';
47
48
  @import './extend/toc';
48
49
 
@@ -15,9 +15,9 @@
15
15
  }
16
16
 
17
17
  .close {
18
- font-size: calc($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: calc($chip-font-size + 3px) / 2;
21
+ padding-left: calc(#{$chip-font-size} + 3px) / 2;
22
22
  }
23
23
  }
@@ -0,0 +1,8 @@
1
+ .tabs .tab a {
2
+ color: $tabs-text-color-not-active;
3
+
4
+ &:hover,
5
+ &.active {
6
+ color: $tabs-text-color;
7
+ }
8
+ }
@@ -249,6 +249,7 @@ $spinner-default-color: $secondary-color !default;
249
249
 
250
250
  $tabs-underline-color: $primary-color-light !default;
251
251
  $tabs-text-color: $primary-color !default;
252
+ $tabs-text-color-not-active: $primary-color !default;
252
253
  $tabs-bg-color: #fff !default;
253
254
 
254
255
 
data/lib/mtl/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Mtl
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.7'.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
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'mtl'
9
9
  spec.version = Mtl::VERSION
10
10
  spec.authors = ['Marco Plüss', 'Lukas Westermann', 'Loris Gavillet']
11
- spec.email = ['marco@at-point.ch', 'lukas@at-point.ch', 'loris@at-point.ch']
11
+ spec.email = ['marco@atpoint.ch', 'loris@atpoint.ch']
12
12
 
13
13
  spec.summary = 'Rails gem to package materialize-css for reuse between projects.'
14
14
  spec.description = 'Reusable components and Rails helpers on top of materialize-css ' \
@@ -48,5 +48,6 @@ Gem::Specification.new do |spec|
48
48
  $navbar-line-height: $navbar-height !default;
49
49
  $navbar-line-height-mobile: $navbar-height-mobile !default;
50
50
  $sidenav-line-height: $sidenav-item-height !default;
51
- $collection-line-height: 1.5rem !default;"
51
+ $collection-line-height: 1.5rem !default;
52
+ $tabs-text-color-not-active: $primary-color !default;"
52
53
  end
@@ -256,6 +256,7 @@ $spinner-default-color: $secondary-color !default;
256
256
 
257
257
  $tabs-underline-color: $primary-color-light !default;
258
258
  $tabs-text-color: $primary-color !default;
259
+ $tabs-text-color-not-active: $primary-color !default;
259
260
  $tabs-bg-color: #fff !default;
260
261
 
261
262
 
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.6
4
+ version: 1.1.7
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-04-27 00:00:00.000000000 Z
13
+ date: 2017-07-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -118,9 +118,8 @@ dependencies:
118
118
  version: '3.3'
119
119
  description: Reusable components and Rails helpers on top of materialize-css and material-design-icons.
120
120
  email:
121
- - marco@at-point.ch
122
- - lukas@at-point.ch
123
- - loris@at-point.ch
121
+ - marco@atpoint.ch
122
+ - loris@atpoint.ch
124
123
  executables: []
125
124
  extensions: []
126
125
  extra_rdoc_files: []
@@ -158,6 +157,7 @@ files:
158
157
  - app/assets/stylesheets/mtl/extend/_navbar.scss
159
158
  - app/assets/stylesheets/mtl/extend/_roboto-rails.scss
160
159
  - app/assets/stylesheets/mtl/extend/_side-nav.scss
160
+ - app/assets/stylesheets/mtl/extend/_tabs.scss
161
161
  - app/assets/stylesheets/mtl/extend/_toc.scss
162
162
  - app/assets/stylesheets/mtl/extend/_typography.scss
163
163
  - app/assets/stylesheets/mtl/extend/forms/_input-fields.scss
@@ -307,6 +307,7 @@ post_install_message: |2-
307
307
  $navbar-line-height-mobile: $navbar-height-mobile !default;
308
308
  $sidenav-line-height: $sidenav-item-height !default;
309
309
  $collection-line-height: 1.5rem !default;
310
+ $tabs-text-color-not-active: $primary-color !default;
310
311
  rdoc_options: []
311
312
  require_paths:
312
313
  - lib