bootstrap-1.0.0.css 38.2 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: Wed Aug 17 22:35:32 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
101
102
103
104
105
106
107
.clearfix {
  zoom: 1;
}
.clearfix:after {
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
  content: ".";
}
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
117
118
119
120
121
122
  zoom: 1;
}
.container:after {
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
  content: ".";
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
.row:after {
Jacob Thornton's avatar
Jacob Thornton committed
132
133
134
135
136
137
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
  content: ".";
}
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
342
343
html, body {
  background-color: #fff;
}
body {
  margin: 0;
  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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
  text-rendering: optimizeLegibility;
}
div.container {
  width: 940px;
  margin: 0 auto;
}
div.container-fluid {
  padding: 20px;
  zoom: 1;
}
div.container-fluid:after {
  display: block;
  visibility: hidden;
  height: 0;
  clear: both;
  content: ".";
}
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
  padding: 4px 14px;
391
392
393
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  color: #333333;
  font-size: 13px;
394
  line-height: 18px;
395
396
397
398
399
  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;
400
401
402
  -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);
403
404
405
  -webkit-transition: 0.1s linear all;
  -moz-transition: 0.1s linear all;
  transition: 0.1s linear all;
Jacob Thornton's avatar
Jacob Thornton committed
406
407
408
}
.btn:hover {
  background-position: 0 -15px;
409
  color: #333333;
Jacob Thornton's avatar
Jacob Thornton committed
410
411
412
  text-decoration: none;
}
.btn.primary {
413
  background-color: #0064cd;
414
  background-repeat: repeat-x;
415
416
417
418
419
420
421
422
423
  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
424
425
426
427
428
429
430
431
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn.primary:hover {
  color: #fff;
}
.btn.large {
  font-size: 16px;
432
  line-height: 28px;
433
  -webkit-border-radius: 6px;
Jacob Thornton's avatar
Jacob Thornton committed
434
435
436
437
438
439
440
441
  -moz-border-radius: 6px;
  border-radius: 6px;
}
.btn.small {
  padding-right: 9px;
  padding-left: 9px;
  font-size: 11px;
}
442
443
444
445
446
447
448
449
.btn:disabled, .btn.disabled {
  background-image: none;
  filter: alpha(opacity=65);
  -khtml-opacity: 0.65;
  -moz-opacity: 0.65;
  opacity: 0.65;
  cursor: default;
}
450
451
452
453
454
.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
455
456
457
458
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
  padding: 0;
  border: 0;
}
459
/* Typography.less
460
 * Headings, body text, lists, code, and more for a versatile and durable typography system
461
 * ---------------------------------------------------------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
462
p {
463
  font-size: 13px;
Jacob Thornton's avatar
Jacob Thornton committed
464
  font-weight: normal;
465
466
  line-height: 18px;
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
467
468
}
p small {
469
  font-size: 11px;
Mark Otto's avatar
Mark Otto committed
470
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
471
472
473
474
475
476
477
}
h1,
h2,
h3,
h4,
h5,
h6 {
478
  font-weight: bold;
479
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
480
481
482
483
484
485
486
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
Mark Otto's avatar
Mark Otto committed
487
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
488
489
}
h1 {
490
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
491
  font-size: 30px;
492
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
493
494
495
496
497
498
}
h1 small {
  font-size: 18px;
}
h2 {
  font-size: 24px;
499
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
500
501
502
503
504
505
506
507
}
h2 small {
  font-size: 14px;
}
h3,
h4,
h5,
h6 {
508
  line-height: 36px;
Jacob Thornton's avatar
Jacob Thornton committed
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
}
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
527
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
528
529
530
  text-transform: uppercase;
}
ul, ol {
531
  margin: 0 0 18px 25px;
Jacob Thornton's avatar
Jacob Thornton committed
532
533
534
535
536
537
538
539
540
541
542
543
544
545
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}
ul {
  list-style: disc;
}
ol {
  list-style: decimal;
}
li {
546
  line-height: 18px;
547
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
548
549
550
551
552
553
}
ul.unstyled {
  list-style: none;
  margin-left: 0;
}
dl {
554
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
555
556
}
dl dt, dl dd {
557
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
558
559
560
561
562
}
dl dt {
  font-weight: bold;
}
dl dd {
563
  margin-left: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
}
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 {
581
  color: #e6e6e6;
Jacob Thornton's avatar
Jacob Thornton committed
582
583
}
blockquote {
584
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
585
586
587
588
589
590
  border-left: 5px solid #eee;
  padding-left: 15px;
}
blockquote p {
  font-size: 14px;
  font-weight: 300;
591
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
592
593
594
595
596
597
  margin-bottom: 0;
}
blockquote cite {
  display: block;
  font-size: 12px;
  font-weight: 300;
598
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
599
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
600
601
602
603
604
605
}
blockquote cite:before {
  content: '\2014 \00A0';
}
address {
  display: block;
606
607
  line-height: 18px;
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
608
609
610
611
612
}
code, pre {
  padding: 0 3px 2px;
  font-family: Monaco, Andale Mono, Courier New, monospace;
  font-size: 12px;
613
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
614
615
616
617
618
619
620
621
622
623
624
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  background-color: #fee9cc;
  color: rgba(0, 0, 0, 0.75);
  padding: 2px 3px;
}
pre {
  background-color: #f5f5f5;
  display: block;
625
626
627
  padding: 17px;
  margin: 0 0 18px;
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
628
629
  font-size: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
630
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
631
632
633
634
  -moz-border-radius: 3px;
  border-radius: 3px;
  white-space: pre-wrap;
}
635
/* Forms.less
636
 * Base styles for various input types, form layouts, and states
637
 * ------------------------------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
638
form {
639
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
640
641
}
form fieldset {
642
643
  margin-bottom: 18px;
  padding-top: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
644
645
646
647
648
649
}
form fieldset legend {
  display: block;
  margin-left: 150px;
  font-size: 20px;
  line-height: 1;
650
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
651
652
}
form div.clearfix {
653
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
}
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;
671
  color: #404040;
Jacob Thornton's avatar
Jacob Thornton committed
672
673
674
675
676
677
678
679
680
681
682
683
}
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 {
684
  display: inline-block;
Jacob Thornton's avatar
Jacob Thornton committed
685
686
687
688
  width: 210px;
  margin: 0;
  padding: 4px;
  font-size: 13px;
689
690
  line-height: 18px;
  height: 18px;
691
  color: #808080;
692
  border: 1px solid #ccc;
693
  -webkit-border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
694
695
696
697
  -moz-border-radius: 3px;
  border-radius: 3px;
}
form select, form input[type=file] {
698
699
  height: 27px;
  line-height: 27px;
Jacob Thornton's avatar
Jacob Thornton committed
700
701
702
703
704
705
706
707
708
709
710
711
}
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);
}
712
713
714
715
716
717
form :-moz-placeholder {
  color: #bfbfbf;
}
form ::-webkit-input-placeholder {
  color: #bfbfbf;
}
Jacob Thornton's avatar
Jacob Thornton committed
718
719
720
721
722
723
724
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;
725
726
727
  -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
728
729
730
}
form input[type=text]:focus, form input[type=password]:focus, form textarea:focus {
  outline: none;
731
732
733
734
  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
735
736
737
738
739
}
form div.error {
  background: #fae5e3;
  padding: 10px 0;
  margin: -10px 0 10px;
740
  -webkit-border-radius: 4px;
Jacob Thornton's avatar
Jacob Thornton committed
741
742
743
  -moz-border-radius: 4px;
  border-radius: 4px;
}
744
form div.error > label, form div.error span.help-inline, form div.error span.help-block {
Jacob Thornton's avatar
Jacob Thornton committed
745
746
747
748
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
  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;
812
813
814
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 17px 20px 18px 150px;
Jacob Thornton's avatar
Jacob Thornton committed
815
  border-top: 1px solid #ddd;
816
  -webkit-border-radius: 0 0 3px 3px;
Jacob Thornton's avatar
Jacob Thornton committed
817
818
819
820
821
822
823
824
825
826
827
828
829
830
  -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;
831
  line-height: 18px;
Mark Otto's avatar
Mark Otto committed
832
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
833
834
835
836
837
838
839
840
841
}
.help-inline {
  padding-left: 5px;
}
.help-block {
  display: block;
  max-width: 600px;
}
div.inline-inputs {
842
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
843
844
845
846
847
848
849
850
851
852
853
854
855
856
}
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] {
857
  -webkit-border-radius: 0 3px 3px 0;
Jacob Thornton's avatar
Jacob Thornton committed
858
859
860
861
862
863
864
865
866
  -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;
867
  padding: 4px 4px 4px 5px;
Mark Otto's avatar
Mark Otto committed
868
  color: #bfbfbf;
Jacob Thornton's avatar
Jacob Thornton committed
869
870
871
872
873
  font-weight: normal;
  line-height: 18px;
  height: 18px;
  text-align: center;
  text-shadow: 0 1px 0 #fff;
874
  border: 1px solid #ccc;
Jacob Thornton's avatar
Jacob Thornton committed
875
  border-right-width: 0;
876
  -webkit-border-radius: 3px 0 0 3px;
Jacob Thornton's avatar
Jacob Thornton committed
877
878
879
880
881
882
883
884
885
  -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;
886
  -webkit-border-radius: 3px 0 0 3px;
Jacob Thornton's avatar
Jacob Thornton committed
887
888
889
890
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
div.input-append .add-on {
891
  -webkit-border-radius: 0 3px 3px 0;
Jacob Thornton's avatar
Jacob Thornton committed
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
  -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;
911
  line-height: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
912
913
914
915
  text-align: left;
  white-space: normal;
}
ul.inputs-list li label strong {
916
  color: #808080;
Jacob Thornton's avatar
Jacob Thornton committed
917
918
919
}
ul.inputs-list li label small {
  font-size: 12px;
920
  font-weight: normal;
Jacob Thornton's avatar
Jacob Thornton committed
921
922
923
924
925
926
927
928
929
930
931
932
}
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;
}
933
934
935
form.form-stacked {
  padding-left: 20px;
}
Jacob Thornton's avatar
Jacob Thornton committed
936
form.form-stacked fieldset {
937
  padding-top: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
938
939
940
941
942
943
944
945
946
947
948
949
950
951
}
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 {
952
  margin-bottom: 9px;
Jacob Thornton's avatar
Jacob Thornton committed
953
954
955
956
957
958
959
960
961
962
963
964
965
966
}
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;
}
967
968
969
970
form.form-stacked div.actions {
  margin-left: -20px;
  padding-left: 20px;
}
971
972
/*
 * Tables.less
973
 * Tables for, you guessed it, tabular data
974
 * ---------------------------------------- */
Jacob Thornton's avatar
Jacob Thornton committed
975
976
table {
  width: 100%;
977
  margin-bottom: 18px;
Jacob Thornton's avatar
Jacob Thornton committed
978
979
980
  padding: 0;
  text-align: left;
  border-collapse: separate;
981
  font-size: 13px;
Jacob Thornton's avatar
Jacob Thornton committed
982
983
984
}
table th, table td {
  padding: 10px 10px 9px;
985
  line-height: 13.5px;
Jacob Thornton's avatar
Jacob Thornton committed
986
987
988
989
990
991
992
993
994
  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 {
995
  background-color: #f9f9f9;
Jacob Thornton's avatar
Jacob Thornton committed
996
997
}
table.zebra-striped tbody tr:hover td {
998
  background-color: #f5f5f5;
Jacob Thornton's avatar
Jacob Thornton committed
999
1000
}
table.zebra-striped th.header {
For faster browsing, not all history is shown. View entire blame