binco 2.0.1 → 3.0.1

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.
@@ -26,4 +26,3 @@ module Dummy
26
26
  # config.i18n.default_locale = :de
27
27
  end
28
28
  end
29
-
metadata CHANGED
@@ -1,14 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binco
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Camacho
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2018-04-23 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDYDCCAkigAwIBAgIBATANBgkqhkiG9w0BAQUFADA7MQ8wDQYDVQQDDAZ2aWN0
14
+ b3IxFDASBgoJkiaJk/IsZAEZFgRjb2RuMRIwEAYKCZImiZPyLGQBGRYCbXgwHhcN
15
+ MTUwMzIwMTkwMTA4WhcNMTYwMzE5MTkwMTA4WjA7MQ8wDQYDVQQDDAZ2aWN0b3Ix
16
+ FDASBgoJkiaJk/IsZAEZFgRjb2RuMRIwEAYKCZImiZPyLGQBGRYCbXgwggEiMA0G
17
+ CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDmdMzllrIGptczoKmPRuYk4C++SE0S
18
+ 6HI44pD7EBkto4NkpECUJZnaUYf7xTpm7t68O7GwGT+0Vrljpx2W1To42/MonU60
19
+ fbFbOR8HmOvbb2WQY55axC+utQ6oqITPaBLg6thFYbRPAQwsUBN0F0NqExlPpRL5
20
+ oSih3LUKzp4qVcimzWMzCXAu127mkPmG+M+Xo4pUUtG4uz9d67ujSG2LX9oxIteQ
21
+ Ibs2TMh1WXAKttwi1wVBGgQujoHgGrOTq1bX72/a2tfFeIXrAt5H3hYhF7pToWhN
22
+ OHJRalpyDui37p0EksEz+bFJ8KsUWjlxlOjioemsxxp0YIEjEHZR6/ZNAgMBAAGj
23
+ bzBtMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBTUBDel181sCLrY
24
+ 1ipjHl7bJ7vCijAZBgNVHREEEjAQgQ52aWN0b3JAY29kbi5teDAZBgNVHRIEEjAQ
25
+ gQ52aWN0b3JAY29kbi5teDANBgkqhkiG9w0BAQUFAAOCAQEABLmaFKUFaGnCO+uq
26
+ GMCQQRFBh7uJgJUndaAr8CheqaF0U+nJX2Xsggb1VCQDK6TNFVBdvIH+KSYJtu90
27
+ e6AKGdJKAqNetWKG4Wo9gycWcJdT5CzOWhXgwOi+O+8Z9p3j0pLkDMJTn0Li2+79
28
+ jb0AfMmll67rqqCq6Mmxx6rQQulE8CB1siuLzf6DfbrfrlGCe2Qy77pwFwqNoEPP
29
+ P/U4QAtdpmTbKreZ5f2TEXlF/kqXL79j2/ov8sd7B+aWNI3vEXKXiPALa+hupDWs
30
+ XdmvXYY6Fr9AHqSdbvphaVu+RqBpkBdGUQCcCZ73NjXSUwgJumx1p1A8e4NXrh1e
31
+ pYh0/Q==
32
+ -----END CERTIFICATE-----
33
+ date: 2017-10-02 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
14
36
  name: railties
@@ -16,90 +38,124 @@ dependencies:
16
38
  requirements:
17
39
  - - ">="
18
40
  - !ruby/object:Gem::Version
19
- version: 4.0.0
41
+ version: '3.2'
20
42
  - - "<"
21
43
  - !ruby/object:Gem::Version
22
- version: '6'
44
+ version: 5.2.x
23
45
  type: :runtime
24
46
  prerelease: false
25
47
  version_requirements: !ruby/object:Gem::Requirement
26
48
  requirements:
27
49
  - - ">="
28
50
  - !ruby/object:Gem::Version
29
- version: 4.0.0
51
+ version: '3.2'
30
52
  - - "<"
31
53
  - !ruby/object:Gem::Version
32
- version: '6'
54
+ version: 5.2.x
33
55
  - !ruby/object:Gem::Dependency
34
- name: bootstrap-datepicker-rails
56
+ name: bootstrap
35
57
  requirement: !ruby/object:Gem::Requirement
36
58
  requirements:
37
- - - ">="
59
+ - - '='
38
60
  - !ruby/object:Gem::Version
39
- version: '0'
61
+ version: 4.0.0.beta
40
62
  type: :runtime
41
63
  prerelease: false
42
64
  version_requirements: !ruby/object:Gem::Requirement
43
65
  requirements:
44
- - - ">="
66
+ - - '='
45
67
  - !ruby/object:Gem::Version
46
- version: '0'
68
+ version: 4.0.0.beta
69
+ - !ruby/object:Gem::Dependency
70
+ name: jquery-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 4.3.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 4.3.1
47
83
  - !ruby/object:Gem::Dependency
48
84
  name: select2-rails
49
85
  requirement: !ruby/object:Gem::Requirement
50
86
  requirements:
51
- - - ">="
87
+ - - "~>"
52
88
  - !ruby/object:Gem::Version
53
- version: '0'
89
+ version: '4.0'
54
90
  type: :runtime
55
91
  prerelease: false
56
92
  version_requirements: !ruby/object:Gem::Requirement
57
93
  requirements:
58
- - - ">="
94
+ - - "~>"
59
95
  - !ruby/object:Gem::Version
