twigg-app 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/data/quips.yml +45 -0
- data/lib/twigg-app/app/quips.rb +13 -0
- data/lib/twigg-app/app/routes.rb +43 -0
- data/lib/twigg-app/app/server.rb +146 -0
- data/lib/twigg-app/app/version.rb +5 -0
- data/lib/twigg-app/app.rb +14 -0
- data/lib/twigg-app.rb +5 -0
- data/public/application.js +106 -0
- data/public/favicon.ico +0 -0
- data/public/favicon.png +0 -0
- data/public/vendor/bootstrap/CNAME +1 -0
- data/public/vendor/bootstrap/CONTRIBUTING.md +66 -0
- data/public/vendor/bootstrap/Gruntfile.js +195 -0
- data/public/vendor/bootstrap/LICENSE +176 -0
- data/public/vendor/bootstrap/README.md +139 -0
- data/public/vendor/bootstrap/_config.yml +28 -0
- data/public/vendor/bootstrap/_includes/ads.html +1 -0
- data/public/vendor/bootstrap/_includes/footer.html +33 -0
- data/public/vendor/bootstrap/_includes/header.html +43 -0
- data/public/vendor/bootstrap/_includes/nav-components.html +135 -0
- data/public/vendor/bootstrap/_includes/nav-css.html +77 -0
- data/public/vendor/bootstrap/_includes/nav-customize.html +40 -0
- data/public/vendor/bootstrap/_includes/nav-getting-started.html +28 -0
- data/public/vendor/bootstrap/_includes/nav-javascript.html +88 -0
- data/public/vendor/bootstrap/_includes/nav-main.html +32 -0
- data/public/vendor/bootstrap/_includes/old-bs-docs.html +8 -0
- data/public/vendor/bootstrap/_includes/social-buttons.html +16 -0
- data/public/vendor/bootstrap/_layouts/customize.html +52 -0
- data/public/vendor/bootstrap/_layouts/default.html +72 -0
- data/public/vendor/bootstrap/_layouts/home.html +43 -0
- data/public/vendor/bootstrap/assets/css/docs.css +896 -0
- data/public/vendor/bootstrap/assets/css/pygments-manni.css +66 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-114-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-57-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/apple-touch-icon-72-precomposed.png +0 -0
- data/public/vendor/bootstrap/assets/ico/favicon.png +0 -0
- data/public/vendor/bootstrap/assets/js/application.js +82 -0
- data/public/vendor/bootstrap/assets/js/customizer.js +175 -0
- data/public/vendor/bootstrap/assets/js/holder.js +419 -0
- data/public/vendor/bootstrap/assets/js/html5shiv.js +8 -0
- data/public/vendor/bootstrap/assets/js/jquery.bbq.min.js +1287 -0
- data/public/vendor/bootstrap/assets/js/jquery.js +5 -0
- data/public/vendor/bootstrap/assets/js/jszip.js +1425 -0
- data/public/vendor/bootstrap/assets/js/less.js +9 -0
- data/public/vendor/bootstrap/assets/js/respond.min.js +6 -0
- data/public/vendor/bootstrap/assets/js/uglify.js +14 -0
- data/public/vendor/bootstrap/bower.json +11 -0
- data/public/vendor/bootstrap/browserstack.json +37 -0
- data/public/vendor/bootstrap/components.html +2555 -0
- data/public/vendor/bootstrap/composer.json +20 -0
- data/public/vendor/bootstrap/css.html +2276 -0
- data/public/vendor/bootstrap/customize.html +1480 -0
- data/public/vendor/bootstrap/dist/css/bootstrap.css +5579 -0
- data/public/vendor/bootstrap/dist/css/bootstrap.min.css +9 -0
- data/public/vendor/bootstrap/dist/js/bootstrap.js +1993 -0
- data/public/vendor/bootstrap/dist/js/bootstrap.min.js +6 -0
- data/public/vendor/bootstrap/getting-started.html +375 -0
- data/public/vendor/bootstrap/index.html +16 -0
- data/public/vendor/bootstrap/javascript.html +1904 -0
- data/public/vendor/bootstrap/js/affix.js +126 -0
- data/public/vendor/bootstrap/js/alert.js +98 -0
- data/public/vendor/bootstrap/js/button.js +109 -0
- data/public/vendor/bootstrap/js/carousel.js +217 -0
- data/public/vendor/bootstrap/js/collapse.js +179 -0
- data/public/vendor/bootstrap/js/dropdown.js +154 -0
- data/public/vendor/bootstrap/js/modal.js +244 -0
- data/public/vendor/bootstrap/js/popover.js +117 -0
- data/public/vendor/bootstrap/js/scrollspy.js +158 -0
- data/public/vendor/bootstrap/js/tab.js +135 -0
- data/public/vendor/bootstrap/js/tests/index.html +52 -0
- data/public/vendor/bootstrap/js/tests/phantom.js +63 -0
- data/public/vendor/bootstrap/js/tests/server.js +14 -0
- data/public/vendor/bootstrap/js/tests/unit/affix.js +25 -0
- data/public/vendor/bootstrap/js/tests/unit/alert.js +62 -0
- data/public/vendor/bootstrap/js/tests/unit/button.js +116 -0
- data/public/vendor/bootstrap/js/tests/unit/carousel.js +87 -0
- data/public/vendor/bootstrap/js/tests/unit/collapse.js +164 -0
- data/public/vendor/bootstrap/js/tests/unit/dropdown.js +219 -0
- data/public/vendor/bootstrap/js/tests/unit/modal.js +177 -0
- data/public/vendor/bootstrap/js/tests/unit/phantom.js +69 -0
- data/public/vendor/bootstrap/js/tests/unit/popover.js +133 -0
- data/public/vendor/bootstrap/js/tests/unit/scrollspy.js +37 -0
- data/public/vendor/bootstrap/js/tests/unit/tab.js +86 -0
- data/public/vendor/bootstrap/js/tests/unit/tooltip.js +437 -0
- data/public/vendor/bootstrap/js/tests/unit/transition.js +13 -0
- data/public/vendor/bootstrap/js/tests/vendor/jquery.js +5 -0
- data/public/vendor/bootstrap/js/tests/vendor/qunit.css +232 -0
- data/public/vendor/bootstrap/js/tests/vendor/qunit.js +1510 -0
- data/public/vendor/bootstrap/js/tooltip.js +382 -0
- data/public/vendor/bootstrap/js/transition.js +56 -0
- data/public/vendor/bootstrap/less/alerts.less +71 -0
- data/public/vendor/bootstrap/less/badges.less +51 -0
- data/public/vendor/bootstrap/less/bootstrap.less +63 -0
- data/public/vendor/bootstrap/less/breadcrumbs.less +23 -0
- data/public/vendor/bootstrap/less/button-groups.less +244 -0
- data/public/vendor/bootstrap/less/buttons.less +159 -0
- data/public/vendor/bootstrap/less/carousel.less +204 -0
- data/public/vendor/bootstrap/less/close.less +33 -0
- data/public/vendor/bootstrap/less/code.less +56 -0
- data/public/vendor/bootstrap/less/component-animations.less +29 -0
- data/public/vendor/bootstrap/less/dropdowns.less +176 -0
- data/public/vendor/bootstrap/less/forms.less +332 -0
- data/public/vendor/bootstrap/less/grid.less +340 -0
- data/public/vendor/bootstrap/less/input-groups.less +127 -0
- data/public/vendor/bootstrap/less/jumbotron.less +29 -0
- data/public/vendor/bootstrap/less/labels.less +54 -0
- data/public/vendor/bootstrap/less/list-group.less +88 -0
- data/public/vendor/bootstrap/less/media.less +56 -0
- data/public/vendor/bootstrap/less/mixins.less +693 -0
- data/public/vendor/bootstrap/less/modals.less +133 -0
- data/public/vendor/bootstrap/less/navbar.less +559 -0
- data/public/vendor/bootstrap/less/navs.less +228 -0
- data/public/vendor/bootstrap/less/normalize.less +396 -0
- data/public/vendor/bootstrap/less/pager.less +55 -0
- data/public/vendor/bootstrap/less/pagination.less +72 -0
- data/public/vendor/bootstrap/less/panels.less +128 -0
- data/public/vendor/bootstrap/less/popovers.less +133 -0
- data/public/vendor/bootstrap/less/print.less +100 -0
- data/public/vendor/bootstrap/less/progress-bars.less +99 -0
- data/public/vendor/bootstrap/less/responsive-utilities.less +149 -0
- data/public/vendor/bootstrap/less/scaffolding.less +111 -0
- data/public/vendor/bootstrap/less/tables.less +211 -0
- data/public/vendor/bootstrap/less/thumbnails.less +42 -0
- data/public/vendor/bootstrap/less/tooltip.less +95 -0
- data/public/vendor/bootstrap/less/type.less +238 -0
- data/public/vendor/bootstrap/less/utilities.less +42 -0
- data/public/vendor/bootstrap/less/variables.less +607 -0
- data/public/vendor/bootstrap/less/wells.less +29 -0
- data/public/vendor/bootstrap/package.json +33 -0
- data/public/vendor/bootstrap-glyphicons/CHANGELOG.md +3 -0
- data/public/vendor/bootstrap-glyphicons/CNAME +1 -0
- data/public/vendor/bootstrap-glyphicons/CONTRIBUTING.md +54 -0
- data/public/vendor/bootstrap-glyphicons/LICENSE +19 -0
- data/public/vendor/bootstrap-glyphicons/README.md +61 -0
- data/public/vendor/bootstrap-glyphicons/_config.yml +12 -0
- data/public/vendor/bootstrap-glyphicons/composer.json +9 -0
- data/public/vendor/bootstrap-glyphicons/css/bootstrap-glyphicons.css +2 -0
- data/public/vendor/bootstrap-glyphicons/css/bootstrap.css +9 -0
- data/public/vendor/bootstrap-glyphicons/css/docs.css +160 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.eot +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.otf +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.svg +175 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.ttf +0 -0
- data/public/vendor/bootstrap-glyphicons/fonts/glyphiconshalflings-regular.woff +0 -0
- data/public/vendor/bootstrap-glyphicons/index.html +255 -0
- data/public/vendor/bootstrap-glyphicons/less/bootstrap-glyphicons.less +201 -0
- data/public/vendor/bootstrap-glyphicons/package.json +18 -0
- data/public/vendor/d3/LICENSE +26 -0
- data/public/vendor/d3/README.md +7 -0
- data/public/vendor/d3/bower.json +25 -0
- data/public/vendor/d3/d3.js +8810 -0
- data/public/vendor/d3/d3.min.js +5 -0
- data/public/vendor/jquery/README.md +11 -0
- data/public/vendor/jquery/bower.json +11 -0
- data/public/vendor/jquery/component.json +15 -0
- data/public/vendor/jquery/composer.json +35 -0
- data/public/vendor/jquery/jquery-migrate.js +511 -0
- data/public/vendor/jquery/jquery-migrate.min.js +3 -0
- data/public/vendor/jquery/jquery.js +8829 -0
- data/public/vendor/jquery/jquery.min.js +6 -0
- data/public/vendor/jquery/jquery.min.map +1 -0
- data/public/vendor/jquery/package.json +7 -0
- data/public/vendor/replacejs/CHANGELOG.md +3 -0
- data/public/vendor/replacejs/MIT-LICENSE.txt +20 -0
- data/public/vendor/replacejs/README.md +123 -0
- data/public/vendor/replacejs/bower.json +24 -0
- data/public/vendor/replacejs/primer.js +17 -0
- data/public/vendor/replacejs/primer.min.js +1 -0
- data/public/vendor/replacejs/replace.js +182 -0
- data/public/vendor/stupidtable.js +158 -0
- data/views/dashboard.haml +17 -0
- data/views/layout.haml +60 -0
- metadata +330 -0
@@ -0,0 +1,228 @@
|
|
1
|
+
//
|
2
|
+
// Navs
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Base class
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
.nav {
|
10
|
+
margin-bottom: 0;
|
11
|
+
padding-left: 0; // Override default ul/ol
|
12
|
+
list-style: none;
|
13
|
+
.clearfix();
|
14
|
+
|
15
|
+
> li {
|
16
|
+
position: relative;
|
17
|
+
display: block;
|
18
|
+
|
19
|
+
> a {
|
20
|
+
position: relative;
|
21
|
+
display: block;
|
22
|
+
padding: 10px 15px;
|
23
|
+
&:hover,
|
24
|
+
&:focus {
|
25
|
+
text-decoration: none;
|
26
|
+
background-color: @nav-link-hover-bg;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
// Disabled state sets text to gray and nukes hover/tab effects
|
31
|
+
&.disabled > a {
|
32
|
+
color: @nav-disabled-link-color;
|
33
|
+
|
34
|
+
&:hover,
|
35
|
+
&:focus {
|
36
|
+
color: @nav-disabled-link-hover-color;
|
37
|
+
text-decoration: none;
|
38
|
+
background-color: transparent;
|
39
|
+
cursor: not-allowed;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Open dropdowns
|
45
|
+
&.open > a {
|
46
|
+
&,
|
47
|
+
&:hover,
|
48
|
+
&:focus {
|
49
|
+
color: @nav-open-link-hover-color;
|
50
|
+
background-color: @link-color;
|
51
|
+
border-color: @link-color;
|
52
|
+
.caret {
|
53
|
+
border-top-color: @nav-open-caret-border-color;
|
54
|
+
border-bottom-color: @nav-open-caret-border-color;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
// Dividers (basically an hr) within the dropdown
|
60
|
+
.nav-divider {
|
61
|
+
.nav-divider();
|
62
|
+
}
|
63
|
+
|
64
|
+
// Prevent IE8 from misplacing imgs
|
65
|
+
// See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
|
66
|
+
> li > a > img {
|
67
|
+
max-width: none;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
// Tabs
|
73
|
+
// -------------------------
|
74
|
+
|
75
|
+
// Give the tabs something to sit on
|
76
|
+
.nav-tabs {
|
77
|
+
border-bottom: 1px solid @nav-tabs-border-color;
|
78
|
+
> li {
|
79
|
+
float: left;
|
80
|
+
// Make the list-items overlay the bottom border
|
81
|
+
margin-bottom: -1px;
|
82
|
+
|
83
|
+
// Actual tabs (as links)
|
84
|
+
> a {
|
85
|
+
margin-right: 2px;
|
86
|
+
line-height: @line-height-base;
|
87
|
+
border: 1px solid transparent;
|
88
|
+
border-radius: @border-radius-base @border-radius-base 0 0;
|
89
|
+
&:hover {
|
90
|
+
border-color: @nav-tabs-link-hover-border-color;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
// Active state, and it's :hover to override normal :hover
|
95
|
+
&.active > a {
|
96
|
+
&,
|
97
|
+
&:hover,
|
98
|
+
&:focus {
|
99
|
+
color: @nav-tabs-active-link-hover-color;
|
100
|
+
background-color: @nav-tabs-active-link-hover-bg;
|
101
|
+
border: 1px solid @nav-tabs-active-link-hover-border-color;
|
102
|
+
border-bottom-color: transparent;
|
103
|
+
cursor: default;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
// pulling this in mainly for less shorthand
|
108
|
+
&.nav-justified {
|
109
|
+
.nav-justified();
|
110
|
+
.nav-tabs-justified();
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
// Pills
|
116
|
+
// -------------------------
|
117
|
+
.nav-pills {
|
118
|
+
> li {
|
119
|
+
float: left;
|
120
|
+
|
121
|
+
// Links rendered as pills
|
122
|
+
> a {
|
123
|
+
border-radius: 5px;
|
124
|
+
}
|
125
|
+
+ li {
|
126
|
+
margin-left: 2px;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Active state
|
130
|
+
&.active > a {
|
131
|
+
&,
|
132
|
+
&:hover,
|
133
|
+
&:focus {
|
134
|
+
color: @nav-pills-active-link-hover-color;
|
135
|
+
background-color: @nav-pills-active-link-hover-bg;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
// Stacked pills
|
143
|
+
.nav-stacked {
|
144
|
+
> li {
|
145
|
+
float: none;
|
146
|
+
+ li {
|
147
|
+
margin-top: 2px;
|
148
|
+
margin-left: 0; // no need for this gap between nav items
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
// Nav variations
|
155
|
+
// --------------------------------------------------
|
156
|
+
|
157
|
+
// Justified nav links
|
158
|
+
// -------------------------
|
159
|
+
|
160
|
+
.nav-justified {
|
161
|
+
width: 100%;
|
162
|
+
> li {
|
163
|
+
float: none;
|
164
|
+
display: table-cell;
|
165
|
+
width: 1%;
|
166
|
+
> a {
|
167
|
+
text-align: center;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
// Move borders to anchors instead of bottom of list
|
173
|
+
.nav-tabs-justified {
|
174
|
+
border-bottom: 0;
|
175
|
+
> li > a {
|
176
|
+
border-bottom: 1px solid @nav-tabs-justified-link-border-color;
|
177
|
+
|
178
|
+
// Override margin from .nav-tabs
|
179
|
+
margin-right: 0;
|
180
|
+
}
|
181
|
+
> .active > a {
|
182
|
+
border-bottom-color: @nav-tabs-justified-active-link-border-color;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
|
187
|
+
// Tabbable tabs
|
188
|
+
// -------------------------
|
189
|
+
|
190
|
+
// Clear any floats
|
191
|
+
.tabbable {
|
192
|
+
.clearfix();
|
193
|
+
}
|
194
|
+
|
195
|
+
// Show/hide tabbable areas
|
196
|
+
.tab-content > .tab-pane,
|
197
|
+
.pill-content > .pill-pane {
|
198
|
+
display: none;
|
199
|
+
}
|
200
|
+
.tab-content,
|
201
|
+
.pill-content {
|
202
|
+
> .active {
|
203
|
+
display: block;
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
// Dropdowns
|
210
|
+
// -------------------------
|
211
|
+
|
212
|
+
// Make dropdown carets use link color in navs
|
213
|
+
.nav .caret {
|
214
|
+
border-top-color: @link-color;
|
215
|
+
border-bottom-color: @link-color;
|
216
|
+
}
|
217
|
+
.nav a:hover .caret {
|
218
|
+
border-top-color: @link-hover-color;
|
219
|
+
border-bottom-color: @link-hover-color;
|
220
|
+
}
|
221
|
+
|
222
|
+
// Specific dropdowns
|
223
|
+
.nav-tabs .dropdown-menu {
|
224
|
+
// make dropdown border overlap tab border
|
225
|
+
margin-top: -1px;
|
226
|
+
// Remove the top rounded corners here since there is a hard edge above the menu
|
227
|
+
.border-top-radius(0);
|
228
|
+
}
|
@@ -0,0 +1,396 @@
|
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
// ==========================================================================
|
4
|
+
// HTML5 display definitions
|
5
|
+
// ==========================================================================
|
6
|
+
|
7
|
+
//
|
8
|
+
// Correct `block` display not defined in IE 8/9.
|
9
|
+
//
|
10
|
+
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
25
|
+
|
26
|
+
//
|
27
|
+
// Correct `inline-block` display not defined in IE 8/9.
|
28
|
+
//
|
29
|
+
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
35
|
+
|
36
|
+
//
|
37
|
+
// Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
// Remove excess height in iOS 5 devices.
|
39
|
+
//
|
40
|
+
|
41
|
+
audio:not([controls]) {
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
//
|
47
|
+
// Address styling not present in IE 8/9.
|
48
|
+
//
|
49
|
+
|
50
|
+
[hidden] {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
// ==========================================================================
|
55
|
+
// Base
|
56
|
+
// ==========================================================================
|
57
|
+
|
58
|
+
//
|
59
|
+
// 1. Set default font family to sans-serif.
|
60
|
+
// 2. Prevent iOS text size adjust after orientation change, without disabling
|
61
|
+
// user zoom.
|
62
|
+
//
|
63
|
+
|
64
|
+
html {
|
65
|
+
font-family: sans-serif; // 1
|
66
|
+
-webkit-text-size-adjust: 100%; // 2
|
67
|
+
-ms-text-size-adjust: 100%; // 2
|
68
|
+
}
|
69
|
+
|
70
|
+
//
|
71
|
+
// Remove default margin.
|
72
|
+
//
|
73
|
+
|
74
|
+
body {
|
75
|
+
margin: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
// ==========================================================================
|
79
|
+
// Links
|
80
|
+
// ==========================================================================
|
81
|
+
|
82
|
+
//
|
83
|
+
// Address `outline` inconsistency between Chrome and other browsers.
|
84
|
+
//
|
85
|
+
|
86
|
+
a:focus {
|
87
|
+
outline: thin dotted;
|
88
|
+
}
|
89
|
+
|
90
|
+
//
|
91
|
+
// Improve readability when focused and also mouse hovered in all browsers.
|
92
|
+
//
|
93
|
+
|
94
|
+
a:active,
|
95
|
+
a:hover {
|
96
|
+
outline: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
// ==========================================================================
|
100
|
+
// Typography
|
101
|
+
// ==========================================================================
|
102
|
+
|
103
|
+
//
|
104
|
+
// Address variable `h1` font-size and margin within `section` and `article`
|
105
|
+
// contexts in Firefox 4+, Safari 5, and Chrome.
|
106
|
+
//
|
107
|
+
|
108
|
+
h1 {
|
109
|
+
font-size: 2em;
|
110
|
+
margin: 0.67em 0;
|
111
|
+
}
|
112
|
+
|
113
|
+
//
|
114
|
+
// Address styling not present in IE 8/9, Safari 5, and Chrome.
|
115
|
+
//
|
116
|
+
|
117
|
+
abbr[title] {
|
118
|
+
border-bottom: 1px dotted;
|
119
|
+
}
|
120
|
+
|
121
|
+
//
|
122
|
+
// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
123
|
+
//
|
124
|
+
|
125
|
+
b,
|
126
|
+
strong {
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
129
|
+
|
130
|
+
//
|
131
|
+
// Address styling not present in Safari 5 and Chrome.
|
132
|
+
//
|
133
|
+
|
134
|
+
dfn {
|
135
|
+
font-style: italic;
|
136
|
+
}
|
137
|
+
|
138
|
+
//
|
139
|
+
// Address differences between Firefox and other browsers.
|
140
|
+
//
|
141
|
+
|
142
|
+
hr {
|
143
|
+
-moz-box-sizing: content-box;
|
144
|
+
box-sizing: content-box;
|
145
|
+
height: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
//
|
149
|
+
// Address styling not present in IE 8/9.
|
150
|
+
//
|
151
|
+
|
152
|
+
mark {
|
153
|
+
background: #ff0;
|
154
|
+
color: #000;
|
155
|
+
}
|
156
|
+
|
157
|
+
//
|
158
|
+
// Correct font family set oddly in Safari 5 and Chrome.
|
159
|
+
//
|
160
|
+
|
161
|
+
code,
|
162
|
+
kbd,
|
163
|
+
pre,
|
164
|
+
samp {
|
165
|
+
font-family: monospace, serif;
|
166
|
+
font-size: 1em;
|
167
|
+
}
|
168
|
+
|
169
|
+
//
|
170
|
+
// Improve readability of pre-formatted text in all browsers.
|
171
|
+
//
|
172
|
+
|
173
|
+
pre {
|
174
|
+
white-space: pre-wrap;
|
175
|
+
}
|
176
|
+
|
177
|
+
//
|
178
|
+
// Set consistent quote types.
|
179
|
+
//
|
180
|
+
|
181
|
+
q {
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
183
|
+
}
|
184
|
+
|
185
|
+
//
|
186
|
+
// Address inconsistent and variable font size in all browsers.
|
187
|
+
//
|
188
|
+
|
189
|
+
small {
|
190
|
+
font-size: 80%;
|
191
|
+
}
|
192
|
+
|
193
|
+
//
|
194
|
+
// Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
195
|
+
//
|
196
|
+
|
197
|
+
sub,
|
198
|
+
sup {
|
199
|
+
font-size: 75%;
|
200
|
+
line-height: 0;
|
201
|
+
position: relative;
|
202
|
+
vertical-align: baseline;
|
203
|
+
}
|
204
|
+
|
205
|
+
sup {
|
206
|
+
top: -0.5em;
|
207
|
+
}
|
208
|
+
|
209
|
+
sub {
|
210
|
+
bottom: -0.25em;
|
211
|
+
}
|
212
|
+
|
213
|
+
// ==========================================================================
|
214
|
+
// Embedded content
|
215
|
+
// ==========================================================================
|
216
|
+
|
217
|
+
//
|
218
|
+
// Remove border when inside `a` element in IE 8/9.
|
219
|
+
//
|
220
|
+
|
221
|
+
img {
|
222
|
+
border: 0;
|
223
|
+
}
|
224
|
+
|
225
|
+
//
|
226
|
+
// Correct overflow displayed oddly in IE 9.
|
227
|
+
//
|
228
|
+
|
229
|
+
svg:not(:root) {
|
230
|
+
overflow: hidden;
|
231
|
+
}
|
232
|
+
|
233
|
+
// ==========================================================================
|
234
|
+
// Figures
|
235
|
+
// ==========================================================================
|
236
|
+
|
237
|
+
//
|
238
|
+
// Address margin not present in IE 8/9 and Safari 5.
|
239
|
+
//
|
240
|
+
|
241
|
+
figure {
|
242
|
+
margin: 0;
|
243
|
+
}
|
244
|
+
|
245
|
+
// ==========================================================================
|
246
|
+
// Forms
|
247
|
+
// ==========================================================================
|
248
|
+
|
249
|
+
//
|
250
|
+
// Define consistent border, margin, and padding.
|
251
|
+
//
|
252
|
+
|
253
|
+
fieldset {
|
254
|
+
border: 1px solid #c0c0c0;
|
255
|
+
margin: 0 2px;
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
257
|
+
}
|
258
|
+
|
259
|
+
//
|
260
|
+
// 1. Correct `color` not being inherited in IE 8/9.
|
261
|
+
// 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
262
|
+
//
|
263
|
+
|
264
|
+
legend {
|
265
|
+
border: 0; // 1
|
266
|
+
padding: 0; // 2
|
267
|
+
}
|
268
|
+
|
269
|
+
//
|
270
|
+
// 1. Correct font family not being inherited in all browsers.
|
271
|
+
// 2. Correct font size not being inherited in all browsers.
|
272
|
+
// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
273
|
+
//
|
274
|
+
|
275
|
+
button,
|
276
|
+
input,
|
277
|
+
select,
|
278
|
+
textarea {
|
279
|
+
font-family: inherit; // 1
|
280
|
+
font-size: 100%; // 2
|
281
|
+
margin: 0; // 3
|
282
|
+
}
|
283
|
+
|
284
|
+
//
|
285
|
+
// Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
286
|
+
// the UA stylesheet.
|
287
|
+
//
|
288
|
+
|
289
|
+
button,
|
290
|
+
input {
|
291
|
+
line-height: normal;
|
292
|
+
}
|
293
|
+
|
294
|
+
//
|
295
|
+
// Address inconsistent `text-transform` inheritance for `button` and `select`.
|
296
|
+
// All other form control elements do not inherit `text-transform` values.
|
297
|
+
// Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
298
|
+
// Correct `select` style inheritance in Firefox 4+ and Opera.
|
299
|
+
//
|
300
|
+
|
301
|
+
button,
|
302
|
+
select {
|
303
|
+
text-transform: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
//
|
307
|
+
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
308
|
+
// and `video` controls.
|
309
|
+
// 2. Correct inability to style clickable `input` types in iOS.
|
310
|
+
// 3. Improve usability and consistency of cursor style between image-type
|
311
|
+
// `input` and others.
|
312
|
+
//
|
313
|
+
|
314
|
+
button,
|
315
|
+
html input[type="button"], // 1
|
316
|
+
input[type="reset"],
|
317
|
+
input[type="submit"] {
|
318
|
+
-webkit-appearance: button; // 2
|
319
|
+
cursor: pointer; // 3
|
320
|
+
}
|
321
|
+
|
322
|
+
//
|
323
|
+
// Re-set default cursor for disabled elements.
|
324
|
+
//
|
325
|
+
|
326
|
+
button[disabled],
|
327
|
+
html input[disabled] {
|
328
|
+
cursor: default;
|
329
|
+
}
|
330
|
+
|
331
|
+
//
|
332
|
+
// 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
+
// 2. Remove excess padding in IE 8/9.
|
334
|
+
//
|
335
|
+
|
336
|
+
input[type="checkbox"],
|
337
|
+
input[type="radio"] {
|
338
|
+
box-sizing: border-box; // 1
|
339
|
+
padding: 0; // 2
|
340
|
+
}
|
341
|
+
|
342
|
+
//
|
343
|
+
// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
344
|
+
// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
345
|
+
// (include `-moz` to future-proof).
|
346
|
+
//
|
347
|
+
|
348
|
+
input[type="search"] {
|
349
|
+
-webkit-appearance: textfield; // 1
|
350
|
+
-moz-box-sizing: content-box;
|
351
|
+
-webkit-box-sizing: content-box; // 2
|
352
|
+
box-sizing: content-box;
|
353
|
+
}
|
354
|
+
|
355
|
+
//
|
356
|
+
// Remove inner padding and search cancel button in Safari 5 and Chrome
|
357
|
+
// on OS X.
|
358
|
+
//
|
359
|
+
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
362
|
+
-webkit-appearance: none;
|
363
|
+
}
|
364
|
+
|
365
|
+
//
|
366
|
+
// Remove inner padding and border in Firefox 4+.
|
367
|
+
//
|
368
|
+
|
369
|
+
button::-moz-focus-inner,
|
370
|
+
input::-moz-focus-inner {
|
371
|
+
border: 0;
|
372
|
+
padding: 0;
|
373
|
+
}
|
374
|
+
|
375
|
+
//
|
376
|
+
// 1. Remove default vertical scrollbar in IE 8/9.
|
377
|
+
// 2. Improve readability and alignment in all browsers.
|
378
|
+
//
|
379
|
+
|
380
|
+
textarea {
|
381
|
+
overflow: auto; // 1
|
382
|
+
vertical-align: top; // 2
|
383
|
+
}
|
384
|
+
|
385
|
+
// ==========================================================================
|
386
|
+
// Tables
|
387
|
+
// ==========================================================================
|
388
|
+
|
389
|
+
//
|
390
|
+
// Remove most spacing between table cells.
|
391
|
+
//
|
392
|
+
|
393
|
+
table {
|
394
|
+
border-collapse: collapse;
|
395
|
+
border-spacing: 0;
|
396
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
//
|
2
|
+
// Pager pagination
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.pager {
|
7
|
+
padding-left: 0;
|
8
|
+
margin: @line-height-computed 0;
|
9
|
+
list-style: none;
|
10
|
+
text-align: center;
|
11
|
+
.clearfix();
|
12
|
+
li {
|
13
|
+
display: inline;
|
14
|
+
> a,
|
15
|
+
> span {
|
16
|
+
display: inline-block;
|
17
|
+
padding: 5px 14px;
|
18
|
+
background-color: @pagination-bg;
|
19
|
+
border: 1px solid @pagination-border;
|
20
|
+
border-radius: @pager-border-radius;
|
21
|
+
}
|
22
|
+
|
23
|
+
> a:hover,
|
24
|
+
> a:focus {
|
25
|
+
text-decoration: none;
|
26
|
+
background-color: @pagination-active-bg;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.next {
|
31
|
+
> a,
|
32
|
+
> span {
|
33
|
+
float: right;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.previous {
|
38
|
+
> a,
|
39
|
+
> span {
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.disabled {
|
45
|
+
> a,
|
46
|
+
> a:hover,
|
47
|
+
> a:focus,
|
48
|
+
> span {
|
49
|
+
color: @pager-disabled-color;
|
50
|
+
background-color: @pagination-bg;
|
51
|
+
cursor: not-allowed;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
}
|