bootstrap.css 50.7 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
/*!
Jacob Thornton's avatar
Jacob Thornton committed
2
 * Bootstrap v1.2.0
Mark Otto's avatar
Mark Otto committed
3
4
5
6
7
8
 *
 * Copyright 2011 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
9
 * Date: Tue Oct 11 09:43:00 PDT 2011
Mark Otto's avatar
Mark Otto committed
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).
Mark Otto's avatar
Mark Otto committed
13
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
88
89
90
91
92
93
94
95
96
 * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
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: "";
}
html {
  overflow-y: scroll;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
a:focus {
  outline: thin dotted;
}
97
98
99
a:hover, a:active {
  outline: 0;
}
Mark Otto's avatar
Mark Otto committed
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not([controls]) {
  display: none;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
button, input {
  line-height: normal;
  *overflow: visible;
}
button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
173
174
175
/* Variables.less
 * Variables to customize the look and feel of Bootstrap
 * ----------------------------------------------------- */
176
/* Mixins.less
177
 * Snippets of reusable CSS to develop faster and keep code readable
178
 * ----------------------------------------------------------------- */
Mark Otto's avatar
Mark Otto committed
179
180
181
182
/*
 * Scaffolding
 * Basic and global styles for generating a grid system, structural layout, and page templates
 * ------------------------------------------------------------------------------------------- */
