dataclips 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  6. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +288 -0
  7. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  8. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  9. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  10. data/app/assets/images/dataclips/slickgrid/sort-asc.png +0 -0
  11. data/app/assets/images/dataclips/slickgrid/sort-desc.png +0 -0
  12. data/app/assets/javascripts/dataclips/application.js +26 -0
  13. data/app/assets/javascripts/dataclips/backbone.js +1608 -0
  14. data/app/assets/javascripts/dataclips/dataclips.js.coffee +168 -0
  15. data/app/assets/javascripts/dataclips/formatters.js.coffee +14 -0
  16. data/app/assets/javascripts/dataclips/namespace.js.coffee +1 -0
  17. data/app/assets/javascripts/dataclips/record.js.coffee +39 -0
  18. data/app/assets/javascripts/dataclips/slickgrid.js +5 -0
  19. data/app/assets/javascripts/dataclips/slickgrid/jquery.event.drag-2.2.js +402 -0
  20. data/app/assets/javascripts/dataclips/slickgrid/plugins/slick.rowselectionmodel.js +187 -0
  21. data/app/assets/javascripts/dataclips/slickgrid/slick.core.js +458 -0
  22. data/app/assets/javascripts/dataclips/slickgrid/slick.dataview.js +1063 -0
  23. data/app/assets/javascripts/dataclips/slickgrid/slick.grid.js +3309 -0
  24. data/app/assets/javascripts/dataclips/underscore.js +1416 -0
  25. data/app/assets/stylesheets/bootstrap/_alerts.scss +68 -0
  26. data/app/assets/stylesheets/bootstrap/_badges.scss +63 -0
  27. data/app/assets/stylesheets/bootstrap/_breadcrumbs.scss +26 -0
  28. data/app/assets/stylesheets/bootstrap/_button-groups.scss +243 -0
  29. data/app/assets/stylesheets/bootstrap/_buttons.scss +160 -0
  30. data/app/assets/stylesheets/bootstrap/_carousel.scss +267 -0
  31. data/app/assets/stylesheets/bootstrap/_close.scss +35 -0
  32. data/app/assets/stylesheets/bootstrap/_code.scss +69 -0
  33. data/app/assets/stylesheets/bootstrap/_component-animations.scss +38 -0
  34. data/app/assets/stylesheets/bootstrap/_dropdowns.scss +213 -0
  35. data/app/assets/stylesheets/bootstrap/_forms.scss +548 -0
  36. data/app/assets/stylesheets/bootstrap/_glyphicons.scss +234 -0
  37. data/app/assets/stylesheets/bootstrap/_grid.scss +84 -0
  38. data/app/assets/stylesheets/bootstrap/_input-groups.scss +166 -0
  39. data/app/assets/stylesheets/bootstrap/_jumbotron.scss +49 -0
  40. data/app/assets/stylesheets/bootstrap/_labels.scss +66 -0
  41. data/app/assets/stylesheets/bootstrap/_list-group.scss +124 -0
  42. data/app/assets/stylesheets/bootstrap/_media.scss +47 -0
  43. data/app/assets/stylesheets/bootstrap/_mixins.scss +39 -0
  44. data/app/assets/stylesheets/bootstrap/_modals.scss +148 -0
  45. data/app/assets/stylesheets/bootstrap/_navbar.scss +662 -0
  46. data/app/assets/stylesheets/bootstrap/_navs.scss +244 -0
  47. data/app/assets/stylesheets/bootstrap/_normalize.scss +427 -0
  48. data/app/assets/stylesheets/bootstrap/_pager.scss +54 -0
  49. data/app/assets/stylesheets/bootstrap/_pagination.scss +88 -0
  50. data/app/assets/stylesheets/bootstrap/_panels.scss +261 -0
  51. data/app/assets/stylesheets/bootstrap/_popovers.scss +135 -0
  52. data/app/assets/stylesheets/bootstrap/_print.scss +107 -0
  53. data/app/assets/stylesheets/bootstrap/_progress-bars.scss +87 -0
  54. data/app/assets/stylesheets/bootstrap/_responsive-embed.scss +35 -0
  55. data/app/assets/stylesheets/bootstrap/_responsive-utilities.scss +174 -0
  56. data/app/assets/stylesheets/bootstrap/_scaffolding.scss +150 -0
  57. data/app/assets/stylesheets/bootstrap/_tables.scss +234 -0
  58. data/app/assets/stylesheets/bootstrap/_theme.scss +272 -0
  59. data/app/assets/stylesheets/bootstrap/_thumbnails.scss +38 -0
  60. data/app/assets/stylesheets/bootstrap/_tooltip.scss +103 -0
  61. data/app/assets/stylesheets/bootstrap/_type.scss +298 -0
  62. data/app/assets/stylesheets/bootstrap/_utilities.scss +56 -0
  63. data/app/assets/stylesheets/bootstrap/_variables.scss +864 -0
  64. data/app/assets/stylesheets/bootstrap/_wells.scss +29 -0
  65. data/app/assets/stylesheets/bootstrap/mixins/_alerts.scss +14 -0
  66. data/app/assets/stylesheets/bootstrap/mixins/_background-variant.scss +11 -0
  67. data/app/assets/stylesheets/bootstrap/mixins/_border-radius.scss +18 -0
  68. data/app/assets/stylesheets/bootstrap/mixins/_buttons.scss +52 -0
  69. data/app/assets/stylesheets/bootstrap/mixins/_center-block.scss +7 -0
  70. data/app/assets/stylesheets/bootstrap/mixins/_clearfix.scss +22 -0
  71. data/app/assets/stylesheets/bootstrap/mixins/_forms.scss +88 -0
  72. data/app/assets/stylesheets/bootstrap/mixins/_gradients.scss +58 -0
  73. data/app/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +81 -0
  74. data/app/assets/stylesheets/bootstrap/mixins/_grid.scss +122 -0
  75. data/app/assets/stylesheets/bootstrap/mixins/_hide-text.scss +21 -0
  76. data/app/assets/stylesheets/bootstrap/mixins/_image.scss +33 -0
  77. data/app/assets/stylesheets/bootstrap/mixins/_labels.scss +12 -0
  78. data/app/assets/stylesheets/bootstrap/mixins/_list-group.scss +31 -0
  79. data/app/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +10 -0
  80. data/app/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  81. data/app/assets/stylesheets/bootstrap/mixins/_opacity.scss +8 -0
  82. data/app/assets/stylesheets/bootstrap/mixins/_pagination.scss +23 -0
  83. data/app/assets/stylesheets/bootstrap/mixins/_panels.scss +24 -0
  84. data/app/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +10 -0
  85. data/app/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +8 -0
  86. data/app/assets/stylesheets/bootstrap/mixins/_resize.scss +6 -0
  87. data/app/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +21 -0
  88. data/app/assets/stylesheets/bootstrap/mixins/_size.scss +10 -0
  89. data/app/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +9 -0
  90. data/app/assets/stylesheets/bootstrap/mixins/_table-row.scss +28 -0
  91. data/app/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +11 -0
  92. data/app/assets/stylesheets/bootstrap/mixins/_text-overflow.scss +8 -0
  93. data/app/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +222 -0
  94. data/app/assets/stylesheets/dataclips/_bootstrap.scss +53 -0
  95. data/app/assets/stylesheets/dataclips/application.css +18 -0
  96. data/app/assets/stylesheets/dataclips/slickgrid/slickgrid.sass +341 -0
  97. data/app/controllers/dataclips/application_controller.rb +31 -0
  98. data/app/controllers/dataclips/clips_controller.rb +46 -0
  99. data/app/controllers/dataclips/insights_controller.rb +45 -0
  100. data/app/helpers/dataclips/application_helper.rb +4 -0
  101. data/app/models/dataclips/clip.rb +79 -0
  102. data/app/models/dataclips/insight.rb +18 -0
  103. data/app/models/dataclips/sql_query.rb +36 -0
  104. data/app/views/dataclips/application/_boolean.html.erb +1 -0
  105. data/app/views/dataclips/application/_date.html.erb +22 -0
  106. data/app/views/dataclips/application/_datetime.html.erb +25 -0
  107. data/app/views/dataclips/application/_float.html.erb +7 -0
  108. data/app/views/dataclips/application/_integer.html.erb +7 -0
  109. data/app/views/dataclips/application/_text.html.erb +10 -0
  110. data/app/views/dataclips/application/_time.html.erb +23 -0
  111. data/app/views/dataclips/clips/edit.html.erb +14 -0
  112. data/app/views/dataclips/clips/show.html.erb +109 -0
  113. data/app/views/dataclips/insights/show.html.erb +99 -0
  114. data/app/views/layouts/dataclips/application.html.erb +14 -0
  115. data/config/initializers/assets.rb +1 -0
  116. data/config/routes.rb +9 -0
  117. data/db/migrate/20150101143530_create_dataclips_insights.rb +12 -0
  118. data/lib/dataclips.rb +47 -0
  119. data/lib/dataclips/engine.rb +29 -0
  120. data/lib/dataclips/version.rb +3 -0
  121. data/lib/tasks/dataclips_tasks.rake +4 -0
  122. data/test/dataclips_test.rb +7 -0
  123. data/test/dummy/README.rdoc +28 -0
  124. data/test/dummy/Rakefile +6 -0
  125. data/test/dummy/app/assets/javascripts/application.js +13 -0
  126. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  127. data/test/dummy/app/controllers/application_controller.rb +5 -0
  128. data/test/dummy/app/helpers/application_helper.rb +2 -0
  129. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  130. data/test/dummy/bin/bundle +3 -0
  131. data/test/dummy/bin/rails +4 -0
  132. data/test/dummy/bin/rake +4 -0
  133. data/test/dummy/config.ru +4 -0
  134. data/test/dummy/config/application.rb +23 -0
  135. data/test/dummy/config/boot.rb +5 -0
  136. data/test/dummy/config/database.yml +25 -0
  137. data/test/dummy/config/environment.rb +5 -0
  138. data/test/dummy/config/environments/development.rb +37 -0
  139. data/test/dummy/config/environments/production.rb +78 -0
  140. data/test/dummy/config/environments/test.rb +39 -0
  141. data/test/dummy/config/initializers/assets.rb +8 -0
  142. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  143. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  144. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  145. data/test/dummy/config/initializers/inflections.rb +16 -0
  146. data/test/dummy/config/initializers/mime_types.rb +4 -0
  147. data/test/dummy/config/initializers/session_store.rb +3 -0
  148. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  149. data/test/dummy/config/locales/en.yml +23 -0
  150. data/test/dummy/config/routes.rb +4 -0
  151. data/test/dummy/config/secrets.yml +22 -0
  152. data/test/dummy/public/404.html +67 -0
  153. data/test/dummy/public/422.html +67 -0
  154. data/test/dummy/public/500.html +66 -0
  155. data/test/dummy/public/favicon.ico +0 -0
  156. data/test/integration/navigation_test.rb +10 -0
  157. data/test/test_helper.rb +17 -0
  158. metadata +348 -0
