publish_my_data 0.0.32 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. data/app/assets/images/publish_my_data/small-spinner.gif +0 -0
  2. data/app/assets/images/publish_my_data/sort-asc.gif +0 -0
  3. data/app/assets/images/publish_my_data/sort-desc.gif +0 -0
  4. data/app/assets/javascripts/bootstrap/affix.js +126 -0
  5. data/app/assets/javascripts/bootstrap/alert.js +98 -0
  6. data/app/assets/javascripts/bootstrap/button.js +109 -0
  7. data/app/assets/javascripts/bootstrap/carousel.js +217 -0
  8. data/app/assets/javascripts/bootstrap/collapse.js +179 -0
  9. data/app/assets/javascripts/bootstrap/dropdown.js +154 -0
  10. data/app/assets/javascripts/bootstrap/modal.js +246 -0
  11. data/app/assets/javascripts/bootstrap/popover.js +117 -0
  12. data/app/assets/javascripts/bootstrap/scrollspy.js +158 -0
  13. data/app/assets/javascripts/bootstrap/tab.js +135 -0
  14. data/app/assets/javascripts/bootstrap/tooltip.js +386 -0
  15. data/app/assets/javascripts/bootstrap/transition.js +56 -0
  16. data/app/assets/javascripts/publish_my_data/grid/10_data-loader.js +142 -0
  17. data/app/assets/javascripts/publish_my_data/grid/20_cube-grid.js +512 -0
  18. data/app/assets/javascripts/publish_my_data/grid/30_cube-dimension.js +77 -0
  19. data/app/assets/javascripts/publish_my_data/grid/40_cube-dimension-dropdown.js +87 -0
  20. data/app/assets/javascripts/publish_my_data/grid/45_cube-dimension-label.js +58 -0
  21. data/app/assets/javascripts/publish_my_data/grid/50_cube-dimensions-controls.js +336 -0
  22. data/app/assets/javascripts/publish_my_data/grid/60_dataset_cube_grid.js +187 -0
  23. data/app/assets/javascripts/publish_my_data/grid/70_sparql_results_grid.js +135 -0
  24. data/app/assets/javascripts/publish_my_data/select_text.js +27 -0
  25. data/app/assets/javascripts/publish_my_data.js +3 -0
  26. data/app/assets/javascripts/slick_grid/10_event-drag.js +402 -0
  27. data/app/assets/javascripts/slick_grid/20_slick-core.js +458 -0
  28. data/app/assets/javascripts/slick_grid/30_slick-grid.js +3295 -0
  29. data/app/assets/stylesheets/bootstrap/_alerts.scss +67 -0
  30. data/app/assets/stylesheets/bootstrap/_badges.scss +51 -0
  31. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +23 -0
  32. data/app/assets/stylesheets/bootstrap/_button-groups.scss +248 -0
  33. data/app/assets/stylesheets/bootstrap/_buttons.scss +160 -0
  34. data/app/assets/stylesheets/bootstrap/_carousel.scss +209 -0
  35. data/app/assets/stylesheets/bootstrap/_close.scss +33 -0
  36. data/app/assets/stylesheets/bootstrap/_code.scss +56 -0
  37. data/app/assets/stylesheets/bootstrap/_component-animations.scss +29 -0
  38. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +194 -0
  39. data/app/assets/stylesheets/bootstrap/_forms.scss +350 -0
  40. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +232 -0
  41. data/app/assets/stylesheets/bootstrap/_grid.scss +346 -0
  42. data/app/assets/stylesheets/bootstrap/_input-groups.scss +127 -0
  43. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +40 -0
  44. data/app/assets/stylesheets/bootstrap/_labels.scss +58 -0
  45. data/app/assets/stylesheets/bootstrap/_list-group.scss +88 -0
  46. data/app/assets/stylesheets/bootstrap/_media.scss +56 -0
  47. data/app/assets/stylesheets/bootstrap/_mixins.scss +728 -0
  48. data/app/assets/stylesheets/bootstrap/_modals.scss +145 -0
  49. data/app/assets/stylesheets/bootstrap/_navbar.scss +625 -0
  50. data/app/assets/stylesheets/bootstrap/_navs.scss +229 -0
  51. data/app/assets/stylesheets/bootstrap/_normalize.scss +396 -0
  52. data/app/assets/stylesheets/bootstrap/_pager.scss +55 -0
  53. data/app/assets/stylesheets/bootstrap/_pagination.scss +83 -0
  54. data/app/assets/stylesheets/bootstrap/_panels.scss +148 -0
  55. data/app/assets/stylesheets/bootstrap/_popovers.scss +133 -0
  56. data/app/assets/stylesheets/bootstrap/_print.scss +100 -0
  57. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +95 -0
  58. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +209 -0
  59. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +130 -0
  60. data/app/assets/stylesheets/bootstrap/_tables.scss +236 -0
  61. data/app/assets/stylesheets/bootstrap/_theme.scss +232 -0
  62. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +31 -0
  63. data/app/assets/stylesheets/bootstrap/_tooltip.scss +95 -0
  64. data/app/assets/stylesheets/bootstrap/_type.scss +238 -0
  65. data/app/assets/stylesheets/bootstrap/_utilities.scss +42 -0
  66. data/app/assets/stylesheets/bootstrap/_variables.scss +620 -0
  67. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  68. data/app/assets/stylesheets/bootstrap/bootstrap.scss +59 -0
  69. data/app/assets/stylesheets/publish_my_data/core.scss +244 -0
  70. data/app/assets/stylesheets/publish_my_data/data_grid.scss +103 -0
  71. data/app/assets/stylesheets/publish_my_data/variables.scss +1 -0
  72. data/app/assets/stylesheets/{publish_my_data.css → publish_my_data.scss} +13 -2
  73. data/app/assets/stylesheets/slick_grid/slick_grid.scss +155 -0
  74. data/app/assets/stylesheets/slick_grid/slick_grid_default_theme.scss +97 -0
  75. data/app/controllers/concerns/publish_my_data/data_cube.rb +42 -0
  76. data/app/controllers/publish_my_data/data_cube/dimensions_controller.rb +58 -0
  77. data/app/controllers/publish_my_data/data_cube/observations_controller.rb +54 -0
  78. data/app/controllers/publish_my_data/datasets_controller.rb +0 -11
  79. data/app/controllers/publish_my_data/example_resources_controller.rb +11 -0
  80. data/app/controllers/publish_my_data/home_controller.rb +4 -0
  81. data/app/controllers/publish_my_data/information_resources_controller.rb +0 -13
  82. data/app/helpers/publish_my_data/application_helper.rb +66 -0
  83. data/app/helpers/publish_my_data/crumb_helper.rb +61 -0
  84. data/app/helpers/publish_my_data/datasets_helper.rb +31 -0
  85. data/app/helpers/publish_my_data/resources_helper.rb +24 -0
  86. data/app/models/concerns/publish_my_data/cube_results.rb +51 -0
  87. data/app/models/concerns/publish_my_data/dataset_powers.rb +13 -0
  88. data/app/models/publish_my_data/data_cube/cube.rb +358 -0
  89. data/app/models/publish_my_data/data_cube/dimension.rb +58 -0
  90. data/app/models/publish_my_data/vocabulary.rb +0 -4
  91. data/app/views/layouts/publish_my_data/application.html.haml +18 -0
  92. data/app/views/layouts/publish_my_data/error.html.haml +21 -0
  93. data/app/views/publish_my_data/classes/show.html.haml +28 -0
  94. data/app/views/publish_my_data/concept_schemes/show.html.haml +79 -0
  95. data/app/views/publish_my_data/concepts/show.html.haml +28 -0
  96. data/app/views/publish_my_data/data_cube/_controls.html.haml +19 -0
  97. data/app/views/publish_my_data/data_cube/_grid.html.haml +37 -0
  98. data/app/views/publish_my_data/datasets/_example_resources.html.haml +47 -0
  99. data/app/views/publish_my_data/datasets/_types_table.html.erb +33 -0
  100. data/app/views/publish_my_data/datasets/index.html.haml +32 -0
  101. data/app/views/publish_my_data/datasets/show.html.haml +186 -0
  102. data/app/views/publish_my_data/errors/not_found.html.haml +18 -0
  103. data/app/views/publish_my_data/errors/response_too_large.html.haml +16 -0
  104. data/app/views/publish_my_data/errors/timeout.html.haml +16 -0
  105. data/app/views/publish_my_data/errors/uncaught.html.haml +16 -0
  106. data/app/views/publish_my_data/example_resources/index.js.erb +1 -0
  107. data/app/views/publish_my_data/home/accessibility.html.haml +1 -0
  108. data/app/views/publish_my_data/home/docs.html.haml +1 -0
  109. data/app/views/publish_my_data/home/home.html.haml +5 -0
  110. data/app/views/publish_my_data/home/privacy.html.haml +1 -0
  111. data/app/views/publish_my_data/ontologies/show.html.haml +100 -0
  112. data/app/views/publish_my_data/properties/show.html.haml +28 -0
  113. data/app/views/publish_my_data/resources/_resource_data.html.haml +16 -0
  114. data/app/views/publish_my_data/resources/_sparql_section.html.haml +22 -0
  115. data/app/views/publish_my_data/resources/index.html.haml +37 -0
  116. data/app/views/publish_my_data/resources/show.html.haml +36 -0
  117. data/app/views/publish_my_data/shared/_browser_warning.html.haml +4 -0
  118. data/app/views/publish_my_data/shared/_deprecation_notice.html.haml +8 -0
  119. data/app/views/publish_my_data/shared/_footer.html.haml +11 -0
  120. data/app/views/publish_my_data/shared/_google_analytics.html.haml +11 -0
  121. data/app/views/publish_my_data/shared/_logo.html.haml +1 -0
  122. data/app/views/publish_my_data/shared/_meta_title.html.haml +2 -0
  123. data/app/views/publish_my_data/sparql/_form.html.haml +28 -0
  124. data/app/views/publish_my_data/sparql/_formats_dropdown.html.haml +11 -0
  125. data/app/views/publish_my_data/sparql/endpoint.html.haml +125 -0
  126. data/app/views/publish_my_data/sparql/formats_dropdowns/_ask.html.haml +7 -0
  127. data/app/views/publish_my_data/sparql/formats_dropdowns/_construct.html.haml +7 -0
  128. data/app/views/publish_my_data/sparql/formats_dropdowns/_describe.html.haml +1 -0
  129. data/app/views/publish_my_data/sparql/formats_dropdowns/_select.html.haml +9 -0
  130. data/app/views/publish_my_data/themes/index.html.haml +30 -0
  131. data/app/views/publish_my_data/themes/show.html.haml +43 -0
  132. data/config/routes.rb +20 -5
  133. data/lib/publish_my_data/version.rb +1 -1
  134. data/lib/publish_my_data.rb +7 -12
  135. data/spec/controllers/publish_my_data/datasets_controller_spec.rb +0 -75
  136. data/spec/controllers/publish_my_data/information_resources_controller_spec.rb +2 -11
  137. data/spec/dummy/config/environments/development.rb +0 -4
  138. data/spec/dummy/config/environments/test.rb +0 -4
  139. data/spec/dummy/log/test.log +62962 -0
  140. data/spec/dummy/tmp/cache/sass/e509ccd4d793d2c162d70125e9f3656b6c28f357/(__TEMPLATE__)c +0 -0
  141. data/spec/features/running_a_sparql_query_spec.rb +1 -1
  142. data/spec/features/uri_dereferencing_spec.rb +1 -1
  143. metadata +200 -58
  144. data/app/controllers/concerns/publish_my_data/data_download.rb +0 -22
  145. data/app/controllers/publish_my_data/vocabularies_controller.rb +0 -18
  146. data/app/views/layouts/publish_my_data/application.html.erb +0 -13
  147. data/app/views/layouts/publish_my_data/error.html.erb +0 -13
  148. data/app/views/publish_my_data/classes/show.html.erb +0 -3
  149. data/app/views/publish_my_data/concept_schemes/_concepts.html.erb +0 -18
  150. data/app/views/publish_my_data/concept_schemes/show.html.erb +0 -11
  151. data/app/views/publish_my_data/concepts/show.html.erb +0 -3
  152. data/app/views/publish_my_data/datasets/index.html.erb +0 -20
  153. data/app/views/publish_my_data/datasets/show.html.erb +0 -18
  154. data/app/views/publish_my_data/errors/not_found.html.erb +0 -1
  155. data/app/views/publish_my_data/errors/response_too_large.html.erb +0 -1
  156. data/app/views/publish_my_data/errors/timeout.html.erb +0 -1
  157. data/app/views/publish_my_data/errors/uncaught.html.erb +0 -6
  158. data/app/views/publish_my_data/ontologies/show.html.erb +0 -17
  159. data/app/views/publish_my_data/properties/show.html.erb +0 -3
  160. data/app/views/publish_my_data/resources/_predicates_table.html.erb +0 -30
  161. data/app/views/publish_my_data/resources/_predicates_table_head.html.erb +0 -6
  162. data/app/views/publish_my_data/resources/_resource_formats.html.erb +0 -4
  163. data/app/views/publish_my_data/resources/_summaries.html.erb +0 -18
  164. data/app/views/publish_my_data/resources/_uri_and_label.html.erb +0 -3
  165. data/app/views/publish_my_data/resources/index.html.erb +0 -40
  166. data/app/views/publish_my_data/resources/show.html.erb +0 -3
  167. data/app/views/publish_my_data/sparql/_ask_formats.html.erb +0 -3
  168. data/app/views/publish_my_data/sparql/_construct_formats.html.erb +0 -3
  169. data/app/views/publish_my_data/sparql/_describe_formats.html.erb +0 -1
  170. data/app/views/publish_my_data/sparql/_error_message.html.erb +0 -3
  171. data/app/views/publish_my_data/sparql/_form.html.erb +0 -4
  172. data/app/views/publish_my_data/sparql/_formats.html.erb +0 -6
  173. data/app/views/publish_my_data/sparql/_pagination.html.erb +0 -6
  174. data/app/views/publish_my_data/sparql/_results.html.erb +0 -5
  175. data/app/views/publish_my_data/sparql/_results_data.html.erb +0 -4
  176. data/app/views/publish_my_data/sparql/_select_formats.html.erb +0 -3
  177. data/app/views/publish_my_data/sparql/endpoint.html.erb +0 -10
  178. data/app/views/publish_my_data/themes/index.html.erb +0 -13
  179. data/app/views/publish_my_data/themes/show.html.erb +0 -15
  180. data/config/initializers/20_s3_setup.rb +0 -4
  181. data/spec/controllers/publish_my_data/vocabularies_controller_spec.rb +0 -14
  182. data/spec/support/data_download.rb +0 -60
