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,72 @@
1
+ //
2
+ // Pagination (multiple pages)
3
+ // --------------------------------------------------
4
+ .pagination {
5
+ display: inline-block;
6
+ padding-left: 0;
7
+ margin: @line-height-computed 0;
8
+ border-radius: @border-radius-base;
9
+
10
+ > li {
11
+ display: inline; // Remove list-style and block-level defaults
12
+ > a,
13
+ > span {
14
+ float: left; // Collapse white-space
15
+ padding: @padding-base-vertical @padding-base-horizontal;
16
+ line-height: @line-height-base;
17
+ text-decoration: none;
18
+ background-color: @pagination-bg;
19
+ border: 1px solid @pagination-border;
20
+ border-left-width: 0;
21
+ }
22
+ &:first-child {
23
+ > a,
24
+ > span {
25
+ border-left-width: 1px;
26
+ .border-left-radius(@border-radius-base);
27
+ }
28
+ }
29
+ &:last-child {
30
+ > a,
31
+ > span {
32
+ .border-right-radius(@border-radius-base);
33
+ }
34
+ }
35
+ }
36
+
37
+ > li > a:hover,
38
+ > li > a:focus,
39
+ > .active > a,
40
+ > .active > span {
41
+ background-color: @pagination-active-bg;
42
+ }
43
+ > .active > a,
44
+ > .active > span {
45
+ color: @pagination-active-color;
46
+ cursor: default;
47
+ }
48
+
49
+ > .disabled {
50
+ > span,
51
+ > a,
52
+ > a:hover,
53
+ > a:focus {
54
+ color: @pagination-disabled-color;
55
+ background-color: @pagination-bg;
56
+ cursor: not-allowed;
57
+ }
58
+ }
59
+ }
60
+
61
+ // Sizing
62
+ // --------------------------------------------------
63
+
64
+ // Large
65
+ .pagination-lg {
66
+ .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @border-radius-large);
67
+ }
68
+
69
+ // Small
70
+ .pagination-sm {
71
+ .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @border-radius-small);
72
+ }
@@ -0,0 +1,128 @@
1
+ //
2
+ // Panels
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .panel {
8
+ margin-bottom: @line-height-computed;
9
+ background-color: @panel-bg;
10
+ border: 1px solid @panel-border;
11
+ border-radius: @panel-border-radius;
12
+ .box-shadow(0 1px 1px rgba(0,0,0,.05));
13
+ }
14
+
15
+ // Panel contents
16
+ .panel-body {
17
+ padding: 15px;
18
+ }
19
+
20
+ // List groups in panels
21
+ //
22
+ // By default, space out list group content from panel headings to account for
23
+ // any kind of custom content between the two.
24
+
25
+ .panel {
26
+ .list-group {
27
+ margin-bottom: 0;
28
+
29
+ .list-group-item {
30
+ border-width: 1px 0;
31
+
32
+ // Remove border radius for top one
33
+ &:first-child {
34
+ .border-top-radius(0);
35
+ }
36
+ // But keep it for the last one
37
+ &:last-child {
38
+ border-bottom: 0;
39
+ }
40
+ }
41
+ }
42
+ }
43
+ // Collapse space between when there's no additional content.
44
+ .panel-heading + .list-group {
45
+ .list-group-item:first-child {
46
+ border-top-width: 0;
47
+ }
48
+ }
49
+
50
+ // Optional heading
51
+ .panel-heading {
52
+ padding: 10px 15px;
53
+ background-color: @panel-heading-bg;
54
+ border-bottom: 1px solid @panel-border;
55
+ .border-top-radius(@panel-border-radius - 1);
56
+ }
57
+
58
+ // Within heading, strip any `h*` tag of it's default margins for spacing.
59
+ .panel-title {
60
+ margin-top: 0;
61
+ margin-bottom: 0;
62
+ font-size: (@font-size-base * 1.25);
63
+ > a {
64
+ color: inherit;
65
+ }
66
+ }
67
+
68
+ // Optional footer (stays gray in every modifier class)
69
+ .panel-footer {
70
+ padding: 10px 15px;
71
+ background-color: @panel-footer-bg;
72
+ border-top: 1px solid @panel-border;
73
+ .border-bottom-radius(@panel-border-radius - 1);
74
+ }
75
+
76
+
77
+ // Collapsable panels (aka, accordion)
78
+ //
79
+ // Wrap a series of panels in `.panel-group` to turn them into an accordion with
80
+ // the help of our collapse JavaScript plugin.
81
+
82
+ .panel-group {
83
+ // Tighten up margin so it's only between panels
84
+ .panel {
85
+ margin-bottom: 0;
86
+ border-radius: @panel-border-radius;
87
+ overflow: hidden; // crop contents when collapsed
88
+ + .panel {
89
+ margin-top: 5px;
90
+ }
91
+ }
92
+
93
+ .panel-heading {
94
+ border-bottom: 0;
95
+ + .panel-collapse .panel-body {
96
+ border-top: 1px solid @panel-border;
97
+ }
98
+ }
99
+ .panel-footer {
100
+ border-top: 0;
101
+ + .panel-collapse .panel-body {
102
+ border-bottom: 1px solid @panel-border;
103
+ }
104
+ }
105
+
106
+ // New subcomponent for wrapping collapsable content for proper animations
107
+ .panel-collapse {
108
+
109
+ }
110
+ }
111
+
112
+
113
+ // Contextual variations
114
+ .panel-primary {
115
+ .panel-variant(@panel-primary-border; @panel-primary-text; @panel-primary-heading-bg; @panel-primary-border);
116
+ }
117
+ .panel-success {
118
+ .panel-variant(@panel-success-border; @panel-success-text; @panel-success-heading-bg; @panel-success-border);
119
+ }
120
+ .panel-warning {
121
+ .panel-variant(@panel-warning-border; @panel-warning-text; @panel-warning-heading-bg; @panel-warning-border);
122
+ }
123
+ .panel-danger {
124
+ .panel-variant(@panel-danger-border; @panel-danger-text; @panel-danger-heading-bg; @panel-danger-border);
125
+ }
126
+ .panel-info {
127
+ .panel-variant(@panel-info-border; @panel-info-text; @panel-info-heading-bg; @panel-info-border);
128
+ }
@@ -0,0 +1,133 @@
1
+ //
2
+ // Popovers
3
+ // --------------------------------------------------
4
+
5
+
6
+ .popover {
7
+ position: absolute;
8
+ top: 0;
9
+ left: 0;
10
+ z-index: @zindex-popover;
11
+ display: none;
12
+ max-width: @popover-max-width;
13
+ padding: 1px;
14
+ text-align: left; // Reset given new insertion method
15
+ background-color: @popover-bg;
16
+ background-clip: padding-box;
17
+ border: 1px solid @popover-fallback-border-color;
18
+ border: 1px solid @popover-border-color;
19
+ border-radius: @border-radius-large;
20
+ .box-shadow(0 5px 10px rgba(0,0,0,.2));
21
+
22
+ // Overrides for proper insertion
23
+ white-space: normal;
24
+
25
+ // Offset the popover to account for the popover arrow
26
+ &.top { margin-top: -10px; }
27
+ &.right { margin-left: 10px; }
28
+ &.bottom { margin-top: 10px; }
29
+ &.left { margin-left: -10px; }
30
+ }
31
+
32
+ .popover-title {
33
+ margin: 0; // reset heading margin
34
+ padding: 8px 14px;
35
+ font-size: @font-size-base;
36
+ font-weight: normal;
37
+ line-height: 18px;
38
+ background-color: @popover-title-bg;
39
+ border-bottom: 1px solid darken(@popover-title-bg, 5%);
40
+ border-radius: 5px 5px 0 0;
41
+ }
42
+
43
+ .popover-content {
44
+ padding: 9px 14px;
45
+ }
46
+
47
+ // Arrows
48
+ //
49
+ // .arrow is outer, .arrow:after is inner
50
+
51
+ .popover .arrow {
52
+ &,
53
+ &:after {
54
+ position: absolute;
55
+ display: block;
56
+ width: 0;
57
+ height: 0;
58
+ border-color: transparent;
59
+ border-style: solid;
60
+ }
61
+ }
62
+ .popover .arrow {
63
+ border-width: @popover-arrow-outer-width;
64
+ }
65
+ .popover .arrow:after {
66
+ border-width: @popover-arrow-width;
67
+ content: "";
68
+ }
69
+
70
+ .popover {
71
+ &.top .arrow {
72
+ left: 50%;
73
+ margin-left: -@popover-arrow-outer-width;
74
+ border-bottom-width: 0;
75
+ border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
76
+ border-top-color: @popover-arrow-outer-color;
77
+ bottom: -@popover-arrow-outer-width;
78
+ &:after {
79
+ content: " ";
80
+ bottom: 1px;
81
+ margin-left: -@popover-arrow-width;
82
+ border-bottom-width: 0;
83
+ border-top-color: @popover-arrow-color;
84
+ }
85
+ }
86
+ &.right .arrow {
87
+ top: 50%;
88
+ left: -@popover-arrow-outer-width;
89
+ margin-top: -@popover-arrow-outer-width;
90
+ border-left-width: 0;
91
+ border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
92
+ border-right-color: @popover-arrow-outer-color;
93
+ &:after {
94
+ content: " ";
95
+ left: 1px;
96
+ bottom: -@popover-arrow-width;
97
+ border-left-width: 0;
98
+ border-right-color: @popover-arrow-color;
99
+ }
100
+ }
101
+ &.bottom .arrow {
102
+ left: 50%;
103
+ margin-left: -@popover-arrow-outer-width;
104
+ border-top-width: 0;
105
+ border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
106
+ border-bottom-color: @popover-arrow-outer-color;
107
+ top: -@popover-arrow-outer-width;
108
+ &:after {
109
+ content: " ";
110
+ top: 1px;
111
+ margin-left: -@popover-arrow-width;
112
+ border-top-width: 0;
113
+ border-bottom-color: @popover-arrow-color;
114
+ }
115
+ }
116
+
117
+ &.left .arrow {
118
+ top: 50%;
119
+ right: -@popover-arrow-outer-width;
120
+ margin-top: -@popover-arrow-outer-width;
121
+ border-right-width: 0;
122
+ border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
123
+ border-left-color: @popover-arrow-outer-color;
124
+ &:after {
125
+ content: " ";
126
+ right: 1px;
127
+ border-right-width: 0;
128
+ border-left-color: @popover-arrow-color;
129
+ bottom: -@popover-arrow-width;
130
+ }
131
+ }
132
+
133
+ }
@@ -0,0 +1,100 @@
1
+ //
2
+ // Basic print styles
3
+ // --------------------------------------------------
4
+ // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
5
+
6
+ @media print {
7
+
8
+ * {
9
+ text-shadow: none !important;
10
+ color: #000 !important; // Black prints faster: h5bp.com/s
11
+ background: transparent !important;
12
+ box-shadow: none !important;
13
+ }
14
+
15
+ a,
16
+ a:visited {
17
+ text-decoration: underline;
18
+ }
19
+
20
+ a[href]:after {
21
+ content: " (" attr(href) ")";
22
+ }
23
+
24
+ abbr[title]:after {
25
+ content: " (" attr(title) ")";
26
+ }
27
+
28
+ // Don't show links for images, or javascript/internal links
29
+ .ir a:after,
30
+ a[href^="javascript:"]:after,
31
+ a[href^="#"]:after {
32
+ content: "";
33
+ }
34
+
35
+ pre,
36
+ blockquote {
37
+ border: 1px solid #999;
38
+ page-break-inside: avoid;
39
+ }
40
+
41
+ thead {
42
+ display: table-header-group; // h5bp.com/t
43
+ }
44
+
45
+ tr,
46
+ img {
47
+ page-break-inside: avoid;
48
+ }
49
+
50
+ img {
51
+ max-width: 100% !important;
52
+ }
53
+
54
+ @page {
55
+ margin: 2cm .5cm;
56
+ }
57
+
58
+ p,
59
+ h2,
60
+ h3 {
61
+ orphans: 3;
62
+ widows: 3;
63
+ }
64
+
65
+ h2,
66
+ h3 {
67
+ page-break-after: avoid;
68
+ }
69
+
70
+ // Bootstrap components
71
+ .navbar {
72
+ display: none;
73
+ }
74
+ .table {
75
+ td,
76
+ th {
77
+ background-color: #fff !important;
78
+ }
79
+ }
80
+ .btn,
81
+ .dropup > .btn {
82
+ > .caret {
83
+ border-top-color: #000 !important;
84
+ }
85
+ }
86
+ .label {
87
+ border: 1px solid #000;
88
+ }
89
+
90
+ .table {
91
+ border-collapse: collapse !important;
92
+ }
93
+ .table-bordered {
94
+ th,
95
+ td {
96
+ border: 1px solid #ddd !important;
97
+ }
98
+ }
99
+
100
+ }
@@ -0,0 +1,99 @@
1
+ //
2
+ // Progress bars
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Bar animations
7
+ // -------------------------
8
+
9
+ // Webkit
10
+ @-webkit-keyframes progress-bar-stripes {
11
+ from { background-position: 40px 0; }
12
+ to { background-position: 0 0; }
13
+ }
14
+
15
+ // Firefox
16
+ @-moz-keyframes progress-bar-stripes {
17
+ from { background-position: 40px 0; }
18
+ to { background-position: 0 0; }
19
+ }
20
+
21
+ // Opera
22
+ @-o-keyframes progress-bar-stripes {
23
+ from { background-position: 0 0; }
24
+ to { background-position: 40px 0; }
25
+ }
26
+
27
+ // Spec and IE10+
28
+ @keyframes progress-bar-stripes {
29
+ from { background-position: 40px 0; }
30
+ to { background-position: 0 0; }
31
+ }
32
+
33
+
34
+
35
+ // Bar itself
36
+ // -------------------------
37
+
38
+ // Outer container
39
+ .progress {
40
+ overflow: hidden;
41
+ height: @line-height-computed;
42
+ margin-bottom: @line-height-computed;
43
+ background-color: @progress-bg;
44
+ border-radius: @border-radius-base;
45
+ .box-shadow(inset 0 1px 2px rgba(0,0,0,.1));
46
+ }
47
+
48
+ // Bar of progress
49
+ .progress-bar {
50
+ float: left;
51
+ width: 0%;
52
+ height: 100%;
53
+ font-size: @font-size-small;
54
+ color: @progress-bar-color;
55
+ text-align: center;
56
+ background-color: @progress-bar-bg;
57
+ .box-shadow(inset 0 -1px 0 rgba(0,0,0,.15));
58
+ .transition(width .6s ease);
59
+ }
60
+
61
+ // Striped bars
62
+ .progress-striped .progress-bar {
63
+ #gradient > .striped(@progress-bar-bg);
64
+ background-size: 40px 40px;
65
+ }
66
+
67
+ // Call animation for the active one
68
+ .progress.active .progress-bar {
69
+ -webkit-animation: progress-bar-stripes 2s linear infinite;
70
+ -moz-animation: progress-bar-stripes 2s linear infinite;
71
+ -ms-animation: progress-bar-stripes 2s linear infinite;
72
+ -o-animation: progress-bar-stripes 2s linear infinite;
73
+ animation: progress-bar-stripes 2s linear infinite;
74
+ }
75
+
76
+
77
+
78
+ // Variations
79
+ // -------------------------
80
+
81
+ // Danger (red)
82
+ .progress-bar-danger {
83
+ .progress-bar-variant(@progress-bar-danger-bg);
84
+ }
85
+
86
+ // Success (green)
87
+ .progress-bar-success {
88
+ .progress-bar-variant(@progress-bar-success-bg);
89
+ }
90
+
91
+ // Warning (orange)
92
+ .progress-bar-warning {
93
+ .progress-bar-variant(@progress-bar-warning-bg);
94
+ }
95
+
96
+ // Info (teal)
97
+ .progress-bar-info {
98
+ .progress-bar-variant(@progress-bar-info-bg);
99
+ }
@@ -0,0 +1,149 @@
1
+ //
2
+ // Responsive: Utility classes
3
+ // --------------------------------------------------
4
+
5
+
6
+ // IE10 Metro responsive
7
+ // Required for Windows 8 Metro split-screen snapping with IE10
8
+ //
9
+ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
10
+ @-ms-viewport{
11
+ width: device-width;
12
+ }
13
+
14
+ // IE10 on Windows Phone 8
15
+ // IE10 on WP8 doesn't report CSS pixels, but actual device pixels. In
16
+ // other words, say on a Lumia, you'll get 768px as the device width,
17
+ // meaning users will see the tablet styles and not phone styles.
18
+ //
19
+ // Alternatively you can override this with JS (see source below), but
20
+ // we won't be doing that here given our limited scope.
21
+ //
22
+ // Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/
23
+ @media screen and (max-width: 400px) {
24
+ @-ms-viewport{
25
+ width: 320px;
26
+ }
27
+ }
28
+
29
+ // Hide from screenreaders and browsers
30
+ // Credit: HTML5 Boilerplate
31
+ .hidden {
32
+ display: none !important;
33
+ visibility: hidden !important;
34
+ }
35
+
36
+ // Visibility utilities
37
+
38
+ .visible-xs {
39
+ .responsive-visibility();
40
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
41
+ .responsive-invisibility();
42
+ }
43
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
44
+ .responsive-invisibility();
45
+ }
46
+ @media (min-width: @screen-large-desktop) {
47
+ .responsive-invisibility();
48
+ }
49
+ }
50
+ .visible-sm {
51
+ .responsive-invisibility();
52
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
53
+ .responsive-visibility();
54
+ }
55
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
56
+ .responsive-invisibility();
57
+ }
58
+ @media (min-width: @screen-large-desktop) {
59
+ .responsive-invisibility();
60
+ }
61
+ }
62
+ .visible-md {
63
+ .responsive-invisibility();
64
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
65
+ .responsive-invisibility();
66
+ }
67
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
68
+ .responsive-visibility();
69
+ }
70
+ @media (min-width: @screen-large-desktop) {
71
+ .responsive-invisibility();
72
+ }
73
+ }
74
+ .visible-lg {
75
+ .responsive-invisibility();
76
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
77
+ .responsive-invisibility();
78
+ }
79
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
80
+ .responsive-invisibility();
81
+ }
82
+ @media (min-width: @screen-large-desktop) {
83
+ .responsive-visibility();
84
+ }
85
+ }
86
+
87
+ .hidden-xs {
88
+ .responsive-invisibility();
89
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
90
+ .responsive-visibility();
91
+ }
92
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
93
+ .responsive-visibility();
94
+ }
95
+ @media (min-width: @screen-large-desktop) {
96
+ .responsive-visibility();
97
+ }
98
+ }
99
+ .hidden-sm {
100
+ .responsive-visibility();
101
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
102
+ .responsive-invisibility();
103
+ }
104
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
105
+ .responsive-visibility();
106
+ }
107
+ @media (min-width: @screen-large-desktop) {
108
+ .responsive-visibility();
109
+ }
110
+ }
111
+ .hidden-md {
112
+ .responsive-visibility();
113
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
114
+ .responsive-visibility();
115
+ }
116
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
117
+ .responsive-invisibility();
118
+ }
119
+ @media (min-width: @screen-large-desktop) {
120
+ .responsive-visibility();
121
+ }
122
+ }
123
+ .hidden-lg {
124
+ .responsive-visibility();
125
+ @media (min-width: @screen-tablet) and (max-width: @screen-tablet-max) {
126
+ .responsive-visibility();
127
+ }
128
+ @media (min-width: @screen-desktop) and (max-width: @screen-desktop-max) {
129
+ .responsive-visibility();
130
+ }
131
+ @media (min-width: @screen-large-desktop) {
132
+ .responsive-invisibility();
133
+ }
134
+ }
135
+
136
+ // Print utilities
137
+ .visible-print {
138
+ .responsive-invisibility();
139
+ }
140
+ .hidden-print { }
141
+
142
+ @media print {
143
+ .visible-print {
144
+ .responsive-visibility();
145
+ }
146
+ .hidden-print {
147
+ .responsive-invisibility();
148
+ }
149
+ }