bootstrap_builders 0.0.40 → 0.0.41

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: e6a9caee37b5904b20fdd10b5c2784e8bdecfe7f
4
- data.tar.gz: f32bca9b5a7bdbdc803892b357796a6ac3c1ee30
3
+ metadata.gz: 0a67592a456394294f549df3c73e2bfb81bf8ac6
4
+ data.tar.gz: bf7fe9daf47196b2e2fd897d1d46e6a39748684c
5
5
  SHA512:
6
- metadata.gz: 027c00619ff52112a56c55d5eeab5c9e833f5b109fb250cae3103ed4d0a5c3b7ac94208e9c8460d521772c323bfa42f26eb0db8df7a381995608f36a2228e7c0
7
- data.tar.gz: 3b04e5778a3f48293b3c06204bc0f45354bcd88fa9e86c1e2d9fc9416d47497e5916d48259f5a47765af27e873e8cad0b5368527ad7c5e1f5c8ebfc46e16fd2c
6
+ metadata.gz: 1714f143399826ddfe11ecdac9a04cff37c7cb0edfec4175052cfc09f241ead7b32d4dac832f1820e86660ae943b2f4c119dc9e436a95c7d8e099b921c31c72c
7
+ data.tar.gz: c160c621257a529e4668e693228cd0ab8527e90b0110875140f81caa95b5425e1bc44682946eb387c394b7fa1128641800468ddd47871c6bbedb1f3f1b86f9aa
data/README.md CHANGED
@@ -149,6 +149,16 @@ Use responsive mixins to only apply certain CSS rules on specific sizes, below o
149
149
  @include bb-when-lg() { ... }
150
150
  ```
151
151
 
152
+ ### Responsive classes
153
+
154
+ ```scss
155
+ .text-align-left-xs
156
+ .text-align-right-sm-up
157
+ .text-align-center-md-down
158
+ ```
159
+
160
+ And so on...
161
+
152
162
  ### Tabs
153
163
 
154
164
  ```haml
@@ -1,4 +1,5 @@
1
1
  @import "bootstrap_builders/bb-btn-responsive";
2
2
  @import "bootstrap_builders/bb-progress-bar";
3
- @import "bootstrap_builders/responsive-classes";
4
3
  @import "bootstrap_builders/responsive-mixins";
4
+ @import "bootstrap_builders/responsive-classes/hiddens";
5
+ @import "bootstrap_builders/responsive-classes/text-aligns";
@@ -0,0 +1,110 @@
1
+ // LEFT
2
+ @include bb-when-xs() {
3
+ .text-left-xs {
4
+ text-align: left;
5
+ }
6
+ }
7
+
8
+ @include bb-when-sm-up() {
9
+ .text-left-sm-up {
10
+ text-align: left;
11
+ }
12
+ }
13
+
14
+ @include bb-when-sm-down() {
15
+ .text-left-sm-down {
16
+ text-align: left;
17
+ }
18
+ }
19
+
20
+ @include bb-when-md-up() {
21
+ .text-left-md-up {
22
+ text-align: left;
23
+ }
24
+ }
25
+
26
+ @include bb-when-md-down() {
27
+ .text-left-md-down {
28
+ text-align: left;
29
+ }
30
+ }
31
+
32
+ @include bb-when-lg() {
33
+ .text-left-lg {
34
+ text-align: left;
35
+ }
36
+ }
37
+
38
+ // CENTER
39
+ @include bb-when-xs() {
40
+ .text-center-xs {
41
+ text-align: center;
42
+ }
43
+ }
44
+
45
+ @include bb-when-sm-up() {
46
+ .text-center-sm-up {
47
+ text-align: center;
48
+ }
49
+ }
50
+
51
+ @include bb-when-sm-down() {
52
+ .text-center-sm-down {
53
+ text-align: center;
54
+ }
55
+ }
56
+
57
+ @include bb-when-md-up() {
58
+ .text-center-md-up {
59
+ text-align: center;
60
+ }
61
+ }
62
+
63
+ @include bb-when-md-down() {
64
+ .text-center-md-down {
65
+ text-align: center;
66
+ }
67
+ }
68
+
69
+ @include bb-when-lg() {
70
+ .text-center-lg {
71
+ text-align: center;
72
+ }
73
+ }
74
+
75
+ // RIGHT
76
+ @include bb-when-xs() {
77
+ .text-right-xs {
78
+ text-align: right;
79
+ }
80
+ }
81
+
82
+ @include bb-when-sm-up() {
83
+ .text-right-sm-up {
84
+ text-align: right;
85
+ }
86
+ }
87
+
88
+ @include bb-when-sm-down() {
89
+ .text-right-sm-down {
90
+ text-align: right;
91
+ }
92
+ }
93
+
94
+ @include bb-when-md-up() {
95
+ .text-right-md-up {
96
+ text-align: right;
97
+ }
98
+ }
99
+
100
+ @include bb-when-md-down() {
101
+ .text-right-md-down {
102
+ text-align: right;
103
+ }
104
+ }
105
+
106
+ @include bb-when-lg() {
107
+ .text-right-lg {
108
+ text-align: right;
109
+ }
110
+ }
@@ -1,3 +1,3 @@
1
1
  module BootstrapBuilders
2
- VERSION = "0.0.40".freeze
2
+ VERSION = "0.0.41".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: 0.0.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -59,7 +59,8 @@ files:
59
59
  - app/assets/stylesheets/bootstrap_builders/bb-btn-responsive.scss
60
60
  - app/assets/stylesheets/bootstrap_builders/bb-progress-bar.scss
61
61
  - app/assets/stylesheets/bootstrap_builders/bootstrap-variables.scss
62
- - app/assets/stylesheets/bootstrap_builders/responsive-classes.scss
62
+ - app/assets/stylesheets/bootstrap_builders/responsive-classes/hiddens.scss
63
+ - app/assets/stylesheets/bootstrap_builders/responsive-classes/text-aligns.scss
63
64
  - app/assets/stylesheets/bootstrap_builders/responsive-mixins.scss
64
65
  - app/controllers/bootstrap_builders/application_controller.rb
65
66
  - app/controllers/bootstrap_builders/responsive_elements_controller.rb