bootstrap-1.0.0.css 38.6 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
/*!
2
 * Bootstrap v1.0.0
3
 *
Mark Otto's avatar
Mark Otto committed
4
 * Copyright 2011 Twitter, Inc
5
6
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
Mark Otto's avatar
Mark Otto committed
7
 *
8
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
 * Date: Sat Aug 20 20:18:13 PDT 2011
10
 */
11
/* Reset.less
12
 * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here	that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
13
 * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
html, body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
cite,
code,
del,
dfn,
em,
img,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dd,
dl,
dt,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  line-height: 1;
  font-family: inherit;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
ol, ul {
  list-style: none;
}
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
}
88
89
90
91
92
93
94
header,
section,
footer,
article,
aside {
  display: block;
}
95
/* Preboot.less
96
 * Variables and mixins to pre-ignite any new web development project
97
 * ------------------------------------------------------------------ */
Jacob Thornton's avatar
Jacob Thornton committed
98
99
100
.clearfix {
  zoom: 1;
}
101
102
103
104
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
}
Jacob Thornton's avatar
Jacob Thornton committed
105
106
107
.clearfix:after {
  clear: both;
}
108
109
110
.center-block {
  display: block;
  margin: 0 auto;
Jacob Thornton's avatar
Jacob Thornton committed
111
112
113
114
}
.container {
  width: 940px;
  margin: 0 auto;
115
116
  zoom: 1;
}
117
118
119
120
.container:before, .container:after {
  display: table;
  content: "";
}
121
122
.container:after {
  clear: both;
Jacob Thornton's avatar
Jacob Thornton committed
123
}
124
125
/*
 * Scaffolding
126
 * Basic and global styles for generating a grid system, structural layout, and page templates
127
 * ------------------------------------------------------------------------------------------- */