@@ -0,0 +1,350 @@
1
+ //
2
+ // Forms
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Normalize non-controls
7
+ //
8
+ // Restyle and baseline non-control form elements.
9
+
10
+ fieldset {
11
+ padding: 0;
12
+ margin: 0;
13
+ border: 0;
14
+ }
15
+
16
+ legend {
17
+ display: block;
18
+ width: 100%;
19
+ padding: 0;
20
+ margin-bottom: $line-height-computed;
21
+ font-size: ($font-size-base * 1.5);
22
+ line-height: inherit;
23
+ color: $legend-color;
24
+ border: 0;
25
+ border-bottom: 1px solid $legend-border-color;
26
+ }
27
+
28
+ label {
29
+ display: inline-block;
30
+ margin-bottom: 5px;
31
+ font-weight: bold;
32
+ }
33
+
34
+
35
+ // Normalize form controls
36
+
37
+ // Override content-box in Normalize (* isn't specific enough)
38
+ input[type="search"] {
39
+ @include box-sizing(border-box);
40
+ }
41
+
42
+ // Position radios and checkboxes better
43
+ input[type="radio"],
44
+ input[type="checkbox"] {
45
+ margin: 4px 0 0;
46
+ margin-top: 1px \9; /* IE8-9 */
47
+ line-height: normal;
48
+ }
49
+
50
+ // Set the height of select and file controls to match text inputs
51
+ input[type="file"] {
52
+ display: block;
53
+ }
54
+
55
+ // Make multiple select elements height not fixed
56
+ select[multiple],
57
+ select[size] {
58
+ height: auto;
59
+ }
60
+
61
+ // Fix optgroup Firefox bug per https://github.com/twbs/bootstrap/issues/7611
62
+ select optgroup {
63
+ font-size: inherit;
64
+ font-style: inherit;
65
+ font-family: inherit;
66
+ }
67
+
68
+ // Focus for select, file, radio, and checkbox
69
+ input[type="file"]:focus,
70
+ input[type="radio"]:focus,
71
+ input[type="checkbox"]:focus {
72
+ @include tab-focus();
73
+ }
74
+
75
+ // Fix for Chrome number input
76
+ // Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.
77
+ // See https://github.com/twbs/bootstrap/issues/8350 for more.
78
+ input[type="number"] {
79
+ &::-webkit-outer-spin-button,
80
+ &::-webkit-inner-spin-button {
81
+ height: auto;
82
+ }
83
+ }
84
+
85
+
86
+ // Placeholder
87
+ //
88
+ // Placeholder text gets special styles because when browsers invalidate entire
89
+ // lines if it doesn't understand a selector/
90
+ .form-control {
91
+ @include placeholder();
92
+ }
93
+
94
+
95
+ // Common form controls
96
+ //
97
+ // Shared size and type resets for form controls. Apply `.form-control` to any
98
+ // of the following form controls:
99
+ //
100
+ // select
101
+ // textarea
102
+ // input[type="text"]
103
+ // input[type="password"]
104
+ // input[type="datetime"]
105
+ // input[type="datetime-local"]
106
+ // input[type="date"]
107
+ // input[type="month"]
108
+ // input[type="time"]
109
+ // input[type="week"]
110
+ // input[type="number"]
111
+ // input[type="email"]
112
+ // input[type="url"]
113
+ // input[type="search"]
114
+ // input[type="tel"]
115
+ // input[type="color"]
116
+
117
+ .form-control {
118
+ display: block;
119
+ width: 100%;
120
+ height: $input-height-base; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
121
+ padding: $padding-base-vertical $padding-base-horizontal;
122
+ font-size: $font-size-base;
123
+ line-height: $line-height-base;
124
+ color: $input-color;
125
+ vertical-align: middle;
126
+ background-color: $input-bg;
127
+ border: 1px solid $input-border;
128
+ border-radius: $input-border-radius;
129
+ @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
130
+ @include transition(border-color ease-in-out .15s, box-shadow ease-in-out .15s);
131
+
132
+ // Customize the `:focus` state to imitate native WebKit styles.
133
+ @include form-control-focus();
134
+
135
+ // Disabled and read-only inputs
136
+ // Note: HTML5 says that controls under a fieldset > legend:first-child won't
137
+ // be disabled if the fieldset is disabled. Due to implementation difficulty,
138
+ // we don't honor that edge case; we style them as disabled anyway.
139
+ &[disabled],
140
+ &[readonly],
141
+ fieldset[disabled] & {
142
+ cursor: not-allowed;
143
+ background-color: $input-bg-disabled;
144
+ }
145
+ }
146
+
147
+ // Reset height for `textarea`s
148
+ textarea.form-control {
149
+ height: auto;
150
+ }
151
+
152
+
153
+ // Form groups
154
+ //
155
+ // Designed to help with the organization and spacing of vertical forms. For
156
+ // horizontal forms, use the predefined grid classes.
157
+
158
+ .form-group {
159
+ margin-bottom: 15px;
160
+ }
161
+
162
+
163
+ // Checkboxes and radios
164
+ //
165
+ // Indent the labels to position radios/checkboxes as hanging controls.
166
+
167
+ .radio,
168
+ .checkbox {
169
+ display: block;
170
+ min-height: $line-height-computed; // clear the floating input if there is no label text
171
+ margin-top: 10px;
172
+ margin-bottom: 10px;
173
+ padding-left: 20px;
174
+ vertical-align: middle;
175
+ label {
176
+ display: inline;
177
+ margin-bottom: 0;
178
+ font-weight: normal;
179
+ cursor: pointer;
180
+ }
181
+ }
182
+ .radio input[type="radio"],
183
+ .radio-inline input[type="radio"],
184
+ .checkbox input[type="checkbox"],
185
+ .checkbox-inline input[type="checkbox"] {
186
+ float: left;
187
+ margin-left: -20px;
188
+ }
189
+ .radio + .radio,
190
+ .checkbox + .checkbox {
191
+ margin-top: -5px; // Move up sibling radios or checkboxes for tighter spacing
192
+ }
193
+
194
+ // Radios and checkboxes on same line
195
+ .radio-inline,
196
+ .checkbox-inline {
197
+ display: inline-block;
198
+ padding-left: 20px;
199
+ margin-bottom: 0;
200
+ vertical-align: middle;
201
+ font-weight: normal;
202
+ cursor: pointer;
203
+ }
204
+ .radio-inline + .radio-inline,
205
+ .checkbox-inline + .checkbox-inline {
206
+ margin-top: 0;
207
+ margin-left: 10px; // space out consecutive inline controls
208
+ }
209
+
210
+ // Apply same disabled cursor tweak as for inputs
211
+ //
212
+ // Note: Neither radios nor checkboxes can be readonly.
213
+ input[type="radio"],
214
+ input[type="checkbox"],
215
+ .radio,
216
+ .radio-inline,
217
+ .checkbox,
218
+ .checkbox-inline {
219
+ &[disabled],
220
+ fieldset[disabled] & {
221
+ cursor: not-allowed;
222
+ }
223
+ }
224
+
225
+ // Form control sizing
226
+
227
+ @include input-size('.input-sm', $input-height-small, $padding-small-vertical, $padding-small-horizontal, $font-size-small, $line-height-small, $border-radius-small);
228
+
229
+ @include input-size('.input-lg', $input-height-large, $padding-large-vertical, $padding-large-horizontal, $font-size-large, $line-height-large, $border-radius-large);
230
+
231
+
232
+ // Form control feedback states
233
+ //
234
+ // Apply contextual and semantic states to individual form controls.
235
+
236
+ // Warning
237
+ .has-warning {
238
+ @include form-control-validation($state-warning-text, $state-warning-text, $state-warning-bg);
239
+ }
240
+ // Error
241
+ .has-error {
242
+ @include form-control-validation($state-danger-text, $state-danger-text, $state-danger-bg);
243
+ }
244
+ // Success
245
+ .has-success {
246
+ @include form-control-validation($state-success-text, $state-success-text, $state-success-bg);
247
+ }
248
+
249
+
250
+ // Static form control text
251
+ //
252
+ // Apply class to a `p` element to make any string of text align with labels in
253
+ // a horizontal form layout.
254
+
255
+ .form-control-static {
256
+ margin-bottom: 0; // Remove default margin from `p`
257
+ padding-top: ($padding-base-vertical + 1);
258
+ }
259
+
260
+
261
+ // Help text
262
+ //
263
+ // Apply to any element you wish to create light text for placement immediately
264
+ // below a form control. Use for general help, formatting, or instructional text.
265
+
266
+ .help-block {
267
+ display: block; // account for any element using help-block
268
+ margin-top: 5px;
269
+ margin-bottom: 10px;
270
+ color: lighten($text-color, 25%); // lighten the text some for contrast
271
+ }
272
+
273
+
274
+
275
+ // Inline forms
276
+ //
277
+ // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
278
+ // forms begin stacked on extra small (mobile) devices and then go inline when
279
+ // viewports reach <768px.
280
+ //
281
+ // Requires wrapping inputs and labels with `.form-group` for proper display of
282
+ // default HTML form controls and our custom form controls (e.g., input groups).
283
+ //
284
+ // Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
285
+
286
+ .form-inline {
287
+
288
+ // Kick in the inline
289
+ @media (min-width: $screen-tablet) {
290
+ // Inline-block all the things for "inline"
291
+ .form-group {
292
+ display: inline-block;
293
+ margin-bottom: 0;
294
+ vertical-align: middle;
295
+ }
296
+
297
+ // In navbar-form, allow folks to *not* use `.form-group`
298
+ .form-control {
299
+ display: inline-block;
300
+ }
301
+
302
+ // Remove default margin on radios/checkboxes that were used for stacking, and
303
+ // then undo the floating of radios and checkboxes to match (which also avoids
304
+ // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
305
+ .radio,
306
+ .checkbox {
307
+ display: inline-block;
308
+ margin-top: 0;
309
+ margin-bottom: 0;
310
+ padding-left: 0;
311
+ }
312
+ .radio input[type="radio"],
313
+ .checkbox input[type="checkbox"] {
314
+ float: none;
315
+ margin-left: 0;
316
+ }
317
+ }
318
+ }
319
+
320
+
321
+ // Horizontal forms
322
+ //
323
+ // Horizontal forms are built on grid classes and allow you to create forms with
324
+ // labels on the left and inputs on the right.
325
+
326
+ .form-horizontal {
327
+
328
+ // Consistent vertical alignment of labels, radios, and checkboxes
329
+ .control-label,
330
+ .radio,
331
+ .checkbox,
332
+ .radio-inline,
333
+ .checkbox-inline {
334
+ margin-top: 0;
335
+ margin-bottom: 0;
336
+ padding-top: ($padding-base-vertical + 1); // Default padding plus a border
337
+ }
338
+
339
+ // Make form groups behave like rows
340
+ .form-group {
341
+ @include make-row();
342
+ }
343
+
344
+ // Only right align form labels here when the columns stop stacking
345
+ @media (min-width: $screen-tablet) {
346
+ .control-label {
347
+ text-align: right;
348
+ }
349
+ }
350
+ }
@@ -0,0 +1,232 @@
1
+ //
2
+ // Glyphicons for Bootstrap
3
+ //
4
+ // Since icons are fonts, they can be placed anywhere text is placed and are
5
+ // thus automatically sized to match the surrounding child. To use, create an
6
+ // inline element with the appropriate classes, like so:
7
+ //
8
+ // <a href="#"><span class="glyphicon glyphicon-star"></span> Star</a>
9
+
10
+ // Import the fonts
11
+ @font-face {
12
+ font-family: 'Glyphicons Halflings';
13
+ src: url('#{$icon-font-path}#{$icon-font-name}.eot');
14
+ src: url('#{$icon-font-path}#{$icon-font-name}.eot?#iefix') format('embedded-opentype'),
15
+ url('#{$icon-font-path}#{$icon-font-name}.woff') format('woff'),
16
+ url('#{$icon-font-path}#{$icon-font-name}.ttf') format('truetype'),
17
+ url('#{$icon-font-path}#{$icon-font-name}.svg#glyphicons-halflingsregular') format('svg');
18
+ }
19
+
20
+ // Catchall baseclass
21
+ .glyphicon {
22
+ position: relative;
23
+ top: 1px;
24
+ display: inline-block;
25
+ font-family: 'Glyphicons Halflings';
26
+ font-style: normal;
27
+ font-weight: normal;
28
+ line-height: 1;
29
+ -webkit-font-smoothing: antialiased;
30
+ }
31
+
32
+ // Individual icons
33
+ .glyphicon-asterisk { &:before { content: "\2a"; } }
34
+ .glyphicon-plus { &:before { content: "\2b"; } }
35
+ .glyphicon-euro { &:before { content: "\20ac"; } }
36
+ .glyphicon-minus { &:before { content: "\2212"; } }
37
+ .glyphicon-cloud { &:before { content: "\2601"; } }
38
+ .glyphicon-envelope { &:before { content: "\2709"; } }
39
+ .glyphicon-pencil { &:before { content: "\270f"; } }
40
+ .glyphicon-glass { &:before { content: "\e001"; } }
41
+ .glyphicon-music { &:before { content: "\e002"; } }
42
+ .glyphicon-search { &:before { content: "\e003"; } }
43
+ .glyphicon-heart { &:before { content: "\e005"; } }
44
+ .glyphicon-star { &:before { content: "\e006"; } }
45
+ .glyphicon-star-empty { &:before { content: "\e007"; } }
46
+ .glyphicon-user { &:before { content: "\e008"; } }
47
+ .glyphicon-film { &:before { content: "\e009"; } }
48
+ .glyphicon-th-large { &:before { content: "\e010"; } }
49
+ .glyphicon-th { &:before { content: "\e011"; } }
50
+ .glyphicon-th-list { &:before { content: "\e012"; } }
51
+ .glyphicon-ok { &:before { content: "\e013"; } }
52
+ .glyphicon-remove { &:before { content: "\e014"; } }
53
+ .glyphicon-zoom-in { &:before { content: "\e015"; } }
54
+ .glyphicon-zoom-out { &:before { content: "\e016"; } }
55
+ .glyphicon-off { &:before { content: "\e017"; } }
56
+ .glyphicon-signal { &:before { content: "\e018"; } }
57
+ .glyphicon-cog { &:before { content: "\e019"; } }
58
+ .glyphicon-trash { &:before { content: "\e020"; } }
59
+ .glyphicon-home { &:before { content: "\e021"; } }
60
+ .glyphicon-file { &:before { content: "\e022"; } }
61
+ .glyphicon-time { &:before { content: "\e023"; } }
62
+ .glyphicon-road { &:before { content: "\e024"; } }
63
+ .glyphicon-download-alt { &:before { content: "\e025"; } }
64
+ .glyphicon-download { &:before { content: "\e026"; } }
65
+ .glyphicon-upload { &:before { content: "\e027"; } }
66
+ .glyphicon-inbox { &:before { content: "\e028"; } }
67
+ .glyphicon-play-circle { &:before { content: "\e029"; } }
68
+ .glyphicon-repeat { &:before { content: "\e030"; } }
69
+ .glyphicon-refresh { &:before { content: "\e031"; } }
70
+ .glyphicon-list-alt { &:before { content: "\e032"; } }
71
+ .glyphicon-flag { &:before { content: "\e034"; } }
72
+ .glyphicon-headphones { &:before { content: "\e035"; } }
73
+ .glyphicon-volume-off { &:before { content: "\e036"; } }
74
+ .glyphicon-volume-down { &:before { content: "\e037"; } }
75
+ .glyphicon-volume-up { &:before { content: "\e038"; } }
76
+ .glyphicon-qrcode { &:before { content: "\e039"; } }
77
+ .glyphicon-barcode { &:before { content: "\e040"; } }
78
+ .glyphicon-tag { &:before { content: "\e041"; } }
79
+ .glyphicon-tags { &:before { content: "\e042"; } }
80
+ .glyphicon-book { &:before { content: "\e043"; } }
81
+ .glyphicon-print { &:before { content: "\e045"; } }
82
+ .glyphicon-font { &:before { content: "\e047"; } }
83
+ .glyphicon-bold { &:before { content: "\e048"; } }
84
+ .glyphicon-italic { &:before { content: "\e049"; } }
85
+ .glyphicon-text-height { &:before { content: "\e050"; } }
86
+ .glyphicon-text-width { &:before { content: "\e051"; } }
87
+ .glyphicon-align-left { &:before { content: "\e052"; } }
88
+ .glyphicon-align-center { &:before { content: "\e053"; } }
89
+ .glyphicon-align-right { &:before { content: "\e054"; } }
90
+ .glyphicon-align-justify { &:before { content: "\e055"; } }
91
+ .glyphicon-list { &:before { content: "\e056"; } }
92
+ .glyphicon-indent-left { &:before { content: "\e057"; } }
93
+ .glyphicon-indent-right { &:before { content: "\e058"; } }
94
+ .glyphicon-facetime-video { &:before { content: "\e059"; } }
95
+ .glyphicon-picture { &:before { content: "\e060"; } }
96
+ .glyphicon-map-marker { &:before { content: "\e062"; } }
97
+ .glyphicon-adjust { &:before { content: "\e063"; } }
98
+ .glyphicon-tint { &:before { content: "\e064"; } }
99
+ .glyphicon-edit { &:before { content: "\e065"; } }
100
+ .glyphicon-share { &:before { content: "\e066"; } }
101
+ .glyphicon-check { &:before { content: "\e067"; } }
102
+ .glyphicon-move { &:before { content: "\e068"; } }
103
+ .glyphicon-step-backward { &:before { content: "\e069"; } }
104
+ .glyphicon-fast-backward { &:before { content: "\e070"; } }
105
+ .glyphicon-backward { &:before { content: "\e071"; } }
106
+ .glyphicon-play { &:before { content: "\e072"; } }
107
+ .glyphicon-pause { &:before { content: "\e073"; } }
108
+ .glyphicon-stop { &:before { content: "\e074"; } }
109
+ .glyphicon-forward { &:before { content: "\e075"; } }
110
+ .glyphicon-fast-forward { &:before { content: "\e076"; } }
111
+ .glyphicon-step-forward { &:before { content: "\e077"; } }
112
+ .glyphicon-eject { &:before { content: "\e078"; } }
113
+ .glyphicon-chevron-left { &:before { content: "\e079"; } }
114
+ .glyphicon-chevron-right { &:before { content: "\e080"; } }
115
+ .glyphicon-plus-sign { &:before { content: "\e081"; } }
116
+ .glyphicon-minus-sign { &:before { content: "\e082"; } }
117
+ .glyphicon-remove-sign { &:before { content: "\e083"; } }
118
+ .glyphicon-ok-sign { &:before { content: "\e084"; } }
119
+ .glyphicon-question-sign { &:before { content: "\e085"; } }
120
+ .glyphicon-info-sign { &:before { content: "\e086"; } }
121
+ .glyphicon-screenshot { &:before { content: "\e087"; } }
122
+ .glyphicon-remove-circle { &:before { content: "\e088"; } }
123
+ .glyphicon-ok-circle { &:before { content: "\e089"; } }
124
+ .glyphicon-ban-circle { &:before { content: "\e090"; } }
125
+ .glyphicon-arrow-left { &:before { content: "\e091"; } }
126
+ .glyphicon-arrow-right { &:before { content: "\e092"; } }
127
+ .glyphicon-arrow-up { &:before { content: "\e093"; } }
128
+ .glyphicon-arrow-down { &:before { content: "\e094"; } }
129
+ .glyphicon-share-alt { &:before { content: "\e095"; } }
130
+ .glyphicon-resize-full { &:before { content: "\e096"; } }
131
+ .glyphicon-resize-small { &:before { content: "\e097"; } }
132
+ .glyphicon-exclamation-sign { &:before { content: "\e101"; } }
133
+ .glyphicon-gift { &:before { content: "\e102"; } }
134
+ .glyphicon-leaf { &:before { content: "\e103"; } }
135
+ .glyphicon-eye-open { &:before { content: "\e105"; } }
136
+ .glyphicon-eye-close { &:before { content: "\e106"; } }
137
+ .glyphicon-warning-sign { &:before { content: "\e107"; } }
138
+ .glyphicon-plane { &:before { content: "\e108"; } }
139
+ .glyphicon-random { &:before { content: "\e110"; } }
140
+ .glyphicon-comment { &:before { content: "\e111"; } }
141
+ .glyphicon-magnet { &:before { content: "\e112"; } }
142
+ .glyphicon-chevron-up { &:before { content: "\e113"; } }
143
+ .glyphicon-chevron-down { &:before { content: "\e114"; } }
144
+ .glyphicon-retweet { &:before { content: "\e115"; } }
145
+ .glyphicon-shopping-cart { &:before { content: "\e116"; } }
146
+ .glyphicon-folder-close { &:before { content: "\e117"; } }
147
+ .glyphicon-folder-open { &:before { content: "\e118"; } }
148
+ .glyphicon-resize-vertical { &:before { content: "\e119"; } }
149
+ .glyphicon-resize-horizontal { &:before { content: "\e120"; } }
150
+ .glyphicon-hdd { &:before { content: "\e121"; } }
151
+ .glyphicon-bullhorn { &:before { content: "\e122"; } }
152
+ .glyphicon-certificate { &:before { content: "\e124"; } }
153
+ .glyphicon-thumbs-up { &:before { content: "\e125"; } }
154
+ .glyphicon-thumbs-down { &:before { content: "\e126"; } }
155
+ .glyphicon-hand-right { &:before { content: "\e127"; } }
156
+ .glyphicon-hand-left { &:before { content: "\e128"; } }
157
+ .glyphicon-hand-up { &:before { content: "\e129"; } }
158
+ .glyphicon-hand-down { &:before { content: "\e130"; } }
159
+ .glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
160
+ .glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
161
+ .glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
162
+ .glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
163
+ .glyphicon-globe { &:before { content: "\e135"; } }
164
+ .glyphicon-tasks { &:before { content: "\e137"; } }
165
+ .glyphicon-filter { &:before { content: "\e138"; } }
166
+ .glyphicon-fullscreen { &:before { content: "\e140"; } }
167
+ .glyphicon-dashboard { &:before { content: "\e141"; } }
168
+ .glyphicon-heart-empty { &:before { content: "\e143"; } }
169
+ .glyphicon-link { &:before { content: "\e144"; } }
170
+ .glyphicon-phone { &:before { content: "\e145"; } }
171
+ .glyphicon-usd { &:before { content: "\e148"; } }
172
+ .glyphicon-gbp { &:before { content: "\e149"; } }
173
+ .glyphicon-sort { &:before { content: "\e150"; } }
174
+ .glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
175
+ .glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
176
+ .glyphicon-sort-by-order { &:before { content: "\e153"; } }
177
+ .glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
178
+ .glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
179
+ .glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
180
+ .glyphicon-unchecked { &:before { content: "\e157"; } }
181
+ .glyphicon-expand { &:before { content: "\e158"; } }
182
+ .glyphicon-collapse-down { &:before { content: "\e159"; } }
183
+ .glyphicon-collapse-up { &:before { content: "\e160"; } }
184
+ .glyphicon-log-in { &:before { content: "\e161"; } }
185
+ .glyphicon-flash { &:before { content: "\e162"; } }
186
+ .glyphicon-log-out { &:before { content: "\e163"; } }
187
+ .glyphicon-new-window { &:before { content: "\e164"; } }
188
+ .glyphicon-record { &:before { content: "\e165"; } }
189
+ .glyphicon-save { &:before { content: "\e166"; } }
190
+ .glyphicon-open { &:before { content: "\e167"; } }
191
+ .glyphicon-saved { &:before { content: "\e168"; } }
192
+ .glyphicon-import { &:before { content: "\e169"; } }
193
+ .glyphicon-export { &:before { content: "\e170"; } }
194
+ .glyphicon-send { &:before { content: "\e171"; } }
195
+ .glyphicon-floppy-disk { &:before { content: "\e172"; } }
196
+ .glyphicon-floppy-saved { &:before { content: "\e173"; } }
197
+ .glyphicon-floppy-remove { &:before { content: "\e174"; } }
198
+ .glyphicon-floppy-save { &:before { content: "\e175"; } }
199
+ .glyphicon-floppy-open { &:before { content: "\e176"; } }
200
+ .glyphicon-credit-card { &:before { content: "\e177"; } }
201
+ .glyphicon-transfer { &:before { content: "\e178"; } }
202
+ .glyphicon-cutlery { &:before { content: "\e179"; } }
203
+ .glyphicon-header { &:before { content: "\e180"; } }
204
+ .glyphicon-compressed { &:before { content: "\e181"; } }
205
+ .glyphicon-earphone { &:before { content: "\e182"; } }
206
+ .glyphicon-phone-alt { &:before { content: "\e183"; } }
207
+ .glyphicon-tower { &:before { content: "\e184"; } }
208
+ .glyphicon-stats { &:before { content: "\e185"; } }
209
+ .glyphicon-sd-video { &:before { content: "\e186"; } }
210
+ .glyphicon-hd-video { &:before { content: "\e187"; } }
211
+ .glyphicon-subtitles { &:before { content: "\e188"; } }
212
+ .glyphicon-sound-stereo { &:before { content: "\e189"; } }
213
+ .glyphicon-sound-dolby { &:before { content: "\e190"; } }
214
+ .glyphicon-sound-5-1 { &:before { content: "\e191"; } }
215
+ .glyphicon-sound-6-1 { &:before { content: "\e192"; } }
216
+ .glyphicon-sound-7-1 { &:before { content: "\e193"; } }
217
+ .glyphicon-copyright-mark { &:before { content: "\e194"; } }
218
+ .glyphicon-registration-mark { &:before { content: "\e195"; } }
219
+ .glyphicon-cloud-download { &:before { content: "\e197"; } }
220
+ .glyphicon-cloud-upload { &:before { content: "\e198"; } }
221
+ .glyphicon-tree-conifer { &:before { content: "\e199"; } }
222
+ .glyphicon-tree-deciduous { &:before { content: "\e200"; } }
223
+ .glyphicon-briefcase { &:before { content: "\1f4bc"; } }
224
+ .glyphicon-calendar { &:before { content: "\1f4c5"; } }
225
+ .glyphicon-pushpin { &:before { content: "\1f4cc"; } }
226
+ .glyphicon-paperclip { &:before { content: "\1f4ce"; } }
227
+ .glyphicon-camera { &:before { content: "\1f4f7"; } }
228
+ .glyphicon-lock { &:before { content: "\1f512"; } }
229
+ .glyphicon-bell { &:before { content: "\1f514"; } }
230
+ .glyphicon-bookmark { &:before { content: "\1f516"; } }
231
+ .glyphicon-fire { &:before { content: "\1f525"; } }
232
+ .glyphicon-wrench { &:before { content: "\1f527"; } }