locomotivecms 3.0.0.rc2 → 3.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -2
  3. data/README.md +2 -1
  4. data/app/api/locomotive/api/entities/site_entity.rb +8 -0
  5. data/app/api/locomotive/api/exception_rescuers.rb +1 -1
  6. data/app/api/locomotive/api/forms/content_entry_form.rb +4 -3
  7. data/app/api/locomotive/api/helpers/params_helper.rb +21 -3
  8. data/app/api/locomotive/api/resources/current_site_resource.rb +1 -1
  9. data/app/api/locomotive/api/resources/site_resource.rb +2 -2
  10. data/app/assets/images/locomotive/deadend.png +0 -0
  11. data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +1 -1
  12. data/app/assets/javascripts/locomotive/utils/core_ext.js +1 -1
  13. data/app/assets/javascripts/locomotive/utils/wysihtml5.js.coffee +43 -17
  14. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +5 -1
  15. data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +47 -0
  16. data/app/assets/javascripts/locomotive/views/editable_elements/iframe_view.js.coffee +59 -0
  17. data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +19 -92
  18. data/app/assets/javascripts/locomotive/views/editable_elements/page_view.js.coffee +81 -0
  19. data/app/assets/javascripts/locomotive/views/editable_elements/text_highlighter_view.js.coffee +76 -0
  20. data/app/assets/javascripts/locomotive/views/inputs/rte/edit_table_view.js.coffee +35 -0
  21. data/app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee +14 -10
  22. data/app/assets/javascripts/locomotive/views/inputs/rte/link_view.js.coffee +25 -15
  23. data/app/assets/javascripts/locomotive/views/inputs/rte/table_view.js.coffee +82 -0
  24. data/app/assets/javascripts/locomotive/views/inputs/rte_view.js.coffee.erb +64 -23
  25. data/app/assets/javascripts/locomotive/views/inputs/text_view.js.coffee +11 -6
  26. data/app/assets/javascripts/locomotive.js +2 -2
  27. data/app/assets/stylesheets/locomotive/application.scss +1 -3
  28. data/app/assets/stylesheets/locomotive/base/_form.scss +2 -1
  29. data/app/assets/stylesheets/locomotive/base/_typography.scss +3 -2
  30. data/app/assets/stylesheets/locomotive/base/form/_base.scss +5 -0
  31. data/app/assets/stylesheets/locomotive/base/form/_rte.scss +42 -0
  32. data/app/assets/stylesheets/locomotive/error.scss +1 -1
  33. data/app/assets/stylesheets/locomotive/globals/_mixins.scss +41 -48
  34. data/app/assets/stylesheets/locomotive/globals/_variables.scss +202 -121
  35. data/app/assets/stylesheets/locomotive/layouts/_not_logged_in.scss +8 -9
  36. data/app/assets/stylesheets/locomotive/live_editing_error.scss +19 -0
  37. data/app/assets/stylesheets/locomotive/live_editing_iframe.scss +84 -0
  38. data/app/assets/stylesheets/locomotive/unauthorized/_forms.scss +63 -0
  39. data/app/assets/stylesheets/locomotive/unauthorized/_keyframes.scss +31 -0
  40. data/app/assets/stylesheets/locomotive/unauthorized/_notify.scss +85 -0
  41. data/app/assets/stylesheets/locomotive/unauthorized/_public.scss +129 -0
  42. data/app/assets/stylesheets/locomotive/unauthorized/_type.scss +14 -0
  43. data/app/assets/stylesheets/locomotive/unauthorized/_variables.scss +54 -0
  44. data/app/assets/stylesheets/locomotive/unauthorized.scss +34 -0
  45. data/app/helpers/locomotive/dashboard_helper.rb +1 -1
  46. data/app/inputs/locomotive/rte_input.rb +12 -0
  47. data/app/models/locomotive/concerns/page/editable_elements.rb +0 -2
  48. data/app/models/locomotive/editable_element.rb +1 -1
  49. data/app/services/locomotive/content_asset_service.rb +1 -1
  50. data/app/services/locomotive/page_parsing_service.rb +4 -2
  51. data/app/views/locomotive/editable_elements/index.html.slim +1 -1
  52. data/app/views/locomotive/layouts/not_logged_in.html.slim +13 -9
  53. data/app/views/locomotive/passwords/edit.html.slim +13 -13
  54. data/app/views/locomotive/passwords/new.html.slim +14 -11
  55. data/app/views/locomotive/registrations/new.html.slim +14 -13
  56. data/app/views/locomotive/sessions/new.html.slim +14 -13
  57. data/app/views/locomotive/shared/rte/_markdown_toolbar.html.slim +0 -30
  58. data/app/views/locomotive/shared/rte/_table_popover.html.slim +17 -0
  59. data/app/views/locomotive/shared/rte/_toolbar.html.slim +48 -11
  60. data/config/initializers/simple_form.rb +2 -0
  61. data/config/locales/carrierwave.lt.yml +4 -0
  62. data/config/locales/carrierwave.nl.yml +4 -0
  63. data/config/locales/carrierwave.ru.yml +4 -0
  64. data/config/locales/default.nl.yml +13 -0
  65. data/config/locales/devise.nl.yml +61 -0
  66. data/config/locales/en.yml +28 -10
  67. data/config/locales/flash.nl.yml +79 -0
  68. data/config/locales/inputs.lt.yml +18 -0
  69. data/config/locales/inputs.nl.yml +18 -0
  70. data/config/locales/mongoid.nl.yml +47 -0
  71. data/config/locales/nl.yml +316 -0
  72. data/config/locales/simple_form.en.yml +6 -0
  73. data/config/locales/simple_form.nl.yml +148 -0
  74. data/lib/locomotive/carrierwave/asset.rb +5 -1
  75. data/lib/locomotive/dependencies.rb +0 -1
  76. data/lib/locomotive/engine.rb +7 -1
  77. data/lib/locomotive/middlewares/site.rb +14 -2
  78. data/lib/locomotive/mongoid/patches.rb +29 -0
  79. data/lib/locomotive/steam/middlewares/catch_error.rb +78 -0
  80. data/lib/locomotive/steam/middlewares/wysihtml_css.rb +32 -0
  81. data/lib/locomotive/steam_adaptor.rb +4 -7
  82. data/lib/locomotive/version.rb +1 -1
  83. data/spec/requests/locomotive/steam/cache_spec.rb +3 -3
  84. data/spec/requests/locomotive/steam/wysihtml_css_spec.rb +42 -0
  85. data/spec/requests/site_spec.rb +13 -2
  86. data/spec/support/features/session_helpers.rb +3 -3
  87. data/vendor/assets/components/locomotive/backbone/backbone.js +1894 -0
  88. data/vendor/assets/components/locomotive/underscore/underscore.js +1548 -0
  89. data/vendor/assets/components/locomotive_sources/backbone/LICENSE +22 -0
  90. data/vendor/assets/components/locomotive_sources/backbone/backbone-min.js +2 -0
  91. data/vendor/assets/components/locomotive_sources/backbone/backbone-min.map +1 -0
  92. data/vendor/assets/components/locomotive_sources/backbone/backbone.js +1894 -0
  93. data/vendor/assets/components/locomotive_sources/backbone/bower.json +8 -0
  94. data/vendor/assets/components/locomotive_sources/underscore/LICENSE +23 -0
  95. data/vendor/assets/components/locomotive_sources/underscore/README.md +22 -0
  96. data/vendor/assets/components/locomotive_sources/underscore/bower.json +7 -0
  97. data/vendor/assets/components/locomotive_sources/underscore/underscore-min.js +6 -0
  98. data/vendor/assets/components/locomotive_sources/underscore/underscore-min.map +1 -0
  99. data/vendor/assets/components/locomotive_sources/underscore/underscore.js +1548 -0
  100. data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced.js +22 -48
  101. data/vendor/assets/javascripts/locomotive/wysihtml5/parser_rules/advanced_unwrap.js +13 -12
  102. data/vendor/assets/javascripts/locomotive/wysihtml5x-toolbar.js +7324 -3862
  103. data/vendor/assets/stylesheets/locomotive/wysihtml5_editor.css +27 -1
  104. metadata +53 -28
  105. data/app/assets/stylesheets/locomotive/globals/_all.scss +0 -3
  106. data/app/assets/stylesheets/locomotive/globals/_bootstrap.scss +0 -841
  107. data/app/assets/stylesheets/locomotive/globals/_colors.scss +0 -1
  108. data/app/assets/stylesheets/locomotive/globals/_nprogress.scss +0 -3
  109. data/app/assets/stylesheets/locomotive/not_logged_in.scss +0 -15
