docs.css 17.1 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Bootstrap Documentation
 * Special styles for presenting Bootstrap's documentation and code examples.
 */



/* Key scaffolding
-------------------------------------------------- */

body {
  position: relative; /* For scrollyspy */
Mark Otto's avatar
Mark Otto committed
13
  padding-top: 50px; /* Account for fixed navbar */
Mark Otto's avatar
Mark Otto committed
14
15
}

16
17
/* Custom docs button */
.btn-bs {
Mark Otto's avatar
Mark Otto committed
18
  color: #563d7c;
19
20
21
22
  background-color: #fff;
  border-color: #e5e5e5;
}
.btn-bs:hover,
23
.btn-bs:focus,
24
25
.btn-bs:active {
  color: #fff;
Mark Otto's avatar
Mark Otto committed
26
27
  background-color: #563d7c;
  border-color: #563d7c;
28
29
}

30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Homepage button */
.btn-outline {
  color: #fff;
  background-color: transparent;
  border-color: #cdbfe3;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
  color: #563d7c;
  background-color: #fff;
  border-color: #fff;
}

44
45
46
47
48
49
50
/* Temp CSS until RC2 */
.bs-customize-placeholder {
  margin-bottom: -100px;
  padding: 80px 30px;
  text-align: center;
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
51
52
53
54
55


/* Top nav and header
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
56
.bs-docs-nav {
Mark Otto's avatar
Mark Otto committed
57
  background-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
58
  border-color: #463265;
Mark Otto's avatar
Mark Otto committed
59
}
Mark Otto's avatar
Mark Otto committed
60
61
62
.bs-docs-nav .navbar-collapse {
  border-color: #463265;
}
Mark Otto's avatar
Mark Otto committed
63
64
65
.bs-docs-nav .navbar-brand {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
66
.bs-docs-nav .navbar-nav > li > a {
Mark Otto's avatar
Mark Otto committed
67
  color: #cdbfe3;
Mark Otto's avatar
Mark Otto committed
68
69
}
.bs-docs-nav .navbar-nav > li > a:hover {
Mark Otto's avatar
Mark Otto committed
70
71
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
72
73
.bs-docs-nav .navbar-nav > .active > a,
.bs-docs-nav .navbar-nav > .active > a:hover {
Mark Otto's avatar
Mark Otto committed
74
  color: #fff;
Mark Otto's avatar
Mark Otto committed
75
  background-color: #463265;
Mark Otto's avatar
Mark Otto committed
76
}
Mark Otto's avatar
Mark Otto committed
77
.bs-docs-nav .navbar-toggle {
Mark Otto's avatar
Mark Otto committed
78
  border-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
79
80
}
.bs-docs-nav .navbar-toggle:hover {
Mark Otto's avatar
Mark Otto committed
81
82
  background-color: #463265;
  border-color: #463265;
Mark Otto's avatar
Mark Otto committed
83
84
}

85
86
87
88
/* Old docs callout */
.bs-old-docs {
  padding: 15px 20px;
  color: #777;
Mark Otto's avatar
Mark Otto committed
89
  background-color: #fafafa;
90
91
92
93
94
  border-bottom: 1px solid #e5e5e5;
}
.bs-old-docs strong {
  color: #555;
}
95
.bs-docs-home .bs-old-docs {
96
97
  padding-top: 0;
  padding-bottom: 0;
98
  text-align: center;
99
100
101
102
103
104
105
106
107
108
109
110
  color: inherit;
  background-color: transparent;
  border-color: transparent;
}
.bs-docs-home .bs-old-docs a {
  color: #fff;
}

/* Homepage */
.bs-docs-home {
  color: #cdbfe3;
  background-color: #563d7c;
111
}
Mark Otto's avatar
Mark Otto committed
112

Mark Otto's avatar
Mark Otto committed
113

114
/* Homepage masthead
Mark Otto's avatar
Mark Otto committed
115
116
-------------------------------------------------- */

117
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
118
119
  position: relative;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
120
  text-align: center;
Mark Otto's avatar
Mark Otto committed
121
}
122
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
123
  font-size: 50px;
Mark Otto's avatar
Mark Otto committed
124
  line-height: 1;
125
  color: #fff;
Mark Otto's avatar
Mark Otto committed
126
127
128
}

