blueberry_rails 0.4.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +5 -5
  2. data/.circleci/config.yml +47 -0
  3. data/.eslintrc +21 -0
  4. data/.hound.yml +0 -3
  5. data/.rubocop.yml +22 -13
  6. data/.ruby-version +1 -1
  7. data/README.md +1 -53
  8. data/blueberry_rails.gemspec +2 -2
  9. data/lib/blueberry_rails/app_builder.rb +45 -74
  10. data/lib/blueberry_rails/generators/app_generator.rb +21 -25
  11. data/lib/blueberry_rails/version.rb +3 -3
  12. data/spec/blueberry_rails_spec.rb +7 -23
  13. data/templates/Gemfile_custom.erb +24 -39
  14. data/templates/Procfile +1 -0
  15. data/templates/app.json.erb +2 -2
  16. data/templates/circle.yml.erb +68 -10
  17. data/templates/config/initializers/translation_engine.rb +1 -1
  18. data/templates/gitignore_custom.erb +7 -5
  19. data/templates/puma.rb +2 -3
  20. data/templates/spec/controllers/root_controller_spec.rb +2 -4
  21. data/templates/spec/drivers.rb +16 -0
  22. data/templates/spec/factories/administrators.rb +2 -2
  23. data/templates/spec/factories/users.rb +2 -2
  24. data/templates/spec/factories_spec.rb +3 -3
  25. data/templates/spec/factory_bot_syntax.rb +3 -0
  26. data/templates/spec/spec_helper.rb +0 -7
  27. data/templates/views/layouts/admin.html.slim.erb +3 -3
  28. data/templates/views/layouts/application.html.slim.erb +3 -3
  29. data/templates/views/layouts/mailer.html.slim.erb +7 -0
  30. metadata +13 -68
  31. data/circle.yml +0 -5
  32. data/templates/admin_assets/javascripts/admin.coffee +0 -6
  33. data/templates/admin_assets/javascripts/admin/.keep +0 -0
  34. data/templates/admin_assets/stylesheets/admin.sass +0 -4
  35. data/templates/admin_assets/stylesheets/admin/.keep +0 -0
  36. data/templates/assets/icons/_font_icons.scss +0 -18
  37. data/templates/assets/images/blueberry-logo.png +0 -0
  38. data/templates/assets/javascripts/application.coffee +0 -6
  39. data/templates/assets/javascripts/common/.keep +0 -0
  40. data/templates/assets/javascripts/frontend/.keep +0 -0
  41. data/templates/assets/stylesheets/application.sass +0 -9
  42. data/templates/assets/stylesheets/frontend/base/buttons.sass +0 -3
  43. data/templates/assets/stylesheets/frontend/base/typo.sass +0 -3
  44. data/templates/assets/stylesheets/frontend/common/bootstrap-ms.sass +0 -128
  45. data/templates/assets/stylesheets/frontend/common/bootstrap-override.sass +0 -3
  46. data/templates/assets/stylesheets/frontend/common/bootstrap.sass +0 -50
  47. data/templates/assets/stylesheets/frontend/common/variables.sass +0 -37
  48. data/templates/assets/stylesheets/frontend/components/.keep +0 -0
  49. data/templates/assets/stylesheets/frontend/components/blocks.sass +0 -19
  50. data/templates/assets/stylesheets/frontend/components/navbar.sass +0 -0
  51. data/templates/assets/stylesheets/frontend/layout/body.sass +0 -3
  52. data/templates/assets/stylesheets/frontend/layout/footer.sass +0 -3
  53. data/templates/assets/stylesheets/frontend/layout/header.sass +0 -3
  54. data/templates/assets/stylesheets/frontend/pages/.keep +0 -0
  55. data/templates/assets/stylesheets/frontend/third-party/includes.sass +0 -1
  56. data/templates/assets/stylesheets/frontend/utils/functions.sass +0 -23
  57. data/templates/assets/stylesheets/frontend/utils/make-columns.sass +0 -67
  58. data/templates/assets/stylesheets/frontend/utils/mixins.sass +0 -29
  59. data/templates/assets/stylesheets/frontend/utils/render-to.sass +0 -66
  60. data/templates/assets/stylesheets/frontend/utils/renderto-debug.sass +0 -22
  61. data/templates/gulp/application.js.coffee +0 -11
  62. data/templates/gulp/application.sass +0 -10
  63. data/templates/gulp/config.coffee +0 -47
  64. data/templates/gulp/global.coffee +0 -3
  65. data/templates/gulp/global.sass +0 -8
  66. data/templates/gulp/gulp_helper.rb +0 -16
  67. data/templates/gulp/gulpfile.js +0 -20
  68. data/templates/gulp/message.coffee +0 -1
  69. data/templates/gulp/package.json +0 -53
  70. data/templates/gulp/rev_manifest.rb +0 -5
  71. data/templates/gulp/tasks/browserSync.coffee +0 -6
  72. data/templates/gulp/tasks/browserify.coffee +0 -50
  73. data/templates/gulp/tasks/build.coffee +0 -25
  74. data/templates/gulp/tasks/clean.coffee +0 -6
  75. data/templates/gulp/tasks/default.coffee +0 -3
  76. data/templates/gulp/tasks/fontIcons/generateIconSass.coffee +0 -23
  77. data/templates/gulp/tasks/fontIcons/index.coffee +0 -9
  78. data/templates/gulp/tasks/fontIcons/template.sass +0 -33
  79. data/templates/gulp/tasks/images.coffee +0 -12
  80. data/templates/gulp/tasks/rev/index.coffee +0 -12
  81. data/templates/gulp/tasks/rev/rev-assets.coffee +0 -11
  82. data/templates/gulp/tasks/rev/rev-font-workaround.coffee +0 -49
  83. data/templates/gulp/tasks/sass.coffee +0 -24
  84. data/templates/gulp/tasks/watch.coffee +0 -14
  85. data/templates/gulp/tasks/watchify.coffee +0 -6
  86. data/templates/gulp/util/bundleLogger.coffee +0 -23
  87. data/templates/gulp/util/handleErrors.coffee +0 -11
  88. data/templates/secret_token.rb.erb +0 -18
  89. data/templates/spec/factory_girl_syntax.rb +0 -3
  90. data/templates/tasks/icons.rake +0 -19
