twigg-app 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +7 -0
  2. data/data/quips.yml +45 -0
  3. data/lib/twigg-app/app/quips.rb +13 -0
  4. data/lib/twigg-app/app/routes.rb +43 -0
  5. data/lib/twigg-app/app/server.rb +146 -0
  6. data/lib/twigg-app/app/version.rb +5 -0
  7. data/lib/twigg-app/app.rb +14 -0
  8. data/lib/twigg-app.rb +5 -0
  9. data/public/application.js +106 -0
  10. data/public/favicon.ico +0 -0
  11. data/public/favicon.png +0 -0
  12. data/public/vendor/bootstrap/CNAME +1 -0
  13. data/public/vendor/bootstrap/CONTRIBUTING.md +66 -0
  14. data/public/vendor/bootstrap/Gruntfile.js +195 -0
  15. data/public/vendor/bootstrap/LICENSE +176 -0
  16. data/public/vendor/bootstrap/README.md +139 -0
  17. data/public/vendor/bootstrap/_config.yml +28 -0
  18. data/public/vendor/bootstrap/_includes/ads.html +1 -0
  19. data/public/vendor/bootstrap/_includes/footer.html +33 -0
  20. data/public/vendor/bootstrap/_includes/header.html +43 -0
  21. data/public/vendor/bootstrap/_includes/nav-components.html +135 -0
  22. data/public/vendor/bootstrap/_includes/nav-css.html +77 -0
  23. data/public/vendor/bootstrap/_includes/nav-customize.html +40 -0
  24. data/public/vendor/bootstrap/_includes/nav-getting-started.html +28 -0
  25. data/public/vendor/bootstrap/_includes/nav-javascript.html +88 -0
  26. data/public/vendor/bootstrap/_includes/nav-main.html +32 -0
  27. data/public/vendor/bootstrap/_includes/old-bs-docs.html +8 -0
  28. data/public/vendor/bootstrap/_includes/social-buttons.html +16 -0
  29. data/public/vendor/bootstrap/_layouts/customize.html +52 -0
  30. data/public/vendor/bootstrap/_layouts/default.html +72 -0
  31. data/public/vendor/bootstrap/_layouts/home.html +43 -0
  32. data/public/vendor/bootstrap/assets/css/docs.css +896 -0
  33. data/public/vendor/bootstrap/assets/css/pygments-manni.css +66 -0
  34. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
  35. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
  36. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
  37. data/public/vendor/bootstrap/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
  38. data/public/vendor/bootstrap/assets/ico/favicon.png +0 -0
  39. data/public/vendor/bootstrap/assets/js/application.js +82 -0
  40. data/public/vendor/bootstrap/assets/js/customizer.js +175 -0
  41. data/public/vendor/bootstrap/assets/js/holder.js +419 -0
  42. data/public/vendor/bootstrap/assets/js/html5shiv.js +8 -0
  43. data/public/vendor/bootstrap/assets/js/jquery.bbq.min.js +1287 -0
  44. data/public/vendor/bootstrap/assets/js/jquery.js +5 -0
  45. data/public/vendor/bootstrap/assets/js/jszip.js +1425 -0
  46. data/public/vendor/bootstrap/assets/js/less.js +9 -0
  47. data/public/vendor/bootstrap/assets/js/respond.min.js +6 -0
  48. data/public/vendor/bootstrap/assets/js/uglify.js +14 -0
  49. data/public/vendor/bootstrap/bower.json +11 -0
  50. data/public/vendor/bootstrap/browserstack.json +37 -0
  51. data/public/vendor/bootstrap/components.html +2555 -0
  52. data/public/vendor/bootstrap/composer.json +20 -0
  53. data/public/vendor/bootstrap/css.html +2276 -0
  54. data/public/vendor/bootstrap/customize.html +1480 -0
  55. data/public/vendor/bootstrap/dist/css/bootstrap.css +5579 -0
  56. data/public/vendor/bootstrap/dist/css/bootstrap.min.css +9 -0
  57. data/public/vendor/bootstrap/dist/js/bootstrap.js +1993 -0
  58. data/public/vendor/bootstrap/dist/js/bootstrap.min.js +6 -0
  59. data/public/vendor/bootstrap/getting-started.html +375 -0
  60. data/public/vendor/bootstrap/index.html +16 -0
  61. data/public/vendor/bootstrap/javascript.html +1904 -0
  62. data/public/vendor/bootstrap/js/affix.js +126 -0
  63. data/public/vendor/bootstrap/js/alert.js +98 -0
  64. data/public/vendor/bootstrap/js/button.js +109 -0
  65. data/public/vendor/bootstrap/js/carousel.js +217 -0
  66. data/public/vendor/bootstrap/js/collapse.js +179 -0
  67. data/public/vendor/bootstrap/js/dropdown.js +154 -0
  68. data/public/vendor/bootstrap/js/modal.js +244 -0
  69. data/public/vendor/bootstrap/js/popover.js +117 -0
  70. data/public/vendor/bootstrap/js/scrollspy.js +158 -0
  71. data/public/vendor/bootstrap/js/tab.js +135 -0
  72. data/public/vendor/bootstrap/js/tests/index.html +52 -0
  73. data/public/vendor/bootstrap/js/tests/phantom.js +63 -0
  74. data/public/vendor/bootstrap/js/tests/server.js +14 -0
  75. data/public/vendor/bootstrap/js/tests/unit/affix.js +25 -0
  76. data/public/vendor/bootstrap/js/tests/unit/alert.js +62 -0
  77. data/public/vendor/bootstrap/js/tests/unit/button.js +116 -0
  78. data/public/vendor/bootstrap/js/tests/unit/carousel.js +87 -0
  79. data/public/vendor/bootstrap/js/tests/unit/collapse.js +164 -0
  80. data/public/vendor/bootstrap/js/tests/unit/dropdown.js +219 -0
  81. data/public/vendor/bootstrap/js/tests/unit/modal.js +177 -0
  82. data/public/vendor/bootstrap/js/tests/unit/phantom.js +69 -0
  83. data/public/vendor/bootstrap/js/tests/unit/popover.js +133 -0
  84. data/public/vendor/bootstrap/js/tests/unit/scrollspy.js +37 -0
  85. data/public/vendor/bootstrap/js/tests/unit/tab.js +86 -0
  86. data/public/vendor/bootstrap/js/tests/unit/tooltip.js +437 -0
  87. data/public/vendor/bootstrap/js/tests/unit/transition.js +13 -0
  88. data/public/vendor/bootstrap/js/tests/vendor/jquery.js +5 -0
  89. data/public/vendor/bootstrap/js/tests/vendor/qunit.css +232 -0
  90. data/public/vendor/bootstrap/js/tests/vendor/qunit.js +1510 -0
  91. data/public/vendor/bootstrap/js/tooltip.js +382 -0
  92. data/public/vendor/bootstrap/js/transition.js +56 -0
  93. data/public/vendor/bootstrap/less/alerts.less +71 -0
  94. data/public/vendor/bootstrap/less/badges.less +51 -0
  95. data/public/vendor/bootstrap/less/bootstrap.less +63 -0
  96. data/public/vendor/bootstrap/less/breadcrumbs.less +23 -0
  97. data/public/vendor/bootstrap/less/button-groups.less +244 -0
  98. data/public/vendor/bootstrap/less/buttons.less +159 -0
  99. data/public/vendor/bootstrap/less/carousel.less +204 -0
  100. data/public/vendor/bootstrap/less/close.less +33 -0
  101. data/public/vendor/bootstrap/less/code.less +56 -0
  102. data/public/vendor/bootstrap/less/component-animations.less +29 -0
  103. data/public/vendor/bootstrap/less/dropdowns.less +176 -0
  104. data/public/vendor/bootstrap/less/forms.less +332 -0
  105. data/public/vendor/bootstrap/less/grid.less +340 -0
  106. data/public/vendor/bootstrap/less/input-groups.less +127 -0
  107. data/public/vendor/bootstrap/less/jumbotron.less +29 -0
  108. data/public/vendor/bootstrap/less/labels.less +54 -0
  109. data/public/vendor/bootstrap/less/list-group.less +88 -0
  110. data/public/vendor/bootstrap/less/media.less +56 -0
  111. data/public/vendor/bootstrap/less/mixins.less +693 -0
  112. data/public/vendor/bootstrap/less/modals.less +133 -0
  113. data/public/vendor/bootstrap/less/navbar.less +559 -0
  114. data/public/vendor/bootstrap/less/navs.less +228 -0
  115. data/public/vendor/bootstrap/less/normalize.less +396 -0
  116. data/public/vendor/bootstrap/less/pager.less +55 -0
  117. data/public/vendor/bootstrap/less/pagination.less +72 -0
  118. data/public/vendor/bootstrap/less/panels.less +128 -0
  119. data/public/vendor/bootstrap/less/popovers.less +133 -0
  120. data/public/vendor/bootstrap/less/print.less +100 -0
  121. data/public/vendor/bootstrap/less/progress-bars.less +99 -0
  122. data/public/vendor/bootstrap/less/responsive-utilities.less +149 -0
  123. data/public/vendor/bootstrap/less/scaffolding.less +111 -0
  124. data/public/vendor/bootstrap/less/tables.less +211 -0
  125. data/public/vendor/bootstrap/less/thumbnails.less +42 -0
  126. data/public/vendor/bootstrap/less/tooltip.less +95 -0
  127. data/public/vendor/bootstrap/less/type.less +238 -0
  128. data/public/vendor/bootstrap/less/utilities.less +42 -0
  129. data/public/vendor/bootstrap/less/variables.less +607 -0
  130. data/public/vendor/bootstrap/less/wells.less +29 -0
  131. data/public/vendor/bootstrap/package.json +33 -0
  132. data/public/vendor/bootstrap-glyphicons/CHANGELOG.md +3 -0
  133. data/public/vendor/bootstrap-glyphicons/CNAME +1 -0
  134. data/public/vendor/bootstrap-glyphicons/CONTRIBUTING.md +54 -0
  135. data/public/vendor/bootstrap-glyphicons/LICENSE +19 -0
  136. data/public/vendor/bootstrap-glyphicons/README.md +61 -0
  137. data/public/vendor/bootstrap-glyphicons/_config.yml +12 -0
  138. data/public/vendor/bootstrap-glyphicons/composer.json +9 -0
  139. data/public/vendor/bootstrap-glyphicons/css/bootstrap-glyphicons.css +2 -0
  140. data/public/vendor/bootstrap-glyphicons/css/bootstrap.css +9 -0
  141. data/public/vendor/bootstrap-glyphicons/css/docs.css +160 -0
  142. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.eot +0 -0
  143. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.otf +0 -0
  144. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.svg +175 -0
  145. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.ttf +0 -0
  146. data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.woff +0 -0
  147. data/public/vendor/bootstrap-glyphicons/index.html +255 -0
  148. data/public/vendor/bootstrap-glyphicons/less/bootstrap-glyphicons.less +201 -0
  149. data/public/vendor/bootstrap-glyphicons/package.json +18 -0
  150. data/public/vendor/d3/LICENSE +26 -0
  151. data/public/vendor/d3/README.md +7 -0
  152. data/public/vendor/d3/bower.json +25 -0
  153. data/public/vendor/d3/d3.js +8810 -0
  154. data/public/vendor/d3/d3.min.js +5 -0
  155. data/public/vendor/jquery/README.md +11 -0
  156. data/public/vendor/jquery/bower.json +11 -0
  157. data/public/vendor/jquery/component.json +15 -0
  158. data/public/vendor/jquery/composer.json +35 -0
  159. data/public/vendor/jquery/jquery-migrate.js +511 -0
  160. data/public/vendor/jquery/jquery-migrate.min.js +3 -0
  161. data/public/vendor/jquery/jquery.js +8829 -0
  162. data/public/vendor/jquery/jquery.min.js +6 -0
  163. data/public/vendor/jquery/jquery.min.map +1 -0
  164. data/public/vendor/jquery/package.json +7 -0
  165. data/public/vendor/replacejs/CHANGELOG.md +3 -0
  166. data/public/vendor/replacejs/MIT-LICENSE.txt +20 -0
  167. data/public/vendor/replacejs/README.md +123 -0
  168. data/public/vendor/replacejs/bower.json +24 -0
  169. data/public/vendor/replacejs/primer.js +17 -0
  170. data/public/vendor/replacejs/primer.min.js +1 -0
  171. data/public/vendor/replacejs/replace.js +182 -0
  172. data/public/vendor/stupidtable.js +158 -0
  173. data/views/dashboard.haml +17 -0
  174. data/views/layout.haml +60 -0
  175. metadata +330 -0