/* Download button */
129
.bs-masthead .btn-outline {
130
  margin-top: 20px;
131
  margin-bottom: 20px;
Mark Otto's avatar
Mark Otto committed
132
133
134
135
  padding: 18px 24px;
  font-size: 21px;
}

136
/* Textual links */
137
138
139
140
.bs-social {
  margin-top: 30px;
  text-align: center;
}
141
.bs-masthead-links {
Mark Otto's avatar
Mark Otto committed
142
143
144
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
145
  list-style: none;
146
  text-align: center;
Mark Otto's avatar
Mark Otto committed
147
}
148
.bs-masthead-links li {
Mark Otto's avatar
Mark Otto committed
149
150
151
  display: inline;
  color: #999;
}
152
.bs-masthead-links li + li {
Mark Otto's avatar
Mark Otto committed
153
  margin-left: 20px;
Mark Otto's avatar
Mark Otto committed
154
}
155
156
157
.bs-masthead-links a {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
158
159


160

161
162
163
/* Customize and Download button
-------------------------------------------------- */

164
165
166
167
168
.bs-customizer .toggle {
  float: right;
}
.bs-customizer label {
  margin-top: 10px;
Mark Otto's avatar
Mark Otto committed
169
  font-weight: 500;
170
171
172
173
174
175
  color: #444;
}
.bs-customizer h2 {
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 30px;
Mark Otto's avatar
Mark Otto committed
176
177
178
179
180
181
}
.bs-customizer h4 {
  margin-top: 15px;
}
.bs-customizer input[type="text"] {
  background-color: #fafafa;
182
}
183
184
185
.bs-customizer .help-block {
  font-size: 12px;
}
186

187
.bs-customize-download {
188
  text-align: center;
189
190
191
192
}



193
/* Docs pages and sections
Mark Otto's avatar
Mark Otto committed
194
195
-------------------------------------------------- */

196
/* Page headers */
Mark Otto's avatar
Mark Otto committed
197
.bs-header {
Mark Otto's avatar
Mark Otto committed
198
  padding: 30px 30px 40px;
Mark Otto's avatar
Mark Otto committed
199
200
  font-size: 16px;
  color: #5a5a5a;
Mark Otto's avatar
Mark Otto committed
201
  text-align: center;
202
  border-bottom: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
203
}
Mark Otto's avatar
Mark Otto committed
204
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
205
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
206
}
Mark Otto's avatar
Mark Otto committed
207
.bs-header p {
Mark Otto's avatar
Mark Otto committed
208
209
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
210
}
Mark Otto's avatar
Mark Otto committed
211
212
213
214
.bs-header .container {
  position: relative;
}

Mark Otto's avatar
Mark Otto committed
215
.bs-docs-section + .bs-docs-section {
216
  padding-top: 80px;
Mark Otto's avatar
Mark Otto committed
217
218
}

Mark Otto's avatar
Mark Otto committed
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/* Ads in page headers */
.carbonad {
  width: auto !important;
  margin: 50px -30px -40px !important;
  padding: 20px !important;
  overflow: hidden; /* clearfix */
  height: auto !important;
  font-size: 13px !important;
  line-height: 16px !important;
  text-align: left;
  background: none !important;
  border: 0 !important;
  border-top: 1px solid #e5e5e5 !important;
}
.carbonad-img {
  margin: 0 !important;
}
.carbonad-text,
.carbonad-tag {
  float: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin-left: 145px !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.carbonad-text {
  padding-top: 0 !important;
}
.carbonad-tag {
  text-align: left !important;
}
.carbonad #azcarbon > img {
  display: none; /* hide what I assume are tracking images */
}
254

Mark Otto's avatar
Mark Otto committed
255
256


257
/* Docs sidebar
Mark Otto's avatar
Mark Otto committed
258
259
-------------------------------------------------- */

260
261
262
263
264
265
266
267
268
/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
269
270
  padding-top:    10px;
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
271
  text-shadow: 0 1px 0 #fff;
Mark Otto's avatar
Mark Otto committed
272
  background-color: #f7f5fa;
Mark Otto's avatar
Mark Otto committed
273
  border-radius: 5px;
Mark Otto's avatar
Mark Otto committed
274
}
275
276
277

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
278
  display: block;