@@ -1,6 +1,6 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :administrator do
3
3
  sequence(:email) { |n| "joe#{n}@example.com" }
4
- password 'joesthebest'
4
+ password { 'joesthebest' }
5
5
  end
6
6
  end
@@ -1,6 +1,6 @@
1
- FactoryGirl.define do
1
+ FactoryBot.define do
2
2
  factory :user do
3
3
  sequence(:email) { |n| "joe#{n}@example.com" }
4
- password 'joesthebest'
4
+ password { 'joesthebest' }
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
- require 'spec_helper'
1
+ require 'rails_helper'
2
2
 
3
- FactoryGirl.factories.map(&:name).each do |factory_name|
4
- describe "factory #{factory_name}" do
3
+ FactoryBot.factories.map(&:name).each do |factory_name|
4
+ RSpec.describe "factory #{factory_name}" do
5
5
  it 'is valid' do
6
6
  factory = build(factory_name)
7
7
 
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryBot::Syntax::Methods
3
+ end
@@ -6,7 +6,6 @@ ENV['RAILS_ENV'] = 'test'
6
6
  require File.expand_path('../../config/environment', __FILE__)
7
7
 
8
8
  require 'rspec/rails'
9
- require 'capybara/poltergeist'
10
9
 
11
10
  Dir[Rails.root.join('spec/support/**/*.rb')].each { |file| require file }
12
11
 
@@ -24,10 +23,4 @@ RSpec.configure do |config|
24
23
  config.include MailBodyHelpers, type: :mailer
25
24
  end
26
25
 