60
- version: '0'
96
+ version: '4.0'
61
97
  - !ruby/object:Gem::Dependency
62
98
  name: will_paginate
63
99
  requirement: !ruby/object:Gem::Requirement
64
100
  requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bootstrap-datepicker-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.6'
65
118
  - - ">="
66
119
  - !ruby/object:Gem::Version
67
- version: '0'
120
+ version: 1.6.0
68
121
  type: :runtime
69
122
  prerelease: false
70
123
  version_requirements: !ruby/object:Gem::Requirement
71
124
  requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '1.6'
72
128
  - - ">="
73
129
  - !ruby/object:Gem::Version
74
- version: '0'
130
+ version: 1.6.0
75
131
  - !ruby/object:Gem::Dependency
76
132
  name: activesupport
77
133
  requirement: !ruby/object:Gem::Requirement
78
134
  requirements:
79
- - - ">="
135
+ - - "~>"
80
136
  - !ruby/object:Gem::Version
81
- version: '0'
137
+ version: '5.0'
82
138
  type: :development
83
139
  prerelease: false
84
140
  version_requirements: !ruby/object:Gem::Requirement
85
141
  requirements:
86
- - - ">="
142
+ - - "~>"
87
143
  - !ruby/object:Gem::Version
88
- version: '0'
144
+ version: '5.0'
89
145
  - !ruby/object:Gem::Dependency
90
146
  name: sass-rails
91
147
  requirement: !ruby/object:Gem::Requirement
92
148
  requirements:
93
- - - ">="
149
+ - - "~>"
94
150
  - !ruby/object:Gem::Version
95
- version: '0'
151
+ version: '5.0'
96
152
  type: :development
97
153
  prerelease: false
98
154
  version_requirements: !ruby/object:Gem::Requirement
99
155
  requirements:
100
- - - ">="
156
+ - - "~>"
101
157
  - !ruby/object:Gem::Version
102
- version: '0'
158
+ version: '5.0'
103
159
  description: This Gems wraps the bootstrap-sass gem and adds a collection of helpers
104
160
  to help you integrate bootstrap into your Rails app.
105
161
  email:
@@ -115,12 +171,14 @@ files:
115
171
  - app/assets/javascripts/binco_namespace.js
116
172
  - app/assets/javascripts/bootstrap-data-confirm.coffee
117
173
  - app/assets/javascripts/select2-rails.coffee
174
+ - app/assets/stylesheets/_datepicker.scss
118
175
  - app/assets/stylesheets/binco.scss
119
176
  - app/helpers/binco/bootstrap_form_builder.rb
120
177
  - app/helpers/binco/breadcrumbs_helper.rb
121
178
  - app/helpers/binco/button_helper.rb
122
179
  - app/helpers/binco/button_link_helper.rb
123
180
  - app/helpers/binco/form_helper.rb
181
+ - app/helpers/binco/image_helper.rb
124
182
  - app/helpers/binco/materialize_form_builder.rb
125
183
  - app/helpers/binco/modal_helper.rb
126
184
  - app/helpers/binco/pagination_renderer.rb
@@ -130,7 +188,7 @@ files:
130
188
  - lib/binco/engine.rb
131
189
  - lib/binco/version.rb
132
190
  - lib/generators/binco/install/install_generator.rb
133
- - lib/generators/binco/install/templates/_bootstrap-overrides.scss
191
+ - lib/generators/binco/install/templates/_bootstrap_variables.scss
134
192
  - lib/generators/binco/install/templates/stylesheet.scss
135
193
  - test/binco_test.rb
136
194
  - test/dummy/Rakefile
@@ -191,37 +249,37 @@ signing_key:
191
249
  specification_version: 4
192
250
  summary: Bootstrap Sass for use in Ruby on Rails applications
193
251
  test_files:
194
- - test/dummy/app/controllers/application_controller.rb
195
- - test/dummy/app/views/layouts/application.html.erb
252
+ - test/binco_test.rb
196
253
  - test/dummy/app/assets/javascripts/application.js
197
254
  - test/dummy/app/assets/stylesheets/application.css
255
+ - test/dummy/app/controllers/application_controller.rb
198
256
  - test/dummy/app/helpers/application_helper.rb
199
- - test/dummy/bin/rake
200
- - test/dummy/bin/setup
257
+ - test/dummy/app/views/layouts/application.html.erb
201
258
  - test/dummy/bin/bundle
202
259
  - test/dummy/bin/rails
203
- - test/dummy/config/secrets.yml
204
- - test/dummy/config/routes.rb
205
- - test/dummy/config/locales/en.yml
206
- - test/dummy/config/environments/production.rb
207
- - test/dummy/config/environments/development.rb
208
- - test/dummy/config/environments/test.rb
209
- - test/dummy/config/environment.rb
260
+ - test/dummy/bin/rake
261
+ - test/dummy/bin/setup
210
262
  - test/dummy/config/application.rb
211
263
  - test/dummy/config/boot.rb
264
+ - test/dummy/config/environment.rb
265
+ - test/dummy/config/environments/development.rb
266
+ - test/dummy/config/environments/production.rb
267
+ - test/dummy/config/environments/test.rb
268
+ - test/dummy/config/initializers/assets.rb
212
269
  - test/dummy/config/initializers/backtrace_silencers.rb