Mark Otto's avatar
Mark Otto committed
279
  color: #716b7a;
Mark Otto's avatar
Mark Otto committed
280
  padding: 5px 20px;
281
}
282
283
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
284
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
285
286
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
Mark Otto's avatar
Mark Otto committed
287
}
288
289
290
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
291
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
292
  color: #563d7c;
293
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
294
  border-right: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
295
296
}

Mark Otto's avatar
Mark Otto committed
297
/* Nav: second level (shown on .active) */
298
.bs-sidebar .nav .nav {
299
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
300
  margin-bottom: 8px;
Mark Otto's avatar
Mark Otto committed
301
}
302
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
303
304
  padding-top:    3px;
  padding-bottom: 3px;
Mark Otto's avatar
Mark Otto committed
305
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
306
307
308
  font-size: 90%;
}

Mark Otto's avatar
Mark Otto committed
309

310

Mark Otto's avatar
Mark Otto committed
311
312
313
/* Side notes for calling out things
-------------------------------------------------- */

314
/* Base styles (regardless of theme) */
Mark Otto's avatar
Mark Otto committed
315
.bs-callout {
Mark Otto's avatar
Mark Otto committed
316
317
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
318
  border-left: 5px solid #eee;
Mark Otto's avatar
Mark Otto committed
319
}
Mark Otto's avatar
Mark Otto committed
320
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
321
322
  margin-top: 0;
}
Mark Otto's avatar
Mark Otto committed
323
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
324
325
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
326
327
.bs-callout code,
.bs-callout .highlight {
Mark Otto's avatar
Mark Otto committed
328
329
330
  background-color: #fff;
}

331
332
333
/* Themes for different contexts */
.bs-callout-danger {
  background-color: #fcf2f2;
334
  border-color: #dFb5b4;
335
336
337
}
.bs-callout-warning {
  background-color: #fefbed;
338
  border-color: #f1e7bc;
339
340
}
.bs-callout-info {
341
  background-color: #f0f7fd;
342
  border-color: #d0e3f0;
343
344
}

Mark Otto's avatar
Mark Otto committed
345
346


347
348
349
350
351
352
/* Special grid styles
-------------------------------------------------- */

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
353
.show-grid [class^="col-"] {
354
355
356
357
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
358
359
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
360
361
362
363
}



Mark Otto's avatar
Mark Otto committed
364
365
366
367
/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
Mark Otto's avatar
Mark Otto committed
368
.bs-example {
Mark Otto's avatar
Mark Otto committed
369
  position: relative;
370
  padding: 45px 15px 15px;
Mark Otto's avatar
Mark Otto committed
371
  margin: 0 -15px 15px;
372
373
374
375
376
  background-color: #fafafa;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  border-color: #e5e5e5 #eee #eee;
  border-style: solid;
  border-width: 1px 0;
Mark Otto's avatar
Mark Otto committed
377
378
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
379
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
380
381
  content: "Example";
  position: absolute;
382
383
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
384
385
  font-size: 12px;
  font-weight: bold;
386
387
388
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
389
390
391
}

/* Tweak display of the examples */
Mark Otto's avatar
Mark Otto committed
392
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
393
  margin: -15px -15px 15px;
Mark Otto's avatar
Mark Otto committed
394
395
  border-radius: 0;
  border-width: 0 0 1px;
Mark Otto's avatar
Mark Otto committed
396
397
398
}

/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
399
400
401
402
403
404
405
406
.bs-example > p:last-child,
.bs-example > ul:last-child,
.bs-example > ol:last-child,
.bs-example > blockquote:last-child,
.bs-example > input:last-child,
.bs-example > select:last-child,
.bs-example > textarea:last-child,
.bs-example > .table:last-child,
407
.bs-example > .navbar:last-child
Mark Otto's avatar
Mark Otto committed
408
409
410
411
412
.bs-example > .jumbotron:last-child,
.bs-example > .alert:last-child,
.bs-example > .panel:last-child,
.bs-example > .list-group:last-child,
.bs-example > .well:last-child {
Mark Otto's avatar
Mark Otto committed
413
414
  margin-bottom: 0;
}
415
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
416
417
  float: none;
}
Mark Otto's avatar
Mark Otto committed
418

