dynflow 0.7.6 → 0.7.7

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