183
html, body {
184
  background-color: #ffffff;
185
186
187
188
189
190
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 18px;
191
  color: #404040;
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
}
.container {
  width: 940px;
  margin-left: auto;
  margin-right: auto;
  zoom: 1;
}
.container:before, .container:after {
  display: table;
  content: "";
  zoom: 1;
  *display: inline;
}
.container:after {
  clear: both;
}
208
.fluid-container {
209
  position: relative;
Mark Otto's avatar
Mark Otto committed
210
  min-width: 940px;
211
212
213
214
  padding-left: 20px;
  padding-right: 20px;
  zoom: 1;
}
215
.fluid-container:before, .fluid-container:after {
216
217
218
219
220
  display: table;
  content: "";
  zoom: 1;
  *display: inline;
}
221
.fluid-container:after {
222
223
  clear: both;
}
224
.fluid-sidebar-left, .fluid-sidebar-right {
225
226
  width: 220px;
}
227
228
229
230
231
232
233
.fluid-sidebar-left {
  float: left;
}
.fluid-sidebar-right {
  float: right;
}
.fluid-content {
Mark Otto's avatar
Mark Otto committed
234
  margin-left: 240px;
235
}
236
237
238
239
.fluid-container.reverse .fluid-content {
  margin-left: 0;
  margin-right: 240px;
}
240
241
242
243
244
245
246
a {
  color: #0069d6;
  text-decoration: none;
  line-height: inherit;
  font-weight: inherit;
}
a:hover {
247
  color: #00438a;
248
249
250
251
252
253
254
255
  text-decoration: underline;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
Mark Otto's avatar
Mark Otto committed
256
257
258
259
260
261
.hide {
  display: none;
}
.show {
  display: block;
}
Mark Otto's avatar
Mark Otto committed
262
263
264
265
266
267
268
.row {
  zoom: 1;
  margin-left: -20px;
}
.row:before, .row:after {
  display: table;
  content: "";
269
270
  zoom: 1;
  *display: inline;
Mark Otto's avatar
Mark Otto committed
271
272
273
274
}
.row:after {
  clear: both;
}
275
[class*="span"] {
Mark Otto's avatar
Mark Otto committed
276
277
278
279
  display: inline;
  float: left;
  margin-left: 20px;
}
280
.span1 {
Mark Otto's avatar
Mark Otto committed
281
282
  width: 40px;
}
283
.span2 {
Mark Otto's avatar
Mark Otto committed
284
285
  width: 100px;
}
286
.span3 {
Mark Otto's avatar
Mark Otto committed
287
288
  width: 160px;
}
289
.span4 {
Mark Otto's avatar
Mark Otto committed
290
291
  width: 220px;
}
292
.span5 {
Mark Otto's avatar
Mark Otto committed
293
294
  width: 280px;
}
295
.span6 {
Mark Otto's avatar
Mark Otto committed
296
297
  width: 340px;
}
298
.span7 {
Mark Otto's avatar
Mark Otto committed
299
300
  width: 400px;
}
301
.span8 {
Mark Otto's avatar
Mark Otto committed
302
303
  width: 460px;
}
304
.span9 {
Mark Otto's avatar
Mark Otto committed
305
306
  width: 520px;
}
307
.span10 {
Mark Otto's avatar
Mark Otto committed
308
309
  width: 580px;
}
310
.span11 {
Mark Otto's avatar
Mark Otto committed
311
312
  width: 640px;
}
313
.span12 {
Mark Otto's avatar
Mark Otto committed
314
315
  width: 700px;
}
316
.span13 {
Mark Otto's avatar
Mark Otto committed
317
318
  width: 760px;
}
319
.span14 {
Mark Otto's avatar
Mark Otto committed
320
321
  width: 820px;
}
322
.span15 {
Mark Otto's avatar
Mark Otto committed
323
324
  width: 880px;
}
325
.span16 {
Mark Otto's avatar
Mark Otto committed
326
327
  width: 940px;
}
328
.span17 {
329
330
  width: 1000px;
}
331
.span18 {
332
333
  width: 1060px;
}
334
.span19 {
335
336
  width: 1120px;
}
337
.span20 {
338
339
  width: 1180px;
}
340
.span21 {
341
342
  width: 1240px;
}
343
.span22 {
344
345
  width: 1300px;
}
346
.span23 {
347
348
  width: 1360px;
}
349
.span24 {
350
351
  width: 1420px;
}
352
.offset1 {
Mark Otto's avatar
Mark Otto committed
353
354
  margin-left: 80px;
}
355
.offset2 {
Mark Otto's avatar
Mark Otto committed
356
357
  margin-left: 140px;
}
358
.offset3 {
Mark Otto's avatar
Mark Otto committed
359
360
  margin-left: 200px;
}
361
.offset4 {
Mark Otto's avatar
Mark Otto committed
362
363
  margin-left: 260px;
}
364
.offset5 {
Mark Otto's avatar
Mark Otto committed
365
366
  margin-left: 320px;
}
367
.offset6 {
Mark Otto's avatar
Mark Otto committed
368
369
  margin-left: 380px;
}
370
.offset7 {
Mark Otto's avatar
Mark Otto committed
371
372
  margin-left: 440px;
}
373
.offset8 {
Mark Otto's avatar
Mark Otto committed
374
375
  margin-left: 500px;
}
376
.offset9 {
Mark Otto's avatar
Mark Otto committed
377
378
  margin-left: 560px;
}
379
.offset10 {
Mark Otto's avatar
Mark Otto committed
380
381
  margin-left: 620px;
}
382
.offset11 {
Mark Otto's avatar
Mark Otto committed
383
384
  margin-left: 680px;
}
385
.offset12 {
Mark Otto's avatar
Mark Otto committed
386
387
  margin-left: 740px;
}
388
.span-one-third {
Mark Otto's avatar
Mark Otto committed
389
390
  width: 300px;
}
391
.span-two-thirds {
Mark Otto's avatar
Mark Otto committed
392
393
  width: 620px;
}
394
.offset-one-third {
Mark Otto's avatar
Mark Otto committed
395
396
  margin-left: 340px;
}
397
.offset-two-thirds {
Mark Otto's avatar
Mark Otto committed
398
399
400
401
402
403
  margin-left: 660px;
}
/* Typography.less
 * Headings, body text, lists, code, and more for a versatile and durable typography system
 * ---------------------------------------------------------------------------------------- */
p {
404
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
Mark Otto's avatar
Mark Otto committed
405
406
407
408
409
410
  font-size: 13px;
  line-height: 18px;
  margin-bottom: 9px;
}
p small {
  font-size: 11px;
411
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
412
413
414
415
416
417
418
419
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
420
  color: #404040;
Mark Otto's avatar
Mark Otto committed
421
422
423
424
425
426
427
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
428
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
}
h1 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 36px;
}
h1 small {
  font-size: 18px;
}
h2 {
  font-size: 24px;
  line-height: 36px;
}
h2 small {
  font-size: 14px;
}
h3 {
446
  line-height: 36px;
Mark Otto's avatar
Mark Otto committed
447
448
449
450
451
452
453
  font-size: 18px;
}
h3 small {
  font-size: 14px;
}
h4 {
  font-size: 16px;
Mark Otto's avatar
Mark Otto committed
454
  line-height: 36px;
Mark Otto's avatar
Mark Otto committed
455
456
457
458
459
460
}
h4 small {
  font-size: 12px;
}
h5 {
  font-size: 14px;
Mark Otto's avatar
Mark Otto committed
461
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
462
463
464
}
h6 {
  font-size: 13px;
Mark Otto's avatar
Mark Otto committed
465
  line-height: 18px;
466
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
  text-transform: uppercase;
}
ul, ol {
  margin: 0 0 18px 25px;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li {
  line-height: 18px;
486
  color: #808080;
Mark Otto's avatar
Mark Otto committed
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
}
ul.unstyled {
  list-style: none;
  margin-left: 0;
}
dl {
  margin-bottom: 18px;
}
dl dt, dl dd {
  line-height: 18px;
}
dl dt {
  font-weight: bold;
}
dl dd {
  margin-left: 9px;
}
hr {
505
  margin: 20px 0 19px;
Mark Otto's avatar
Mark Otto committed
506
507
508
509
510
511
512
513
514
515
516
517
518
  border: 0;
  border-bottom: 1px solid #eee;
}
strong {
  font-style: inherit;
  font-weight: bold;
}
em {
  font-style: italic;
  font-weight: inherit;
  line-height: inherit;
}
.muted {
519
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
}
blockquote {
  margin-bottom: 18px;
  border-left: 5px solid #eee;
  padding-left: 15px;
}
blockquote p {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  margin-bottom: 0;
}
blockquote small {
  display: block;
  font-size: 12px;
  font-weight: 300;
  line-height: 18px;
537
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
538
539
540
541
542
543
544
545
546
547
548
}
blockquote small:before {
  content: '\2014 \00A0';
}
address {
  display: block;
  line-height: 18px;
  margin-bottom: 18px;
}
code, pre {
  padding: 0 3px 2px;
549
  font-family: Menlo, Monaco, Andale Mono, Courier New, monospace;
Mark Otto's avatar
Mark Otto committed
550
551
552
553
554
555
556
557
558
559
560
561
562
  font-size: 12px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  background-color: #fee9cc;
  color: rgba(0, 0, 0, 0.75);
  padding: 1px 3px;
}
pre {
  background-color: #f5f5f5;
  display: block;
563
  padding: 8.5px;
Mark Otto's avatar
Mark Otto committed
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
  margin: 0 0 18px;
  line-height: 18px;
  font-size: 12px;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
/* Forms.less
 * Base styles for various input types, form layouts, and states
 * ------------------------------------------------------------- */
form {
  margin-bottom: 18px;
}
582
legend {
Mark Otto's avatar
Mark Otto committed
583
  display: block;
584
585
  width: 100%;
  margin-bottom: 27px;
586
  font-size: 19.5px;
587
  line-height: 36px;
588
  color: #404040;
589
  border-bottom: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
590
591
592
593
594
595
596
597
598
599
}
label,
input,
select,
textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 18px;
}
600
601
602
label {
  display: block;
  margin-bottom: 5px;
603
  color: #404040;
Mark Otto's avatar
Mark Otto committed
604
605
606
607
608
609
610
611
612
613
}
input[type=checkbox], input[type=radio] {
  cursor: pointer;
}
input,
textarea,
select,
.uneditable-input {
  display: inline-block;
  width: 210px;
614
  height: 18px;
Mark Otto's avatar
Mark Otto committed
615
616
617
  padding: 4px;
  font-size: 13px;
  line-height: 18px;
618
  color: #808080;
Mark Otto's avatar
Mark Otto committed
619
620
621
622
623
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
624
/* Mini reset for unique input types */
Mark Otto's avatar
Mark Otto committed
625
626
627
input[type=checkbox], input[type=radio] {
  width: auto;
  height: auto;
628
  padding: 0;
Mark Otto's avatar
Mark Otto committed
629
  margin: 3px 0;
Mark Otto's avatar
Mark Otto committed
630
631
632
  *margin-top: 0;
  /* IE6-7 */

633
634
  line-height: normal;
  border: none;
Mark Otto's avatar
Mark Otto committed
635
636
}
input[type=file] {
637
  background-color: #ffffff;
638
639
640
  padding: initial;
  border: initial;
  line-height: initial;
Mark Otto's avatar
Mark Otto committed
641
642
643
644
645
646
647
648
649
650
651
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type=button], input[type=reset], input[type=submit] {
  width: auto;
  height: auto;
}
select, input[type=file] {
  height: 27px;
  line-height: 27px;
652
653
654
  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

Mark Otto's avatar
Mark Otto committed
655
}
Mark Otto's avatar
Mark Otto committed
656
select[multiple] {
657
  background-color: #ffffff;
Mark Otto's avatar
Mark Otto committed
658
659
  height: inherit;
}
Mark Otto's avatar
Mark Otto committed
660
661
662
textarea {
  height: auto;
}
Mark Otto's avatar
Mark Otto committed
663
input, textarea {
Mark Otto's avatar
Mark Otto committed
664
665
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
  -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
Jacob Thornton's avatar
Jacob Thornton committed
666
667
  -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
  -o-transition: border linear 0.2s, box-shadow linear 0.2s;
Mark Otto's avatar
Mark Otto committed
668
669
670
671
672
  transition: border linear 0.2s, box-shadow linear 0.2s;
  -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);
}
Mark Otto's avatar
Mark Otto committed
673
input:focus, textarea:focus {
Jacob Thornton's avatar
Jacob Thornton committed
674
  outline: 0;
Mark Otto's avatar
Mark Otto committed
675
676
677
678
679
  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);
}
Mark Otto's avatar
Mark Otto committed
680
681
682
683
684
685
input[type=file]:focus, input[type=checkbox]:focus, select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline: 1px dotted #666;
}
686
.input-mini {
Mark Otto's avatar
Mark Otto committed
687
688
  width: 60px;
}
689
.input-small {
Mark Otto's avatar
Mark Otto committed
690
691
  width: 90px;
}
692
.input-medium {
Mark Otto's avatar
Mark Otto committed
693
694
  width: 150px;
}
695
.input-large {
Mark Otto's avatar
Mark Otto committed
696
697
  width: 210px;
}
698
.input-xlarge {
Mark Otto's avatar
Mark Otto committed
699
700
  width: 270px;
}
701
.input-xxlarge {
Mark Otto's avatar
Mark Otto committed
702
703
  width: 530px;
}
704
input.span1, textarea.span1, select.span1 {
705
706
  display: inline-block;
  float: none;
707
708
709
710
  width: 30px;
  margin-left: 0;
}
input.span2, textarea.span2, select.span2 {
711
712
  display: inline-block;
  float: none;
713
714
715
716
  width: 90px;
  margin-left: 0;
}
input.span3, textarea.span3, select.span3 {
717
718
  display: inline-block;
  float: none;
719
720
721
722
  width: 150px;
  margin-left: 0;
}
input.span4, textarea.span4, select.span4 {
723
724
  display: inline-block;
  float: none;
725
726
727
728
  width: 210px;
  margin-left: 0;
}
input.span5, textarea.span5, select.span5 {
729
730
  display: inline-block;
  float: none;
731
732
733
734
  width: 270px;
  margin-left: 0;
}
input.span6, textarea.span6, select.span6 {
735
736
  display: inline-block;
  float: none;
737
738
739
740
  width: 330px;
  margin-left: 0;
}
input.span7, textarea.span7, select.span7 {
741
742
  display: inline-block;
  float: none;
743
744
745
746
  width: 390px;
  margin-left: 0;
}
input.span8, textarea.span8, select.span8 {
747
748
  display: inline-block;
  float: none;
749
750
751
752
  width: 450px;
  margin-left: 0;
}
input.span9, textarea.span9, select.span9 {
753
754
  display: inline-block;
  float: none;
755
756
757
758
  width: 510px;
  margin-left: 0;
}
input.span10, textarea.span10, select.span10 {
759
760
  display: inline-block;
  float: none;
761
762
763
764
  width: 570px;
  margin-left: 0;
}
input.span11, textarea.span11, select.span11 {
765
766
  display: inline-block;
  float: none;
767
768
769
770
  width: 630px;
  margin-left: 0;
}
input.span12, textarea.span12, select.span12 {
771
772
  display: inline-block;
  float: none;
773
774
775
776
  width: 690px;
  margin-left: 0;
}
input.span13, textarea.span13, select.span13 {
777
778
  display: inline-block;
  float: none;
779
780
781
782
  width: 750px;
  margin-left: 0;
}
input.span14, textarea.span14, select.span14 {
783
784
  display: inline-block;
  float: none;
785
786
787
788
  width: 810px;
  margin-left: 0;
}
input.span15, textarea.span15, select.span15 {
789
790
  display: inline-block;
  float: none;
791
792
793
794
  width: 870px;
  margin-left: 0;
}
input.span16, textarea.span16, select.span16 {
795
796
  display: inline-block;
  float: none;
797
798
799
  width: 930px;
  margin-left: 0;
}
800
801
802
803
804
805
806
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  background-color: #f5f5f5;
Mark Otto's avatar
Mark Otto committed
807
  border-color: #ddd;
