heidi 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -0
- data/Gemfile.lock +3 -0
- data/README.rdoc +20 -0
- data/VERSION +1 -1
- data/bin/heidi +8 -82
- data/heidi.gemspec +49 -10
- data/lib/heidi.rb +4 -0
- data/lib/heidi/build.rb +42 -10
- data/lib/heidi/builder.rb +7 -2
- data/lib/heidi/hook.rb +2 -0
- data/lib/heidi/integrator.rb +11 -5
- data/lib/heidi/project.rb +37 -24
- data/lib/heidi/shell.rb +119 -0
- data/lib/heidi/tester.rb +6 -5
- data/lib/heidi/web.rb +65 -4
- data/lib/heidi/web/assets/css/bootstrap-responsive.css +643 -0
- data/lib/heidi/web/assets/css/bootstrap.css +3682 -0
- data/lib/heidi/web/{public/css/screen.css → assets/css/colors.css} +1 -75
- data/lib/heidi/web/assets/css/docs.css +772 -0
- data/lib/heidi/web/{public → assets}/images/HeidiBlue-480.png +0 -0
- data/lib/heidi/web/{public → assets}/images/HeidiBlue.gif +0 -0
- data/lib/heidi/web/{public → assets}/images/OrganisedMinds.png +0 -0
- data/lib/heidi/web/{public → assets}/images/heidi.jpeg +0 -0
- data/lib/heidi/web/assets/img/glyphicons-halflings-white.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons-halflings.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_009_magic.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_042_group.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_079_podium.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_082_roundabout.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_155_show_thumbnails.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_163_iphone.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_214_resize_small.png +0 -0
- data/lib/heidi/web/assets/img/glyphicons/glyphicons_266_book_open.png +0 -0
- data/lib/heidi/web/assets/js/README.md +106 -0
- data/lib/heidi/web/assets/js/application.js +180 -0
- data/lib/heidi/web/assets/js/bootstrap-alert.js +94 -0
- data/lib/heidi/web/assets/js/bootstrap-button.js +100 -0
- data/lib/heidi/web/assets/js/bootstrap-carousel.js +157 -0
- data/lib/heidi/web/assets/js/bootstrap-collapse.js +136 -0
- data/lib/heidi/web/assets/js/bootstrap-dropdown.js +92 -0
- data/lib/heidi/web/assets/js/bootstrap-modal.js +210 -0
- data/lib/heidi/web/assets/js/bootstrap-popover.js +95 -0
- data/lib/heidi/web/assets/js/bootstrap-scrollspy.js +125 -0
- data/lib/heidi/web/assets/js/bootstrap-tab.js +130 -0
- data/lib/heidi/web/assets/js/bootstrap-tooltip.js +270 -0
- data/lib/heidi/web/assets/js/bootstrap-transition.js +51 -0
- data/lib/heidi/web/assets/js/bootstrap-typeahead.js +271 -0
- data/lib/heidi/web/assets/js/google-code-prettify/prettify.css +30 -0
- data/lib/heidi/web/assets/js/google-code-prettify/prettify.js +28 -0
- data/lib/heidi/web/assets/js/jquery.js +9252 -0
- data/lib/heidi/web/views/build.erb +40 -24
- data/lib/heidi/web/views/commit.erb +10 -7
- data/lib/heidi/web/views/config.erb +34 -18
- data/lib/heidi/web/views/home.erb +44 -25
- data/lib/heidi/web/views/layout.erb +57 -4
- data/lib/heidi/web/views/new_project.erb +56 -0
- data/lib/heidi/web/views/project.erb +114 -32
- data/lib/heidi/web/views/project_header.erb +20 -0
- data/spec/heidi/build_spec.rb +163 -2
- data/spec/heidi/builder_spec.rb +61 -1
- data/spec/heidi/hook_spec.rb +47 -1
- data/spec/heidi/integrator_spec.rb +96 -1
- data/spec/heidi/project_spec.rb +177 -2
- data/spec/heidi/shell_spec.rb +67 -0
- data/spec/heidi/web_spec.rb +78 -2
- data/spec/heidi_spec.rb +16 -5
- data/spec/spec_helper.rb +1 -1
- data/spec/support/01_rworld.rb +9 -0
- data/spec/support/mock_project.rb +39 -0
- data/spec/support/survivable.rb +10 -0
- metadata +131 -79
- data/spec/heidi/tester_spec.rb +0 -5
@@ -1,28 +1,3 @@
|
|
1
|
-
* {
|
2
|
-
margin: 0;
|
3
|
-
padding: 0;
|
4
|
-
}
|
5
|
-
|
6
|
-
html, body {
|
7
|
-
height: 100%;
|
8
|
-
}
|
9
|
-
|
10
|
-
body {
|
11
|
-
background-color: white;
|
12
|
-
font: 13.34px helvetica, arial, clean, sans-serif;
|
13
|
-
*font-size: small;
|
14
|
-
text-align: center;
|
15
|
-
}
|
16
|
-
|
17
|
-
h1, h2, h3 {
|
18
|
-
margin-bottom: 1em;
|
19
|
-
}
|
20
|
-
|
21
|
-
h1 a {
|
22
|
-
text-decoration: none;
|
23
|
-
color: #000;
|
24
|
-
}
|
25
|
-
|
26
1
|
.color1 {
|
27
2
|
font-weight: bold;
|
28
3
|
}
|
@@ -105,36 +80,14 @@ h1 a {
|
|
105
80
|
padding-left: 3em;
|
106
81
|
}
|
107
82
|
|
108
|
-
p {
|
109
|
-
margin: 1em 0;
|
110
|
-
}
|
111
|
-
|
112
|
-
a {
|
113
|
-
color: #333;
|
114
|
-
}
|
115
|
-
|
116
|
-
a:hover {
|
117
|
-
color: black;
|
118
|
-
}
|
119
|
-
|
120
|
-
a:visited {
|
121
|
-
color: #333;
|
122
|
-
}
|
123
|
-
|
124
83
|
table {
|
125
84
|
font-size: inherit;
|
126
85
|
font: 100%;
|
127
86
|
}
|
128
87
|
|
129
|
-
|
130
|
-
.container {
|
131
|
-
width: 80%;
|
132
|
-
text-align: justify;
|
133
|
-
margin: 2em auto;
|
134
|
-
}
|
135
|
-
|
136
88
|
pre.terminal {
|
137
89
|
font-family: 'Bitstream Vera Sans Mono', 'Courier', monospace;
|
90
|
+
font-size: 110%;
|
138
91
|
border: 1px solid black;
|
139
92
|
background-color: #333;
|
140
93
|
color: white;
|
@@ -173,30 +126,3 @@ ul {
|
|
173
126
|
.clear {
|
174
127
|
clear: both;
|
175
128
|
}
|
176
|
-
|
177
|
-
.column {
|
178
|
-
width: 48%;
|
179
|
-
margin-right: 10px;
|
180
|
-
float: left;
|
181
|
-
}
|
182
|
-
|
183
|
-
.label {
|
184
|
-
display: inline-block;
|
185
|
-
min-width: 120px;
|
186
|
-
}
|
187
|
-
|
188
|
-
ul.projects {
|
189
|
-
font-size: 110%;
|
190
|
-
font-weight: bold;
|
191
|
-
}
|
192
|
-
|
193
|
-
.history {
|
194
|
-
width: 75%;
|
195
|
-
overflow: hidden;
|
196
|
-
}
|
197
|
-
|
198
|
-
label {
|
199
|
-
display: inline-block;
|
200
|
-
min-width: 120px;
|
201
|
-
font-weight: bold;
|
202
|
-
}
|
@@ -0,0 +1,772 @@
|
|
1
|
+
/* Add additional stylesheets below
|
2
|
+
-------------------------------------------------- */
|
3
|
+
/*
|
4
|
+
Bootstrap's documentation styles
|
5
|
+
Special styles for presenting Bootstrap's documentation and examples
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
/* Body and structure
|
10
|
+
-------------------------------------------------- */
|
11
|
+
body {
|
12
|
+
position: relative;
|
13
|
+
padding-top: 90px;
|
14
|
+
background-color: #fff;
|
15
|
+
background-image: url(../img/grid-18px-masked.png);
|
16
|
+
background-repeat: repeat-x;
|
17
|
+
background-position: 0 40px;
|
18
|
+
}
|
19
|
+
|
20
|
+
|
21
|
+
/* Tweak navbar brand link to be super sleek
|
22
|
+
-------------------------------------------------- */
|
23
|
+
.navbar-fixed-top .brand {
|
24
|
+
padding-right: 0;
|
25
|
+
padding-left: 0;
|
26
|
+
margin-left: 20px;
|
27
|
+
float: right;
|
28
|
+
font-weight: bold;
|
29
|
+
color: #000;
|
30
|
+
text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
|
31
|
+
-webkit-transition: all .2s linear;
|
32
|
+
-moz-transition: all .2s linear;
|
33
|
+
transition: all .2s linear;
|
34
|
+
}
|
35
|
+
.navbar-fixed-top .brand:hover {
|
36
|
+
text-decoration: none;
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
/* Space out sub-sections more
|
41
|
+
-------------------------------------------------- */
|
42
|
+
section {
|
43
|
+
padding-top: 60px;
|
44
|
+
}
|
45
|
+
|
46
|
+
/* Faded out hr */
|
47
|
+
hr.soften {
|
48
|
+
height: 1px;
|
49
|
+
margin: 54px 0;
|
50
|
+
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
51
|
+
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
52
|
+
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
53
|
+
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
|
54
|
+
border: 0;
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
/* Jumbotrons
|
59
|
+
-------------------------------------------------- */
|
60
|
+
.jumbotron {
|
61
|
+
position: relative;
|
62
|
+
}
|
63
|
+
.jumbotron h1 {
|
64
|
+
margin-bottom: 9px;
|
65
|
+
font-size: 81px;
|
66
|
+
letter-spacing: -1px;
|
67
|
+
line-height: 1;
|
68
|
+
}
|
69
|
+
.jumbotron p {
|
70
|
+
margin-bottom: 18px;
|
71
|
+
font-weight: 300;
|
72
|
+
}
|
73
|
+
.jumbotron .btn-large {
|
74
|
+
font-size: 20px;
|
75
|
+
font-weight: normal;
|
76
|
+
padding: 14px 24px;
|
77
|
+
margin-right: 10px;
|
78
|
+
-webkit-border-radius: 6px;
|
79
|
+
-moz-border-radius: 6px;
|
80
|
+
border-radius: 6px;
|
81
|
+
}
|
82
|
+
|
83
|
+
/* Masthead (docs home) */
|
84
|
+
.masthead {
|
85
|
+
padding-top: 36px;
|
86
|
+
margin-bottom: 72px;
|
87
|
+
}
|
88
|
+
.masthead h1,
|
89
|
+
.masthead p {
|
90
|
+
text-align: center;
|
91
|
+
}
|
92
|
+
.masthead h1 {
|
93
|
+
margin-bottom: 18px;
|
94
|
+
}
|
95
|
+
.masthead p {
|
96
|
+
margin-left: 5%;
|
97
|
+
margin-right: 5%;
|
98
|
+
font-size: 30px;
|
99
|
+
line-height: 36px;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
/* Specific jumbotrons
|
104
|
+
------------------------- */
|
105
|
+
/* supporting docs pages */
|
106
|
+
.subhead {
|
107
|
+
padding-bottom: 0;
|
108
|
+
margin-bottom: 9px;
|
109
|
+
}
|
110
|
+
.subhead h1 {
|
111
|
+
font-size: 54px;
|
112
|
+
}
|
113
|
+
|
114
|
+
/* Subnav */
|
115
|
+
.subnav {
|
116
|
+
width: 100%;
|
117
|
+
height: 36px;
|
118
|
+
background-color: #eeeeee; /* Old browsers */
|
119
|
+
background-repeat: repeat-x; /* Repeat the gradient */
|
120
|
+
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
|
121
|
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
|
122
|
+
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
|
123
|
+
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
|
124
|
+
background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
|
125
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
|
126
|
+
background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
|
127
|
+
border: 1px solid #e5e5e5;
|
128
|
+
-webkit-border-radius: 4px;
|
129
|
+
-moz-border-radius: 4px;
|
130
|
+
border-radius: 4px;
|
131
|
+
}
|
132
|
+
.subnav .nav {
|
133
|
+
margin-bottom: 0;
|
134
|
+
}
|
135
|
+
.subnav .nav > li > a {
|
136
|
+
margin: 0;
|
137
|
+
padding-top: 11px;
|
138
|
+
padding-bottom: 11px;
|
139
|
+
border-left: 1px solid #f5f5f5;
|
140
|
+
border-right: 1px solid #e5e5e5;
|
141
|
+
-webkit-border-radius: 0;
|
142
|
+
-moz-border-radius: 0;
|
143
|
+
border-radius: 0;
|
144
|
+
}
|
145
|
+
.subnav .nav > .active > a,
|
146
|
+
.subnav .nav > .active > a:hover {
|
147
|
+
padding-left: 13px;
|
148
|
+
color: #777;
|
149
|
+
background-color: #e9e9e9;
|
150
|
+
border-right-color: #ddd;
|
151
|
+
border-left: 0;
|
152
|
+
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
153
|
+
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
154
|
+
box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
|
155
|
+
}
|
156
|
+
.subnav .nav > .active > a .caret,
|
157
|
+
.subnav .nav > .active > a:hover .caret {
|
158
|
+
border-top-color: #777;
|
159
|
+
}
|
160
|
+
.subnav .nav > li:first-child > a,
|
161
|
+
.subnav .nav > li:first-child > a:hover {
|
162
|
+
border-left: 0;
|
163
|
+
padding-left: 12px;
|
164
|
+
-webkit-border-radius: 4px 0 0 4px;
|
165
|
+
-moz-border-radius: 4px 0 0 4px;
|
166
|
+
border-radius: 4px 0 0 4px;
|
167
|
+
}
|
168
|
+
.subnav .nav > li:last-child > a {
|
169
|
+
border-right: 0;
|
170
|
+
}
|
171
|
+
.subnav .dropdown-menu {
|
172
|
+
-webkit-border-radius: 0 0 4px 4px;
|
173
|
+
-moz-border-radius: 0 0 4px 4px;
|
174
|
+
border-radius: 0 0 4px 4px;
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
|
178
|
+
@media (min-width: 980px) {
|
179
|
+
.subnav-fixed {
|
180
|
+
position: fixed;
|
181
|
+
top: 40px;
|
182
|
+
left: 0;
|
183
|
+
right: 0;
|
184
|
+
z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
|
185
|
+
border-color: #d5d5d5;
|
186
|
+
border-width: 0 0 1px; /* drop the border on the fixed edges */
|
187
|
+
-webkit-border-radius: 0;
|
188
|
+
-moz-border-radius: 0;
|
189
|
+
border-radius: 0;
|
190
|
+
-webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
191
|
+
-moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
192
|
+
box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
|
193
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
|
194
|
+
}
|
195
|
+
.subnav-fixed .nav {
|
196
|
+
width: 938px;
|
197
|
+
margin: 0 auto;
|
198
|
+
padding: 0 1px;
|
199
|
+
}
|
200
|
+
.subnav .nav > li:first-child > a,
|
201
|
+
.subnav .nav > li:first-child > a:hover {
|
202
|
+
-webkit-border-radius: 0;
|
203
|
+
-moz-border-radius: 0;
|
204
|
+
border-radius: 0;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
|
209
|
+
/* Quick links
|
210
|
+
-------------------------------------------------- */
|
211
|
+
.quick-links {
|
212
|
+
min-height: 30px;
|
213
|
+
padding: 5px 20px;
|
214
|
+
margin: 36px 0;
|
215
|
+
list-style: none;
|
216
|
+
text-align: center;
|
217
|
+
overflow: hidden;
|
218
|
+
}
|
219
|
+
.quick-links li {
|
220
|
+
display: inline;
|
221
|
+
margin: 0 5px;
|
222
|
+
color: #999;
|
223
|
+
}
|
224
|
+
.quick-links .github-btn,
|
225
|
+
.quick-links .tweet-btn,
|
226
|
+
.quick-links .follow-btn {
|
227
|
+
position: relative;
|
228
|
+
top: 5px;
|
229
|
+
}
|
230
|
+
|
231
|
+
|
232
|
+
/* Marketing section of Overview
|
233
|
+
-------------------------------------------------- */
|
234
|
+
.marketing .row {
|
235
|
+
margin-bottom: 9px;
|
236
|
+
}
|
237
|
+
.marketing h1 {
|
238
|
+
margin: 36px 0 27px;
|
239
|
+
font-size: 40px;
|
240
|
+
font-weight: 300;
|
241
|
+
text-align: center;
|
242
|
+
}
|
243
|
+
.marketing h2,
|
244
|
+
.marketing h3 {
|
245
|
+
font-weight: 300;
|
246
|
+
}
|
247
|
+
.marketing h2 {
|
248
|
+
font-size: 22px;
|
249
|
+
}
|
250
|
+
.marketing p {
|
251
|
+
margin-right: 10px;
|
252
|
+
}
|
253
|
+
.marketing .bs-icon {
|
254
|
+
float: left;
|
255
|
+
margin: 7px 10px 0 0;
|
256
|
+
opacity: .8;
|
257
|
+
}
|
258
|
+
.marketing .small-bs-icon {
|
259
|
+
float: left;
|
260
|
+
margin: 4px 5px 0 0;
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
/* Footer
|
266
|
+
-------------------------------------------------- */
|
267
|
+
.footer {
|
268
|
+
margin-top: 45px;
|
269
|
+
padding: 35px 0 36px;
|
270
|
+
border-top: 1px solid #e5e5e5;
|
271
|
+
}
|
272
|
+
.footer p {
|
273
|
+
margin-bottom: 0;
|
274
|
+
color: #555;
|
275
|
+
}
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
/* Special grid styles
|
280
|
+
-------------------------------------------------- */
|
281
|
+
.show-grid {
|
282
|
+
margin-top: 10px;
|
283
|
+
margin-bottom: 20px;
|
284
|
+
}
|
285
|
+
.show-grid [class*="span"] {
|
286
|
+
background-color: #eee;
|
287
|
+
text-align: center;
|
288
|
+
-webkit-border-radius: 3px;
|
289
|
+
-moz-border-radius: 3px;
|
290
|
+
border-radius: 3px;
|
291
|
+
min-height: 30px;
|
292
|
+
line-height: 30px;
|
293
|
+
}
|
294
|
+
.show-grid:hover [class*="span"] {
|
295
|
+
background: #ddd;
|
296
|
+
}
|
297
|
+
.show-grid .show-grid {
|
298
|
+
margin-top: 0;
|
299
|
+
margin-bottom: 0;
|
300
|
+
}
|
301
|
+
.show-grid .show-grid [class*="span"] {
|
302
|
+
background-color: #ccc;
|
303
|
+
}
|
304
|
+
|
305
|
+
|
306
|
+
/* Render mini layout previews
|
307
|
+
-------------------------------------------------- */
|
308
|
+
.mini-layout {
|
309
|
+
border: 1px solid #ddd;
|
310
|
+
-webkit-border-radius: 6px;
|
311
|
+
-moz-border-radius: 6px;
|
312
|
+
border-radius: 6px;
|
313
|
+
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
314
|
+
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
315
|
+
box-shadow: 0 1px 2px rgba(0,0,0,.075);
|
316
|
+
}
|
317
|
+
.mini-layout {
|
318
|
+
height: 240px;
|
319
|
+
margin-bottom: 20px;
|
320
|
+
padding: 9px;
|
321
|
+
}
|
322
|
+
.mini-layout div {
|
323
|
+
-webkit-border-radius: 3px;
|
324
|
+
-moz-border-radius: 3px;
|
325
|
+
border-radius: 3px;
|
326
|
+
}
|
327
|
+
.mini-layout .mini-layout-body {
|
328
|
+
background-color: #dceaf4;
|
329
|
+
margin: 0 auto;
|
330
|
+
width: 70%;
|
331
|
+
height: 240px;
|
332
|
+
}
|
333
|
+
.mini-layout.fluid .mini-layout-sidebar,
|
334
|
+
.mini-layout.fluid .mini-layout-header,
|
335
|
+
.mini-layout.fluid .mini-layout-body {
|
336
|
+
float: left;
|
337
|
+
}
|
338
|
+
.mini-layout.fluid .mini-layout-sidebar {
|
339
|
+
background-color: #bbd8e9;
|
340
|
+
width: 20%;
|
341
|
+
height: 240px;
|
342
|
+
}
|
343
|
+
.mini-layout.fluid .mini-layout-body {
|
344
|
+
width: 77.5%;
|
345
|
+
margin-left: 2.5%;
|
346
|
+
}
|
347
|
+
|
348
|
+
|
349
|
+
/* Popover docs
|
350
|
+
-------------------------------------------------- */
|
351
|
+
.popover-well {
|
352
|
+
min-height: 160px;
|
353
|
+
}
|
354
|
+
.popover-well .popover {
|
355
|
+
display: block;
|
356
|
+
}
|
357
|
+
.popover-well .popover-wrapper {
|
358
|
+
width: 50%;
|
359
|
+
height: 160px;
|
360
|
+
float: left;
|
361
|
+
margin-left: 55px;
|
362
|
+
position: relative;
|
363
|
+
}
|
364
|
+
.popover-well .popover-menu-wrapper {
|
365
|
+
height: 80px;
|
366
|
+
}
|
367
|
+
.large-bird {
|
368
|
+
margin: 5px 0 0 310px;
|
369
|
+
opacity: .1;
|
370
|
+
}
|
371
|
+
|
372
|
+
|
373
|
+
/* Download page
|
374
|
+
-------------------------------------------------- */
|
375
|
+
.download .page-header {
|
376
|
+
margin-top: 36px;
|
377
|
+
}
|
378
|
+
.page-header .toggle-all {
|
379
|
+
margin-top: 5px;
|
380
|
+
}
|
381
|
+
|
382
|
+
/* Space out h3s when following a section */
|
383
|
+
.download h3 {
|
384
|
+
margin-bottom: 5px;
|
385
|
+
}
|
386
|
+
.download-builder input + h3,
|
387
|
+
.download-builder .checkbox + h3 {
|
388
|
+
margin-top: 9px;
|
389
|
+
}
|
390
|
+
|
391
|
+
/* Fields for variables */
|
392
|
+
.download-builder input[type=text] {
|
393
|
+
margin-bottom: 9px;
|
394
|
+
font-family: Menlo, Monaco, "Courier New", monospace;
|
395
|
+
font-size: 12px;
|
396
|
+
color: #d14;
|
397
|
+
}
|
398
|
+
.download-builder input[type=text]:focus {
|
399
|
+
background-color: #fff;
|
400
|
+
}
|
401
|
+
|
402
|
+
/* Custom, larger checkbox labels */
|
403
|
+
.download .checkbox {
|
404
|
+
padding: 6px 10px 6px 25px;
|
405
|
+
color: #555;
|
406
|
+
background-color: #f9f9f9;
|
407
|
+
-webkit-border-radius: 3px;
|
408
|
+
-moz-border-radius: 3px;
|
409
|
+
border-radius: 3px;
|
410
|
+
cursor: pointer;
|
411
|
+
}
|
412
|
+
.download .checkbox:hover {
|
413
|
+
color: #333;
|
414
|
+
background-color: #f5f5f5;
|
415
|
+
}
|
416
|
+
.download .checkbox small {
|
417
|
+
font-size: 12px;
|
418
|
+
color: #777;
|
419
|
+
}
|
420
|
+
|
421
|
+
/* Variables section */
|
422
|
+
#variables label {
|
423
|
+
margin-bottom: 0;
|
424
|
+
}
|
425
|
+
|
426
|
+
/* Giant download button */
|
427
|
+
.download-btn {
|
428
|
+
margin: 36px 0 108px;
|
429
|
+
}
|
430
|
+
.download p,
|
431
|
+
.download h4 {
|
432
|
+
max-width: 50%;
|
433
|
+
margin: 0 auto;
|
434
|
+
color: #999;
|
435
|
+
text-align: center;
|
436
|
+
}
|
437
|
+
.download h4 {
|
438
|
+
margin-bottom: 0;
|
439
|
+
}
|
440
|
+
.download p {
|
441
|
+
margin-bottom: 18px;
|
442
|
+
}
|
443
|
+
.download-btn .btn {
|
444
|
+
display: block;
|
445
|
+
width: auto;
|
446
|
+
padding: 19px 24px;
|
447
|
+
margin-bottom: 27px;
|
448
|
+
font-size: 30px;
|
449
|
+
line-height: 1;
|
450
|
+
text-align: center;
|
451
|
+
-webkit-border-radius: 6px;
|
452
|
+
-moz-border-radius: 6px;
|
453
|
+
border-radius: 6px;
|
454
|
+
}
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
/* Color swatches on LESS docs page
|
459
|
+
-------------------------------------------------- */
|
460
|
+
/* Sets the width of the td */
|
461
|
+
.swatch-col {
|
462
|
+
width: 30px;
|
463
|
+
}
|
464
|
+
/* Le swatch */
|
465
|
+
.swatch {
|
466
|
+
display: inline-block;
|
467
|
+
width: 30px;
|
468
|
+
height: 20px;
|
469
|
+
margin: -6px 0;
|
470
|
+
-webkit-border-radius: 3px;
|
471
|
+
-moz-border-radius: 3px;
|
472
|
+
border-radius: 3px;
|
473
|
+
}
|
474
|
+
/* For white swatches, give a border */
|
475
|
+
.swatch-bordered {
|
476
|
+
width: 28px;
|
477
|
+
height: 18px;
|
478
|
+
border: 1px solid #eee;
|
479
|
+
}
|
480
|
+
|
481
|
+
|
482
|
+
/* Misc
|
483
|
+
-------------------------------------------------- */
|
484
|
+
|
485
|
+
|
486
|
+
.browser-support {
|
487
|
+
max-width: 100%;
|
488
|
+
}
|
489
|
+
|
490
|
+
/* Make tables spaced out a bit more */
|
491
|
+
h2 + table,
|
492
|
+
h3 + table,
|
493
|
+
h4 + table,
|
494
|
+
h2 + .row {
|
495
|
+
margin-top: 5px;
|
496
|
+
}
|
497
|
+
|
498
|
+
/* Example sites showcase */
|
499
|
+
.example-sites img {
|
500
|
+
max-width: 100%;
|
501
|
+
margin: 0 auto;
|
502
|
+
}
|
503
|
+
.marketing-byline {
|
504
|
+
margin: -18px 0 27px;
|
505
|
+
font-size: 18px;
|
506
|
+
font-weight: 300;
|
507
|
+
line-height: 24px;
|
508
|
+
color: #999;
|
509
|
+
text-align: center;
|
510
|
+
}
|
511
|
+
|
512
|
+
.scrollspy-example {
|
513
|
+
height: 200px;
|
514
|
+
overflow: auto;
|
515
|
+
position: relative;
|
516
|
+
}
|
517
|
+
|
518
|
+
/* Remove bottom margin on example forms in wells */
|
519
|
+
form.well {
|
520
|
+
padding: 14px;
|
521
|
+
}
|
522
|
+
|
523
|
+
/* Tighten up spacing */
|
524
|
+
.well hr {
|
525
|
+
margin: 18px 0;
|
526
|
+
}
|
527
|
+
|
528
|
+
/* Fake the :focus state to demo it */
|
529
|
+
.focused {
|
530
|
+
border-color: rgba(82,168,236,.8);
|
531
|
+
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
532
|
+
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
533
|
+
box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
|
534
|
+
outline: 0;
|
535
|
+
}
|
536
|
+
|
537
|
+
/* For input sizes, make them display block */
|
538
|
+
.docs-input-sizes select,
|
539
|
+
.docs-input-sizes input[type=text] {
|
540
|
+
display: block;
|
541
|
+
margin-bottom: 9px;
|
542
|
+
}
|
543
|
+
|
544
|
+
/* Icons
|
545
|
+
------------------------- */
|
546
|
+
.the-icons {
|
547
|
+
margin-left: 0;
|
548
|
+
list-style: none;
|
549
|
+
}
|
550
|
+
.the-icons i:hover {
|
551
|
+
background-color: rgba(255,0,0,.25);
|
552
|
+
}
|
553
|
+
|
554
|
+
/* Eaxmples page
|
555
|
+
------------------------- */
|
556
|
+
.bootstrap-examples .thumbnail {
|
557
|
+
margin-bottom: 9px;
|
558
|
+
background-color: #fff;
|
559
|
+
}
|
560
|
+
|
561
|
+
|
562
|
+
/* Responsive Docs
|
563
|
+
-------------------------------------------------- */
|
564
|
+
@media (max-width: 480px) {
|
565
|
+
|
566
|
+
/* Reduce padding above jumbotron */
|
567
|
+
body {
|
568
|
+
padding-top: 70px;
|
569
|
+
}
|
570
|
+
|
571
|
+
/* Change up some type stuff */
|
572
|
+
h2 {
|
573
|
+
margin-top: 27px;
|
574
|
+
}
|
575
|
+
h2 small {
|
576
|
+
display: block;
|
577
|
+
line-height: 18px;
|
578
|
+
}
|
579
|
+
h3 {
|
580
|
+
margin-top: 18px;
|
581
|
+
}
|
582
|
+
|
583
|
+
/* Adjust the jumbotron */
|
584
|
+
.jumbotron h1,
|
585
|
+
.jumbotron p {
|
586
|
+
text-align: center;
|
587
|
+
margin-right: 0;
|
588
|
+
}
|
589
|
+
.jumbotron h1 {
|
590
|
+
font-size: 45px;
|
591
|
+
margin-right: 0;
|
592
|
+
}
|
593
|
+
.jumbotron p {
|
594
|
+
margin-right: 0;
|
595
|
+
margin-left: 0;
|
596
|
+
font-size: 18px;
|
597
|
+
line-height: 24px;
|
598
|
+
}
|
599
|
+
.jumbotron .btn {
|
600
|
+
display: block;
|
601
|
+
font-size: 18px;
|
602
|
+
padding: 10px 14px;
|
603
|
+
margin: 0 auto 10px;
|
604
|
+
}
|
605
|
+
/* Masthead (home page jumbotron) */
|
606
|
+
.masthead {
|
607
|
+
padding-top: 0;
|
608
|
+
}
|
609
|
+
|
610
|
+
/* Don't space out quick links so much */
|
611
|
+
.quick-links {
|
612
|
+
margin: 40px 0 0;
|
613
|
+
}
|
614
|
+
/* hide the bullets on mobile since our horizontal space is limited */
|
615
|
+
.quick-links .divider {
|
616
|
+
display: none;
|
617
|
+
}
|
618
|
+
|
619
|
+
/* center example sites */
|
620
|
+
.example-sites {
|
621
|
+
margin-left: 0;
|
622
|
+
}
|
623
|
+
.example-sites > li {
|
624
|
+
float: none;
|
625
|
+
display: block;
|
626
|
+
max-width: 280px;
|
627
|
+
margin: 0 auto 18px;
|
628
|
+
text-align: center;
|
629
|
+
}
|
630
|
+
.example-sites .thumbnail > img {
|
631
|
+
max-width: 270px;
|
632
|
+
}
|
633
|
+
|
634
|
+
table code {
|
635
|
+
white-space: normal;
|
636
|
+
word-wrap: break-word;
|
637
|
+
word-break: break-all;
|
638
|
+
}
|
639
|
+
|
640
|
+
/* Modal example */
|
641
|
+
.modal-example .modal {
|
642
|
+
position: relative;
|
643
|
+
top: auto;
|
644
|
+
right: auto;
|
645
|
+
bottom: auto;
|
646
|
+
left: auto;
|
647
|
+
}
|
648
|
+
|
649
|
+
}
|
650
|
+
|
651
|
+
|
652
|
+
@media (max-width: 768px) {
|
653
|
+
|
654
|
+
/* Remove any padding from the body */
|
655
|
+
body {
|
656
|
+
padding-top: 0;
|
657
|
+
}
|
658
|
+
|
659
|
+
/* Jumbotron buttons */
|
660
|
+
.jumbotron .btn {
|
661
|
+
margin-bottom: 10px;
|
662
|
+
}
|
663
|
+
|
664
|
+
/* Subnav */
|
665
|
+
.subnav {
|
666
|
+
position: static;
|
667
|
+
top: auto;
|
668
|
+
z-index: auto;
|
669
|
+
width: auto;
|
670
|
+
height: auto;
|
671
|
+
background: #fff; /* whole background property since we use a background-image for gradient */
|
672
|
+
-webkit-box-shadow: none;
|
673
|
+
-moz-box-shadow: none;
|
674
|
+
box-shadow: none;
|
675
|
+
}
|
676
|
+
.subnav .nav > li {
|
677
|
+
float: none;
|
678
|
+
}
|
679
|
+
.subnav .nav > li > a {
|
680
|
+
border: 0;
|
681
|
+
}
|
682
|
+
.subnav .nav > li + li > a {
|
683
|
+
border-top: 1px solid #e5e5e5;
|
684
|
+
}
|
685
|
+
.subnav .nav > li:first-child > a,
|
686
|
+
.subnav .nav > li:first-child > a:hover {
|
687
|
+
-webkit-border-radius: 4px 4px 0 0;
|
688
|
+
-moz-border-radius: 4px 4px 0 0;
|
689
|
+
border-radius: 4px 4px 0 0;
|
690
|
+
}
|
691
|
+
|
692
|
+
/* Popovers */
|
693
|
+
.large-bird {
|
694
|
+
display: none;
|
695
|
+
}
|
696
|
+
.popover-well .popover-wrapper {
|
697
|
+
margin-left: 0;
|
698
|
+
}
|
699
|
+
|
700
|
+
/* Space out the show-grid examples */
|
701
|
+
.show-grid [class*="span"] {
|
702
|
+
margin-bottom: 5px;
|
703
|
+
}
|
704
|
+
|
705
|
+
/* Unfloat the back to top link in footer */
|
706
|
+
.footer .pull-right {
|
707
|
+
float: none;
|
708
|
+
}
|
709
|
+
.footer p {
|
710
|
+
margin-bottom: 9px;
|
711
|
+
}
|
712
|
+
|
713
|
+
}
|
714
|
+
|
715
|
+
|
716
|
+
@media (min-width: 480px) and (max-width: 768px) {
|
717
|
+
|
718
|
+
/* Scale down the jumbotron content */
|
719
|
+
.jumbotron h1 {
|
720
|
+
font-size: 54px;
|
721
|
+
}
|
722
|
+
.jumbotron p {
|
723
|
+
margin-right: 0;
|
724
|
+
margin-left: 0;
|
725
|
+
}
|
726
|
+
|
727
|
+
}
|
728
|
+
|
729
|
+
|
730
|
+
@media (min-width: 768px) and (max-width: 980px) {
|
731
|
+
|
732
|
+
/* Remove any padding from the body */
|
733
|
+
body {
|
734
|
+
padding-top: 0;
|
735
|
+
}
|
736
|
+
|
737
|
+
/* Scale down the jumbotron content */
|
738
|
+
.jumbotron h1 {
|
739
|
+
font-size: 72px;
|
740
|
+
}
|
741
|
+
|
742
|
+
}
|
743
|
+
|
744
|
+
|
745
|
+
@media (max-width: 980px) {
|
746
|
+
|
747
|
+
/* Unfloat brand */
|
748
|
+
.navbar-fixed-top .brand {
|
749
|
+
float: left;
|
750
|
+
margin-left: 0;
|
751
|
+
padding-left: 10px;
|
752
|
+
padding-right: 10px;
|
753
|
+
}
|
754
|
+
|
755
|
+
/* Inline-block quick links for more spacing */
|
756
|
+
.quick-links li {
|
757
|
+
display: inline-block;
|
758
|
+
margin: 5px;
|
759
|
+
}
|
760
|
+
|
761
|
+
}
|
762
|
+
|
763
|
+
|
764
|
+
/* LARGE DESKTOP SCREENS */
|
765
|
+
@media (min-width: 1210px) {
|
766
|
+
|
767
|
+
/* Update subnav container */
|
768
|
+
.subnav-fixed .nav {
|
769
|
+
width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
|
770
|
+
}
|
771
|
+
|
772
|
+
}
|