419
/* Typography */
420
.bs-example-type .table td:last-child {
421
422
423
  color: #999;
  vertical-align: middle;
}
424
.bs-example-type .table td {
425
426
427
  padding: 15px 0;
  border-color: #eee;
}
428
.bs-example-type .table tr:first-child td {
429
430
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
431
432
433
434
435
436
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
437
438
439
  margin: 0;
}

440
441
442
443
444
445
/* Buttons */
.bs-example > .btn {
  margin-top: 5px;
  margin-bottom: 5px;
}

446
/* Forms */
447
.bs-example-control-sizing select,
448
449
450
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
451
452
453
.bs-example-form .input-group {
  margin-bottom: 10px;
}
454

Mark Otto's avatar
Mark Otto committed
455
/* List groups */
Mark Otto's avatar
Mark Otto committed
456
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
457
458
  max-width: 400px;
}
459

Mark Otto's avatar
Mark Otto committed
460
/* Navbar examples */
461
462
463
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
464
465
466
467
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
468
  min-height: 110px;
Mark Otto's avatar
Mark Otto committed
469
470
471
472
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
473
  position: relative;
Mark Otto's avatar
Mark Otto committed
474
475
476
  margin-left: 0;
  margin-right: 0;
}
477
478
479
480
481
482
.bs-navbar-top-example .navbar-fixed-top {
  top: -1px;
}
.bs-navbar-bottom-example .navbar-fixed-bottom {
  bottom: -1px;
}
Mark Otto's avatar
Mark Otto committed
483
484
485
486
487
488
489
.bs-navbar-top-example {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}
.bs-navbar-top-example:after {
  top: auto;
490
  bottom: 15px;
Mark Otto's avatar
Mark Otto committed
491
492
493
494
495
496
497
498
499
500
501
502
503
504
  -webkit-border-radius: 0 4px 0 4px;
     -moz-border-radius: 0 4px 0 4px;
          border-radius: 0 4px 0 4px;
}
.bs-navbar-bottom-example {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}