27
- Capybara.javascript_driver = :poltergeist
28
-
29
- Capybara.register_driver :poltergeist do |app|
30
- Capybara::Poltergeist::Driver.new(app, { js_errors: false, timeout: 15 })
31
- end
32
-
33
26
  WebMock.disable_net_connect!(allow_localhost: true, allow: 'codeclimate.com')
@@ -6,8 +6,8 @@ html
6
6
  separator: ' – '
7
7
  meta charset='utf-8'
8
8
  meta name='viewport' content='width=device-width, initial-scale=1.0'
9
- = render 'favicon'
10
- = stylesheet_link_tag :admin, media: 'all'
9
+ = render 'application/favicon'
10
+ = stylesheet_pack_tag 'admin'
11
11
  = csrf_meta_tags
12
12
 
13
13
  body class=body_class
@@ -21,5 +21,5 @@ html
21
21
  = render 'application/flashes'
22
22
  = yield
23
23
 
24
- = javascript_include_tag :admin
24
+ = javascript_pack_tag 'admin'
25
25
  = yield :javascript
@@ -8,8 +8,8 @@ html
8
8
  = meta_robots_tag
9
9
  meta charset='utf-8'
10
10
  meta name='viewport' content='width=device-width, initial-scale=1.0'
11
- = render 'favicon'
12
- = stylesheet_link_tag :application, media: 'all'
11
+ = render 'application/favicon'
12
+ = stylesheet_pack_tag 'application'
13
13
  = csrf_meta_tags
14
14
 
15
15
  body class=body_class
@@ -21,5 +21,5 @@ html
21
21
 
22
22
  = render 'footer'
23
23
 
24
- = javascript_include_tag :application
24
+ = javascript_pack_tag 'application'
25
25
  = yield :javascript
@@ -0,0 +1,7 @@
1
+ doctype html
2
+ html
3
+ head
4
+ meta http-equiv="Content-Type" content="text/html; charset=utf-8"
5
+
6
+ body
7
+ = yield
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blueberry_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BlueberryApps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2018-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '1.17'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '1.17'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 5.1.1
33
+ version: 5.2.1.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 5.1.1
40
+ version: 5.2.1.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -60,6 +60,8 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - ".circleci/config.yml"
64
+ - ".eslintrc"
63
65
  - ".gitignore"
64
66
  - ".hound.yml"
65
67
  - ".rubocop.yml"
@@ -70,7 +72,6 @@ files:
70
72
  - Rakefile
71
73
  - bin/blueberry_rails
72
74
  - blueberry_rails.gemspec
73
- - circle.yml
74
75
  - lib/blueberry_rails.rb
75
76
  - lib/blueberry_rails/action_helpers.rb
76
77
  - lib/blueberry_rails/app_builder.rb
@@ -81,41 +82,12 @@ files:
81
82
  - templates/Gemfile_custom.erb
82
83
  - templates/Procfile
83
84
  - templates/README.md.erb
84
- - templates/admin_assets/javascripts/admin.coffee
85
- - templates/admin_assets/javascripts/admin/.keep
86
- - templates/admin_assets/stylesheets/admin.sass
87
- - templates/admin_assets/stylesheets/admin/.keep
88
85
  - templates/admin_controllers/base_controller.rb
89
86
  - templates/admin_controllers/dashboard_controller.rb
90
87
  - templates/admin_views/dashboard/show.html.slim
91
88
  - templates/admin_views/partials/_nav_left.html.slim
92
89
  - templates/admin_views/partials/_nav_top.html.slim
93
90
  - templates/app.json.erb
