bootstrap.css 50.3 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  4 01:15:08 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
208
209
}
.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;
}
.container-fluid {
  position: relative;
Mark Otto's avatar
Mark Otto committed
210
  min-width: 940px;
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
  padding-left: 20px;
  padding-right: 20px;
  zoom: 1;
}
.container-fluid:before, .container-fluid:after {
  display: table;
  content: "";
  zoom: 1;
  *display: inline;
}
.container-fluid:after {
  clear: both;
}
.container-fluid > .sidebar {
  float: left;
  width: 220px;
}
.container-fluid > .content {
Mark Otto's avatar
Mark Otto committed
229
  margin-left: 240px;
230
231
232
233
234
235
236
237
}
a {
  color: #0069d6;
  text-decoration: none;
  line-height: inherit;
  font-weight: inherit;
}
a:hover {
238
  color: #00438a;
239
240
241
242
243
244
245
246
  text-decoration: underline;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}
Mark Otto's avatar
Mark Otto committed
247
248
249
250
251
252
.hide {
  display: none;
}
.show {
  display: block;
}
Mark Otto's avatar
Mark Otto committed
253
254
255
256
257
258
259
.row {
  zoom: 1;
  margin-left: -20px;
}
.row:before, .row:after {
  display: table;
  content: "";
260
261
  zoom: 1;
  *display: inline;
Mark Otto's avatar
Mark Otto committed
262
263
264
265
}
.row:after {
  clear: both;
}
266
[class*="span"] {
Mark Otto's avatar
Mark Otto committed
267
268
269
270
  display: inline;
  float: left;
  margin-left: 20px;
}
271
.span1 {
Mark Otto's avatar
Mark Otto committed
272
273
  width: 40px;
}
274
.span2 {
Mark Otto's avatar
Mark Otto committed
275
276
  width: 100px;
}
277
.span3 {
Mark Otto's avatar
Mark Otto committed
278
279
  width: 160px;
}
280
.span4 {
Mark Otto's avatar
Mark Otto committed
281
282
  width: 220px;
}
283
.span5 {
Mark Otto's avatar
Mark Otto committed
284
285
  width: 280px;
}
286
.span6 {
Mark Otto's avatar
Mark Otto committed
287
288
  width: 340px;
}
289
.span7 {
Mark Otto's avatar
Mark Otto committed
290
291
  width: 400px;
}
292
.span8 {
Mark Otto's avatar
Mark Otto committed
293
294
  width: 460px;
}
295
.span9 {
Mark Otto's avatar
Mark Otto committed
296
297
  width: 520px;
}
298
.span10 {
Mark Otto's avatar
Mark Otto committed
299
300
  width: 580px;
}
301
.span11 {
Mark Otto's avatar
Mark Otto committed
302
303
  width: 640px;
}
304
.span12 {
Mark Otto's avatar
Mark Otto committed
305
306
  width: 700px;
}
307
.span13 {
Mark Otto's avatar
Mark Otto committed
308
309
  width: 760px;
}
310
.span14 {
Mark Otto's avatar
Mark Otto committed
311
312
  width: 820px;
}
313
.span15 {
Mark Otto's avatar
Mark Otto committed
314
315
  width: 880px;
}
316
.span16 {
Mark Otto's avatar
Mark Otto committed
317
318
  width: 940px;
}
319
.span17 {
320
321
  width: 1000px;
}
322
.span18 {
323
324
  width: 1060px;
}
325
.span19 {
326
327
  width: 1120px;
}
328
.span20 {
329
330
  width: 1180px;
}
331
.span21 {
332
333
  width: 1240px;
}
334
.span22 {
335
336
  width: 1300px;
}
337
.span23 {
338
339
  width: 1360px;
}
340
.span24 {
341
342
  width: 1420px;
}
343
.offset1 {
Mark Otto's avatar
Mark Otto committed
344
345
  margin-left: 80px;
}
346
.offset2 {
Mark Otto's avatar
Mark Otto committed
347
348
  margin-left: 140px;
}
349
.offset3 {
Mark Otto's avatar
Mark Otto committed
350
351
  margin-left: 200px;
}
352
.offset4 {
Mark Otto's avatar
Mark Otto committed
353
354
  margin-left: 260px;
}
355
.offset5 {
Mark Otto's avatar
Mark Otto committed
356
357
  margin-left: 320px;
}
358
.offset6 {
Mark Otto's avatar
Mark Otto committed
359
360
  margin-left: 380px;
}
361
.offset7 {
Mark Otto's avatar
Mark Otto committed
362
363
  margin-left: 440px;
}
364
.offset8 {
Mark Otto's avatar
Mark Otto committed
365
366
  margin-left: 500px;
}
367
.offset9 {
Mark Otto's avatar
Mark Otto committed
368
369
  margin-left: 560px;
}
370
.offset10 {
Mark Otto's avatar
Mark Otto committed
371
372
  margin-left: 620px;
}
373
.offset11 {
Mark Otto's avatar
Mark Otto committed
374
375
  margin-left: 680px;
}
376
.offset12 {
Mark Otto's avatar
Mark Otto committed
377
378
  margin-left: 740px;
}
379
.span-one-third {
Mark Otto's avatar
Mark Otto committed
380
381
  width: 300px;
}
382
.span-two-thirds {
Mark Otto's avatar
Mark Otto committed
383
384
  width: 620px;
}
385
.offset-one-third {
Mark Otto's avatar
Mark Otto committed
386
387
  margin-left: 340px;
}
388
.offset-two-thirds {
Mark Otto's avatar
Mark Otto committed
389
390
391
392
393
394
  margin-left: 660px;
}
/* Typography.less
 * Headings, body text, lists, code, and more for a versatile and durable typography system
 * ---------------------------------------------------------------------------------------- */
