tabler-rubygem 0.1.3 → 0.1.4
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 +4 -4
- data/README.md +21 -2
- data/assets/stylesheets/_tabler.icons.scss +3 -0
- data/assets/stylesheets/_tabler.scss +0 -3
- data/assets/stylesheets/tabler/{_browser.scss → icons/_browser.scss} +0 -0
- data/assets/stylesheets/tabler/{_flag.scss → icons/_flag.scss} +0 -0
- data/assets/stylesheets/tabler/{_payments.scss → icons/_payments.scss} +0 -0
- data/lib/tabler/rubygem/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d5b08151ddc90eb25da874712b7b59992962c231fcc2fd6103c71d86b09530ee
|
|
4
|
+
data.tar.gz: 8bcda6dc6c6a332885c0f1664ef9ffd3ba1d578b5eb8ae85659f0f742deb753a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1001f8e4ed774935292e4a9b2741b0ae14018fd5169e4f739068f69e09da8ac60c2171b218b601c05b9d1edc2999a10a093688b0ce5fdacd9532a0e0daa56de5
|
|
7
|
+
data.tar.gz: ef15e3b2e3ac0848ac6729af0825b6f4f3c12f3ec0b1a9222b10e44cf7f4d2e568c7c7f0ccf2e0ec81ee199fd2d5079ff5af15c92d9ed447dc9a2f4565bce131
|
data/README.md
CHANGED
|
@@ -13,6 +13,14 @@ Please see the appropriate guide for your environment of choice:
|
|
|
13
13
|
|
|
14
14
|
### a. Ruby on Rails
|
|
15
15
|
|
|
16
|
+
------------------------
|
|
17
|
+
|
|
18
|
+
**v0.1.4 BREAKING CHANGE:**
|
|
19
|
+
|
|
20
|
+
Icons are no longer included by default. Instead, you can include all the icon sets or the specific icon sets you want (either browser, flag, and/or payments). Read below for more info on how to do this.
|
|
21
|
+
|
|
22
|
+
------------
|
|
23
|
+
|
|
16
24
|
Add `bootstrap` and `tabler-rubygem` to your Gemfile:
|
|
17
25
|
|
|
18
26
|
```ruby
|
|
@@ -24,14 +32,15 @@ Ensure that `sprockets-rails` is at least v2.3.2.
|
|
|
24
32
|
|
|
25
33
|
`bundle install` and restart your server to make the files available through the pipeline.
|
|
26
34
|
|
|
27
|
-
Import Tabler styles and optionally Tabler Plugin styles in `app/assets/stylesheets/application.scss`:
|
|
35
|
+
Import Tabler styles and optionally Tabler Plugin styles and icons in `app/assets/stylesheets/application.scss`:
|
|
28
36
|
|
|
29
37
|
```scss
|
|
30
38
|
// Custom tabler variables must be set or imported *before* bootstrap and tabler.
|
|
31
39
|
@import "tabler/variables";
|
|
32
40
|
@import "bootstrap";
|
|
33
41
|
@import "tabler";
|
|
34
|
-
@import "tabler.plugins";
|
|
42
|
+
@import "tabler.plugins"; // optional
|
|
43
|
+
@import "tabler.icons"; // optional includes [browser, flag, payments]
|
|
35
44
|
```
|
|
36
45
|
|
|
37
46
|
The available variables can be found [here][tabler-variables.scss].
|
|
@@ -47,6 +56,16 @@ You can also choose to include plugin css on a per-plugin basis, for example:
|
|
|
47
56
|
@import "tabler/plugins/charts-c3/plugin.scss";
|
|
48
57
|
```
|
|
49
58
|
|
|
59
|
+
or include icons css per type, for example:
|
|
60
|
+
|
|
61
|
+
```scss
|
|
62
|
+
// Custom tabler variables must be set or imported *before* tabler.
|
|
63
|
+
@import "tabler/variables";
|
|
64
|
+
@import "bootstrap";
|
|
65
|
+
@import "tabler";
|
|
66
|
+
@import "tabler/icons/flag";
|
|
67
|
+
```
|
|
68
|
+
|
|
50
69
|
Make sure the file has `.scss` extension (or `.sass` for Sass syntax). If you have just generated a new Rails app,
|
|
51
70
|
it may come with a `.css` file instead. If this file exists, it will be served instead of Sass, so rename it:
|
|
52
71
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tabler-rubygem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- lightyrs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: autoprefixer-rails
|
|
@@ -625,6 +625,7 @@ files:
|
|
|
625
625
|
- assets/javascripts/tabler/vendors/jquery.sparkline.min.js
|
|
626
626
|
- assets/javascripts/tabler/vendors/jquery.tablesorter.min.js
|
|
627
627
|
- assets/javascripts/tabler/vendors/selectize.min.js
|
|
628
|
+
- assets/stylesheets/_tabler.icons.scss
|
|
628
629
|
- assets/stylesheets/_tabler.plugins.scss
|
|
629
630
|
- assets/stylesheets/_tabler.scss
|
|
630
631
|
- assets/stylesheets/tabler/_alert.scss
|
|
@@ -632,7 +633,6 @@ files:
|
|
|
632
633
|
- assets/stylesheets/tabler/_avatar.scss
|
|
633
634
|
- assets/stylesheets/tabler/_badge.scss
|
|
634
635
|
- assets/stylesheets/tabler/_breadcrumb.scss
|
|
635
|
-
- assets/stylesheets/tabler/_browser.scss
|
|
636
636
|
- assets/stylesheets/tabler/_button.scss
|
|
637
637
|
- assets/stylesheets/tabler/_cards.scss
|
|
638
638
|
- assets/stylesheets/tabler/_carousel.scss
|
|
@@ -644,7 +644,6 @@ files:
|
|
|
644
644
|
- assets/stylesheets/tabler/_core.scss
|
|
645
645
|
- assets/stylesheets/tabler/_dropdown.scss
|
|
646
646
|
- assets/stylesheets/tabler/_example.scss
|
|
647
|
-
- assets/stylesheets/tabler/_flag.scss
|
|
648
647
|
- assets/stylesheets/tabler/_footer.scss
|
|
649
648
|
- assets/stylesheets/tabler/_form.scss
|
|
650
649
|
- assets/stylesheets/tabler/_functions.scss
|
|
@@ -662,7 +661,6 @@ files:
|
|
|
662
661
|
- assets/stylesheets/tabler/_media.scss
|
|
663
662
|
- assets/stylesheets/tabler/_nav.scss
|
|
664
663
|
- assets/stylesheets/tabler/_pagination.scss
|
|
665
|
-
- assets/stylesheets/tabler/_payments.scss
|
|
666
664
|
- assets/stylesheets/tabler/_popover.scss
|
|
667
665
|
- assets/stylesheets/tabler/_product.scss
|
|
668
666
|
- assets/stylesheets/tabler/_progress.scss
|
|
@@ -685,6 +683,9 @@ files:
|
|
|
685
683
|
- assets/stylesheets/tabler/forms/_custom-range.scss
|
|
686
684
|
- assets/stylesheets/tabler/forms/_custom-selectgroup.scss
|
|
687
685
|
- assets/stylesheets/tabler/forms/_custom-switch.scss
|
|
686
|
+
- assets/stylesheets/tabler/icons/_browser.scss
|
|
687
|
+
- assets/stylesheets/tabler/icons/_flag.scss
|
|
688
|
+
- assets/stylesheets/tabler/icons/_payments.scss
|
|
688
689
|
- assets/stylesheets/tabler/plugins/charts-c3/plugin.scss
|
|
689
690
|
- assets/stylesheets/tabler/plugins/fullcalendar/plugin.scss
|
|
690
691
|
- assets/stylesheets/tabler/plugins/iconfonts/plugin.scss
|