94
- - templates/assets/icons/_font_icons.scss
95
- - templates/assets/images/blueberry-logo.png
96
- - templates/assets/javascripts/application.coffee
97
- - templates/assets/javascripts/common/.keep
98
- - templates/assets/javascripts/frontend/.keep
99
- - templates/assets/stylesheets/application.sass
100
- - templates/assets/stylesheets/frontend/base/buttons.sass
101
- - templates/assets/stylesheets/frontend/base/typo.sass
102
- - templates/assets/stylesheets/frontend/common/bootstrap-ms.sass
103
- - templates/assets/stylesheets/frontend/common/bootstrap-override.sass
104
- - templates/assets/stylesheets/frontend/common/bootstrap.sass
105
- - templates/assets/stylesheets/frontend/common/variables.sass
106
- - templates/assets/stylesheets/frontend/components/.keep
107
- - templates/assets/stylesheets/frontend/components/blocks.sass
108
- - templates/assets/stylesheets/frontend/components/navbar.sass
109
- - templates/assets/stylesheets/frontend/layout/body.sass
110
- - templates/assets/stylesheets/frontend/layout/footer.sass
111
- - templates/assets/stylesheets/frontend/layout/header.sass
112
- - templates/assets/stylesheets/frontend/pages/.keep
113
- - templates/assets/stylesheets/frontend/third-party/includes.sass
114
- - templates/assets/stylesheets/frontend/utils/functions.sass
115
- - templates/assets/stylesheets/frontend/utils/make-columns.sass
116
- - templates/assets/stylesheets/frontend/utils/mixins.sass
117
- - templates/assets/stylesheets/frontend/utils/render-to.sass
118
- - templates/assets/stylesheets/frontend/utils/renderto-debug.sass
119
91
  - templates/circle.yml.erb
120
92
  - templates/config/initializers/airbrake.rb
121
93
  - templates/config/initializers/plurals.rb
@@ -125,33 +97,6 @@ files:
125
97
  - templates/database.yml.erb
126
98
  - templates/fontcustom.yml
127
99
  - templates/gitignore_custom.erb
128
- - templates/gulp/application.js.coffee
129
- - templates/gulp/application.sass
130
- - templates/gulp/config.coffee
131
- - templates/gulp/global.coffee
132
- - templates/gulp/global.sass
133
- - templates/gulp/gulp_helper.rb
134
- - templates/gulp/gulpfile.js
135
- - templates/gulp/message.coffee
136
- - templates/gulp/package.json
137
- - templates/gulp/rev_manifest.rb
138
- - templates/gulp/tasks/browserSync.coffee
139
- - templates/gulp/tasks/browserify.coffee
140
- - templates/gulp/tasks/build.coffee
141
- - templates/gulp/tasks/clean.coffee
142
- - templates/gulp/tasks/default.coffee
143
- - templates/gulp/tasks/fontIcons/generateIconSass.coffee
144
- - templates/gulp/tasks/fontIcons/index.coffee
145
- - templates/gulp/tasks/fontIcons/template.sass
146
- - templates/gulp/tasks/images.coffee
147
- - templates/gulp/tasks/rev/index.coffee
148
- - templates/gulp/tasks/rev/rev-assets.coffee
149
- - templates/gulp/tasks/rev/rev-font-workaround.coffee
150
- - templates/gulp/tasks/sass.coffee
151
- - templates/gulp/tasks/watch.coffee
152
- - templates/gulp/tasks/watchify.coffee
153
- - templates/gulp/util/bundleLogger.coffee
154
- - templates/gulp/util/handleErrors.coffee
155
100
  - templates/helpers/admin_helper.rb
156
101
  - templates/helpers/application_helper.rb
157
102
  - templates/locales/cs/cs.devise.yml
@@ -187,17 +132,16 @@ files:
187
132
  - templates/public/icons/ms-icon-310x310.png
188
133
  - templates/public/icons/ms-icon-70x70.png
189
134
  - templates/puma.rb
190
- - templates/secret_token.rb.erb
191
135
  - templates/setup
192
136
  - templates/spec/controllers/root_controller_spec.rb
193
137
  - templates/spec/database_cleaner_setup.rb
138
+ - templates/spec/drivers.rb
194
139
  - templates/spec/factories/administrators.rb
195
140
  - templates/spec/factories/users.rb
196
141
  - templates/spec/factories_spec.rb
197
- - templates/spec/factory_girl_syntax.rb
142
+ - templates/spec/factory_bot_syntax.rb
198
143
  - templates/spec/mail_body_helpers.rb
199
144
  - templates/spec/spec_helper.rb