p {
395
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
Mark Otto's avatar
Mark Otto committed
396
397
398
399
400
401
  font-size: 13px;
  line-height: 18px;
  margin-bottom: 9px;
}
p small {
  font-size: 11px;
402
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
403
404
405
406
407
408
409
410
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
411
  color: #404040;
Mark Otto's avatar
Mark Otto committed
412
413
414
415
416
417
418
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
419
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
}
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 {
437
  line-height: 36px;
Mark Otto's avatar
Mark Otto committed
438
439
440
441
442
443
444
  font-size: 18px;
}
h3 small {
  font-size: 14px;
}
h4 {
  font-size: 16px;
Mark Otto's avatar
Mark Otto committed
445
  line-height: 36px;
Mark Otto's avatar
Mark Otto committed
446
447
448
449
450
451
}
h4 small {
  font-size: 12px;
}
h5 {
  font-size: 14px;
Mark Otto's avatar
Mark Otto committed
452
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
453
454
455
}
h6 {
  font-size: 13px;
Mark Otto's avatar
Mark Otto committed
456
  line-height: 18px;
457
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
  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;
477
  color: #808080;
Mark Otto's avatar
Mark Otto committed
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
}
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 {
496
  margin: 20px 0 19px;
Mark Otto's avatar
Mark Otto committed
497
498
499
500
501
502
503
504
505
506
507
508
509
  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 {
510
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
}
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;
528
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
529
530
531
532
533
534
535
536
537
538
539
}
blockquote small:before {
  content: '\2014 \00A0';
}
address {
  display: block;
  line-height: 18px;
  margin-bottom: 18px;
}
code, pre {
  padding: 0 3px 2px;
540
  font-family: Menlo, Monaco, Andale Mono, Courier New, monospace;
Mark Otto's avatar
Mark Otto committed
541
542
543
544
545
546
547
548
549
550
551
552
553
  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;
554
  padding: 8.5px;
Mark Otto's avatar
Mark Otto committed
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
  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;
}
573
legend {
Mark Otto's avatar
Mark Otto committed
574
  display: block;
575
576
  width: 100%;
  margin-bottom: 27px;
577
  font-size: 19.5px;
578
  line-height: 36px;
579
  color: #404040;
580
  border-bottom: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
581
582
583
584
585
586
587
588
589
590
}
label,
input,
select,
textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 18px;
}
591
592
593
label {
  display: block;
  margin-bottom: 5px;
594
  color: #404040;
Mark Otto's avatar
Mark Otto committed
595
596
597
598
599
600
601
602
603
604
}
input[type=checkbox], input[type=radio] {
  cursor: pointer;
}
input,
textarea,
select,
.uneditable-input {
  display: inline-block;
  width: 210px;
605
  height: 18px;
Mark Otto's avatar
Mark Otto committed
606
607
608
  padding: 4px;
  font-size: 13px;
  line-height: 18px;
609
  color: #808080;
Mark Otto's avatar
Mark Otto committed
610
611
612
613
614
  border: 1px solid #ccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
615
/* Mini reset for unique input types */
Mark Otto's avatar
Mark Otto committed
616
617
618
input[type=checkbox], input[type=radio] {
  width: auto;
  height: auto;
619
  padding: 0;
Mark Otto's avatar
Mark Otto committed
620
  margin: 3px 0;
Mark Otto's avatar
Mark Otto committed
621
622
623
  *margin-top: 0;
  /* IE6-7 */

624
625
  line-height: normal;
  border: none;
Mark Otto's avatar
Mark Otto committed
626
627
}
input[type=file] {
628
  background-color: #ffffff;
629
630
631
  padding: initial;
  border: initial;
  line-height: initial;
Mark Otto's avatar
Mark Otto committed
632
633
634
635
636
637
638
639
640
641
642
  -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;
643
644
645
  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */

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

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

}
.help-block {
  display: block;
  max-width: 600px;
}
.inline-inputs {
871
  color: #808080;
Mark Otto's avatar
Mark Otto committed
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
}
.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 {
891
  position: relative;
Jacob Thornton's avatar
Jacob Thornton committed
892
893
  background: #f5f5f5;
  border: 1px solid #ccc;
894
  z-index: 2;
Mark Otto's avatar
Mark Otto committed
895
896
897
898
  float: left;
  display: block;
  width: auto;
  min-width: 16px;
899
  height: 18px;
Mark Otto's avatar
Mark Otto committed
900
  padding: 4px 4px 4px 5px;
901
  margin-right: -1px;
Mark Otto's avatar
Mark Otto committed
902
903
  font-weight: normal;
  line-height: 18px;
904
  color: #bfbfbf;
Mark Otto's avatar
Mark Otto committed
905
  text-align: center;
906
  text-shadow: 0 1px 0 #ffffff;
Mark Otto's avatar
Mark Otto committed
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
  -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;
930
931
  margin-right: 0;
  margin-left: -1px;
Mark Otto's avatar
Mark Otto committed
932
}
933
934
935
936
937
.form-search .search-query {
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
938
939
.control-group {
  margin-bottom: 18px;
Mark Otto's avatar
Mark Otto committed
940
}
941
.control-group > label {
Mark Otto's avatar
Mark Otto committed
942
943
  font-weight: bold;
}
944
945
946
947
948
.form-horizontal .control-group > label {
  float: left;
  width: 130px;
  padding-top: 5px;
  text-align: right;
Mark Otto's avatar
Mark Otto committed
949
}
950
951
.form-horizontal .controls {
  margin-left: 150px;
Mark Otto's avatar
Mark Otto committed
952
}
953
954
.form-horizontal .control-list {
  padding-top: 6px;
Mark Otto's avatar
Mark Otto committed
955
}
956
957
.form-horizontal .form-actions {
  padding-left: 150px;
Mark Otto's avatar
Mark Otto committed
958
959
960
961
962
963
964
965
966
}
/*
 * Tables.less
 * Tables for, you guessed it, tabular data
 * ---------------------------------------- */
table {
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
967
  border-collapse: separate;
968
969
970
  *border-collapse: collapse;
  /* IE7, collapse table to remove spacing */

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