808
  cursor: not-allowed;
Mark Otto's avatar
Mark Otto committed
809
}
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
.has-error {
  background: #f8dcda;
  padding: 9px 0;
  margin: -10px 0 10px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.has-error > label, .has-error span.help-inline, .has-error span.help-block {
  color: #9d261d;
}
.has-error input, .has-error textarea, .has-error select {
  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);
}
.has-error input:focus, .has-error textarea:focus, .has-error select: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);
}
.has-error .input-prepend span.add-on, .has-error .input-append span.add-on {
  background: #f4c8c5;
  border-color: #c87872;
  color: #b9554d;
}
.form-actions {
  padding: 17px 20px 18px;
Mark Otto's avatar
Mark Otto committed
840
841
  margin-top: 18px;
  margin-bottom: 18px;
842
  background-color: #f5f5f5;
Mark Otto's avatar
Mark Otto committed
843
844
  border-top: 1px solid #ddd;
}
845
846
847
848
849
850
851
852
.uneditable-input {
  background-color: #ffffff;
  display: block;
  border-color: #eee;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  cursor: not-allowed;
Mark Otto's avatar
Mark Otto committed
853
}
854
:-moz-placeholder {
855
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
856
}
857
::-webkit-input-placeholder {
858
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
859
}
860
861
862
.help-text {
  margin-top: 5px;
  margin-bottom: 0;
863
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
864
865
}
.help-inline {
866
  display: inline;
Mark Otto's avatar
Mark Otto committed
867
868
869
870
871
872
873
874
875
876
877
878
879
  padding-left: 5px;
  *position: relative;
  /* IE6-7 */

  *top: -5px;
  /* IE6-7 */

}
.help-block {
  display: block;
  max-width: 600px;
}
.inline-inputs {
880
  color: #808080;
Mark Otto's avatar
Mark Otto committed
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
}
.inline-inputs span, .inline-inputs input {
  display: inline-block;
}
.inline-inputs input.mini {
  width: 60px;
}
.inline-inputs input.small {
  width: 90px;
}
.inline-inputs span {
  padding: 0 2px 0 1px;
}
.input-prepend input, .input-append input {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.input-prepend .add-on, .input-append .add-on {
900
  position: relative;
Jacob Thornton's avatar
Jacob Thornton committed
901
902
  background: #f5f5f5;
  border: 1px solid #ccc;
903
  z-index: 2;
Mark Otto's avatar
Mark Otto committed
904
905
906
907
  float: left;
  display: block;
  width: auto;
  min-width: 16px;
908
  height: 18px;
Mark Otto's avatar
Mark Otto committed
909
  padding: 4px 4px 4px 5px;
910
  margin-right: -1px;
Mark Otto's avatar
Mark Otto committed
911
912
  font-weight: normal;
  line-height: 18px;
913
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
914
  text-align: center;
915
  text-shadow: 0 1px 0 #ffffff;
Mark Otto's avatar
Mark Otto committed
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.input-prepend .active, .input-append .active {
  background: #a9dba9;
  border-color: #46a546;
}
.input-prepend .add-on {
  *margin-top: 1px;
  /* IE6-7 */

}
.input-append input {
  float: left;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.input-append .add-on {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
939
940
  margin-right: 0;
  margin-left: -1px;
Mark Otto's avatar
Mark Otto committed
941
}
942
943
944
945
946
.form-search .search-query {
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
947
948
.control-group {
  margin-bottom: 18px;
Mark Otto's avatar
Mark Otto committed
949
}
950
.control-group > label {
Mark Otto's avatar
Mark Otto committed
951
952
  font-weight: bold;
}
953
954
955
956
957
.form-horizontal .control-group > label {
  float: left;
  width: 130px;
  padding-top: 5px;
  text-align: right;
Mark Otto's avatar
Mark Otto committed
958
}
959
960
.form-horizontal .controls {
  margin-left: 150px;
Mark Otto's avatar
Mark Otto committed
961
}
962
963
.form-horizontal .control-list {
  padding-top: 6px;
Mark Otto's avatar
Mark Otto committed
964
}
965
966
.form-horizontal .form-actions {
  padding-left: 150px;
Mark Otto's avatar
Mark Otto committed
967
968
969
970
971
972
973
974
975
}
/*
 * Tables.less
 * Tables for, you guessed it, tabular data
 * ---------------------------------------- */
table {
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
976
  border-collapse: separate;
977
978
979
  *border-collapse: collapse;
  /* IE7, collapse table to remove spacing */

Mark Otto's avatar
Mark Otto committed
980
  font-size: 13px;
981
982
983
984
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
985
986
987
}
table th, table td {
  padding: 10px 10px 9px;
988
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
989
990
991
992
993
  text-align: left;
}
table th {
  padding-top: 9px;
  font-weight: bold;
994
  vertical-align: middle;
995
  border-bottom: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
996
}
997
998
999
table td {
  vertical-align: top;
}
1000
table th + th, table td + td {
For faster browsing, not all history is shown. View entire blame