200
- - templates/tasks/icons.rake
201
145
  - templates/tasks/images.rake
202
146
  - templates/views/application/_favicon.html.slim
203
147
  - templates/views/application/_flashes.html.slim
@@ -207,6 +151,7 @@ files:
207
151
  - templates/views/application/_navbar.html.slim
208
152
  - templates/views/layouts/admin.html.slim.erb
209
153
  - templates/views/layouts/application.html.slim.erb
154
+ - templates/views/layouts/mailer.html.slim.erb
210
155
  homepage: https://github.com/blueberryapps/blueberry_rails
211
156
  licenses:
212
157
  - MIT
@@ -219,7 +164,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
164
  requirements:
220
165
  - - ">="
221
166
  - !ruby/object:Gem::Version
222
- version: 1.9.2
167
+ version: 2.5.1
223
168
  required_rubygems_version: !ruby/object:Gem::Requirement
224
169
  requirements:
225
170
  - - ">="
@@ -227,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
172
  version: '0'
228
173
  requirements: []
229
174
  rubyforge_project:
230
- rubygems_version: 2.6.8
175
+ rubygems_version: 2.7.6
231
176
  signing_key:
232
177
  specification_version: 4
233
178
  summary: A Rails app template by BlueberryApps
data/circle.yml DELETED
@@ -1,5 +0,0 @@
1
- test:
2
- override:
3
- - bundle exec rake:
4
- parallel: true
5
- timeout: 1400
@@ -1,6 +0,0 @@
1
- #= require jquery
2
- #= require jquery-ujs
3
- #= require bootstrap-sass/bootstrap
4
-
5
- #= require_directory ./common
6
- #= require_directory ./admin
@@ -1,4 +0,0 @@
1
- $icon-font-path: 'bootstrap-sass/assets/fonts/bootstrap/'
2
-
3
- @import blueberry_admin
4
- // @import admin/**/*
@@ -1,18 +0,0 @@
1
- <%= font_face(url: "font-url", path: @font_path_alt) %>
2
-
3
- [data-icon]:before { content: attr(data-icon); }
4
-
5
- @mixin fontcustom {
6
- <%= glyph_properties %>
7
- }
8
-
9
- %fontcustom,
10
- [data-icon]:before,
11
- <%= glyph_selectors %> {
12
- <%= glyph_properties %>
13
- }
14
-
15
- <%= glyphs %>
16
-
17
- <% @glyphs.each do |name, value| %>
18
- $font-<%= font_name.gsub(/[^\w\d_]/, '-') %>-<%= name.to_s %>: "\<%= value[:codepoint].to_s(16) %>";<% end %>
@@ -1,6 +0,0 @@
1
- #= require jquery
2
- #= require jquery-ujs
3
- #= require bootstrap-sass/bootstrap
4
-
5
- #= require_directory ./common
6
- #= require_directory ./frontend
File without changes
@@ -1,9 +0,0 @@
1
- // import custom bootstrap
2
- @import frontend/common/bootstrap-override
3
-
4
- // import app stylesheets
5
- @import frontend/utils/**/*
6
- @import frontend/base/**/*
7
- @import frontend/layout/**/*
8
- @import frontend/components/**/*
9
- @import frontend/pages/**/*
@@ -1,3 +0,0 @@
1
- //
2
- // Buttons
3
- // -------------------------------
@@ -1,3 +0,0 @@
1
- //
2
- // Typo
3
- // -------------------------------
@@ -1,128 +0,0 @@
1
- // Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3.
2
- //
3
- // This is a hack to fill the gap between 480 and 767 pixels - a missing range
4
- // in the bootstrap responsive grid structure. Use these classes to style pages
5
- // on cellphones when they transition from portrait to landscape.
6
- //
7
- // Contains:
8
- // Columns, Offsets, Pushes, Pulls for the Mid-Small layout
9
- // Visibility classes for the Mid-Small layout
10
- // Redefined visibility classes for the Extra Small layout
11
- //
12
- // See https://github.com/twbs/bootstrap/issues/10203 for more info.
13
- // Original gist: https://gist.github.com/andyl/6360906
14
- //
15
- // Instructions: Add the following to the end of bootstrap.scss
16
- //
17
- // @import "bootstrap-ms"
18
- //
19
-
20
- // Mid-Small breakpoint
21
- $screen-ms: 480px !default
22
- $screen-ms-min: $screen-ms !default
23
- $screen-ms-max: $screen-sm-min - 1 !default
24
-
25
- // Redefined Extra Small max value (Can't override non-default variables in SASS)
26
- $screen-xs-max-new: $screen-ms-min - 1 !default
27
-
28
- // Common styles (see make-grid-columns() in bootstrap/mixins/_grid-framework.scss)
29
- .col-ms-1,
30
- .col-ms-2,
31
- .col-ms-3,
32
- .col-ms-4,
33
- .col-ms-5,
34
- .col-ms-6,
35
- .col-ms-7,
36
- .col-ms-8,
37
- .col-ms-9,
38
- .col-ms-10,
39
- .col-ms-11,
40
- .col-ms-12
41
- position: relative
42
- // Prevent columns from collapsing when empty
43
- min-height: 1px
44
- // Inner gutter via padding
45
- padding-left: $grid-gutter-width / 2
46
- padding-right: $grid-gutter-width / 2
47
-
48
- // Misc. class adjustments for col-ms
49
- @media (min-width: $screen-ms) and (max-width: $screen-ms-max)
50
- .container
51
- max-width: $screen-sm - 20px
52
- .hidden-xs
53
- display: block !important
54
-
55
- // col-ms grid
56
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
57
- +make-grid(xs)
58
-
59
- // Visibility utilities
60
- +responsive-invisibility(".visible-xs, .visible-ms")
61
-
62
- .visible-xs-block,
63
- .visible-xs-inline,
64
- .visible-xs-inline-block,
65
- .visible-ms-block,
66
- .visible-ms-inline,
67
- .visible-ms-inline-block
68
- display: none !important
69
-
70
- @media (max-width: $screen-xs-max-new)
71
- +responsive-visibility(".visible-xs")
72
-
73
- .visible-xs-block
74
- @media (max-width: $screen-xs-max-new)
75
- display: block !important
76
-
77
- .visible-xs-inline
78
- @media (max-width: $screen-xs-max-new)
79
- display: inline !important
80
-
81
- .visible-xs-inline-block
82
- @media (max-width: $screen-xs-max-new)
83
- display: inline-block !important
84
-
85
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
86
- +responsive-visibility(".visible-ms")
87
-
88
- .visible-ms-block
89
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
90
- display: block !important
91
-
92
- .visible-ms-inline
93
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
94
- display: inline !important
95
-
96
- .visible-ms-inline-block
97
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
98
- display: inline-block !important
99
-
100
- @media (max-width: $screen-xs-max-new)
101
- +responsive-invisibility(".hidden-xs")
102
-
103
- @media (min-width: $screen-ms-min) and (max-width: $screen-ms-max)
104
- +responsive-invisibility(".hidden-ms")
105
-
106
- // An extension of andyl's hack – https://gist.github.com/andyl/6360906
107
- // in a mixin version.
108
-
109
- =make-ms-column($columns, $gutter: $grid-gutter-width)
110
- position: relative
111
- min-height: 1px
112
- padding-left: $gutter / 2
113
- padding-right: $gutter / 2
114
- @media (min-width: $screen-ms-min)
115
- float: left
116
- width: percentage($columns / $grid-columns)
117
-
118
- =make-ms-column-offset($columns)
119
- @media (min-width: $screen-ms-min)
120
- margin-left: percentage($columns / $grid-columns)
121
-
122
- =make-ms-column-push($columns)
123
- @media (min-width: $screen-ms-min)
124
- left: percentage($columns / $grid-columns)
125
-
126
- =make-ms-column-pull($columns)
127
- @media (min-width: $screen-ms-min)
128
- right: percentage($columns / $grid-columns)