@@ -0,0 +1,234 @@
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(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot'), '#{$icon-font-path}#{$icon-font-name}.eot'));
14
+ src: url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.eot?#iefix'), '#{$icon-font-path}#{$icon-font-name}.eot?#iefix')) format('embedded-opentype'),
15
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.woff'), '#{$icon-font-path}#{$icon-font-name}.woff')) format('woff'),
16
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.ttf'), '#{$icon-font-path}#{$icon-font-name}.ttf')) format('truetype'),
17
+ url(if($bootstrap-sass-asset-helper, twbs-font-path('#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}'), '#{$icon-font-path}#{$icon-font-name}.svg##{$icon-font-svg-id}')) 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
+ -moz-osx-font-smoothing: grayscale;
31
+ }
32
+
33
+ // Individual icons
34
+ .glyphicon-asterisk { &:before { content: "\2a"; } }
35
+ .glyphicon-plus { &:before { content: "\2b"; } }
36
+ .glyphicon-euro,
37
+ .glyphicon-eur { &:before { content: "\20ac"; } }
38
+ .glyphicon-minus { &:before { content: "\2212"; } }
39
+ .glyphicon-cloud { &:before { content: "\2601"; } }
40
+ .glyphicon-envelope { &:before { content: "\2709"; } }
41
+ .glyphicon-pencil { &:before { content: "\270f"; } }
42
+ .glyphicon-glass { &:before { content: "\e001"; } }
43
+ .glyphicon-music { &:before { content: "\e002"; } }
44
+ .glyphicon-search { &:before { content: "\e003"; } }
45
+ .glyphicon-heart { &:before { content: "\e005"; } }
46
+ .glyphicon-star { &:before { content: "\e006"; } }
47
+ .glyphicon-star-empty { &:before { content: "\e007"; } }
48
+ .glyphicon-user { &:before { content: "\e008"; } }
49
+ .glyphicon-film { &:before { content: "\e009"; } }
50
+ .glyphicon-th-large { &:before { content: "\e010"; } }
51
+ .glyphicon-th { &:before { content: "\e011"; } }
52
+ .glyphicon-th-list { &:before { content: "\e012"; } }
53
+ .glyphicon-ok { &:before { content: "\e013"; } }
54
+ .glyphicon-remove { &:before { content: "\e014"; } }
55
+ .glyphicon-zoom-in { &:before { content: "\e015"; } }
56
+ .glyphicon-zoom-out { &:before { content: "\e016"; } }
57
+ .glyphicon-off { &:before { content: "\e017"; } }
58
+ .glyphicon-signal { &:before { content: "\e018"; } }
59
+ .glyphicon-cog { &:before { content: "\e019"; } }
60
+ .glyphicon-trash { &:before { content: "\e020"; } }
61
+ .glyphicon-home { &:before { content: "\e021"; } }
62
+ .glyphicon-file { &:before { content: "\e022"; } }
63
+ .glyphicon-time { &:before { content: "\e023"; } }
64
+ .glyphicon-road { &:before { content: "\e024"; } }
65
+ .glyphicon-download-alt { &:before { content: "\e025"; } }
66
+ .glyphicon-download { &:before { content: "\e026"; } }
67
+ .glyphicon-upload { &:before { content: "\e027"; } }
68
+ .glyphicon-inbox { &:before { content: "\e028"; } }
69
+ .glyphicon-play-circle { &:before { content: "\e029"; } }
70
+ .glyphicon-repeat { &:before { content: "\e030"; } }
71
+ .glyphicon-refresh { &:before { content: "\e031"; } }
72
+ .glyphicon-list-alt { &:before { content: "\e032"; } }
73
+ .glyphicon-lock { &:before { content: "\e033"; } }
74
+ .glyphicon-flag { &:before { content: "\e034"; } }
75
+ .glyphicon-headphones { &:before { content: "\e035"; } }
76
+ .glyphicon-volume-off { &:before { content: "\e036"; } }
77
+ .glyphicon-volume-down { &:before { content: "\e037"; } }
78
+ .glyphicon-volume-up { &:before { content: "\e038"; } }
79
+ .glyphicon-qrcode { &:before { content: "\e039"; } }
80
+ .glyphicon-barcode { &:before { content: "\e040"; } }
81
+ .glyphicon-tag { &:before { content: "\e041"; } }
82
+ .glyphicon-tags { &:before { content: "\e042"; } }
83
+ .glyphicon-book { &:before { content: "\e043"; } }
84
+ .glyphicon-bookmark { &:before { content: "\e044"; } }
85
+ .glyphicon-print { &:before { content: "\e045"; } }
86
+ .glyphicon-camera { &:before { content: "\e046"; } }
87
+ .glyphicon-font { &:before { content: "\e047"; } }
88
+ .glyphicon-bold { &:before { content: "\e048"; } }
89
+ .glyphicon-italic { &:before { content: "\e049"; } }
90
+ .glyphicon-text-height { &:before { content: "\e050"; } }
91
+ .glyphicon-text-width { &:before { content: "\e051"; } }
92
+ .glyphicon-align-left { &:before { content: "\e052"; } }
93
+ .glyphicon-align-center { &:before { content: "\e053"; } }
94
+ .glyphicon-align-right { &:before { content: "\e054"; } }
95
+ .glyphicon-align-justify { &:before { content: "\e055"; } }
96
+ .glyphicon-list { &:before { content: "\e056"; } }
97
+ .glyphicon-indent-left { &:before { content: "\e057"; } }
98
+ .glyphicon-indent-right { &:before { content: "\e058"; } }
99
+ .glyphicon-facetime-video { &:before { content: "\e059"; } }
100
+ .glyphicon-picture { &:before { content: "\e060"; } }
101
+ .glyphicon-map-marker { &:before { content: "\e062"; } }
102
+ .glyphicon-adjust { &:before { content: "\e063"; } }
103
+ .glyphicon-tint { &:before { content: "\e064"; } }
104
+ .glyphicon-edit { &:before { content: "\e065"; } }
105
+ .glyphicon-share { &:before { content: "\e066"; } }
106
+ .glyphicon-check { &:before { content: "\e067"; } }
107
+ .glyphicon-move { &:before { content: "\e068"; } }
108
+ .glyphicon-step-backward { &:before { content: "\e069"; } }
109
+ .glyphicon-fast-backward { &:before { content: "\e070"; } }
110
+ .glyphicon-backward { &:before { content: "\e071"; } }
111
+ .glyphicon-play { &:before { content: "\e072"; } }
112
+ .glyphicon-pause { &:before { content: "\e073"; } }
113
+ .glyphicon-stop { &:before { content: "\e074"; } }
114
+ .glyphicon-forward { &:before { content: "\e075"; } }
115
+ .glyphicon-fast-forward { &:before { content: "\e076"; } }
116
+ .glyphicon-step-forward { &:before { content: "\e077"; } }
117
+ .glyphicon-eject { &:before { content: "\e078"; } }
118
+ .glyphicon-chevron-left { &:before { content: "\e079"; } }
119
+ .glyphicon-chevron-right { &:before { content: "\e080"; } }
120
+ .glyphicon-plus-sign { &:before { content: "\e081"; } }
121
+ .glyphicon-minus-sign { &:before { content: "\e082"; } }
122
+ .glyphicon-remove-sign { &:before { content: "\e083"; } }
123
+ .glyphicon-ok-sign { &:before { content: "\e084"; } }
124
+ .glyphicon-question-sign { &:before { content: "\e085"; } }
125
+ .glyphicon-info-sign { &:before { content: "\e086"; } }
126
+ .glyphicon-screenshot { &:before { content: "\e087"; } }
127
+ .glyphicon-remove-circle { &:before { content: "\e088"; } }
128
+ .glyphicon-ok-circle { &:before { content: "\e089"; } }
129
+ .glyphicon-ban-circle { &:before { content: "\e090"; } }
130
+ .glyphicon-arrow-left { &:before { content: "\e091"; } }
131
+ .glyphicon-arrow-right { &:before { content: "\e092"; } }
132
+ .glyphicon-arrow-up { &:before { content: "\e093"; } }
133
+ .glyphicon-arrow-down { &:before { content: "\e094"; } }
134
+ .glyphicon-share-alt { &:before { content: "\e095"; } }
135
+ .glyphicon-resize-full { &:before { content: "\e096"; } }
136
+ .glyphicon-resize-small { &:before { content: "\e097"; } }
137
+ .glyphicon-exclamation-sign { &:before { content: "\e101"; } }
138
+ .glyphicon-gift { &:before { content: "\e102"; } }
139
+ .glyphicon-leaf { &:before { content: "\e103"; } }
140
+ .glyphicon-fire { &:before { content: "\e104"; } }
141
+ .glyphicon-eye-open { &:before { content: "\e105"; } }
142
+ .glyphicon-eye-close { &:before { content: "\e106"; } }
143
+ .glyphicon-warning-sign { &:before { content: "\e107"; } }
144
+ .glyphicon-plane { &:before { content: "\e108"; } }
145
+ .glyphicon-calendar { &:before { content: "\e109"; } }
146
+ .glyphicon-random { &:before { content: "\e110"; } }
147
+ .glyphicon-comment { &:before { content: "\e111"; } }
148
+ .glyphicon-magnet { &:before { content: "\e112"; } }
149
+ .glyphicon-chevron-up { &:before { content: "\e113"; } }
150
+ .glyphicon-chevron-down { &:before { content: "\e114"; } }
151
+ .glyphicon-retweet { &:before { content: "\e115"; } }
152
+ .glyphicon-shopping-cart { &:before { content: "\e116"; } }
153
+ .glyphicon-folder-close { &:before { content: "\e117"; } }
154
+ .glyphicon-folder-open { &:before { content: "\e118"; } }
155
+ .glyphicon-resize-vertical { &:before { content: "\e119"; } }
156
+ .glyphicon-resize-horizontal { &:before { content: "\e120"; } }
157
+ .glyphicon-hdd { &:before { content: "\e121"; } }
158
+ .glyphicon-bullhorn { &:before { content: "\e122"; } }
159
+ .glyphicon-bell { &:before { content: "\e123"; } }
160
+ .glyphicon-certificate { &:before { content: "\e124"; } }
161
+ .glyphicon-thumbs-up { &:before { content: "\e125"; } }
162
+ .glyphicon-thumbs-down { &:before { content: "\e126"; } }
163
+ .glyphicon-hand-right { &:before { content: "\e127"; } }
164
+ .glyphicon-hand-left { &:before { content: "\e128"; } }
165
+ .glyphicon-hand-up { &:before { content: "\e129"; } }
166
+ .glyphicon-hand-down { &:before { content: "\e130"; } }
167
+ .glyphicon-circle-arrow-right { &:before { content: "\e131"; } }
168
+ .glyphicon-circle-arrow-left { &:before { content: "\e132"; } }
169
+ .glyphicon-circle-arrow-up { &:before { content: "\e133"; } }
170
+ .glyphicon-circle-arrow-down { &:before { content: "\e134"; } }
171
+ .glyphicon-globe { &:before { content: "\e135"; } }
172
+ .glyphicon-wrench { &:before { content: "\e136"; } }
173
+ .glyphicon-tasks { &:before { content: "\e137"; } }
174
+ .glyphicon-filter { &:before { content: "\e138"; } }
175
+ .glyphicon-briefcase { &:before { content: "\e139"; } }
176
+ .glyphicon-fullscreen { &:before { content: "\e140"; } }
177
+ .glyphicon-dashboard { &:before { content: "\e141"; } }
178
+ .glyphicon-paperclip { &:before { content: "\e142"; } }
179
+ .glyphicon-heart-empty { &:before { content: "\e143"; } }
180
+ .glyphicon-link { &:before { content: "\e144"; } }
181
+ .glyphicon-phone { &:before { content: "\e145"; } }
182
+ .glyphicon-pushpin { &:before { content: "\e146"; } }
183
+ .glyphicon-usd { &:before { content: "\e148"; } }
184
+ .glyphicon-gbp { &:before { content: "\e149"; } }
185
+ .glyphicon-sort { &:before { content: "\e150"; } }
186
+ .glyphicon-sort-by-alphabet { &:before { content: "\e151"; } }
187
+ .glyphicon-sort-by-alphabet-alt { &:before { content: "\e152"; } }
188
+ .glyphicon-sort-by-order { &:before { content: "\e153"; } }
189
+ .glyphicon-sort-by-order-alt { &:before { content: "\e154"; } }
190
+ .glyphicon-sort-by-attributes { &:before { content: "\e155"; } }
191
+ .glyphicon-sort-by-attributes-alt { &:before { content: "\e156"; } }
192
+ .glyphicon-unchecked { &:before { content: "\e157"; } }
193
+ .glyphicon-expand { &:before { content: "\e158"; } }
194
+ .glyphicon-collapse-down { &:before { content: "\e159"; } }
195
+ .glyphicon-collapse-up { &:before { content: "\e160"; } }
196
+ .glyphicon-log-in { &:before { content: "\e161"; } }
197
+ .glyphicon-flash { &:before { content: "\e162"; } }
198
+ .glyphicon-log-out { &:before { content: "\e163"; } }
199
+ .glyphicon-new-window { &:before { content: "\e164"; } }
200
+ .glyphicon-record { &:before { content: "\e165"; } }
201
+ .glyphicon-save { &:before { content: "\e166"; } }
202
+ .glyphicon-open { &:before { content: "\e167"; } }
203
+ .glyphicon-saved { &:before { content: "\e168"; } }
204
+ .glyphicon-import { &:before { content: "\e169"; } }
205
+ .glyphicon-export { &:before { content: "\e170"; } }
206
+ .glyphicon-send { &:before { content: "\e171"; } }
207
+ .glyphicon-floppy-disk { &:before { content: "\e172"; } }
208
+ .glyphicon-floppy-saved { &:before { content: "\e173"; } }
209
+ .glyphicon-floppy-remove { &:before { content: "\e174"; } }
210
+ .glyphicon-floppy-save { &:before { content: "\e175"; } }
211
+ .glyphicon-floppy-open { &:before { content: "\e176"; } }
212
+ .glyphicon-credit-card { &:before { content: "\e177"; } }
213
+ .glyphicon-transfer { &:before { content: "\e178"; } }
214
+ .glyphicon-cutlery { &:before { content: "\e179"; } }
215
+ .glyphicon-header { &:before { content: "\e180"; } }
216
+ .glyphicon-compressed { &:before { content: "\e181"; } }
217
+ .glyphicon-earphone { &:before { content: "\e182"; } }
218
+ .glyphicon-phone-alt { &:before { content: "\e183"; } }
219
+ .glyphicon-tower { &:before { content: "\e184"; } }
220
+ .glyphicon-stats { &:before { content: "\e185"; } }
221
+ .glyphicon-sd-video { &:before { content: "\e186"; } }
222
+ .glyphicon-hd-video { &:before { content: "\e187"; } }
223
+ .glyphicon-subtitles { &:before { content: "\e188"; } }
224
+ .glyphicon-sound-stereo { &:before { content: "\e189"; } }
225
+ .glyphicon-sound-dolby { &:before { content: "\e190"; } }
226
+ .glyphicon-sound-5-1 { &:before { content: "\e191"; } }
227
+ .glyphicon-sound-6-1 { &:before { content: "\e192"; } }
228
+ .glyphicon-sound-7-1 { &:before { content: "\e193"; } }
229
+ .glyphicon-copyright-mark { &:before { content: "\e194"; } }
230
+ .glyphicon-registration-mark { &:before { content: "\e195"; } }
231
+ .glyphicon-cloud-download { &:before { content: "\e197"; } }
232
+ .glyphicon-cloud-upload { &:before { content: "\e198"; } }
233
+ .glyphicon-tree-conifer { &:before { content: "\e199"; } }
234
+ .glyphicon-tree-deciduous { &:before { content: "\e200"; } }
@@ -0,0 +1,84 @@
1
+ //
2
+ // Grid system
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Container widths
7
+ //
8
+ // Set the container width, and override it for fixed navbars in media queries.
9
+
10
+ .container {
11
+ @include container-fixed;
12
+
13
+ @media (min-width: $screen-sm-min) {
14
+ width: $container-sm;
15
+ }
16
+ @media (min-width: $screen-md-min) {
17
+ width: $container-md;
18
+ }
19
+ @media (min-width: $screen-lg-min) {
20
+ width: $container-lg;
21
+ }
22
+ }
23
+
24
+
25
+ // Fluid container
26
+ //
27
+ // Utilizes the mixin meant for fixed width containers, but without any defined
28
+ // width for fluid, full width layouts.
29
+
30
+ .container-fluid {
31
+ @include container-fixed;
32
+ }
33
+
34
+
35
+ // Row
36
+ //
37
+ // Rows contain and clear the floats of your columns.
38
+
39
+ .row {
40
+ @include make-row;
41
+ }
42
+
43
+
44
+ // Columns
45
+ //
46
+ // Common styles for small and large grid columns
47
+
48
+ @include make-grid-columns;
49
+
50
+
51
+ // Extra small grid
52
+ //
53
+ // Columns, offsets, pushes, and pulls for extra small devices like
54
+ // smartphones.
55
+
56
+ @include make-grid(xs);
57
+
58
+
59
+ // Small grid
60
+ //
61
+ // Columns, offsets, pushes, and pulls for the small device range, from phones
62
+ // to tablets.
63
+
64
+ @media (min-width: $screen-sm-min) {
65
+ @include make-grid(sm);
66
+ }
67
+
68
+
69
+ // Medium grid
70
+ //
71
+ // Columns, offsets, pushes, and pulls for the desktop device range.
72
+
73
+ @media (min-width: $screen-md-min) {
74
+ @include make-grid(md);
75
+ }
76
+
77
+
78
+ // Large grid
79
+ //
80
+ // Columns, offsets, pushes, and pulls for the large desktop device range.
81
+
82
+ @media (min-width: $screen-lg-min) {
83
+ @include make-grid(lg);
84
+ }
@@ -0,0 +1,166 @@
1
+ //
2
+ // Input groups
3
+ // --------------------------------------------------
4
+
5
+ // Base styles
6
+ // -------------------------
7
+ .input-group {
8
+ position: relative; // For dropdowns
9
+ display: table;
10
+ border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11
+
12
+ // Undo padding and float of grid classes
13
+ &[class*="col-"] {
14
+ float: none;
15
+ padding-left: 0;
16
+ padding-right: 0;
17
+ }
18
+
19
+ .form-control {
20
+ // Ensure that the input is always above the *appended* addon button for
21
+ // proper border colors.
22
+ position: relative;
23
+ z-index: 2;
24
+
25
+ // IE9 fubars the placeholder attribute in text inputs and the arrows on
26
+ // select elements in input groups. To fix it, we float the input. Details:
27
+ // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28
+ float: left;
29
+
30
+ width: 100%;
31
+ margin-bottom: 0;
32
+ }
33
+ }
34
+
35
+ // Sizing options
36
+ //
37
+ // Remix the default form control sizing classes into new ones for easier
38
+ // manipulation.
39
+
40
+ .input-group-lg > .form-control,
41
+ .input-group-lg > .input-group-addon,
42
+ .input-group-lg > .input-group-btn > .btn {
43
+ @extend .input-lg;
44
+ }
45
+ .input-group-sm > .form-control,
46
+ .input-group-sm > .input-group-addon,
47
+ .input-group-sm > .input-group-btn > .btn {
48
+ @extend .input-sm;
49
+ }
50
+
51
+
52
+ // Display as table-cell
53
+ // -------------------------
54
+ .input-group-addon,
55
+ .input-group-btn,
56
+ .input-group .form-control {
57
+ display: table-cell;
58
+
59
+ &:not(:first-child):not(:last-child) {
60
+ border-radius: 0;
61
+ }
62
+ }
63
+ // Addon and addon wrapper for buttons
64
+ .input-group-addon,
65
+ .input-group-btn {
66
+ width: 1%;
67
+ white-space: nowrap;
68
+ vertical-align: middle; // Match the inputs
69
+ }
70
+
71
+ // Text input groups
72
+ // -------------------------
73
+ .input-group-addon {
74
+ padding: $padding-base-vertical $padding-base-horizontal;
75
+ font-size: $font-size-base;
76
+ font-weight: normal;
77
+ line-height: 1;
78
+ color: $input-color;
79
+ text-align: center;
80
+ background-color: $input-group-addon-bg;
81
+ border: 1px solid $input-group-addon-border-color;
82
+ border-radius: $border-radius-base;
83
+
84
+ // Sizing
85
+ &.input-sm {
86
+ padding: $padding-small-vertical $padding-small-horizontal;
87
+ font-size: $font-size-small;
88
+ border-radius: $border-radius-small;
89
+ }
90
+ &.input-lg {
91
+ padding: $padding-large-vertical $padding-large-horizontal;
92
+ font-size: $font-size-large;
93
+ border-radius: $border-radius-large;
94
+ }
95
+
96
+ // Nuke default margins from checkboxes and radios to vertically center within.
97
+ input[type="radio"],
98
+ input[type="checkbox"] {
99
+ margin-top: 0;
100
+ }
101
+ }
102
+
103
+ // Reset rounded corners
104
+ .input-group .form-control:first-child,
105
+ .input-group-addon:first-child,
106
+ .input-group-btn:first-child > .btn,
107
+ .input-group-btn:first-child > .btn-group > .btn,
108
+ .input-group-btn:first-child > .dropdown-toggle,
109
+ .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
110
+ .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
111
+ @include border-right-radius(0);
112
+ }
113
+ .input-group-addon:first-child {
114
+ border-right: 0;
115
+ }
116
+ .input-group .form-control:last-child,
117
+ .input-group-addon:last-child,
118
+ .input-group-btn:last-child > .btn,
119
+ .input-group-btn:last-child > .btn-group > .btn,
120
+ .input-group-btn:last-child > .dropdown-toggle,
121
+ .input-group-btn:first-child > .btn:not(:first-child),
122
+ .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
123
+ @include border-left-radius(0);
124
+ }
125
+ .input-group-addon:last-child {
126
+ border-left: 0;
127
+ }
128
+
129
+ // Button input groups
130
+ // -------------------------
131
+ .input-group-btn {
132
+ position: relative;
133
+ // Jankily prevent input button groups from wrapping with `white-space` and
134
+ // `font-size` in combination with `inline-block` on buttons.
135
+ font-size: 0;
136
+ white-space: nowrap;
137
+
138
+ // Negative margin for spacing, position for bringing hovered/focused/actived
139
+ // element above the siblings.
140
+ > .btn {
141
+ position: relative;
142
+ + .btn {
143
+ margin-left: -1px;
144
+ }
145
+ // Bring the "active" button to the front
146
+ &:hover,
147
+ &:focus,
148
+ &:active {
149
+ z-index: 2;
150
+ }
151
+ }
152
+
153
+ // Negative margin to only have a 1px border between the two
154
+ &:first-child {
155
+ > .btn,
156
+ > .btn-group {
157
+ margin-right: -1px;
158
+ }
159
+ }
160
+ &:last-child {
161
+ > .btn,
162
+ > .btn-group {
163
+ margin-left: -1px;
164
+ }
165
+ }
166
+ }