@@ -0,0 +1,244 @@
1
+ //
2
+ // Button groups
3
+ // --------------------------------------------------
4
+
5
+ // Button carets
6
+ //
7
+ // Match the button text color to the arrow/caret for indicating dropdown-ness.
8
+
9
+ .caret {
10
+ .btn-default & {
11
+ border-top-color: @btn-default-color;
12
+ }
13
+ .btn-primary &,
14
+ .btn-success &,
15
+ .btn-warning &,
16
+ .btn-danger &,
17
+ .btn-info & {
18
+ border-top-color: #fff;
19
+ }
20
+ }
21
+ .dropup .caret {
22
+ .btn-default & {
23
+ border-bottom-color: @btn-default-color;
24
+ }
25
+ .btn-primary &,
26
+ .btn-success &,
27
+ .btn-warning &,
28
+ .btn-danger &,
29
+ .btn-info & {
30
+ border-bottom-color: #fff;
31
+ }
32
+ }
33
+
34
+ // Make the div behave like a button
35
+ .btn-group,
36
+ .btn-group-vertical {
37
+ position: relative;
38
+ display: inline-block;
39
+ vertical-align: middle; // match .btn alignment given font-size hack above
40
+ > .btn {
41
+ position: relative;
42
+ float: left;
43
+ // Bring the "active" button to the front
44
+ &:hover,
45
+ &:focus,
46
+ &:active,
47
+ &.active {
48
+ z-index: 2;
49
+ }
50
+ &:focus {
51
+ // Remove focus outline when dropdown JS adds it after closing the menu
52
+ outline: none;
53
+ }
54
+ }
55
+ }
56
+
57
+ // Prevent double borders when buttons are next to each other
58
+ .btn-group {
59
+ .btn + .btn,
60
+ .btn + .btn-group,
61
+ .btn-group + .btn,
62
+ .btn-group + .btn-group {
63
+ margin-left: -1px;
64
+ }
65
+ }
66
+
67
+ // Optional: Group multiple button groups together for a toolbar
68
+ .btn-toolbar {
69
+ .clearfix();
70
+
71
+ .btn-group {
72
+ float: left;
73
+ }
74
+ // Space out series of button groups
75
+ > .btn,
76
+ > .btn-group {
77
+ + .btn,
78
+ + .btn-group {
79
+ margin-left: 5px;
80
+ }
81
+ }
82
+ }
83
+
84
+ .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
85
+ border-radius: 0;
86
+ }
87
+
88
+ // Set corners individual because sometimes a single button can be in a .btn-group and we need :first-child and :last-child to both match
89
+ .btn-group > .btn:first-child {
90
+ margin-left: 0;
91
+ &:not(:last-child):not(.dropdown-toggle) {
92
+ .border-right-radius(0);
93
+ }
94
+ }
95
+ // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
96
+ .btn-group > .btn:last-child:not(:first-child),
97
+ .btn-group > .dropdown-toggle:not(:first-child) {
98
+ .border-left-radius(0);
99
+ }
100
+
101
+ // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
102
+ .btn-group > .btn-group {
103
+ float: left;
104
+ }
105
+ .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
106
+ border-radius: 0;
107
+ }
108
+ .btn-group > .btn-group:first-child {
109
+ > .btn:last-child,
110
+ > .dropdown-toggle {
111
+ .border-right-radius(0);
112
+ }
113
+ }
114
+ .btn-group > .btn-group:last-child > .btn:first-child {
115
+ .border-left-radius(0);
116
+ }
117
+
118
+ // On active and open, don't show outline
119
+ .btn-group .dropdown-toggle:active,
120
+ .btn-group.open .dropdown-toggle {
121
+ outline: 0;
122
+ }
123
+
124
+
125
+ // Sizing
126
+ //
127
+ // Remix the default button sizing classes into new ones for easier manipulation.
128
+
129
+ .btn-group-xs > .btn { .btn-xs(); }
130
+ .btn-group-sm > .btn { .btn-sm(); }
131
+ .btn-group-lg > .btn { .btn-lg(); }
132
+
133
+
134
+ // Split button dropdowns
135
+ // ----------------------
136
+
137
+ // Give the line between buttons some depth
138
+ .btn-group > .btn + .dropdown-toggle {
139
+ padding-left: 8px;
140
+ padding-right: 8px;
141
+ }
142
+ .btn-group > .btn-lg + .dropdown-toggle {
143
+ padding-left: 12px;
144
+ padding-right: 12px;
145
+ }
146
+
147
+ // The clickable button for toggling the menu
148
+ // Remove the gradient and set the same inset shadow as the :active state
149
+ .btn-group.open .dropdown-toggle {
150
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
151
+ }
152
+
153
+
154
+ // Reposition the caret
155
+ .btn .caret {
156
+ margin-left: 0;
157
+ }
158
+ // Carets in other button sizes
159
+ .btn-lg .caret {
160
+ border-width: @caret-width-large;
161
+ }
162
+ // Upside down carets for .dropup
163
+ .dropup .btn-lg .caret {
164
+ border-bottom-width: @caret-width-large;
165
+ }
166
+
167
+
168
+ // Vertical button groups
169
+ // ----------------------
170
+
171
+ .btn-group-vertical {
172
+ > .btn,
173
+ > .btn-group {
174
+ display: block;
175
+ float: none;
176
+ width: 100%;
177
+ max-width: 100%;
178
+ }
179
+
180
+ // Clear floats so dropdown menus can be properly placed
181
+ > .btn-group {
182
+ .clearfix();
183
+ > .btn {
184
+ float: none;
185
+ }
186
+ }
187
+
188
+ > .btn + .btn,
189
+ > .btn + .btn-group,
190
+ > .btn-group + .btn,
191
+ > .btn-group + .btn-group {
192
+ margin-top: -1px;
193
+ margin-left: 0;
194
+ }
195
+ }
196
+
197
+ .btn-group-vertical > .btn {
198
+ &:not(:first-child):not(:last-child) {
199
+ border-radius: 0;
200
+ }
201
+ &:first-child:not(:last-child) {
202
+ border-top-right-radius: @border-radius-base;
203
+ .border-bottom-radius(0);
204
+ }
205
+ &:last-child:not(:first-child) {
206
+ border-bottom-left-radius: @border-radius-base;
207
+ .border-top-radius(0);
208
+ }
209
+ }
210
+ .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
211
+ border-radius: 0;
212
+ }
213
+ .btn-group-vertical > .btn-group:first-child {
214
+ > .btn:last-child,
215
+ > .dropdown-toggle {
216
+ .border-bottom-radius(0);
217
+ }
218
+ }
219
+ .btn-group-vertical > .btn-group:last-child > .btn:first-child {
220
+ .border-top-radius(0);
221
+ }
222
+
223
+
224
+
225
+ // Justified button groups
226
+ // ----------------------
227
+
228
+ .btn-group-justified {
229
+ display: table;
230
+ width: 100%;
231
+ table-layout: fixed;
232
+ .btn {
233
+ float: none;
234
+ display: table-cell;
235
+ width: 1%;
236
+ }
237
+ }
238
+
239
+
240
+ // Checkbox and radio options
241
+ [data-toggle="buttons"] > .btn > input[type="radio"],
242
+ [data-toggle="buttons"] > .btn > input[type="checkbox"] {
243
+ display: none;
244
+ }
@@ -0,0 +1,159 @@
1
+ //
2
+ // Buttons
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base styles
7
+ // --------------------------------------------------
8
+
9
+ // Core styles
10
+ .btn {
11
+ display: inline-block;
12
+ padding: @padding-base-vertical @padding-base-horizontal;
13
+ margin-bottom: 0; // For input.btn
14
+ font-size: @font-size-base;
15
+ font-weight: @btn-font-weight;
16
+ line-height: @line-height-base;
17
+ text-align: center;
18
+ vertical-align: middle;
19
+ cursor: pointer;
20
+ border: 1px solid transparent;
21
+ border-radius: @border-radius-base;
22
+ white-space: nowrap;
23
+ .user-select(none);
24
+
25
+ &:focus {
26
+ .tab-focus();
27
+ }
28
+
29
+ &:hover,
30
+ &:focus {
31
+ color: @btn-default-color;
32
+ text-decoration: none;
33
+ }
34
+
35
+ &:active,
36
+ &.active {
37
+ outline: 0;
38
+ .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
39
+ }
40
+
41
+ &.disabled,
42
+ &[disabled],
43
+ fieldset[disabled] & {
44
+ cursor: default;
45
+ pointer-events: none; // Future-proof disabling of clicks
46
+ .opacity(.65);
47
+ .box-shadow(none);
48
+ }
49
+
50
+ }
51
+
52
+
53
+ // Alternate buttons
54
+ // --------------------------------------------------
55
+
56
+ .btn-default {
57
+ .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
58
+ }
59
+ .btn-primary {
60
+ .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
61
+ }
62
+ // Warning appears as orange
63
+ .btn-warning {
64
+ .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
65
+ }
66
+ // Danger and error appear as red
67
+ .btn-danger {
68
+ .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
69
+ }
70
+ // Success appears as green
71
+ .btn-success {
72
+ .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
73
+ }
74
+ // Info appears as blue-green
75
+ .btn-info {
76
+ .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
77
+ }
78
+
79
+
80
+ // Link buttons
81
+ // -------------------------
82
+
83
+ // Make a button look and behave like a link
84
+ .btn-link {
85
+ color: @link-color;
86
+ font-weight: normal;
87
+ cursor: pointer;
88
+ border-radius: 0;
89
+
90
+ &,
91
+ &:active,
92
+ &[disabled],
93
+ fieldset[disabled] & {
94
+ background-color: transparent;
95
+ .box-shadow(none);
96
+ }
97
+ &,
98
+ &:hover,
99
+ &:focus,
100
+ &:active {
101
+ border-color: transparent;
102
+ }
103
+ &:hover,
104
+ &:focus {
105
+ color: @link-hover-color;
106
+ text-decoration: underline;
107
+ background-color: transparent;
108
+ }
109
+ &[disabled],
110
+ fieldset[disabled] & {
111
+ &:hover,
112
+ &:focus {
113
+ color: @btn-link-disabled-color;
114
+ text-decoration: none;
115
+ }
116
+ }
117
+ }
118
+
119
+
120
+ // Button Sizes
121
+ // --------------------------------------------------
122
+
123
+ .btn-lg {
124
+ // line-height: ensure even-numbered height of button next to large input
125
+ .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
126
+ }
127
+ .btn-sm,
128
+ .btn-xs {
129
+ // line-height: ensure proper height of button next to small input
130
+ .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
131
+ }
132
+ .btn-xs {
133
+ padding: 3px 5px;
134
+ }
135
+
136
+
137
+ // Block button
138
+ // --------------------------------------------------
139
+
140
+ .btn-block {
141
+ display: block;
142
+ width: 100%;
143
+ padding-left: 0;
144
+ padding-right: 0;
145
+ }
146
+
147
+ // Vertically space out multiple block buttons
148
+ .btn-block + .btn-block {
149
+ margin-top: 5px;
150
+ }
151
+
152
+ // Specificity overrides
153
+ input[type="submit"],
154
+ input[type="reset"],
155
+ input[type="button"] {
156
+ &.btn-block {
157
+ width: 100%;
158
+ }
159
+ }
@@ -0,0 +1,204 @@
1
+ //
2
+ // Carousel
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Wrapper for the slide container and indicators
7
+ .carousel {
8
+ position: relative;
9
+ }
10
+
11
+ .carousel-inner {
12
+ position: relative;
13
+ overflow: hidden;
14
+ width: 100%;
15
+
16
+ > .item {
17
+ display: none;
18
+ position: relative;
19
+ .transition(.6s ease-in-out left);
20
+
21
+ // Account for jankitude on images
22
+ > img,
23
+ > a > img {
24
+ .img-responsive();
25
+ line-height: 1;
26
+ }
27
+ }
28
+
29
+ > .active,
30
+ > .next,
31
+ > .prev { display: block; }
32
+
33
+ > .active {
34
+ left: 0;
35
+ }
36
+
37
+ > .next,
38
+ > .prev {
39
+ position: absolute;
40
+ top: 0;
41
+ width: 100%;
42
+ }
43
+
44
+ > .next {
45
+ left: 100%;
46
+ }
47
+ > .prev {
48
+ left: -100%;
49
+ }
50
+ > .next.left,
51
+ > .prev.right {
52
+ left: 0;
53
+ }
54
+
55
+ > .active.left {
56
+ left: -100%;
57
+ }
58
+ > .active.right {
59
+ left: 100%;
60
+ }
61
+
62
+ }
63
+
64
+ // Left/right controls for nav
65
+ // ---------------------------
66
+
67
+ .carousel-control {
68
+ position: absolute;
69
+ top: 0;
70
+ left: 0;
71
+ bottom: 0;
72
+ width: @carousel-control-width;
73
+ .opacity(@carousel-control-opacity);
74
+ font-size: @carousel-control-font-size;
75
+ color: @carousel-control-color;
76
+ text-align: center;
77
+ text-shadow: @carousel-text-shadow;
78
+ // We can't have this transition here because webkit cancels the carousel
79
+ // animation if you trip this while in the middle of another animation.
80
+
81
+ // Set gradients for backgrounds
82
+ &.left {
83
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.5); @end-color: rgba(0,0,0,.0001));
84
+ }
85
+ &.right {
86
+ left: auto;
87
+ right: 0;
88
+ #gradient > .horizontal(@start-color: rgba(0,0,0,.0001); @end-color: rgba(0,0,0,.5));
89
+ }
90
+
91
+ // Hover/focus state
92
+ &:hover,
93
+ &:focus {
94
+ color: @carousel-control-color;
95
+ text-decoration: none;
96
+ .opacity(.9);
97
+ }
98
+
99
+ // Toggles
100
+ .icon-prev,
101
+ .icon-next {
102
+ position: absolute;
103
+ top: 50%;
104
+ left: 50%;
105
+ z-index: 5;
106
+ display: inline-block;
107
+ width: 20px;
108
+ height: 20px;
109
+ margin-top: -10px;
110
+ margin-left: -10px;
111
+ font-family: serif;
112
+ }
113
+
114
+ .icon-prev {
115
+ &:before {
116
+ content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
117
+ }
118
+ }
119
+ .icon-next {
120
+ &:before {
121
+ content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
122
+ }
123
+ }
124
+ }
125
+
126
+ // Optional indicator pips
127
+ //
128
+ // Add an unordered list with the following class and add a list item for each
129
+ // slide your carousel holds.
130
+
131
+ .carousel-indicators {
132
+ position: absolute;
133
+ bottom: 10px;
134
+ left: 50%;
135
+ z-index: 15;
136
+ width: 60%;
137
+ margin-left: -30%;
138
+ padding-left: 0;
139
+ list-style: none;
140
+ text-align: center;
141
+
142
+ li {
143
+ display: inline-block;
144
+ width: 10px;
145
+ height: 10px;
146
+ margin: 1px;
147
+ text-indent: -999px;
148
+ border: 1px solid @carousel-indicator-border-color;
149
+ border-radius: 10px;
150
+ cursor: pointer;
151
+ }
152
+ .active {
153
+ margin: 0;
154
+ width: 12px;
155
+ height: 12px;
156
+ background-color: @carousel-indicator-active-bg;
157
+ }
158
+ }
159
+
160
+ // Optional captions
161
+ // -----------------------------
162
+ // Hidden by default for smaller viewports
163
+ .carousel-caption {
164
+ position: absolute;
165
+ left: 15%;
166
+ right: 15%;
167
+ bottom: 20px;
168
+ z-index: 10;
169
+ padding-top: 20px;
170
+ padding-bottom: 20px;
171
+ color: @carousel-caption-color;
172
+ text-align: center;
173
+ text-shadow: @carousel-text-shadow;
174
+ & .btn {
175
+ text-shadow: none; // No shadow for button elements in carousel-caption
176
+ }
177
+ }
178
+
179
+
180
+ // Scale up controls for tablets and up
181
+ @media screen and (min-width: @screen-tablet) {
182
+
183
+ // Scale up the controls a smidge
184
+ .carousel-control .icon-prev,
185
+ .carousel-control .icon-next {
186
+ width: 30px;
187
+ height: 30px;
188
+ margin-top: -15px;
189
+ margin-left: -15px;
190
+ font-size: 30px;
191
+ }
192
+
193
+ // Show and left align the captions
194
+ .carousel-caption {
195
+ left: 20%;
196
+ right: 20%;
197
+ padding-bottom: 30px;
198
+ }
199
+
200
+ // Move up the indicators
201
+ .carousel-indicators {
202
+ bottom: 20px;
203
+ }
204
+ }
@@ -0,0 +1,33 @@
1
+ //
2
+ // Close icons
3
+ // --------------------------------------------------
4
+
5
+
6
+ .close {
7
+ float: right;
8
+ font-size: (@font-size-base * 1.5);
9
+ font-weight: @close-font-weight;
10
+ line-height: 1;
11
+ color: @close-color;
12
+ text-shadow: @close-text-shadow;
13
+ .opacity(.2);
14
+
15
+ &:hover,
16
+ &:focus {
17
+ color: @close-color;
18
+ text-decoration: none;
19
+ cursor: pointer;
20
+ .opacity(.5);
21
+ }
22
+
23
+ // Additional properties for button version
24
+ // iOS requires the button element instead of an anchor tag.
25
+ // If you want the anchor version, it requires `href="#"`.
26
+ button& {
27
+ padding: 0;
28
+ cursor: pointer;
29
+ background: transparent;
30
+ border: 0;
31
+ -webkit-appearance: none;
32
+ }
33
+ }
@@ -0,0 +1,56 @@
1
+ //
2
+ // Code (inline and blocK)
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Inline and block code styles
7
+ code,
8
+ pre {
9
+ font-family: @font-family-monospace;
10
+ }
11
+
12
+ // Inline code
13
+ code {
14
+ padding: 2px 4px;
15
+ font-size: 90%;
16
+ color: @code-color;
17
+ background-color: @code-bg;
18
+ white-space: nowrap;
19
+ border-radius: @border-radius-base;
20
+ }
21
+
22
+ // Blocks of code
23
+ pre {
24
+ display: block;
25
+ padding: ((@line-height-computed - 1) / 2);
26
+ margin: 0 0 (@line-height-computed / 2);
27
+ font-size: (@font-size-base - 1); // 14px to 13px
28
+ line-height: @line-height-base;
29
+ word-break: break-all;
30
+ word-wrap: break-word;
31
+ color: @pre-color;
32
+ background-color: @pre-bg;
33
+ border: 1px solid @pre-border-color;
34
+ border-radius: @border-radius-base;
35
+
36
+ // Make prettyprint styles more spaced out for readability
37
+ &.prettyprint {
38
+ margin-bottom: @line-height-computed;
39
+ }
40
+
41
+ // Account for some code outputs that place code tags in pre tags
42
+ code {
43
+ padding: 0;
44
+ font-size: inherit;
45
+ color: inherit;
46
+ white-space: pre-wrap;
47
+ background-color: transparent;
48
+ border: 0;
49
+ }
50
+ }
51
+
52
+ // Enable scrollable blocks of code
53
+ .pre-scrollable {
54
+ max-height: @pre-scrollable-max-height;
55
+ overflow-y: scroll;
56
+ }
@@ -0,0 +1,29 @@
1
+ //
2
+ // Component animations
3
+ // --------------------------------------------------
4
+
5
+ // Heads up!
6
+ //
7
+ // We don't use the `.opacity()` mixin here since it causes a bug with text
8
+ // fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
9
+
10
+ .fade {
11
+ opacity: 0;
12
+ .transition(opacity .15s linear);
13
+ &.in {
14
+ opacity: 1;
15
+ }
16
+ }
17
+
18
+ .collapse {
19
+ display: none;
20
+ &.in {
21
+ display: block;
22
+ }
23
+ }
24
+ .collapsing {
25
+ position: relative;
26
+ height: 0;
27
+ overflow: hidden;
28
+ .transition(height .35s ease);
29
+ }