@@ -1,841 +0,0 @@
1
-
2
- // // a flag to toggle asset pipeline / compass integration
3
- // // defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
4
- // // in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
5
- // $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
6
- // //
7
- // // Variables
8
- // // --------------------------------------------------
9
-
10
-
11
- // //== Colors
12
- // //
13
- // //## Gray and brand colors for use across Bootstrap.
14
-
15
- // $gray-darker: lighten(#000, 13.5%) !default; // #222
16
- // $gray-dark: lighten(#000, 20%) !default; // #333
17
- // $gray: lighten(#000, 33.5%) !default; // #555
18
- // $gray-light: lighten(#000, 60%) !default; // #999
19
- // $gray-lighter: lighten(#000, 93.5%) !default; // #eee
20
-
21
- // $brand-primary: #5199e0 !default;
22
- $brand-primary: #54b9cd !default;
23
- $brand-success: #54cc68 !default;
24
- // $brand-info: #5bc0de !default;
25
- $brand-warning: #f0ad4e !default;
26
- $brand-danger: #d9684c !default;
27
-
28
-
29
- // //== Scaffolding
30
- // //
31
- // // ## Settings for some of the most global styles.
32
-
33
- // //** Background color for `<body>`.
34
- // $body-bg: #fff !default;
35
- // //** Global text color on `<body>`.
36
- // $text-color: $gray-dark !default;
37
-
38
- // //** Global textual link color.
39
- // $link-color: $brand-primary !default;
40
- // //** Link hover color set via `darken()` function.
41
- // $link-hover-color: darken($link-color, 15%) !default;
42
-
43
-
44
- // //== Typography
45
- // //
46
- // //## Font, line-height, and color for body text, headings, and more.
47
- $font-family-sans-serif: "Noto Sans", sans-serif !default;
48
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
49
- // //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
50
- // $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
51
- // $font-family-base: $font-family-sans-serif !default;
52
-
53
- $font-size-base: 14px !default;
54
- $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
55
- $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
56
-
57
- // $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
58
- // $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
59
- // $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
60
- // $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
61
- // $font-size-h5: $font-size-base !default;
62
- // $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
63
-
64
- // //** Unit-less `line-height` for use in components like buttons.
65
- $line-height-base: 1.428571429 !default; // 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)) !default; // ~20px
68
-
69
- // //** By default, this inherits from the `<body>`.
70
- // $headings-font-family: inherit !default;
71
- $headings-font-weight: 200 !default;
72
- // $headings-line-height: 1.1 !default;
73
- $headings-color: #fff !default;
74
-
75
- // //-- Iconography
76
- // //
77
- // //## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
-
79
- // $icon-font-path: "bootstrap/" !default;
80
- // $icon-font-name: "glyphicons-halflings-regular" !default;
81
- // $icon-font-svg-id: "glyphicons_halflingsregular" !default;
82
-
83
- // //== Components
84
- // //
85
- // //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
86
-
87
- $padding-base-vertical: 10px !default;
88
- // $padding-base-horizontal: 12px !default;
89
-
90
- // $padding-large-vertical: 10px !default;
91
- // $padding-large-horizontal: 16px !default;
92
-
93
- // $padding-small-vertical: 5px !default;
94
- // $padding-small-horizontal: 10px !default;
95
-
96
- // $padding-xs-vertical: 1px !default;
97
- // $padding-xs-horizontal: 5px !default;
98
-
99
- // $line-height-large: 1.33 !default;
100
- // $line-height-small: 1.5 !default;
101
-
102
- $border-radius-base: 0 !default;
103
- // $border-radius-large: 6px !default;
104
- // $border-radius-small: 3px !default;
105
-
106
- // //** Global color for active items (e.g., navs or dropdowns).
107
- // $component-active-color: #fff !default;
108
- // //** Global background color for active items (e.g., navs or dropdowns).
109
- // $component-active-bg: $brand-primary !default;
110
-
111
- // //** Width of the `border` for generating carets that indicator dropdowns.
112
- // $caret-width-base: 4px !default;
113
- // //** Carets increase slightly in size for larger components.
114
- // $caret-width-large: 5px !default;
115
-
116
-
117
- // //== Tables
118
- // //
119
- // //## Customizes the `.table` component with basic values, each used across all table variations.
120
-
121
- // //** Padding for `<th>`s and `<td>`s.
122
- // $table-cell-padding: 8px !default;
123
- // //** Padding for cells in `.table-condensed`.
124
- // $table-condensed-cell-padding: 5px !default;
125
-
126
- // //** Default background color used for all tables.
127
- // $table-bg: transparent !default;
128
- // //** Background color used for `.table-striped`.
129
- // $table-bg-accent: #f9f9f9 !default;
130
- // //** Background color used for `.table-hover`.
131
- // $table-bg-hover: #f5f5f5 !default;
132
- // $table-bg-active: $table-bg-hover !default;
133
-
134
- // //** Border color for table and cell borders.
135
- // $table-border-color: #ddd !default;
136
-
137
-
138
- //== Buttons
139
- // //
140
- // //## For each of Bootstrap's buttons, define text, background and border color.
141
-
142
- // $btn-font-weight: normal !default;
143
-
144
- // $btn-default-color: #333 !default;
145
- $btn-default-bg: #eee !default;
146
- // $btn-default-border: #ccc !default;
147
-
148
- // $btn-primary-color: #fff !default;
149
- $btn-primary-bg: $brand-primary !default;
150
- $btn-primary-border: darken($btn-primary-bg, 10%) !default;
151
-
152
- // $btn-success-color: #fff !default;
153
- $btn-success-bg: $brand-success !default;
154
- $btn-success-border: darken($btn-success-bg, 10%) !default;
155
-
156
- // $btn-info-color: #fff !default;
157
- // $btn-info-bg: $brand-info !default;
158
- // $btn-info-border: darken($btn-info-bg, 5%) !default;
159
-
160
- // $btn-warning-color: #fff !default;
161
- // $btn-warning-bg: $brand-warning !default;
162
- // $btn-warning-border: darken($btn-warning-bg, 5%) !default;
163
-
164
- // $btn-danger-color: #fff !default;
165
- // $btn-danger-bg: $brand-danger !default;
166
- // $btn-danger-border: darken($btn-danger-bg, 5%) !default;
167
-
168
- // $btn-link-disabled-color: $gray-light !default;
169
-
170
-
171
- // //== Forms
172
- // //
173
- // //##
174
-
175
- // //** `<input>` background color
176
- // $input-bg: #fff !default;
177
- // //** `<input disabled>` background color
178
- // $input-bg-disabled: $gray-lighter !default;
179
-
180
- // //** Text color for `<input>`s
181
- // $input-color: $gray !default;
182
- // //** `<input>` border color
183
- $input-border: #fff !default;
184
- // //** `<input>` border radius
185
- // $input-border-radius: $border-radius-base !default;
186
- // //** Border color for inputs on focus
187
- // $input-border-focus: #66afe9 !default;
188
-
189
- // //** Placeholder text color
190
- // $input-color-placeholder: $gray-light !default;
191
-
192
- // //** Default `.form-control` height
193
- $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 4) !default;
194
- // //** Large `.form-control` height
195
- // $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
196
- // //** Small `.form-control` height
197
- // $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
198
-
199
- // $legend-color: $gray-dark !default;
200
- // $legend-border-color: #e5e5e5 !default;
201
-
202
- // //** Background color for textual input addons
203
- // $input-group-addon-bg: $gray-lighter !default;
204
- // //** Border color for textual input addons
205
- // $input-group-addon-border-color: $input-border !default;
206
-
207
-
208
- // //== Dropdowns
209
- // //
210
- // //## Dropdown menu container and contents.
211
-
212
- // //** Background for the dropdown menu.
213
- // $dropdown-bg: #fff !default;
214
- // //** Dropdown menu `border-color`.
215
- // $dropdown-border: rgba(0,0,0,.15) !default;
216
- // //** Dropdown menu `border-color` **for IE8**.
217
- // $dropdown-fallback-border: #ccc !default;
218
- // //** Divider color for between dropdown items.
219
- // $dropdown-divider-bg: #e5e5e5 !default;
220
-
221
- // //** Dropdown link text color.
222
- // $dropdown-link-color: $gray-dark !default;
223
- // //** Hover color for dropdown links.
224
- // $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
225
- // //** Hover background for dropdown links.
226
- // $dropdown-link-hover-bg: #f5f5f5 !default;
227
-
228
- // //** Active dropdown menu item text color.
229
- // $dropdown-link-active-color: $component-active-color !default;
230
- // //** Active dropdown menu item background color.
231
- // $dropdown-link-active-bg: $component-active-bg !default;
232
-
233
- // //** Disabled dropdown menu item background color.
234
- // $dropdown-link-disabled-color: $gray-light !default;
235
-
236
- // //** Text color for headers within dropdown menus.
237
- // $dropdown-header-color: $gray-light !default;
238
-
239
- // // Note: Deprecated $dropdown-caret-color as of v3.1.0
240
- // $dropdown-caret-color: #000 !default;
241
-
242
-
243
- // //-- Z-index master list
244
- // //
245
- // // Warning: Avoid customizing these values. They're used for a bird's eye view
246
- // // of components dependent on the z-axis and are designed to all work together.
247
- // //
248
- // // Note: These variables are not generated into the Customizer.
249
-
250
- // $zindex-navbar: 1000 !default;
251
- // $zindex-dropdown: 1000 !default;
252
- // $zindex-popover: 1010 !default;
253
- // $zindex-tooltip: 1030 !default;
254
- // $zindex-navbar-fixed: 1030 !default;
255
- // $zindex-modal-background: 1040 !default;
256
- // $zindex-modal: 1050 !default;
257
-
258
-
259
- // //== Media queries breakpoints
260
- // //
261
- // //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
262
-
263
- // // Extra small screen / phone
264
- // // Note: Deprecated $screen-xs and $screen-phone as of v3.0.1
265
- $screen-xs: 480px !default;
266
- $screen-xs-min: $screen-xs !default;
267
- $screen-phone: $screen-xs-min !default;
268
-
269
- // Small screen / tablet
270
- // Note: Deprecated $screen-sm and $screen-tablet as of v3.0.1
271
- $screen-sm: 768px !default;
272
- $screen-sm-min: $screen-sm !default;
273
- $screen-tablet: $screen-sm-min !default;
274
-
275
- // Medium screen / desktop
276
- // Note: Deprecated $screen-md and $screen-desktop as of v3.0.1
277
- $screen-md: 992px !default;
278
- $screen-md-min: $screen-md !default;
279
- $screen-desktop: $screen-md-min !default;
280
-
281
- // Large screen / wide desktop
282
- // Note: Deprecated $screen-lg and $screen-lg-desktop as of v3.0.1
283
- $screen-lg: 1200px !default;
284
- $screen-lg-min: $screen-lg !default;
285
- $screen-lg-desktop: $screen-lg-min !default;
286
-
287
- // So media queries don't overlap when required, provide a maximum
288
- $screen-xs-max: ($screen-sm-min - 1) !default;
289
- $screen-sm-max: ($screen-md-min - 1) !default;
290
- $screen-md-max: ($screen-lg-min - 1) !default;
291
-
292
-
293
- // //== Grid system
294
- // //
295
- // //## Define your custom responsive grid.
296
-
297
- // //** Number of columns in the grid.
298
- // $grid-columns: 12 !default;
299
- // //** Padding between columns. Gets divided in half for the left and right.
300
- // $grid-gutter-width: 30px !default;
301
- // // Navbar collapse
302
- // //** Point at which the navbar becomes uncollapsed.
303
- // $grid-float-breakpoint: $screen-sm-min !default;
304
- // //** Point at which the navbar begins collapsing.
305
- // $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
306
-
307
-
308
- // //== Navbar
309
- // //
310
- // //##
311
-
312
- // // Basics of a navbar
313
- // $navbar-height: 50px !default;
314
- $navbar-margin-bottom: 0 !default;
315
- $navbar-border-radius: 0 !default;
316
- // $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
317
- $navbar-padding-vertical: 20px !default;
318
- // $navbar-collapse-max-height: 340px !default;
319
-
320
- $navbar-default-color: #fff !default;
321
- $navbar-default-bg: #59b9cc !default;
322
- $navbar-default-border: transparent;
323
- // $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
324
-
325
- // // Navbar links
326
- $navbar-default-link-color: #fff !default;
327
- $navbar-default-link-hover-color: #eee !default;
328
- // $navbar-default-link-hover-bg: transparent !default;
329
- // $navbar-default-link-active-color: #555 !default;
330
- // $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
331
- // $navbar-default-link-disabled-color: #ccc !default;
332
- // $navbar-default-link-disabled-bg: transparent !default;
333
-
334
- // // Navbar brand label
335
- // $navbar-default-brand-color: $navbar-default-link-color !default;
336
- // $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
337
- // $navbar-default-brand-hover-bg: transparent !default;
338
-
339
- // // Navbar toggle
340
- // $navbar-default-toggle-hover-bg: #ddd !default;
341
- // $navbar-default-toggle-icon-bar-bg: #888 !default;
342
- // $navbar-default-toggle-border-color: #ddd !default;
343
-
344
-
345
- // // Inverted navbar
346
- // // Reset inverted navbar basics
347
- // $navbar-inverse-color: $gray-light !default;
348
- // $navbar-inverse-bg: #222 !default;
349
- // $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
350
-
351
- // // Inverted navbar links
352
- // $navbar-inverse-link-color: $gray-light !default;
353
- // $navbar-inverse-link-hover-color: #fff !default;
354
- // $navbar-inverse-link-hover-bg: transparent !default;
355
- // $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
356
- // $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
357
- // $navbar-inverse-link-disabled-color: #444 !default;
358
- // $navbar-inverse-link-disabled-bg: transparent !default;
359
-
360
- // // Inverted navbar brand label
361
- // $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
362
- // $navbar-inverse-brand-hover-color: #fff !default;
363
- // $navbar-inverse-brand-hover-bg: transparent !default;
364
-
365
- // // Inverted navbar toggle
366
- // $navbar-inverse-toggle-hover-bg: #333 !default;
367
- // $navbar-inverse-toggle-icon-bar-bg: #fff !default;
368
- // $navbar-inverse-toggle-border-color: #333 !default;
369
-
370
-
371
- // //== Navs
372
- // //
373
- // //##
374
-
375
- // //=== Shared nav styles
376
- // $nav-link-padding: 10px 15px !default;
377
- // $nav-link-hover-bg: $gray-lighter !default;
378
-
379
- // $nav-disabled-link-color: $gray-light !default;
380
- // $nav-disabled-link-hover-color: $gray-light !default;
381
-
382
- // $nav-open-link-hover-color: #fff !default;
383
-
384
- // //== Tabs
385
- $nav-tabs-border-color: #ccc !default;
386
- // $nav-tabs-border-color: #ddd !default;
387
-
388
- // $nav-tabs-link-hover-border-color: $gray-lighter !default;
389
-
390
- $nav-tabs-active-link-hover-bg: transparent !default;
391
- $nav-tabs-active-link-hover-color: #595959 !default;
392
- $nav-tabs-active-link-hover-border-color: $brand-primary !default; // #5199e0 !default;
393
-
394
- // $nav-tabs-active-link-hover-bg: $body-bg !default;
395
- // $nav-tabs-active-link-hover-color: $gray !default;
396
- // $nav-tabs-active-link-hover-border-color: #ddd !default;
397
-
398
- // $nav-tabs-justified-link-border-color: #ddd !default;
399
- // $nav-tabs-justified-active-link-border-color: $body-bg !default;
400
-
401
- // //== Pills
402
- // $nav-pills-border-radius: $border-radius-base !default;
403
- // $nav-pills-active-link-hover-bg: $component-active-bg !default;
404
- // $nav-pills-active-link-hover-color: $component-active-color !default;
405
-
406
-
407
- // //== Pagination
408
- // //
409
- // //##
410
-
411
- // $pagination-color: $link-color !default;
412
- // $pagination-bg: #fff !default;
413
- // $pagination-border: #ddd !default;
414
-
415
- // $pagination-hover-color: $link-hover-color !default;
416
- // $pagination-hover-bg: $gray-lighter !default;
417
- // $pagination-hover-border: #ddd !default;
418
-
419
- // $pagination-active-color: #fff !default;
420
- // $pagination-active-bg: $brand-primary !default;
421
- // $pagination-active-border: $brand-primary !default;
422
-
423
- // $pagination-disabled-color: $gray-light !default;
424
- // $pagination-disabled-bg: #fff !default;
425
- // $pagination-disabled-border: #ddd !default;
426
-
427
-
428
- // //== Pager
429
- // //
430
- // //##
431
-
432
- // $pager-bg: $pagination-bg !default;
433
- // $pager-border: $pagination-border !default;
434
- // $pager-border-radius: 15px !default;
435
-
436
- // $pager-hover-bg: $pagination-hover-bg !default;
437
-
438
- // $pager-active-bg: $pagination-active-bg !default;
439
- // $pager-active-color: $pagination-active-color !default;
440
-
441
- // $pager-disabled-color: $pagination-disabled-color !default;
442
-
443
-
444
- // //== Jumbotron
445
- // //
446
- // //##
447
-
448
- // $jumbotron-padding: 30px !default;
449
- // $jumbotron-color: inherit !default;
450
- // $jumbotron-bg: $gray-lighter !default;
451
- // $jumbotron-heading-color: inherit !default;
452
- // $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
453
-
454
-
455
- // //== Form states and alerts
456
- // //
457
- // //## Define colors for form feedback states and, by default, alerts.
458
-
459
- // $state-success-text: #3c763d !default;
460
- // $state-success-bg: #dff0d8 !default;
461
- // $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
462
-
463
- // $state-info-text: #31708f !default;
464
- // $state-info-bg: #d9edf7 !default;
465
- // $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
466
-
467
- $state-warning-text: #8a6d3b !default; /*#8a6d3b !default;*/
468
- $state-warning-bg: #fcf8e3 !default; /* #fcf8e3 !default; */
469
- // $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
470
-
471
- // $state-danger-text: #a94442 !default;
472
- // $state-danger-bg: #f2dede !default;
473
- // $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
474
-
475
-
476
- // //== Tooltips
477
- // //
478
- // //##
479
-
480
- // //** Tooltip max width
481
- // $tooltip-max-width: 200px !default;
482
- // //** Tooltip text color
483
- // $tooltip-color: #fff !default;
484
- // //** Tooltip background color
485
- // $tooltip-bg: #000 !default;
486
- // $tooltip-opacity: .9 !default;
487
-
488
- // //** Tooltip arrow width
489
- // $tooltip-arrow-width: 5px !default;
490
- // //** Tooltip arrow color
491
- // $tooltip-arrow-color: $tooltip-bg !default;
492
-
493
-
494
- // //== Popovers
495
- // //
496
- // //##
497
-
498
- // //** Popover body background color
499
- // $popover-bg: #fff !default;
500
- // //** Popover maximum width
501
- // $popover-max-width: 276px !default;
502
- // //** Popover border color
503
- // $popover-border-color: rgba(0,0,0,.2) !default;
504
- // //** Popover fallback border color
505
- // $popover-fallback-border-color: #ccc !default;
506
-
507
- // //** Popover title background color
508
- // $popover-title-bg: darken($popover-bg, 3%) !default;
509
-
510
- // //** Popover arrow width
511
- // $popover-arrow-width: 10px !default;
512
- // //** Popover arrow color
513
- // $popover-arrow-color: #fff !default;
514
-
515
- // //** Popover outer arrow width
516
- // $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
517
- // //** Popover outer arrow color
518
- // $popover-arrow-outer-color: rgba(0,0,0,.25) !default;
519
- // //** Popover outer arrow fallback color
520
- // $popover-arrow-outer-fallback-color: #999 !default;
521
-
522
-
523
- // //== Labels
524
- // //
525
- // //##
526
-
527
- // //** Default label background color
528
- // $label-default-bg: $gray-light !default;
529
- // //** Primary label background color
530
- // $label-primary-bg: $brand-primary !default;
531
- // //** Success label background color
532
- // $label-success-bg: $brand-success !default;
533
- // //** Info label background color
534
- // $label-info-bg: $brand-info !default;
535
- // //** Warning label background color
536
- // $label-warning-bg: $brand-warning !default;
537
- // //** Danger label background color
538
- // $label-danger-bg: $brand-danger !default;
539
-
540
- // //** Default label text color
541
- // $label-color: #fff !default;
542
- // //** Default text color of a linked label
543
- // $label-link-hover-color: #fff !default;
544
-
545
-
546
- // //== Modals
547
- // //
548
- // //##
549
-
550
- // //** Padding applied to the modal body
551
- // $modal-inner-padding: 20px !default;
552
-
553
- // //** Padding applied to the modal title
554
- // $modal-title-padding: 15px !default;
555
- // //** Modal title line-height
556
- // $modal-title-line-height: $line-height-base !default;
557
-
558
- // //** Background color of modal content area
559
- // $modal-content-bg: #fff !default;
560
- // //** Modal content border color
561
- // $modal-content-border-color: rgba(0,0,0,.2) !default;
562
- // //** Modal content border color **for IE8**
563
- // $modal-content-fallback-border-color: #999 !default;
564
-
565
- // //** Modal backdrop background color
566
- // $modal-backdrop-bg: #000 !default;
567
- // //** Modal backdrop opacity
568
- // $modal-backdrop-opacity: .5 !default;
569
- // //** Modal header border color
570
- // $modal-header-border-color: #e5e5e5 !default;
571
- // //** Modal footer border color
572
- // $modal-footer-border-color: $modal-header-border-color !default;
573
-
574
- // $modal-lg: 900px !default;
575
- // $modal-md: 600px !default;
576
- // $modal-sm: 300px !default;
577
-
578
-
579
- // //== Alerts
580
- // //
581
- // //## Define alert colors, border radius, and padding.
582
-
583
- // $alert-padding: 15px !default;
584
- // $alert-border-radius: $border-radius-base !default;
585
- // $alert-link-font-weight: bold !default;
586
-
587
- // $alert-success-bg: $state-success-bg !default;
588
- // $alert-success-text: $state-success-text !default;
589
- // $alert-success-border: $state-success-border !default;
590
-
591
- // $alert-info-bg: $state-info-bg !default;
592
- // $alert-info-text: $state-info-text !default;
593
- // $alert-info-border: $state-info-border !default;
594
-
595
- $alert-warning-bg: $state-warning-bg !default;
596
- $alert-warning-text: $state-warning-text !default;
597
- // $alert-warning-border: $state-warning-border !default;
598
-
599
- // $alert-danger-bg: $state-danger-bg !default;
600
- // $alert-danger-text: $state-danger-text !default;
601
- // $alert-danger-border: $state-danger-border !default;
602
-
603
-
604
- // //== Progress bars
605
- // //
606
- // //##
607
-
608
- // //** Background color of the whole progress component
609
- // $progress-bg: #f5f5f5 !default;
610
- // //** Progress bar text color
611
- // $progress-bar-color: #fff !default;
612
-
613
- // //** Default progress bar color
614
- // $progress-bar-bg: $brand-primary !default;
615
- // //** Success progress bar color
616
- // $progress-bar-success-bg: $brand-success !default;
617
- // //** Warning progress bar color
618
- // $progress-bar-warning-bg: $brand-warning !default;
619
- // //** Danger progress bar color
620
- // $progress-bar-danger-bg: $brand-danger !default;
621
- // //** Info progress bar color
622
- // $progress-bar-info-bg: $brand-info !default;
623
-
624
-
625
- // //== List group
626
- // //
627
- // //##
628
-
629
- // //** Background color on `.list-group-item`
630
- // $list-group-bg: #fff !default;
631
- // //** `.list-group-item` border color
632
- // $list-group-border: #ddd !default;
633
- // //** List group border radius
634
- // $list-group-border-radius: $border-radius-base !default;
635
-
636
- // //** Background color of single list elements on hover
637
- // $list-group-hover-bg: #f5f5f5 !default;
638
- // //** Text color of active list elements
639
- // $list-group-active-color: $component-active-color !default;
640
- // //** Background color of active list elements
641
- // $list-group-active-bg: $component-active-bg !default;
642
- // //** Border color of active list elements
643
- // $list-group-active-border: $list-group-active-bg !default;
644
- // $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
645
-
646
- // $list-group-link-color: #555 !default;
647
- // $list-group-link-heading-color: #333 !default;
648
-
649
-
650
- // //== Panels
651
- // //
652
- // //##
653
-
654
- // $panel-bg: #fff !default;
655
- // $panel-body-padding: 15px !default;
656
- // $panel-border-radius: $border-radius-base !default;
657
-
658
- // //** Border color for elements within panels
659
- // $panel-inner-border: #ddd !default;
660
- // $panel-footer-bg: #f5f5f5 !default;
661
-
662
- // $panel-default-text: $gray-dark !default;
663
- // $panel-default-border: #ddd !default;
664
- // $panel-default-heading-bg: #f5f5f5 !default;
665
-
666
- // $panel-primary-text: #fff !default;
667
- // $panel-primary-border: $brand-primary !default;
668
- // $panel-primary-heading-bg: $brand-primary !default;
669
-
670
- // $panel-success-text: $state-success-text !default;
671
- // $panel-success-border: $state-success-border !default;
672
- // $panel-success-heading-bg: $state-success-bg !default;
673
-
674
- // $panel-info-text: $state-info-text !default;
675
- // $panel-info-border: $state-info-border !default;
676
- // $panel-info-heading-bg: $state-info-bg !default;
677
-
678
- // $panel-warning-text: $state-warning-text !default;
679
- // $panel-warning-border: $state-warning-border !default;
680
- // $panel-warning-heading-bg: $state-warning-bg !default;
681
-
682
- // $panel-danger-text: $state-danger-text !default;
683
- // $panel-danger-border: $state-danger-border !default;
684
- // $panel-danger-heading-bg: $state-danger-bg !default;
685
-
686
-
687
- // //== Thumbnails
688
- // //
689
- // //##
690
-
691
- // //** Padding around the thumbnail image
692
- // $thumbnail-padding: 4px !default;
693
- // //** Thumbnail background color
694
- // $thumbnail-bg: $body-bg !default;
695
- // //** Thumbnail border color
696
- // $thumbnail-border: #ddd !default;
697
- // //** Thumbnail border radius
698
- // $thumbnail-border-radius: $border-radius-base !default;
699
-
700
- // //** Custom text color for thumbnail captions
701
- // $thumbnail-caption-color: $text-color !default;
702
- // //** Padding around the thumbnail caption
703
- // $thumbnail-caption-padding: 9px !default;
704
-
705
-
706
- // //== Wells
707
- // //
708
- // //##
709
-
710
- // $well-bg: #f5f5f5 !default;
711
- // $well-border: darken($well-bg, 7%) !default;
712
-
713
-
714
- // //== Badges
715
- // //
716
- // //##
717
-
718
- // $badge-color: #fff !default;
719
- // //** Linked badge text color on hover
720
- // $badge-link-hover-color: #fff !default;
721
- // $badge-bg: $gray-light !default;
722
-
723
- // //** Badge text color in active nav link
724
- // $badge-active-color: $link-color !default;
725
- // //** Badge background color in active nav link
726
- // $badge-active-bg: #fff !default;
727
-
728
- // $badge-font-weight: bold !default;
729
- // $badge-line-height: 1 !default;
730
- // $badge-border-radius: 10px !default;
731
-
732
- $badge-color: #dedfe0 !default;
733
- $badge-bg: #616161 !default;
734
- $badge-font-weight: normal !default;
735
- $badge-border-radius: 3px !default;
736
-
737
- // //== Breadcrumbs
738
- // //
739
- // //##
740
-
741
- // $breadcrumb-padding-vertical: 8px !default;
742
- // $breadcrumb-padding-horizontal: 15px !default;
743
- // //** Breadcrumb background color
744
- // $breadcrumb-bg: #f5f5f5 !default;
745
- // //** Breadcrumb text color
746
- // $breadcrumb-color: #ccc !default;
747
- // //** Text color of current page in the breadcrumb
748
- // $breadcrumb-active-color: $gray-light !default;
749
- // //** Textual separator for between breadcrumb elements
750
- // $breadcrumb-separator: "/" !default;
751
-
752
-
753
- // //== Carousel
754
- // //
755
- // //##
756
-
757
- // $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
758
-
759
- // $carousel-control-color: #fff !default;
760
- // $carousel-control-width: 15% !default;
761
- // $carousel-control-opacity: .5 !default;
762
- // $carousel-control-font-size: 20px !default;
763
-
764
- // $carousel-indicator-active-bg: #fff !default;
765
- // $carousel-indicator-border-color: #fff !default;
766
-
767
- // $carousel-caption-color: #fff !default;
768
-
769
-
770
- // //== Close
771
- // //
772
- // //##
773
-
774
- // $close-font-weight: bold !default;
775
- // $close-color: #000 !default;
776
- // $close-text-shadow: 0 1px 0 #fff !default;
777
-
778
-
779
- // //== Code
780
- // //
781
- // //##
782
-
783
- // $code-color: #c7254e !default;
784
- // $code-bg: #f9f2f4 !default;
785
-
786
- // $kbd-color: #fff !default;
787
- // $kbd-bg: #333 !default;
788
-
789
- // $pre-bg: #f5f5f5 !default;
790
- // $pre-color: $gray-dark !default;
791
- // $pre-border-color: #ccc !default;
792
- // $pre-scrollable-max-height: 340px !default;
793
-
794
-
795
- // //== Type
796
- // //
797
- // //##
798
-
799
- // //** Text muted color
800
- // $text-muted: $gray-light !default;
801
- // //** Abbreviations and acronyms border color
802
- // $abbr-border-color: $gray-light !default;
803
- // //** Headings small color
804
- // $headings-small-color: $gray-light !default;
805
- // //** Blockquote small color
806
- // $blockquote-small-color: $gray-light !default;
807
- // //** Blockquote border color
808
- // $blockquote-border-color: $gray-lighter !default;
809
- // //** Page header border color
810
- // $page-header-border-color: $gray-lighter !default;
811
-
812
-
813
- // //== Miscellaneous
814
- // //
815
- // //##
816
-
817
- // //** Horizontal line color.
818
- // $hr-border: $gray-lighter !default;
819
-
820
- // //** Horizontal offset for forms and lists.
821
- // $component-offset-horizontal: 180px !default;
822
-
823
-
824
- // //== Container sizes
825
- // //
826
- // //## Define the maximum width of `.container` for different screen sizes.
827
-
828
- // // Small screen / tablet
829
- // $container-tablet: ((720px + $grid-gutter-width)) !default;
830
- // //** For `$screen-sm-min` and up.
831
- // $container-sm: $container-tablet !default;
832
-
833
- // // Medium screen / desktop
834
- // $container-desktop: ((940px + $grid-gutter-width)) !default;
835
- // //** For `$screen-md-min` and up.
836
- // $container-md: $container-desktop !default;
837
-
838
- // // Large screen / wide desktop
839
- // $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
840
- // //** For `$screen-lg-min` and up.
841
- // $container-lg: $container-large-desktop !default;