twigg-app 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
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,111 @@
1
+ //
2
+ // Scaffolding
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Reset the box-sizing
7
+ // -------------------------
8
+
9
+ *,
10
+ *:before,
11
+ *:after {
12
+ .box-sizing(border-box);
13
+ }
14
+
15
+
16
+ // Body reset
17
+ // -------------------------
18
+
19
+ html {
20
+ font-size: 62.5%;
21
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
22
+ }
23
+
24
+ body {
25
+ font-family: @font-family-base;
26
+ font-size: @font-size-base;
27
+ line-height: @line-height-base;
28
+ color: @text-color;
29
+ background-color: @body-bg;
30
+ }
31
+
32
+ // Reset fonts for relevant elements
33
+ input,
34
+ button,
35
+ select,
36
+ textarea {
37
+ font-family: inherit;
38
+ font-size: inherit;
39
+ line-height: inherit;
40
+ }
41
+
42
+
43
+ // Links
44
+ // -------------------------
45
+
46
+ a {
47
+ color: @link-color;
48
+ text-decoration: none;
49
+ }
50
+ a:hover,
51
+ a:focus {
52
+ color: @link-hover-color;
53
+ text-decoration: underline;
54
+ }
55
+ a:focus {
56
+ .tab-focus();
57
+ }
58
+
59
+
60
+ // Images
61
+ // -------------------------
62
+
63
+ img {
64
+ vertical-align: middle;
65
+ }
66
+
67
+ // Responsive images (ensure images don't scale beyond their parents)
68
+ .img-responsive {
69
+ display: inline-block;
70
+ max-width: 100%; // Part 1: Set a maximum relative to the parent
71
+ height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
72
+ }
73
+
74
+ // Rounded corners
75
+ .img-rounded {
76
+ border-radius: @border-radius-large;
77
+ }
78
+
79
+ // Image thumbnails
80
+ // See thumbnails.less for `.img-thumbnail`
81
+
82
+ // Perfect circle
83
+ .img-circle {
84
+ border-radius: 50%; // set radius in percents
85
+ }
86
+
87
+
88
+ // Horizontal rules
89
+ // -------------------------
90
+
91
+ hr {
92
+ margin-top: @line-height-computed;
93
+ margin-bottom: @line-height-computed;
94
+ border: 0;
95
+ border-top: 1px solid @hr-border;
96
+ }
97
+
98
+ // Only display content to screen readers
99
+ // See: http://a11yproject.com/posts/how-to-hide-content/
100
+ // -------------------------
101
+
102
+ .sr-only {
103
+ position: absolute;
104
+ width: 1px;
105
+ height: 1px;
106
+ margin: -1px;
107
+ padding: 0;
108
+ overflow: hidden;
109
+ clip: rect(0 0 0 0);
110
+ border: 0;
111
+ }
@@ -0,0 +1,211 @@
1
+ //
2
+ // Tables
3
+ // --------------------------------------------------
4
+
5
+
6
+ table {
7
+ max-width: 100%;
8
+ background-color: @table-bg;
9
+ }
10
+ th {
11
+ text-align: left;
12
+ }
13
+
14
+
15
+ // Baseline styles
16
+ // ---------------
17
+
18
+ .table {
19
+ width: 100%;
20
+ margin-bottom: @line-height-computed;
21
+ // Cells
22
+ thead,
23
+ tbody,
24
+ tfoot {
25
+ > tr {
26
+ > th,
27
+ > td {
28
+ padding: @table-cell-padding;
29
+ line-height: @line-height-base;
30
+ vertical-align: top;
31
+ border-top: 1px solid @table-border-color;
32
+ }
33
+ }
34
+ }
35
+ // Bottom align for column headings
36
+ thead > tr > th {
37
+ vertical-align: bottom;
38
+ }
39
+ // Remove top border from thead by default
40
+ caption + thead,
41
+ colgroup + thead,
42
+ thead:first-child {
43
+ tr:first-child {
44
+ th, td {
45
+ border-top: 0;
46
+ }
47
+ }
48
+ }
49
+ // Account for multiple tbody instances
50
+ tbody + tbody {
51
+ border-top: 2px solid @table-border-color;
52
+ }
53
+
54
+ // Nesting
55
+ .table {
56
+ background-color: @body-bg;
57
+ }
58
+ }
59
+
60
+
61
+
62
+ // Condensed table w/ half padding
63
+ // -------------------------------
64
+
65
+ .table-condensed {
66
+ thead,
67
+ tbody,
68
+ tfoot {
69
+ > tr {
70
+ > th,
71
+ > td {
72
+ padding: @table-condensed-cell-padding;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+
79
+
80
+ // Bordered version
81
+ // ----------------
82
+
83
+ .table-bordered {
84
+ border: 1px solid @table-border-color;
85
+ > thead,
86
+ > tbody,
87
+ > tfoot {
88
+ > tr {
89
+ > th,
90
+ > td {
91
+ border: 1px solid @table-border-color;
92
+ }
93
+ }
94
+ }
95
+ }
96
+
97
+
98
+
99
+ // Zebra-striping
100
+ // --------------
101
+
102
+ // Default zebra-stripe styles (alternating gray and transparent backgrounds)
103
+ .table-striped {
104
+ > tbody {
105
+ > tr:nth-child(odd) {
106
+ > td,
107
+ > th {
108
+ background-color: @table-bg-accent;
109
+ }
110
+ }
111
+ }
112
+ }
113
+
114
+
115
+
116
+ // Hover effect
117
+ // ------------
118
+
119
+ // Placed here since it has to come after the potential zebra striping
120
+ .table-hover {
121
+ > tbody {
122
+ > tr:hover {
123
+ > td,
124
+ > th {
125
+ background-color: @table-bg-hover;
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+
132
+
133
+ // Table cell sizing
134
+ // -----------------
135
+
136
+ // Reset default table behavior
137
+ table col[class^="col-"] {
138
+ float: none;
139
+ display: table-column;
140
+ }
141
+ table {
142
+ td,
143
+ th {
144
+ &[class^="col-"] {
145
+ float: none;
146
+ display: table-cell;
147
+ }
148
+ }
149
+ }
150
+
151
+
152
+
153
+ // Table backgrounds
154
+ // -----------------
155
+ // Exact selectors below required to override `.table-striped` and prevent
156
+ // inheritance to nested tables.
157
+
158
+ .table > thead > tr,
159
+ .table > tbody > tr,
160
+ .table > tfoot > tr {
161
+ > td.active,
162
+ > th.active,
163
+ &.active > td,
164
+ &.active > th {
165
+ background-color: @table-bg-active;
166
+ }
167
+ > td.success,
168
+ > th.success,
169
+ &.success > td,
170
+ &.success > th {
171
+ background-color: @state-success-bg;
172
+ border-color: @state-success-border;
173
+ }
174
+ > td.danger,
175
+ > th.danger,
176
+ &.danger > td,
177
+ &.danger > th {
178
+ background-color: @state-danger-bg;
179
+ border-color: @state-danger-border;
180
+ }
181
+ > td.warning,
182
+ > th.warning,
183
+ &.warning > td,
184
+ &.warning > th {
185
+ background-color: @state-warning-bg;
186
+ border-color: @state-warning-border;
187
+ }
188
+ }
189
+
190
+ // Hover states for `.table-hover`
191
+ // Note: this is not available for cells or rows within `thead` or `tfoot`.
192
+ .table-hover > tbody > tr {
193
+ > td.success:hover,
194
+ > th.success:hover,
195
+ &.success:hover > td {
196
+ background-color: darken(@state-success-bg, 5%);
197
+ border-color: darken(@state-success-border, 5%);
198
+ }
199
+ > td.danger:hover,
200
+ > th.danger:hover,
201
+ &.danger:hover > td {
202
+ background-color: darken(@state-danger-bg, 5%);
203
+ border-color: darken(@state-danger-border, 5%);
204
+ }
205
+ > td.warning:hover,
206
+ > th.warning:hover,
207
+ &.warning:hover > td {
208
+ background-color: darken(@state-warning-bg, 5%);
209
+ border-color: darken(@state-warning-border, 5%);
210
+ }
211
+ }
@@ -0,0 +1,42 @@
1
+ //
2
+ // Thumbnails
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base classes
7
+ // For thumbnail block-level composite components and simple image styles
8
+
9
+ // The actual thumbnailed element
10
+ // Can be `a`, `div`, or `img`
11
+ .thumbnail,
12
+ .img-thumbnail {
13
+ padding: @thumbnail-padding;
14
+ line-height: @line-height-base;
15
+ background-color: @thumbnail-bg;
16
+ border: 1px solid @thumbnail-border;
17
+ border-radius: @thumbnail-border-radius;
18
+ .transition(all .2s ease-in-out);
19
+ }
20
+ .thumbnail {
21
+ display: block;
22
+ }
23
+ .thumbnail > img,
24
+ .img-thumbnail {
25
+ .img-responsive();
26
+ }
27
+
28
+ // Add a hover state for linked versions only
29
+ a.thumbnail:hover,
30
+ a.thumbnail:focus {
31
+ border-color: @link-color;
32
+ }
33
+
34
+ // Images and captions
35
+ .thumbnail > img {
36
+ margin-left: auto;
37
+ margin-right: auto;
38
+ }
39
+ .thumbnail .caption {
40
+ padding: @thumbnail-caption-padding;
41
+ color: @thumbnail-caption-color;
42
+ }
@@ -0,0 +1,95 @@
1
+ //
2
+ // Tooltips
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .tooltip {
8
+ position: absolute;
9
+ z-index: @zindex-tooltip;
10
+ display: block;
11
+ visibility: visible;
12
+ font-size: @font-size-small;
13
+ line-height: 1.4;
14
+ .opacity(0);
15
+
16
+ &.in { .opacity(.9); }
17
+ &.top { margin-top: -3px; padding: 5px 0; }
18
+ &.right { margin-left: 3px; padding: 0 5px; }
19
+ &.bottom { margin-top: 3px; padding: 5px 0; }
20
+ &.left { margin-left: -3px; padding: 0 5px; }
21
+ }
22
+
23
+ // Wrapper for the tooltip content
24
+ .tooltip-inner {
25
+ max-width: @tooltip-max-width;
26
+ padding: 3px 8px;
27
+ color: @tooltip-color;
28
+ text-align: center;
29
+ text-decoration: none;
30
+ background-color: @tooltip-bg;
31
+ border-radius: @border-radius-base;
32
+ }
33
+
34
+ // Arrows
35
+ .tooltip-arrow {
36
+ position: absolute;
37
+ width: 0;
38
+ height: 0;
39
+ border-color: transparent;
40
+ border-style: solid;
41
+ }
42
+ .tooltip {
43
+ &.top .tooltip-arrow {
44
+ bottom: 0;
45
+ left: 50%;
46
+ margin-left: -@tooltip-arrow-width;
47
+ border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
48
+ border-top-color: @tooltip-arrow-color;
49
+ }
50
+ &.top-left .tooltip-arrow {
51
+ bottom: 0;
52
+ left: 5px;
53
+ border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
54
+ border-top-color: @tooltip-arrow-color;
55
+ }
56
+ &.top-right .tooltip-arrow {
57
+ bottom: 0;
58
+ right: 5px;
59
+ border-width: @tooltip-arrow-width @tooltip-arrow-width 0;
60
+ border-top-color: @tooltip-arrow-color;
61
+ }
62
+ &.right .tooltip-arrow {
63
+ top: 50%;
64
+ left: 0;
65
+ margin-top: -@tooltip-arrow-width;
66
+ border-width: @tooltip-arrow-width @tooltip-arrow-width @tooltip-arrow-width 0;
67
+ border-right-color: @tooltip-arrow-color;
68
+ }
69
+ &.left .tooltip-arrow {
70
+ top: 50%;
71
+ right: 0;
72
+ margin-top: -@tooltip-arrow-width;
73
+ border-width: @tooltip-arrow-width 0 @tooltip-arrow-width @tooltip-arrow-width;
74
+ border-left-color: @tooltip-arrow-color;
75
+ }
76
+ &.bottom .tooltip-arrow {
77
+ top: 0;
78
+ left: 50%;
79
+ margin-left: -@tooltip-arrow-width;
80
+ border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
81
+ border-bottom-color: @tooltip-arrow-color;
82
+ }
83
+ &.bottom-left .tooltip-arrow {
84
+ top: 0;
85
+ left: 5px;
86
+ border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
87
+ border-bottom-color: @tooltip-arrow-color;
88
+ }
89
+ &.bottom-right .tooltip-arrow {
90
+ top: 0;
91
+ right: 5px;
92
+ border-width: 0 @tooltip-arrow-width @tooltip-arrow-width;
93
+ border-bottom-color: @tooltip-arrow-color;
94
+ }
95
+ }
@@ -0,0 +1,238 @@
1
+ //
2
+ // Typography
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Body text
7
+ // -------------------------
8
+
9
+ p {
10
+ margin: 0 0 (@line-height-computed / 2);
11
+ }
12
+ .lead {
13
+ margin-bottom: @line-height-computed;
14
+ font-size: (@font-size-base * 1.15);
15
+ font-weight: 200;
16
+ line-height: 1.4;
17
+
18
+ @media (min-width: 768px) {
19
+ font-size: (@font-size-base * 1.5);
20
+ }
21
+ }
22
+
23
+
24
+ // Emphasis & misc
25
+ // -------------------------
26
+
27
+ // Ex: 14px base font * 85% = about 12px
28
+ small { font-size: 85%; }
29
+
30
+ // Undo browser default styling
31
+ cite { font-style: normal; }
32
+
33
+ // Contextual emphasis
34
+ .text-muted { color: @text-muted; }
35
+ .text-primary { color: @brand-primary; }
36
+ .text-warning { color: @state-warning-text; }
37
+ .text-danger { color: @state-danger-text; }
38
+ .text-success { color: @state-success-text; }
39
+ .text-info { color: @state-info-text; }
40
+
41
+ // Alignment
42
+ .text-left { text-align: left; }
43
+ .text-right { text-align: right; }
44
+ .text-center { text-align: center; }
45
+
46
+
47
+ // Headings
48
+ // -------------------------
49
+
50
+ h1, h2, h3, h4, h5, h6,
51
+ .h1, .h2, .h3, .h4, .h5, .h6 {
52
+ font-family: @headings-font-family;
53
+ font-weight: @headings-font-weight;
54
+ line-height: @headings-line-height;
55
+ small {
56
+ font-weight: normal;
57
+ line-height: 1;
58
+ color: @headings-small-color;
59
+ }
60
+ }
61
+
62
+ h1,
63
+ h2,
64
+ h3 {
65
+ margin-top: @line-height-computed;
66
+ margin-bottom: (@line-height-computed / 2);
67
+ }
68
+ h4,
69
+ h5,
70
+ h6 {
71
+ margin-top: (@line-height-computed / 2);
72
+ margin-bottom: (@line-height-computed / 2);
73
+ }
74
+
75
+ h1, .h1 { font-size: ceil(@font-size-base * 2.70); } // ~38px
76
+ h2, .h2 { font-size: ceil(@font-size-base * 2.25); } // ~32px
77
+ h3, .h3 { font-size: ceil(@font-size-base * 1.70); } // ~24px
78
+ h4, .h4 { font-size: ceil(@font-size-base * 1.25); } // ~18px
79
+ h5, .h5 { font-size: @font-size-base; }
80
+ h6, .h6 { font-size: ceil(@font-size-base * 0.85); } // ~12px
81
+
82
+ h1 small, .h1 small { font-size: ceil(@font-size-base * 1.70); } // ~24px
83
+ h2 small, .h2 small { font-size: ceil(@font-size-base * 1.25); } // ~18px
84
+ h3 small, .h3 small,
85
+ h4 small, .h4 small { font-size: @font-size-base; }
86
+
87
+
88
+ // Page header
89
+ // -------------------------
90
+
91
+ .page-header {
92
+ padding-bottom: ((@line-height-computed / 2) - 1);
93
+ margin: (@line-height-computed * 2) 0 @line-height-computed;
94
+ border-bottom: 1px solid @page-header-border-color;
95
+ }
96
+
97
+
98
+
99
+ // Lists
100
+ // --------------------------------------------------
101
+
102
+ // Unordered and Ordered lists
103
+ ul,
104
+ ol {
105
+ margin-top: 0;
106
+ margin-bottom: (@line-height-computed / 2);
107
+ ul,
108
+ ol{
109
+ margin-bottom: 0;
110
+ }
111
+ }
112
+
113
+ // List options
114
+
115
+ // Unstyled keeps list items block level, just removes default browser padding and list-style
116
+ .list-unstyled {
117
+ padding-left: 0;
118
+ list-style: none;
119
+ }
120
+ // Inline turns list items into inline-block
121
+ .list-inline {
122
+ .list-unstyled();
123
+ > li {
124
+ display: inline-block;
125
+ padding-left: 5px;
126
+ padding-right: 5px;
127
+ }
128
+ }
129
+
130
+ // Description Lists
131
+ dl {
132
+ margin-bottom: @line-height-computed;
133
+ }
134
+ dt,
135
+ dd {
136
+ line-height: @line-height-base;
137
+ }
138
+ dt {
139
+ font-weight: bold;
140
+ }
141
+ dd {
142
+ margin-left: 0; // Undo browser default
143
+ }
144
+
145
+ // Horizontal description lists
146
+ //
147
+ // Defaults to being stacked without any of the below styles applied, until the
148
+ // grid breakpoint is reached (default of ~768px).
149
+
150
+ @media (min-width: @grid-float-breakpoint) {
151
+ .dl-horizontal {
152
+ dt {
153
+ float: left;
154
+ width: (@component-offset-horizontal - 20);
155
+ clear: left;
156
+ text-align: right;
157
+ .text-overflow();
158
+ }
159
+ dd {
160
+ margin-left: @component-offset-horizontal;
161
+ .clearfix(); // Clear the floated `dt` if an empty `dd` is present
162
+ }
163
+ }
164
+ }
165
+
166
+ // MISC
167
+ // ----
168
+
169
+ // Abbreviations and acronyms
170
+ abbr[title],
171
+ // Added data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
172
+ abbr[data-original-title] {
173
+ cursor: help;
174
+ border-bottom: 1px dotted @abbr-border-color;
175
+ }
176
+ abbr.initialism {
177
+ font-size: 90%;
178
+ text-transform: uppercase;
179
+ }
180
+
181
+ // Blockquotes
182
+ blockquote {
183
+ padding: (@line-height-computed / 2) @line-height-computed;
184
+ margin: 0 0 @line-height-computed;
185
+ border-left: 5px solid @blockquote-border-color;
186
+ p {
187
+ font-size: (@font-size-base * 1.25);
188
+ font-weight: 300;
189
+ line-height: 1.25;
190
+ }
191
+ p:last-child {
192
+ margin-bottom: 0;
193
+ }
194
+ small {
195
+ display: block;
196
+ line-height: @line-height-base;
197
+ color: @blockquote-small-color;
198
+ &:before {
199
+ content: '\2014 \00A0';// EM DASH, NBSP
200
+ }
201
+ }
202
+
203
+ // Float right with text-align: right
204
+ &.pull-right {
205
+ padding-right: 15px;
206
+ padding-left: 0;
207
+ border-right: 5px solid @blockquote-border-color;
208
+ border-left: 0;
209
+ p,
210
+ small {
211
+ text-align: right;
212
+ }
213
+ small {
214
+ &:before {
215
+ content: '';
216
+ }
217
+ &:after {
218
+ content: '\00A0 \2014';// NBSP, EM DASH
219
+ }
220
+ }
221
+ }
222
+ }
223
+
224
+ // Quotes
225
+ q:before,
226
+ q:after,
227
+ blockquote:before,
228
+ blockquote:after {
229
+ content: "";
230
+ }
231
+
232
+ // Addresses
233
+ address {
234
+ display: block;
235
+ margin-bottom: @line-height-computed;
236
+ font-style: normal;
237
+ line-height: @line-height-base;
238
+ }