128
.row {
Jacob Thornton's avatar
Jacob Thornton committed
129
130
  zoom: 1;
}
131
132
133
134
.row:before, .row:after {
  display: table;
  content: "";
}
135
.row:after {
Jacob Thornton's avatar
Jacob Thornton committed
136
137
  clear: both;
}
138
.row .span1 {
Jacob Thornton's avatar
Jacob Thornton committed
139
140
141
142
  float: left;
  width: 40px;
  margin-left: 20px;
}
143
.row .span1:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
144
145
  margin-left: 0;
}
146
.row .span2 {
Jacob Thornton's avatar
Jacob Thornton committed
147
148
149
150
  float: left;
  width: 100px;
  margin-left: 20px;
}
151
.row .span2:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
152
153
  margin-left: 0;
}
154
.row .span3 {
Jacob Thornton's avatar
Jacob Thornton committed
155
156
157
158
  float: left;
  width: 160px;
  margin-left: 20px;
}
159
.row .span3:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
160
161
  margin-left: 0;
}
162
.row .span4 {
Jacob Thornton's avatar
Jacob Thornton committed
163
164
165
166
  float: left;
  width: 220px;
  margin-left: 20px;
}
167
.row .span4:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
168
169
  margin-left: 0;
}
170
.row .span5 {
Jacob Thornton's avatar
Jacob Thornton committed
171
172
173
174
  float: left;
  width: 280px;
  margin-left: 20px;
}
175
.row .span5:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
176
177
  margin-left: 0;
}
178
.row .span6 {
Jacob Thornton's avatar
Jacob Thornton committed
179
180
181
182
  float: left;
  width: 340px;
  margin-left: 20px;
}
183
.row .span6:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
184
185
  margin-left: 0;
}
186
.row .span7 {
Jacob Thornton's avatar
Jacob Thornton committed
187
188
189
190
  float: left;
  width: 400px;
  margin-left: 20px;
}
191
.row .span7:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
192
193
  margin-left: 0;
}
194
.row .span8 {
Jacob Thornton's avatar
Jacob Thornton committed
195
196
197
198
  float: left;
  width: 460px;
  margin-left: 20px;
}
199
.row .span8:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
200
201
  margin-left: 0;
}
202
.row .span9 {
Jacob Thornton's avatar
Jacob Thornton committed
203
204
205
206
  float: left;
  width: 520px;
  margin-left: 20px;
}
207
.row .span9:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
208
209
  margin-left: 0;
}
210
.row .span10 {
Jacob Thornton's avatar
Jacob Thornton committed
211
212
213
214
  float: left;
  width: 580px;
  margin-left: 20px;
}
215
.row .span10:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
216
217
  margin-left: 0;
}
218
.row .span11 {
Jacob Thornton's avatar
Jacob Thornton committed
219
220
221
222
  float: left;
  width: 640px;
  margin-left: 20px;
}
223
.row .span11:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
224
225
  margin-left: 0;
}
226
.row .span12 {
Jacob Thornton's avatar
Jacob Thornton committed
227
228
229
230
  float: left;
  width: 700px;
  margin-left: 20px;
}
231
.row .span12:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
232
233
  margin-left: 0;
}
234
.row .span13 {
Jacob Thornton's avatar
Jacob Thornton committed
235
236
237
238
  float: left;
  width: 760px;
  margin-left: 20px;
}
239
.row .span13:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
240
241
  margin-left: 0;
}
242
.row .span14 {
Jacob Thornton's avatar
Jacob Thornton committed
243
244
245
246
  float: left;
  width: 820px;
  margin-left: 20px;
}
247
.row .span14:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
248
249
  margin-left: 0;
}
250
.row .span15 {
Jacob Thornton's avatar
Jacob Thornton committed
251
252
253
254
  float: left;
  width: 880px;
  margin-left: 20px;
}
255
.row .span15:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
256
257
  margin-left: 0;
}
258
.row .span16 {
Jacob Thornton's avatar
Jacob Thornton committed
259
260
261
262
  float: left;
  width: 940px;
  margin-left: 20px;
}
263
.row .span16:first-child {
Jacob Thornton's avatar
Jacob Thornton committed
264
265
  margin-left: 0;
}
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
.row .offset1 {
  margin-left: 80px !important;
}
.row .offset1:first-child {
  margin-left: 60px !important;
}
.row .offset2 {
  margin-left: 140px !important;
}
.row .offset2:first-child {
  margin-left: 120px !important;
}
.row .offset3 {
  margin-left: 200px !important;
}
.row .offset3:first-child {
  margin-left: 180px !important;
}
.row .offset4 {
  margin-left: 260px !important;
}
.row .offset4:first-child {
  margin-left: 240px !important;
}
.row .offset5 {
  margin-left: 320px !important;
}
.row .offset5:first-child {
  margin-left: 300px !important;
}
.row .offset6 {
  margin-left: 380px !important;
}
.row .offset6:first-child {
  margin-left: 360px !important;
}
.row .offset7 {
  margin-left: 440px !important;
}
.row .offset7:first-child {
  margin-left: 420px !important;
}
.row .offset8 {
  margin-left: 500px !important;
}
.row .offset8:first-child {
  margin-left: 480px !important;
}
.row .offset9 {
  margin-left: 500px !important;
}
.row .offset9:first-child {
  margin-left: 480px !important;
}
.row .offset10 {
  margin-left: 620px !important;
}
.row .offset10:first-child {
  margin-left: 600px !important;
}
.row .offset11 {
  margin-left: 680px !important;
}
.row .offset11:first-child {
  margin-left: 660px !important;
}
.row .offset12 {
  margin-left: 740px !important;
}
.row .offset12:first-child {
  margin-left: 720px !important;
}
Jacob Thornton's avatar
Jacob Thornton committed
338
339
340
341
html, body {
  background-color: #fff;
}
body {
342
  margin: 60px 0 0;
Jacob Thornton's avatar
Jacob Thornton committed
343
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
344
  font-size: 13px;
Jacob Thornton's avatar
Jacob Thornton committed
345
  font-weight: normal;
346
  line-height: 18px;
347
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
348
349
350
351
352
353
354
  text-rendering: optimizeLegibility;
}
div.container {
  width: 940px;
  margin: 0 auto;
}
div.container-fluid {
355
  padding: 0 20px;
Jacob Thornton's avatar
Jacob Thornton committed
356
357
  zoom: 1;
}
358
359
360
361
div.container-fluid:before, div.container-fluid:after {
  display: table;
  content: "";
}
Jacob Thornton's avatar
Jacob Thornton committed
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
div.container-fluid:after {
  clear: both;
}
div.container-fluid div.sidebar {
  float: left;
  width: 220px;
}
div.container-fluid div.content {
  min-width: 700px;
  max-width: 1180px;
  margin-left: 240px;
}
a {
  color: #0069d6;
  text-decoration: none;
  line-height: inherit;
}
a:hover {
  color: #0050a3;
  text-decoration: underline;
}
.btn {
  display: inline-block;
385
  background-color: #e6e6e6;
386
  background-repeat: no-repeat;
387
388
389
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(#ffffff, color-stop(0.25, #ffffff), #e6e6e6);
  background-image: -moz-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
390
391
392
  background-image: -ms-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
  background-image: -o-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
  background-image: linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);
393
  padding: 4px 14px;
394
395
396
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  color: #333333;
  font-size: 13px;
397
  line-height: 18px;
398
399
400
401
402
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom-color: rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
403
404
405
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
406
407
408
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  transition: 0.1s linear all;
Jacob Thornton's avatar
Jacob Thornton committed
409
410
411
}
.btn:hover {
  background-position: 0 -15px;
412
  color: #333333;
Jacob Thornton's avatar
Jacob Thornton committed
413
414
415
  text-decoration: none;
}
.btn.primary {
416
  background-color: #0064cd;
417
  background-repeat: repeat-x;
418
419
420
421
422
423
424
425
426
  background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
  background-image: -moz-linear-gradient(#049cdb, #0064cd);
  background-image: -ms-linear-gradient(#049cdb, #0064cd);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
  background-image: -webkit-linear-gradient(#049cdb, #0064cd);
  background-image: -o-linear-gradient(#049cdb, #0064cd);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0)";
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0);
  background-image: linear-gradient(#049cdb, #0064cd);
Jacob Thornton's avatar
Jacob Thornton committed
427
428
429
430
431
432
433
434
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn.primary:hover {
  color: #fff;
}
.btn.large {
  font-size: 16px;
435
  line-height: 28px;
436
  -webkit-border-radius: 6px;
Jacob Thornton's avatar
Jacob Thornton committed
437
438
439
440
441
442
443
444
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.btn.small {
  padding-right: 9px;
  padding-left: 9px;
  font-size: 11px;
}
445
446
447
448
449
450
451
452
.btn:disabled, .btn.disabled {
  background-image: none;
  filter: alpha(opacity=65);
  -khtml-opacity: 0.65;
  -moz-opacity: 0.65;
  opacity: 0.65;
  cursor: default;
}
453
454
455
456
457
.btn:active {
  -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
}
Jacob Thornton's avatar
Jacob Thornton committed
458
459
460
461
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}
462
/* Typography.less
463
 * Headings, body text, lists, code, and more for a versatile and durable typography system
464
 * ---------------------------------------------------------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
465
p {
466
  font-size: 13px;
Jacob Thornton's avatar
Jacob Thornton committed
467
  font-weight: normal;
468
  line-height: 18px;
469
  margin-bottom: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
470
471
}
p small {
472
  font-size: 11px;
Mark Otto's avatar
Mark Otto committed
473
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
474
475
476
477
478
479
480
}
h1,
h2,
h3,
h4,
h5,
h6 {
481
  font-weight: bold;
482
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
483
484
485
486
487
488
489
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
Mark Otto's avatar
Mark Otto committed
490
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
491
492
}
h1 {
493
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
494
  font-size: 30px;
495
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
496
497
498
499
500
501
}
h1 small {
  font-size: 18px;
}
h2 {
  font-size: 24px;
502
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
503
504
505
506
507
508
509
510
}
h2 small {
  font-size: 14px;
}
h3,
h4,
h5,
h6 {
511
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
}
h3 {
  font-size: 18px;
}
h3 small {
  font-size: 14px;
}
h4 {
  font-size: 16px;
}
h4 small {
  font-size: 12px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 13px;
Mark Otto's avatar
Mark Otto committed
530
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
531
532
533
  text-transform: uppercase;
}
ul, ol {
534
  margin: 0 0 18px 25px;
Jacob Thornton's avatar
Jacob Thornton committed
535
536
537
538
539
540
541
542
543
544
545
546
547
548
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li {
549
  line-height: 18px;
550
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
551
552
553
554
555
556
}
ul.unstyled {
  list-style: none;
  margin-left: 0;
}
dl {
557
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
558
559
}
dl dt, dl dd {
560
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
561
562
563
564
565
}
dl dt {
  font-weight: bold;
}
dl dd {
566
  margin-left: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
}
hr {
  margin: 0 0 19px;
  border: 0;
  border-bottom: 1px solid #eee;
}
strong {
  font-style: inherit;
  font-weight: bold;
  line-height: inherit;
}
em {
  font-style: italic;
  font-weight: inherit;
  line-height: inherit;
}
.muted {
584
  color: #e6e6e6;
Jacob Thornton's avatar
Jacob Thornton committed
585
586
}
blockquote {
587
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
588
589
590
591
592
593
  border-left: 5px solid #eee;
  padding-left: 15px;
}
blockquote p {
  font-size: 14px;
  font-weight: 300;
594
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
595
596
  margin-bottom: 0;
}
597
blockquote small {
Jacob Thornton's avatar
Jacob Thornton committed
598
599
600
  display: block;
  font-size: 12px;
  font-weight: 300;
601
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
602
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
603
}
604
blockquote small:before {
Jacob Thornton's avatar
Jacob Thornton committed
605
606
607
608
  content: '\2014 \00A0';
}
address {
  display: block;
609
610
  line-height: 18px;
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
611
612
613
614
615
}
code, pre {
  padding: 0 3px 2px;
  font-family: Monaco, Andale Mono, Courier New, monospace;
  font-size: 12px;
616
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
617
618
619
620
621
622
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  background-color: #fee9cc;
  color: rgba(0, 0, 0, 0.75);
Mark Otto's avatar
Mark Otto committed
623
  padding: 1px 3px;
Jacob Thornton's avatar
Jacob Thornton committed
624
625
626
627
}
pre {
  background-color: #f5f5f5;
  display: block;
628
629
630
  padding: 17px;
  margin: 0 0 18px;
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
631
  font-size: 12px;
632
  border: 1px solid #ccc;
Jacob Thornton's avatar
Jacob Thornton committed
633
  border: 1px solid rgba(0, 0, 0, 0.15);
634
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
635
636
637
638
  -moz-border-radius: 3px;
  border-radius: 3px;
  white-space: pre-wrap;
}
639
/* Forms.less
640
 * Base styles for various input types, form layouts, and states
641
 * ------------------------------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
642
form {
643
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
644
645
}
form fieldset {
646
647
  margin-bottom: 18px;
  padding-top: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
648
649
650
651
652
653
}
form fieldset legend {
  display: block;
  margin-left: 150px;
  font-size: 20px;
  line-height: 1;
654
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
655
656
}
form div.clearfix {
657
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
}
form label,
form input,
form select,
form textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: normal;
}
form label {
  padding-top: 6px;
  font-size: 13px;
  line-height: 18px;
  float: left;
  width: 130px;
  text-align: right;
675
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
676
677
678
679
680
681
682
683
684
685
686
687
}
form div.input {
  margin-left: 150px;
}
form input[type=checkbox], form input[type=radio] {
  cursor: pointer;
}
form input[type=text],
form input[type=password],
form textarea,
form select,
form .uneditable-input {
688
  display: inline-block;
Jacob Thornton's avatar
Jacob Thornton committed
689
690
691
692
  width: 210px;
  margin: 0;
  padding: 4px;
  font-size: 13px;
693
694
  line-height: 18px;
  height: 18px;
695
  color: #808080;
696
  border: 1px solid #ccc;
697
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
698
699
700
701
  -moz-border-radius: 3px;
  border-radius: 3px;
}
form select, form input[type=file] {
702
703
  height: 27px;
  line-height: 27px;
Jacob Thornton's avatar
Jacob Thornton committed
704
705
706
707
708
709
710
711
712
713
714
715
}
form textarea {
  height: auto;
}
form .uneditable-input {
  background-color: #eee;
  display: block;
  border-color: #ccc;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
}
716
717
718
719
720
721
form :-moz-placeholder {
  color: #bfbfbf;
}
form ::-webkit-input-placeholder {
  color: #bfbfbf;
}
Jacob Thornton's avatar
Jacob Thornton committed
722
723
724
725
726
727
728
form input[type=text],
form input[type=password],
form select,
form textarea {
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
  transition: border linear 0.2s, box-shadow linear 0.2s;
729
730
731
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
Jacob Thornton's avatar
Jacob Thornton committed
732
733
734
}
form input[type=text]:focus, form input[type=password]:focus, form textarea:focus {
  outline: none;
735
736
737
738
  border-color: rgba(82, 168, 236, 0.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
Jacob Thornton's avatar
Jacob Thornton committed
739
740
741
742
743
}
form div.error {
  background: #fae5e3;
  padding: 10px 0;
  margin: -10px 0 10px;
744
  -webkit-border-radius: 4px;
Jacob Thornton's avatar
Jacob Thornton committed
745
746
747
  -moz-border-radius: 4px;
  border-radius: 4px;
}
748
form div.error > label, form div.error span.help-inline, form div.error span.help-block {
Jacob Thornton's avatar
Jacob Thornton committed
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
  color: #9d261d;
}
form div.error input[type=text], form div.error input[type=password], form div.error textarea {
  border-color: #c87872;
  -webkit-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  -moz-box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
  box-shadow: 0 0 3px rgba(171, 41, 32, 0.25);
}
form div.error input[type=text]:focus, form div.error input[type=password]:focus, form div.error textarea:focus {
  border-color: #b9554d;
  -webkit-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  -moz-box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
  box-shadow: 0 0 6px rgba(171, 41, 32, 0.5);
}
form div.error div.input-prepend span.add-on, form div.error div.input-append span.add-on {
  background: #f4c8c5;
  border-color: #c87872;
  color: #b9554d;
}
form .input-mini,
form input.mini,
form textarea.mini,
form select.mini {
  width: 60px;
}
form .input-small,
form input.small,
form textarea.small,
form select.small {
  width: 90px;
}
form .input-medium,
form input.medium,
form textarea.medium,
form select.medium {
  width: 150px;
}
form .input-large,
form input.large,
form textarea.large,
form select.large {
  width: 210px;
}
form .input-xlarge,
form input.xlarge,
form textarea.xlarge,
form select.xlarge {
  width: 270px;
}
form .input-xxlarge,
form input.xxlarge,
form textarea.xxlarge,
form select.xxlarge {
  width: 530px;
}
form textarea.xxlarge {
  overflow-y: scroll;
}
form input[readonly]:focus, form textarea[readonly]:focus, form input.disabled {
  background: #f5f5f5;
  border-color: #ddd;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
div.actions {
  background: #f5f5f5;
816
817
818
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 17px 20px 18px 150px;
Jacob Thornton's avatar
Jacob Thornton committed
819
  border-top: 1px solid #ddd;
820
  -webkit-border-radius: 0 0 3px 3px;
Jacob Thornton's avatar
Jacob Thornton committed
821
822
823
824
825
826
827
828
829
830
831
832
833
834
  -moz-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
}
div.actions div.secondary-action {
  float: right;
}
div.actions div.secondary-action a {
  line-height: 30px;
}
div.actions div.secondary-action a:hover {
  text-decoration: underline;
}
.help-inline, .help-block {
  font-size: 12px;
835
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
836
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
837
838
839
840
841
842
843
844
845
}
.help-inline {
  padding-left: 5px;
}
.help-block {
  display: block;
  max-width: 600px;
}
div.inline-inputs {
846
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
847
848
849
850
851
852
853
854
855
856
857
858
859
860
}
div.inline-inputs span, div.inline-inputs input[type=text] {
  display: inline-block;
}
div.inline-inputs input.mini {
  width: 60px;
}
div.inline-inputs input.small {
  width: 90px;
}
div.inline-inputs span {
  padding: 0 2px 0 1px;
}
div.input-prepend input[type=text], div.input-append input[type=text] {
861
  -webkit-border-radius: 0 3px 3px 0;
Jacob Thornton's avatar
Jacob Thornton committed
862
863
864
865
866
867
868
869
870
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
div.input-prepend .add-on, div.input-append .add-on {
  background: #f5f5f5;
  float: left;
  display: block;
  width: auto;
  min-width: 16px;
871
  padding: 4px 4px 4px 5px;
Mark Otto's avatar
Mark Otto committed
872
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
873
874
875
876
877
  font-weight: normal;
  line-height: 18px;
  height: 18px;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
878
  border: 1px solid #ccc;
Jacob Thornton's avatar
Jacob Thornton committed
879
  border-right-width: 0;
880
  -webkit-border-radius: 3px 0 0 3px;
Jacob Thornton's avatar
Jacob Thornton committed
881
882
883
884
885
886
887
888
889
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
div.input-prepend .active, div.input-append .active {
  background: #a9dba9;
  border-color: #46a546;
}
div.input-append input[type=text] {
  float: left;
890
  -webkit-border-radius: 3px 0 0 3px;
Jacob Thornton's avatar
Jacob Thornton committed
891
892
893
894
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
div.input-append .add-on {
895
  -webkit-border-radius: 0 3px 3px 0;
Jacob Thornton's avatar
Jacob Thornton committed
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
  border-right-width: 1px;
  border-left-width: 0;
}
ul.inputs-list {
  margin: 0 0 5px;
  width: 100%;
}
ul.inputs-list li {
  display: block;
  padding: 0;
  width: 100%;
}
ul.inputs-list li label {
  display: block;
  float: none;
  width: auto;
  padding: 0;
915
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
916
917
918
919
  text-align: left;
  white-space: normal;
}
ul.inputs-list li label strong {
920
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
921
922
923
}
ul.inputs-list li label small {
  font-size: 12px;
924
  font-weight: normal;
Jacob Thornton's avatar
Jacob Thornton committed
925
926
927
928
929
930
931
932
933
934
935
936
}
ul.inputs-list li ul.inputs-list {
  margin-left: 25px;
  margin-bottom: 10px;
  padding-top: 0;
}
ul.inputs-list li:first-child {
  padding-top: 5px;
}
ul.inputs-list input[type=radio], ul.inputs-list input[type=checkbox] {
  margin-bottom: 0;
}
937
938
939
form.form-stacked {
  padding-left: 20px;
}
Jacob Thornton's avatar
Jacob Thornton committed
940
form.form-stacked fieldset {
941
  padding-top: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
942
943
944
945
946
947
948
949
950
951
952
953
954
955
}
form.form-stacked legend {
  margin-left: 0;
}
form.form-stacked label {
  display: block;
  float: none;
  width: auto;
  font-weight: bold;
  text-align: left;
  line-height: 20px;
  padding-top: 0;
}
form.form-stacked div.clearfix {
956
  margin-bottom: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
957
958
959
960
961
962
963
964
965
966
967
968
969
970
}
form.form-stacked div.clearfix div.input {
  margin-left: 0;
}
form.form-stacked ul.inputs-list {
  margin-bottom: 0;
}
form.form-stacked ul.inputs-list li {
  padding-top: 0;
}
form.form-stacked ul.inputs-list li label {
  font-weight: normal;
  padding-top: 0;
}
971
972
973
974
form.form-stacked div.actions {
  margin-left: -20px;
  padding-left: 20px;
}
975
976
/*
 * Tables.less
977
 * Tables for, you guessed it, tabular data
978
 * ---------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
979
980
table {
  width: 100%;
981
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
982
983
984
  padding: 0;
  text-align: left;
  border-collapse: separate;
985
  font-size: 13px;
Jacob Thornton's avatar
Jacob Thornton committed
986
987
988
}
table th, table td {
  padding: 10px 10px 9px;
989
  line-height: 13.5px;
Jacob Thornton's avatar
Jacob Thornton committed
990
991
992
993
994
995
996
997
998
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}
table th {
  padding-top: 9px;
  font-weight: bold;
  border-bottom-width: 2px;
}
table.zebra-striped tbody tr:nth-child(odd) td {
999
  background-color: #f9f9f9;
Jacob Thornton's avatar
Jacob Thornton committed
1000
}
For faster browsing, not all history is shown. View entire blame