bootstrap_builders 1.0.3 → 1.0.4

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: 6ea5c97a15186b3a8689926d50972efe3bbfaa74
4
- data.tar.gz: 11ef24adfb32049a2d978537bbbe3e714c5113d4
3
+ metadata.gz: ebba8b9b4b83d3720ef2ac45eba241e7f09d5a4e
4
+ data.tar.gz: b9c58fedd847f6c22c268c6b99ffaf75e2ec1e4f
5
5
  SHA512:
6
- metadata.gz: 67a400c6bf1c92ae1a36b12956965b1ff236efa0b4fe9e361bc67a122e503ce61966696e28da84317bcb4cf1dde291ba6abe2d89d3848266c2e74d8f74a96bf2
7
- data.tar.gz: f68d95c4304f4152854249ac2ffc57604d0e34986209bec4c0b86f00d56f41d32449c55ea6fe95e7cd899e677ce982c08a34e496d788c03599c15503d4240688
6
+ metadata.gz: b78404a58e8ca7580402148d6e111c58fe755c096da3d4fbd1914a54fdac70db02cc703d5014ec57669eb9ad851a967441b6ea33be9936c870e9cc200cd6f6fa
7
+ data.tar.gz: 94b9e1d92328276573f3b02d21375404e220b176fd5895f1aa56a7a0b56e8e2c47b47cbac50265e6c42c4798c7f747c7093c7fa0cf68e588abfff20a394105e9
data/README.md CHANGED
@@ -21,9 +21,15 @@ Then add to your `application.js`:
21
21
  //= require bootstrap_builders
22
22
  ```
23
23
 
24
- Then add to your `application.css`:
24
+ Then add to your `application.scss`:
25
+ ```scss´
26
+ @import "bootstrap_builders";
27
+ ```
28
+
29
+ Or if you haven't loaded Bootstrap through SCSS:
25
30
  ```scss
26
- //= require bootstrap_builders
31
+ @import "bootstrap_builders/bootstrap-variables";
32
+ @import "bootstrap_builders";
27
33
  ```
28
34
 
29
35
  ## Usage
@@ -40,6 +40,8 @@ function loadActiveAjaxTabOnPageLoad() {
40
40
  }
41
41
 
42
42
  $(document).ready(function() {
43
+ loadActiveAjaxTabOnPageLoad()
44
+
43
45
  // Changes the tab on 'back' and 'forward' events
44
46
  $(window).bind("popstate", function(e) {
45
47
  if (e.originalEvent.state && e.originalEvent.state.event == "bb-tab-change") {
@@ -113,4 +113,10 @@
113
113
  color: #333;
114
114
  background-color: #fff;
115
115
  border-color: #ccc;
116
+
117
+ &:hover {
118
+ color: #333;
119
+ background-color: #e6e6e6;
120
+ border-color: #adadad;
121
+ }
116
122
  }
@@ -116,7 +116,7 @@ private
116
116
  end
117
117
 
118
118
  def container_classes
119
- classes = ["card", "bb-panel", "mb-1"]
119
+ classes = ["card", "bb-panel"]
120
120
 
121
121
  if @class.is_a?(String)
122
122
  classes += @class.split(/\s+/)
@@ -1,3 +1,3 @@
1
1
  module BootstrapBuilders
2
- VERSION = "1.0.3".freeze
2
+ VERSION = "1.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_builders
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-03 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html_gen