/* Example modals */
Mark Otto's avatar
Mark Otto committed
505
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
506
507
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
508
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
509
510
511
512
513
514
515
516
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
517
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
518
519
520
521
522
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
523
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
524
525
526
.bs-example > .dropdown > .dropdown-menu,
.bs-example-submenu > .pull-left > .dropup > .dropdown-menu,
.bs-example-submenu > .pull-left > .dropdown > .dropdown-menu {
Mark Otto's avatar
Mark Otto committed
527
528
529
530
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
531
.bs-example-submenu {
532
  min-height: 230px;
Mark Otto's avatar
Mark Otto committed
533
}
Mark Otto's avatar
Mark Otto committed
534
.bs-example-submenu > .pull-left + .pull-left {
Mark Otto's avatar
Mark Otto committed
535
536
  margin-left: 20px;
}
Mark Otto's avatar
Mark Otto committed
537

538
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
539
.bs-example-tabs .nav-tabs {
540
541
542
  margin-bottom: 15px;
}

543
/* Tooltips */
544
.bs-example-tooltips {
545
546
547
548
  text-align: center;
}

/* Popovers */
Mark Otto's avatar
Mark Otto committed
549
.bs-example-popover {
550
551
552
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
553
.bs-example-popover .popover {
554
555
556
557
558
559
560
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
561
562
563
564

/* Responsive docs
-------------------------------------------------- */

565
566
567
568
/* Responsive (scrollable) doc tables */
@media (max-width: 768px) {
  .bs-table-scrollable {
    width: 100%;
569
    margin-bottom: 15px;
570
571
572
573
    overflow-y: hidden;
    overflow-x: scroll;
    border: 1px solid #ddd;
  }
574
  .bs-table-scrollable .table {
575
576
577
    margin-bottom: 0;
    border: 0;
  }
578
579
  .bs-table-scrollable .table th,
  .bs-table-scrollable .table td {
580
581
    white-space: nowrap;
  }
582
583
  .bs-table-scrollable .table th:first-child,
  .bs-table-scrollable .table td:first-child {
584
585
    border-left: 0;
  }
586
587
  .bs-table-scrollable .table th:last-child,
  .bs-table-scrollable .table td:last-child {
588
589
    border-right: 0;
  }
590
591
  .bs-table-scrollable .table tr:last-child th,
  .bs-table-scrollable .table tr:last-child td {
592
593
594
    border-bottom: 0;
  }
}
595
596
597
598
.bs-table-scrollable .highlight pre {
  white-space: normal;
}

599

Mark Otto's avatar
Mark Otto committed
600
601
602
603
604
605
606
607
/* Related: responsive utilities tables */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Utility classes table
------------------------- */
Mark Otto's avatar
Mark Otto committed
608
.bs-table th small,
Mark Otto's avatar
Mark Otto committed
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
.responsive-utilities th small {
  display: block;
  font-weight: normal;
  color: #999;
}
.responsive-utilities tbody th {
  font-weight: normal;
}
.responsive-utilities td {
  text-align: center;
}
.responsive-utilities td.is-visible {
  color: #468847;
  background-color: #dff0d8 !important;
}
.responsive-utilities td.is-hidden {
  color: #ccc;
  background-color: #f9f9f9 !important;
}

/* Responsive tests
------------------------- */
.responsive-utilities-test {
  margin-top: 5px;
}
634
635
.responsive-utilities-test .col-xs-6 {
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
636
637
}
.responsive-utilities-test span {
638
  padding: 15px 10px;
639
640
641
642
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
643
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
644
}
645
646
647
648
649
650
651
.responsive-utilities-test.visible-on [class*="hidden"],
.responsive-utilities-test.hidden-on [class*="visible"] {
  color: #999;
  border: 1px solid #ddd;
}
.responsive-utilities-test.visible-on [class*="visible"],
.responsive-utilities-test.hidden-on [class*="hidden"] {
Mark Otto's avatar
Mark Otto committed
652
653
654
655
656
657
658
659
660
661
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



/* Footer
-------------------------------------------------- */

662
.bs-footer {
Mark Otto's avatar
Mark Otto committed
663
  padding-top: 40px;
664
  padding-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
665
  margin-top: 100px;
Mark Otto's avatar
Mark Otto committed
666
  text-align: center;
Mark Otto's avatar
Mark Otto committed
667
668
  border-top: 1px solid #e5e5e5;
}
669
.bs-footer p {
Mark Otto's avatar
Mark Otto committed
670
671
672
673
674
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
675
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
676
677
678
679
680
681
682
683
684
685
}
.footer-links li {
  display: inline;
  padding: 0 2px;
}
.footer-links li:first-child {
  padding-left: 0;
}

/* Social proof buttons from GitHub & Twitter */
Mark Otto's avatar
Mark Otto committed
686
.bs-social {
Mark Otto's avatar
Mark Otto committed
687
688
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
689
.bs-social-buttons {
Mark Otto's avatar
Mark Otto committed
690
  display: inline-block;
691
692
  margin-bottom: 0;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
693
694
  list-style: none;
}
Mark Otto's avatar
Mark Otto committed
695
.bs-social-buttons li {
Mark Otto's avatar
Mark Otto committed
696
697
698
  display: inline-block;
  line-height: 1;
}
Mark Otto's avatar
Mark Otto committed
699
.bs-social-buttons li + li {
Mark Otto's avatar
Mark Otto committed
700
701
  margin-left: 15px;
}
Mark Otto's avatar
Mark Otto committed
702
.bs-social-buttons .twitter-follow-button {
Mark Otto's avatar
Mark Otto committed
703
704
  width: 225px !important;
}
Mark Otto's avatar
Mark Otto committed
705
.bs-social-buttons .twitter-share-button {
Mark Otto's avatar
Mark Otto committed
706
707
  width: 98px !important;
}
708
709
710
711
712
/* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn {
  border: 0;
  overflow: hidden;
}
Mark Otto's avatar
Mark Otto committed
713
714
715
716
717
718
719



/* Misc docs stuff
-------------------------------------------------- */

/* Pseudo :focus state for showing how it looks in the docs */
720
#focusedInput {
Mark Otto's avatar
Mark Otto committed
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
  border-color: rgba(82,168,236,.8);
  outline: 0;
  outline: thin dotted \9; /* IE6-9 */
  -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);
       box-shadow: 0 0 8px rgba(82,168,236,.6);
}

/* Scrollspy demo on fixed height div */
.scrollspy-example {
  position: relative;
  height: 200px;
  margin-top: 10px;
  overflow: auto;
}

736
.highlight {
737
  padding: 9px 14px;
738
  margin-bottom: 14px;
739
740
741
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
742
743
744
}
.highlight pre {
  padding: 0;
Mark Otto's avatar
Mark Otto committed
745
  margin-top: 0;
746
747
748
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
749
  white-space: nowrap;
750
751
}
.highlight pre code {
752
753
754
755
756
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
757
  width: 22px;
758
759
760
761
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
762
763
}

Mark Otto's avatar
Mark Otto committed
764
765
766
767
/* Better spacing on download options in getting started */
.bs-docs-dl-options h4 {
  margin-top: 15px;
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
768
769
}

Mark Otto's avatar
Mark Otto committed
770

Mark Otto's avatar
Mark Otto committed
771
772
773
/* Responsive variations
-------------------------------------------------- */

774
775
776
777
778
779
780
/* Hide code snippets on mobile devices */
@media screen and (max-width: 480px) {
  .highlight {
    display: none;
  }
}

Mark Otto's avatar
Mark Otto committed
781
782
783
/* Tablets and up */
@media screen and (min-width: 768px) {

Mark Otto's avatar
Mark Otto committed
784
  .bs-header {
Mark Otto's avatar
Mark Otto committed
785
    font-size: 21px;
Mark Otto's avatar
Mark Otto committed
786
    text-align: left;
Mark Otto's avatar
Mark Otto committed
787
  }
Mark Otto's avatar
Mark Otto committed
788
  .bs-header h1 {
Mark Otto's avatar
Mark Otto committed
789
    font-size: 60px;
790
791
792
    line-height: 1;
  }

793
794
795
796
797
798
799
800
801
  .bs-example {
    margin-left: 0;
    margin-right: 0;
    background-color: #fff;
    border-width: 1px;
    border-color: #ddd;
    border-radius: 4px 4px 0 0;
    box-shadow: none;
  }
Mark Otto's avatar
Mark Otto committed
802
803
  .bs-example + .prettyprint,
  .bs-example + .highlight {
804
    margin-top: -1px;
Mark Otto's avatar
Mark Otto committed
805
806
807
808
809
810
    margin-left: 0;
    margin-right: 0;
    border-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
811

Mark Otto's avatar
Mark Otto committed
812
813
814
815
816
817
  .carbonad {
    margin: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px;
  }

818
  /* Show the docs nav */
819
  .bs-sidebar {
820
821
822
    display: block;
  }

Mark Otto's avatar
Mark Otto committed
823
  /* Tweak display of docs jumbotrons */
824
  .bs-masthead {
825
826
    padding-top:    140px;
    padding-bottom: 140px;
Mark Otto's avatar
Mark Otto committed
827
  }
828
  .bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
829
830
    font-size: 100px;
  }
831
  .bs-masthead .lead {
Mark Otto's avatar
center    
Mark Otto committed
832
833
    margin-left: 15%;
    margin-right: 15%;
Mark Otto's avatar
Mark Otto committed
834
835
836
    font-size: 30px;
  }

837
838
839
840
841
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }

Mark Otto's avatar
Mark Otto committed
842
843
844
845
}

/* Tablets/desktops and up */
@media screen and (min-width: 992px) {
846
847
848
849
850
851
852
853
854
855
856
857
  .bs-header h1,
  .bs-header p {
    margin-right: 380px;
  }
  .carbonad {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 15px !important;
    width: 330px !important;
    min-height: 132px;
  }
Mark Otto's avatar
Mark Otto committed
858

859
860
861
862
  /* Show the hidden subnavs when space allows it */
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
863
  /* Widen the fixed sidebar */
fat's avatar
fat committed
864
865
866
867
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
868
  .bs-sidebar.affix {
869
    position: fixed; /* Undo the static from mobile-first approach */
fat's avatar
fat committed
870
871
872
873
874
875
876
877
878
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile-first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
879
  }
Mark Otto's avatar
Mark Otto committed
880
881
882
883
}

/* Large desktops and up */
@media screen and (min-width: 1200px) {
884

885
  /* Widen the fixed sidebar again */
fat's avatar
fat committed
886
  .bs-sidebar.affix-bottom,
887
  .bs-sidebar.affix {
888
    width: 263px;
889
890
  }

891
}