213
- - test/dummy/config/initializers/mime_types.rb
270
+ - test/dummy/config/initializers/cookies_serializer.rb
214
271
  - test/dummy/config/initializers/filter_parameter_logging.rb
272
+ - test/dummy/config/initializers/inflections.rb
273
+ - test/dummy/config/initializers/mime_types.rb
215
274
  - test/dummy/config/initializers/session_store.rb
216
275
  - test/dummy/config/initializers/wrap_parameters.rb
217
- - test/dummy/config/initializers/assets.rb
218
- - test/dummy/config/initializers/cookies_serializer.rb
219
- - test/dummy/config/initializers/inflections.rb
276
+ - test/dummy/config/locales/en.yml
277
+ - test/dummy/config/routes.rb
278
+ - test/dummy/config/secrets.yml
220
279
  - test/dummy/config.ru
221
- - test/dummy/Rakefile
222
- - test/dummy/public/favicon.ico
280
+ - test/dummy/public/404.html
223
281
  - test/dummy/public/422.html
224
282
  - test/dummy/public/500.html
225
- - test/dummy/public/404.html
226
- - test/binco_test.rb
283
+ - test/dummy/public/favicon.ico
284
+ - test/dummy/Rakefile
227
285
  - test/test_helper.rb
@@ -1,867 +0,0 @@
1
- // Override Bootstrap variables here (defaults from bootstrap-sass v3.3.4):
2
-
3
- //
4
- // Variables
5
- // --------------------------------------------------
6
-
7
-
8
- //== Colors
9
- //
10
- //## Gray and brand colors for use across Bootstrap.
11
-
12
- // $gray-base: #000
13
- // $gray-darker: lighten($gray-base, 13.5%) // #222
14
- // $gray-dark: lighten($gray-base, 20%) // #333
15
- // $gray: lighten($gray-base, 33.5%) // #555
16
- // $gray-light: lighten($gray-base, 46.7%) // #777
17
- // $gray-lighter: lighten($gray-base, 93.5%) // #eee
18
-
19
- // $brand-primary: darken(#428bca, 6.5%) // #337ab7
20
- // $brand-success: #5cb85c
21
- // $brand-info: #5bc0de
22
- // $brand-warning: #f0ad4e
23
- // $brand-danger: #d9534f
24
-
25
-
26
- //== Scaffolding
27
- //
28
- //## Settings for some of the most global styles.
29
-
30
- //** Background color for `<body>`.
31
- // $body-bg: #fff
32
- //** Global text color on `<body>`.
33
- // $text-color: $gray-dark
34
-
35
- //** Global textual link color.
36
- // $link-color: $brand-primary
37
- //** Link hover color set via `darken()` function.
38
- // $link-hover-color: darken($link-color, 15%)
39
- //** Link hover decoration.
40
- // $link-hover-decoration: underline
41
-
42
-
43
- //== Typography
44
- //
45
- //## Font, line-height, and color for body text, headings, and more.
46
-
47
- // $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif
48
- // $font-family-serif: Georgia, "Times New Roman", Times, serif
49
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
50
- // $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace
51
- // $font-family-base: $font-family-sans-serif
52
-
53
- // $font-size-base: 14px
54
- // $font-size-large: ceil(($font-size-base * 1.25)) // ~18px
55
- // $font-size-small: ceil(($font-size-base * 0.85)) // ~12px
56
-
57
- // $font-size-h1: floor(($font-size-base * 2.6)) // ~36px
58
- // $font-size-h2: floor(($font-size-base * 2.15)) // ~30px
59
- // $font-size-h3: ceil(($font-size-base * 1.7)) // ~24px
60
- // $font-size-h4: ceil(($font-size-base * 1.25)) // ~18px
61
- // $font-size-h5: $font-size-base
62
- // $font-size-h6: ceil(($font-size-base * 0.85)) // ~12px
63
-
64
- //** Unit-less `line-height` for use in components like buttons.
65
- // $line-height-base: 1.428571429 // 20/14
66
- //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
67
- // $line-height-computed: floor(($font-size-base * $line-height-base)) // ~20px
68
-
69
- //** By default, this inherits from the `<body>`.
70
- // $headings-font-family: inherit
71
- // $headings-font-weight: 500
72
- // $headings-line-height: 1.1
73
- // $headings-color: inherit
74
-
75
-
76
- //== Iconography
77
- //
78
- //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
79
-
80
- //** Load fonts from this directory.
81
-
82
- // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
83
- // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
84
- // $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/")
85
-
86
- //** File name for all font files.
87
- // $icon-font-name: "glyphicons-halflings-regular"
88
- //** Element ID within SVG icon file.
89
- // $icon-font-svg-id: "glyphicons_halflingsregular"
90
-
91
-
92
- //== Components
93
- //
94
- //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
95
-
96
- // $padding-base-vertical: 6px
97
- // $padding-base-horizontal: 12px
98
-
99
- // $padding-large-vertical: 10px
100
- // $padding-large-horizontal: 16px
101
-
102
- // $padding-small-vertical: 5px
103
- // $padding-small-horizontal: 10px
104
-
105
- // $padding-xs-vertical: 1px
106
- // $padding-xs-horizontal: 5px
107
-
108
- // $line-height-large: 1.3333333 // extra decimals for Win 8.1 Chrome
109
- // $line-height-small: 1.5
110
-
111
- // $border-radius-base: 4px
112
- // $border-radius-large: 6px
113
- // $border-radius-small: 3px
114
-
115
- //** Global color for active items (e.g., navs or dropdowns).
116
- // $component-active-color: #fff
117
- //** Global background color for active items (e.g., navs or dropdowns).
118
- // $component-active-bg: $brand-primary
119
-
120
- //** Width of the `border` for generating carets that indicator dropdowns.
121
- // $caret-width-base: 4px
122
- //** Carets increase slightly in size for larger components.
123
- // $caret-width-large: 5px
124
-
125
-
126
- //== Tables
127
- //
128
- //## Customizes the `.table` component with basic values, each used across all table variations.
129
-
130
- //** Padding for `<th>`s and `<td>`s.
131
- // $table-cell-padding: 8px
132
- //** Padding for cells in `.table-condensed`.
133
- // $table-condensed-cell-padding: 5px
134
-
135
- //** Default background color used for all tables.
136
- // $table-bg: transparent
137
- //** Background color used for `.table-striped`.
138
- // $table-bg-accent: #f9f9f9
139
- //** Background color used for `.table-hover`.
140
- // $table-bg-hover: #f5f5f5
141
- // $table-bg-active: $table-bg-hover
142
-
143
- //** Border color for table and cell borders.
144
- // $table-border-color: #ddd
145
-
146
-
147
- //== Buttons
148
- //
149
- //## For each of Bootstrap's buttons, define text, background and border color.
150
-
151
- // $btn-font-weight: normal
152
-
153
- // $btn-default-color: #333
154
- // $btn-default-bg: #fff
155
- // $btn-default-border: #ccc
156
-
157
- // $btn-primary-color: #fff
158
- // $btn-primary-bg: $brand-primary
159
- // $btn-primary-border: darken($btn-primary-bg, 5%)
160
-
161
- // $btn-success-color: #fff
162
- // $btn-success-bg: $brand-success
163
- // $btn-success-border: darken($btn-success-bg, 5%)
164
-
165
- // $btn-info-color: #fff
166
- // $btn-info-bg: $brand-info
167
- // $btn-info-border: darken($btn-info-bg, 5%)
168
-
169
- // $btn-warning-color: #fff
170
- // $btn-warning-bg: $brand-warning
171
- // $btn-warning-border: darken($btn-warning-bg, 5%)
172
-
173
- // $btn-danger-color: #fff
174
- // $btn-danger-bg: $brand-danger
175
- // $btn-danger-border: darken($btn-danger-bg, 5%)
176
-
177
- // $btn-link-disabled-color: $gray-light
178
-
179
-
180
- //== Forms
181
- //
182
- //##
183
-
184
- //** `<input>` background color
185
- // $input-bg: #fff
186
- //** `<input disabled>` background color
187
- // $input-bg-disabled: $gray-lighter
188
-
189
- //** Text color for `<input>`s
190
- // $input-color: $gray
191
- //** `<input>` border color
192
- // $input-border: #ccc
193
-
194
- // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
195
- //** Default `.form-control` border radius
196
- // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
197
- // $input-border-radius: $border-radius-base
198
- //** Large `.form-control` border radius
199
- // $input-border-radius-large: $border-radius-large
200
- //** Small `.form-control` border radius
201
- // $input-border-radius-small: $border-radius-small
202
-
203
- //** Border color for inputs on focus
204
- // $input-border-focus: #66afe9
205
-
206
- //** Placeholder text color
207
- // $input-color-placeholder: #999
208
-
209
- //** Default `.form-control` height
210
- // $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2)
211
- //** Large `.form-control` height
212
- // $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2)
213
- //** Small `.form-control` height
214
- // $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2)
215
-
216
- //** `.form-group` margin
217
- // $form-group-margin-bottom: 15px
218
-
219
- // $legend-color: $gray-dark
220
- // $legend-border-color: #e5e5e5
221
-
222
- //** Background color for textual input addons
223
- // $input-group-addon-bg: $gray-lighter
224
- //** Border color for textual input addons
225
- // $input-group-addon-border-color: $input-border
226
-
227
- //** Disabled cursor for form controls and buttons.
228
- // $cursor-disabled: not-allowed
229
-
230
-
231
- //== Dropdowns
232
- //
233
- //## Dropdown menu container and contents.
234
-
235
- //** Background for the dropdown menu.
236
- // $dropdown-bg: #fff
237
- //** Dropdown menu `border-color`.
238
- // $dropdown-border: rgba(0,0,0,.15)
239
- //** Dropdown menu `border-color` **for IE8**.
240
- // $dropdown-fallback-border: #ccc
241
- //** Divider color for between dropdown items.
242
- // $dropdown-divider-bg: #e5e5e5
243
-
244
- //** Dropdown link text color.
245
- // $dropdown-link-color: $gray-dark
246
- //** Hover color for dropdown links.
247
- // $dropdown-link-hover-color: darken($gray-dark, 5%)
248
- //** Hover background for dropdown links.
249
- // $dropdown-link-hover-bg: #f5f5f5
250
-
251
- //** Active dropdown menu item text color.
252
- // $dropdown-link-active-color: $component-active-color
253
- //** Active dropdown menu item background color.
254
- // $dropdown-link-active-bg: $component-active-bg
255
-
256
- //** Disabled dropdown menu item background color.
257
- // $dropdown-link-disabled-color: $gray-light
258
-
259
- //** Text color for headers within dropdown menus.
260
- // $dropdown-header-color: $gray-light
261
-
262
- //** Deprecated `$dropdown-caret-color` as of v3.1.0
263
- // $dropdown-caret-color: #000
264
-
265
-
266
- //-- Z-index master list
267
- //
268
- // Warning: Avoid customizing these values. They're used for a bird's eye view
269
- // of components dependent on the z-axis and are designed to all work together.
270
- //
271
- // Note: These variables are not generated into the Customizer.
272
-
273
- // $zindex-navbar: 1000
274
- // $zindex-dropdown: 1000
275
- // $zindex-popover: 1060
276
- // $zindex-tooltip: 1070
277
- // $zindex-navbar-fixed: 1030
278
- // $zindex-modal-background: 1040
279
- // $zindex-modal: 1050
280
-
281
-
282
- //== Media queries breakpoints
283
- //
284
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
285
-
286
- // Extra small screen / phone
287
- //** Deprecated `$screen-xs` as of v3.0.1
288
- // $screen-xs: 480px
289
- //** Deprecated `$screen-xs-min` as of v3.2.0
290
- // $screen-xs-min: $screen-xs
291
- //** Deprecated `$screen-phone` as of v3.0.1
292
- // $screen-phone: $screen-xs-min
293
-
294
- // Small screen / tablet
295
- //** Deprecated `$screen-sm` as of v3.0.1
296
- // $screen-sm: 768px
297
- // $screen-sm-min: $screen-sm
298
- //** Deprecated `$screen-tablet` as of v3.0.1
299
- // $screen-tablet: $screen-sm-min
300
-
301
- // Medium screen / desktop
302
- //** Deprecated `$screen-md` as of v3.0.1
303
- // $screen-md: 992px
304
- // $screen-md-min: $screen-md
305
- //** Deprecated `$screen-desktop` as of v3.0.1
306
- // $screen-desktop: $screen-md-min
307
-
308
- // Large screen / wide desktop
309
- //** Deprecated `$screen-lg` as of v3.0.1
310
- // $screen-lg: 1200px
311
- // $screen-lg-min: $screen-lg
312
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
313
- // $screen-lg-desktop: $screen-lg-min
314
-
315
- // So media queries don't overlap when required, provide a maximum
316
- // $screen-xs-max: ($screen-sm-min - 1)
317
- // $screen-sm-max: ($screen-md-min - 1)
318
- // $screen-md-max: ($screen-lg-min - 1)
319
-
320
-
321
- //== Grid system
322
- //
323
- //## Define your custom responsive grid.
324
-
325
- //** Number of columns in the grid.
326
- // $grid-columns: 12
327
- //** Padding between columns. Gets divided in half for the left and right.
328
- // $grid-gutter-width: 30px
329
- // Navbar collapse
330
- //** Point at which the navbar becomes uncollapsed.
331
- // $grid-float-breakpoint: $screen-sm-min
332
- //** Point at which the navbar begins collapsing.
333
- // $grid-float-breakpoint-max: ($grid-float-breakpoint - 1)
334
-
335
-
336
- //== Container sizes
337
- //
338
- //## Define the maximum width of `.container` for different screen sizes.
339
-
340
- // Small screen / tablet
341
- // $container-tablet: (720px + $grid-gutter-width)
342
- //** For `$screen-sm-min` and up.
343
- // $container-sm: $container-tablet
344
-
345
- // Medium screen / desktop
346
- // $container-desktop: (940px + $grid-gutter-width)
347
- //** For `$screen-md-min` and up.
348
- // $container-md: $container-desktop
349
-
350
- // Large screen / wide desktop
351
- // $container-large-desktop: (1140px + $grid-gutter-width)
352
- //** For `$screen-lg-min` and up.
353
- // $container-lg: $container-large-desktop
354
-
355
-
356
- //== Navbar
357
- //
358
- //##
359
-
360
- // Basics of a navbar
361
- // $navbar-height: 50px
362
- // $navbar-margin-bottom: $line-height-computed
363
- // $navbar-border-radius: $border-radius-base
364
- // $navbar-padding-horizontal: floor(($grid-gutter-width / 2))
365
- // $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2)
366
- // $navbar-collapse-max-height: 340px
367
-
368
- // $navbar-default-color: #777
369
- // $navbar-default-bg: #f8f8f8
370
- // $navbar-default-border: darken($navbar-default-bg, 6.5%)
371
-
372
- // Navbar links
373
- // $navbar-default-link-color: #777
374
- // $navbar-default-link-hover-color: #333
375
- // $navbar-default-link-hover-bg: transparent
376
- // $navbar-default-link-active-color: #555
377
- // $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%)
378
- // $navbar-default-link-disabled-color: #ccc
379
- // $navbar-default-link-disabled-bg: transparent
380
-
381
- // Navbar brand label
382
- // $navbar-default-brand-color: $navbar-default-link-color
383
- // $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%)
384
- // $navbar-default-brand-hover-bg: transparent
385
-
386
- // Navbar toggle
387
- // $navbar-default-toggle-hover-bg: #ddd
388
- // $navbar-default-toggle-icon-bar-bg: #888
389
- // $navbar-default-toggle-border-color: #ddd
390
-
391
-
392
- // Inverted navbar
393
- // Reset inverted navbar basics
394
- // $navbar-inverse-color: lighten($gray-light, 15%)
395
- // $navbar-inverse-bg: #222
396
- // $navbar-inverse-border: darken($navbar-inverse-bg, 10%)
397
-
398
- // Inverted navbar links
399
- // $navbar-inverse-link-color: lighten($gray-light, 15%)
400
- // $navbar-inverse-link-hover-color: #fff
401
- // $navbar-inverse-link-hover-bg: transparent
402
- // $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color
403
- // $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%)
404
- // $navbar-inverse-link-disabled-color: #444
405
- // $navbar-inverse-link-disabled-bg: transparent
406
-
407
- // Inverted navbar brand label
408
- // $navbar-inverse-brand-color: $navbar-inverse-link-color
409
- // $navbar-inverse-brand-hover-color: #fff
410
- // $navbar-inverse-brand-hover-bg: transparent
411
-
412
- // Inverted navbar toggle
413
- // $navbar-inverse-toggle-hover-bg: #333
414
- // $navbar-inverse-toggle-icon-bar-bg: #fff
415
- // $navbar-inverse-toggle-border-color: #333
416
-
417
-
418
- //== Navs
419
- //
420
- //##
421
-
422
- //=== Shared nav styles
423
- // $nav-link-padding: 10px 15px
424
- // $nav-link-hover-bg: $gray-lighter
425
-
426
- // $nav-disabled-link-color: $gray-light
427
- // $nav-disabled-link-hover-color: $gray-light
428
-
429
- //== Tabs
430
- // $nav-tabs-border-color: #ddd
431
-
432
- // $nav-tabs-link-hover-border-color: $gray-lighter
433
-
434
- // $nav-tabs-active-link-hover-bg: $body-bg
435
- // $nav-tabs-active-link-hover-color: $gray
436
- // $nav-tabs-active-link-hover-border-color: #ddd
437
-
438
- // $nav-tabs-justified-link-border-color: #ddd
439
- // $nav-tabs-justified-active-link-border-color: $body-bg
440
-
441
- //== Pills
442
- // $nav-pills-border-radius: $border-radius-base
443
- // $nav-pills-active-link-hover-bg: $component-active-bg
444
- // $nav-pills-active-link-hover-color: $component-active-color
445
-
446
-
447
- //== Pagination
448
- //
449
- //##
450
-
451
- // $pagination-color: $link-color
452
- // $pagination-bg: #fff
453
- // $pagination-border: #ddd
454
-
455
- // $pagination-hover-color: $link-hover-color
456
- // $pagination-hover-bg: $gray-lighter
457
- // $pagination-hover-border: #ddd
458
-
459
- // $pagination-active-color: #fff
460
- // $pagination-active-bg: $brand-primary
461
- // $pagination-active-border: $brand-primary
462
-
463
- // $pagination-disabled-color: $gray-light
464
- // $pagination-disabled-bg: #fff
465
- // $pagination-disabled-border: #ddd
466
-
467
-
468
- //== Pager
469
- //
470
- //##
471
-
472
- // $pager-bg: $pagination-bg
473
- // $pager-border: $pagination-border
474
- // $pager-border-radius: 15px
475
-
476
- // $pager-hover-bg: $pagination-hover-bg
477
-
478
- // $pager-active-bg: $pagination-active-bg
479
- // $pager-active-color: $pagination-active-color
480
-
481
- // $pager-disabled-color: $pagination-disabled-color
482
-
483
-
484
- //== Jumbotron
485
- //
486
- //##
487
-
488
- // $jumbotron-padding: 30px
489
- // $jumbotron-color: inherit
490
- // $jumbotron-bg: $gray-lighter
491
- // $jumbotron-heading-color: inherit
492
- // $jumbotron-font-size: ceil(($font-size-base * 1.5))
493
-
494
-
495
- //== Form states and alerts
496
- //
497
- //## Define colors for form feedback states and, by default, alerts.
498
-
499
- // $state-success-text: #3c763d
500
- // $state-success-bg: #dff0d8
501
- // $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%)
502
-
503
- // $state-info-text: #31708f
504
- // $state-info-bg: #d9edf7
505
- // $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%)
506
-
507
- // $state-warning-text: #8a6d3b
508
- // $state-warning-bg: #fcf8e3
509
- // $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%)
510
-
511
- // $state-danger-text: #a94442
512
- // $state-danger-bg: #f2dede
513
- // $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%)
514
-
515
-
516
- //== Tooltips
517
- //
518
- //##
519
-
520
- //** Tooltip max width
521
- // $tooltip-max-width: 200px
522
- //** Tooltip text color
523
- // $tooltip-color: #fff
524
- //** Tooltip background color
525
- // $tooltip-bg: #000
526
- // $tooltip-opacity: .9
527
-
528
- //** Tooltip arrow width
529
- // $tooltip-arrow-width: 5px
530
- //** Tooltip arrow color
531
- // $tooltip-arrow-color: $tooltip-bg
532
-
533
-
534
- //== Popovers
535
- //
536
- //##
537
-
538
- //** Popover body background color
539
- // $popover-bg: #fff
540
- //** Popover maximum width
541
- // $popover-max-width: 276px
542
- //** Popover border color
543
- // $popover-border-color: rgba(0,0,0,.2)
544
- //** Popover fallback border color
545
- // $popover-fallback-border-color: #ccc
546
-
547
- //** Popover title background color
548
- // $popover-title-bg: darken($popover-bg, 3%)
549
-
550
- //** Popover arrow width
551
- // $popover-arrow-width: 10px
552
- //** Popover arrow color
553
- // $popover-arrow-color: $popover-bg
554
-
555
- //** Popover outer arrow width
556
- // $popover-arrow-outer-width: ($popover-arrow-width + 1)
557
- //** Popover outer arrow color
558
- // $popover-arrow-outer-color: fade_in($popover-border-color, 0.05)
559
- //** Popover outer arrow fallback color
560
- // $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%)
561
-
562
-
563
- //== Labels
564
- //
565
- //##
566
-
567
- //** Default label background color
568
- // $label-default-bg: $gray-light
569
- //** Primary label background color
570
- // $label-primary-bg: $brand-primary
571
- //** Success label background color
572
- // $label-success-bg: $brand-success
573
- //** Info label background color
574
- // $label-info-bg: $brand-info
575
- //** Warning label background color
576
- // $label-warning-bg: $brand-warning
577
- //** Danger label background color
578
- // $label-danger-bg: $brand-danger
579
-
580
- //** Default label text color
581
- // $label-color: #fff
582
- //** Default text color of a linked label
583
- // $label-link-hover-color: #fff
584
-
585
-
586
- //== Modals
587
- //
588
- //##
589
-
590
- //** Padding applied to the modal body
591
- // $modal-inner-padding: 15px
592
-
593
- //** Padding applied to the modal title
594
- // $modal-title-padding: 15px
595
- //** Modal title line-height
596
- // $modal-title-line-height: $line-height-base
597
-
598
- //** Background color of modal content area
599
- // $modal-content-bg: #fff
600
- //** Modal content border color
601
- // $modal-content-border-color: rgba(0,0,0,.2)
602
- //** Modal content border color **for IE8**
603
- // $modal-content-fallback-border-color: #999
604
-
605
- //** Modal backdrop background color
606
- // $modal-backdrop-bg: #000
607
- //** Modal backdrop opacity
608
- // $modal-backdrop-opacity: .5
609
- //** Modal header border color
610
- // $modal-header-border-color: #e5e5e5
611
- //** Modal footer border color
612
- // $modal-footer-border-color: $modal-header-border-color
613
-
614
- // $modal-lg: 900px
615
- // $modal-md: 600px
616
- // $modal-sm: 300px
617
-
618
-
619
- //== Alerts
620
- //
621
- //## Define alert colors, border radius, and padding.
622
-
623
- // $alert-padding: 15px
624
- // $alert-border-radius: $border-radius-base
625
- // $alert-link-font-weight: bold
626
-
627
- // $alert-success-bg: $state-success-bg
628
- // $alert-success-text: $state-success-text
629
- // $alert-success-border: $state-success-border
630
-
631
- // $alert-info-bg: $state-info-bg
632
- // $alert-info-text: $state-info-text
633
- // $alert-info-border: $state-info-border
634
-
635
- // $alert-warning-bg: $state-warning-bg
636
- // $alert-warning-text: $state-warning-text
637
- // $alert-warning-border: $state-warning-border
638
-
639
- // $alert-danger-bg: $state-danger-bg
640
- // $alert-danger-text: $state-danger-text
641
- // $alert-danger-border: $state-danger-border
642
-
643
-
644
- //== Progress bars
645
- //
646
- //##
647
-
648
- //** Background color of the whole progress component
649
- // $progress-bg: #f5f5f5
650
- //** Progress bar text color
651
- // $progress-bar-color: #fff
652
- //** Variable for setting rounded corners on progress bar.
653
- // $progress-border-radius: $border-radius-base
654
-
655
- //** Default progress bar color
656
- // $progress-bar-bg: $brand-primary
657
- //** Success progress bar color
658
- // $progress-bar-success-bg: $brand-success
659
- //** Warning progress bar color
660
- // $progress-bar-warning-bg: $brand-warning
661
- //** Danger progress bar color
662
- // $progress-bar-danger-bg: $brand-danger
663
- //** Info progress bar color
664
- // $progress-bar-info-bg: $brand-info
665
-
666
-
667
- //== List group
668
- //
669
- //##
670
-
671
- //** Background color on `.list-group-item`
672
- // $list-group-bg: #fff
673
- //** `.list-group-item` border color
674
- // $list-group-border: #ddd
675
- //** List group border radius
676
- // $list-group-border-radius: $border-radius-base
677
-
678
- //** Background color of single list items on hover
679
- // $list-group-hover-bg: #f5f5f5
680
- //** Text color of active list items
681
- // $list-group-active-color: $component-active-color
682
- //** Background color of active list items
683
- // $list-group-active-bg: $component-active-bg
684
- //** Border color of active list elements
685
- // $list-group-active-border: $list-group-active-bg
686
- //** Text color for content within active list items
687
- // $list-group-active-text-color: lighten($list-group-active-bg, 40%)
688
-
689
- //** Text color of disabled list items
690
- // $list-group-disabled-color: $gray-light
691
- //** Background color of disabled list items
692
- // $list-group-disabled-bg: $gray-lighter
693
- //** Text color for content within disabled list items
694
- // $list-group-disabled-text-color: $list-group-disabled-color
695
-
696
- // $list-group-link-color: #555
697
- // $list-group-link-hover-color: $list-group-link-color
698
- // $list-group-link-heading-color: #333
699
-
700
-
701
- //== Panels
702
- //
703
- //##
704
-
705
- // $panel-bg: #fff
706
- // $panel-body-padding: 15px
707
- // $panel-heading-padding: 10px 15px
708
- // $panel-footer-padding: $panel-heading-padding
709
- // $panel-border-radius: $border-radius-base
710
-
711
- //** Border color for elements within panels
712
- // $panel-inner-border: #ddd
713
- // $panel-footer-bg: #f5f5f5
714
-
715
- // $panel-default-text: $gray-dark
716
- // $panel-default-border: #ddd
717
- // $panel-default-heading-bg: #f5f5f5
718
-
719
- // $panel-primary-text: #fff
720
- // $panel-primary-border: $brand-primary
721
- // $panel-primary-heading-bg: $brand-primary
722
-
723
- // $panel-success-text: $state-success-text
724
- // $panel-success-border: $state-success-border
725
- // $panel-success-heading-bg: $state-success-bg
726
-
727
- // $panel-info-text: $state-info-text
728
- // $panel-info-border: $state-info-border
729
- // $panel-info-heading-bg: $state-info-bg
730
-
731
- // $panel-warning-text: $state-warning-text
732
- // $panel-warning-border: $state-warning-border
733
- // $panel-warning-heading-bg: $state-warning-bg
734
-
735
- // $panel-danger-text: $state-danger-text
736
- // $panel-danger-border: $state-danger-border
737
- // $panel-danger-heading-bg: $state-danger-bg
738
-
739
-
740
- //== Thumbnails
741
- //
742
- //##
743
-
744
- //** Padding around the thumbnail image
745
- // $thumbnail-padding: 4px
746
- //** Thumbnail background color
747
- // $thumbnail-bg: $body-bg
748
- //** Thumbnail border color
749
- // $thumbnail-border: #ddd
750
- //** Thumbnail border radius
751
- // $thumbnail-border-radius: $border-radius-base
752
-
753
- //** Custom text color for thumbnail captions
754
- // $thumbnail-caption-color: $text-color
755
- //** Padding around the thumbnail caption
756
- // $thumbnail-caption-padding: 9px
757
-
758
-
759
- //== Wells
760
- //
761
- //##
762
-
763
- // $well-bg: #f5f5f5
764
- // $well-border: darken($well-bg, 7%)
765
-
766
-
767
- //== Badges
768
- //
769
- //##
770
-
771
- // $badge-color: #fff
772
- //** Linked badge text color on hover
773
- // $badge-link-hover-color: #fff
774
- // $badge-bg: $gray-light
775
-
776
- //** Badge text color in active nav link
777
- // $badge-active-color: $link-color
778
- //** Badge background color in active nav link
779
- // $badge-active-bg: #fff
780
-
781
- // $badge-font-weight: bold
782
- // $badge-line-height: 1
783
- // $badge-border-radius: 10px
784
-
785
-
786
- //== Breadcrumbs
787
- //
788
- //##
789
-
790
- // $breadcrumb-padding-vertical: 8px
791
- // $breadcrumb-padding-horizontal: 15px
792
- //** Breadcrumb background color
793
- // $breadcrumb-bg: #f5f5f5
794
- //** Breadcrumb text color
795
- // $breadcrumb-color: #ccc
796
- //** Text color of current page in the breadcrumb
797
- // $breadcrumb-active-color: $gray-light
798
- //** Textual separator for between breadcrumb elements
799
- // $breadcrumb-separator: "/"
800
-
801
-
802
- //== Carousel
803
- //
804
- //##
805
-
806
- // $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6)
807
-
808
- // $carousel-control-color: #fff
809
- // $carousel-control-width: 15%
810
- // $carousel-control-opacity: .5
811
- // $carousel-control-font-size: 20px
812
-
813
- // $carousel-indicator-active-bg: #fff
814
- // $carousel-indicator-border-color: #fff
815
-
816
- // $carousel-caption-color: #fff
817
-
818
-
819
- //== Close
820
- //
821
- //##
822
-
823
- // $close-font-weight: bold
824
- // $close-color: #000
825
- // $close-text-shadow: 0 1px 0 #fff
826
-
827
-
828
- //== Code
829
- //
830
- //##
831
-
832
- // $code-color: #c7254e
833
- // $code-bg: #f9f2f4
834
-
835
- // $kbd-color: #fff
836
- // $kbd-bg: #333
837
-
838
- // $pre-bg: #f5f5f5
839
- // $pre-color: $gray-dark
840
- // $pre-border-color: #ccc
841
- // $pre-scrollable-max-height: 340px
842
-
843
-
844
- //== Type
845
- //
846
- //##
847
-
848
- //** Horizontal offset for forms and lists.
849
- // $component-offset-horizontal: 180px
850
- //** Text muted color
851
- // $text-muted: $gray-light
852
- //** Abbreviations and acronyms border color
853
- // $abbr-border-color: $gray-light
854
- //** Headings small color
855
- // $headings-small-color: $gray-light
856
- //** Blockquote small color
857
- // $blockquote-small-color: $gray-light
858
- //** Blockquote font size
859
- // $blockquote-font-size: ($font-size-base * 1.25)
860
- //** Blockquote border color
861
- // $blockquote-border-color: $gray-lighter
862
- //** Page header border color
863
- // $page-header-border-color: $gray-lighter
864
- //** Width of horizontal description list titles
865
- // $dl-horizontal-offset: $component-offset-horizontal
866
- //** Horizontal line color.
867
- // $hr-border: $gray-lighter