docs.css 17.7 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
.bs-docs-nav .navbar-collapse {
  border-color: #463265;
Mark Otto's avatar
Mark Otto committed
62
}
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;
Mark Otto's avatar
Mark Otto committed
111
112
113
114
  background-image: url("../img/map.png");
}
.bs-docs-home .navbar {
  background-color: transparent;
115
}
Mark Otto's avatar
Mark Otto committed
116

Mark Otto's avatar
Mark Otto committed
117

118
/* Homepage masthead
Mark Otto's avatar
Mark Otto committed
119
120
-------------------------------------------------- */

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

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

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


164

165
166
167
/* Customize and Download button
-------------------------------------------------- */

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

192
.bs-customize-download {
193
  text-align: center;
194
195
}

Mark Otto's avatar
Mark Otto committed
196
197
198
199
#less-section label {
  font-weight: normal;
}

200
201


202
/* Docs pages and sections
Mark Otto's avatar
Mark Otto committed
203
204
-------------------------------------------------- */

205
/* Page headers */
Mark Otto's avatar
Mark Otto committed
206
.bs-header {
Mark Otto's avatar
Mark Otto committed
207
  padding: 30px 30px 40px;
Mark Otto's avatar
Mark Otto committed
208
209
  font-size: 16px;
  color: #5a5a5a;
Mark Otto's avatar
Mark Otto committed
210
  text-align: center;
211
  border-bottom: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
212
}
Mark Otto's avatar
Mark Otto committed
213
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
214
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
215
}
Mark Otto's avatar
Mark Otto committed
216
.bs-header p {
Mark Otto's avatar
Mark Otto committed
217
218
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
219
}
Mark Otto's avatar
Mark Otto committed
220
221
222
223
.bs-header .container {
  position: relative;
}

Mark Otto's avatar
Mark Otto committed
224
.bs-docs-section + .bs-docs-section {
225
  padding-top: 80px;
Mark Otto's avatar
Mark Otto committed
226
227
}

Mark Otto's avatar
Mark Otto committed
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
254
255
256
257
258
259
260
261
262
/* 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 */
}
263

Mark Otto's avatar
Mark Otto committed
264
265


266
/* Docs sidebar
Mark Otto's avatar
Mark Otto committed
267
268
-------------------------------------------------- */

269
270
271
272
273
274
275
276
277
/* 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
278
279
  padding-top:    10px;
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
280
  text-shadow: 0 1px 0 #fff;
Mark Otto's avatar
Mark Otto committed
281
  background-color: #f7f5fa;
Mark Otto's avatar
Mark Otto committed
282
  border-radius: 5px;
Mark Otto's avatar
Mark Otto committed
283
}
284
285
286

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
287
  display: block;
Mark Otto's avatar
Mark Otto committed
288
  color: #716b7a;
Mark Otto's avatar
Mark Otto committed
289
  padding: 5px 20px;
290
}
291
292
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
293
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
294
295
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
Mark Otto's avatar
Mark Otto committed
296
}
297
298
299
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
300
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
301
  color: #563d7c;
302
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
303
  border-right: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
304
305
}

Mark Otto's avatar
Mark Otto committed
306
/* Nav: second level (shown on .active) */
307
.bs-sidebar .nav .nav {
308
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
309
  margin-bottom: 8px;
Mark Otto's avatar
Mark Otto committed
310
}
311
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
312
313
  padding-top:    3px;
  padding-bottom: 3px;
Mark Otto's avatar
Mark Otto committed
314
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
315
316
317
  font-size: 90%;
}

Mark Otto's avatar
Mark Otto committed
318

319

Mark Otto's avatar
Mark Otto committed
320
321
322
/* Side notes for calling out things
-------------------------------------------------- */

323
/* Base styles (regardless of theme) */
Mark Otto's avatar
Mark Otto committed
324
.bs-callout {
Mark Otto's avatar
Mark Otto committed
325
326
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
327
  border-left: 5px solid #eee;
Mark Otto's avatar
Mark Otto committed
328
}
Mark Otto's avatar
Mark Otto committed
329
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
330
331
  margin-top: 0;
}
Mark Otto's avatar
Mark Otto committed
332
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
333
334
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
335
336
.bs-callout code,
.bs-callout .highlight {
Mark Otto's avatar
Mark Otto committed
337
338
339
  background-color: #fff;
}

340
341
342
/* Themes for different contexts */
.bs-callout-danger {
  background-color: #fcf2f2;
343
  border-color: #dFb5b4;
344
345
346
}
.bs-callout-warning {
  background-color: #fefbed;
347
  border-color: #f1e7bc;
348
349
}
.bs-callout-info {
350
  background-color: #f0f7fd;
351
  border-color: #d0e3f0;
352
353
}

Mark Otto's avatar
Mark Otto committed
354

355
356
357
358
359
360
361
362
363
364
365
/* Examples grid
-------------------------------------------------- */

.bs-examples h4 {
  margin-bottom: 5px;
}
.bs-examples p {
  margin-bottom: 20px;
}


Mark Otto's avatar
Mark Otto committed
366

367
368
369
370
371
372
/* Special grid styles
-------------------------------------------------- */

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
373
.show-grid [class^="col-"] {
374
375
376
377
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
378
379
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
380
381
382
383
}



Mark Otto's avatar
Mark Otto committed
384
385
386
387
/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
Mark Otto's avatar
Mark Otto committed
388
.bs-example {
Mark Otto's avatar
Mark Otto committed
389
  position: relative;
390
  padding: 45px 15px 15px;
Mark Otto's avatar
Mark Otto committed
391
  margin: 0 -15px 15px;
392
393
394
395
396
  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
397
398
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
399
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
400
401
  content: "Example";
  position: absolute;
402
403
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
404
405
  font-size: 12px;
  font-weight: bold;
406
407
408
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
409
410
411
}

/* Tweak display of the examples */
Mark Otto's avatar
Mark Otto committed
412
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
413
  margin: -15px -15px 15px;
Mark Otto's avatar
Mark Otto committed
414
415
  border-radius: 0;
  border-width: 0 0 1px;
Mark Otto's avatar
Mark Otto committed
416
417
418
}

/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
419
420
421
422
.bs-example > p:last-child,
.bs-example > ul:last-child,
.bs-example > ol:last-child,
.bs-example > blockquote:last-child,
423
.bs-example > .form-control:last-child,
Mark Otto's avatar
Mark Otto committed
424
.bs-example > .table:last-child,
425
.bs-example > .navbar:last-child
Mark Otto's avatar
Mark Otto committed
426
427
428
429
.bs-example > .jumbotron:last-child,
.bs-example > .alert:last-child,
.bs-example > .panel:last-child,
.bs-example > .list-group:last-child,
430
431
.bs-example > .well:last-child,
.bs-example > .progress:last-child {
Mark Otto's avatar
Mark Otto committed
432
433
  margin-bottom: 0;
}
434
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
435
436
  float: none;
}
Mark Otto's avatar
Mark Otto committed
437

438
/* Typography */
439
.bs-example-type .table td:last-child {
440
441
442
  color: #999;
  vertical-align: middle;
}
443
.bs-example-type .table td {
444
445
446
  padding: 15px 0;
  border-color: #eee;
}
447
.bs-example-type .table tr:first-child td {
448
449
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
450
451
452
453
454
455
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
456
457
458
  margin: 0;
}

459
460
461
462
463
464
465
/* Images */
.bs-example > .img-circle,
.bs-example > .img-rounded,
.bs-example > .img-thumbnail {
  margin: 5px;
}

466
/* Buttons */
467
468
.bs-example > .btn,
.bs-example > .btn-group {
469
470
471
  margin-top: 5px;
  margin-bottom: 5px;
}
472
473
.bs-example > .btn-toolbar + .btn-toolbar {
  margin-top: 10px;
474
}
475

476
/* Forms */
477
.bs-example-control-sizing select,
478
479
480
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
481
482
483
.bs-example-form .input-group {
  margin-bottom: 10px;
}
Mark Otto's avatar
Mark Otto committed
484
485
486
.bs-example > textarea.form-control {
  resize: vertical;
}
487

Mark Otto's avatar
Mark Otto committed
488
/* List groups */
Mark Otto's avatar
Mark Otto committed
489
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
490
491
  max-width: 400px;
}
492

Mark Otto's avatar
Mark Otto committed
493
/* Navbar examples */
494
495
496
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
497
498
499
500
501
502
503
504
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
505
  position: relative;
Mark Otto's avatar
Mark Otto committed
506
507
508
509
  margin-left: 0;
  margin-right: 0;
}
.bs-navbar-top-example {
510
  padding-bottom: 45px;
Mark Otto's avatar
Mark Otto committed
511
512
513
}
.bs-navbar-top-example:after {
  top: auto;
514
  bottom: 15px;
515
}
516
517
.bs-navbar-top-example .navbar-fixed-top {
  top: -1px;
Mark Otto's avatar
Mark Otto committed
518
519
}
.bs-navbar-bottom-example {
520
521
  padding-top: 45px;
}
522
523
.bs-navbar-bottom-example .navbar-fixed-bottom {
  bottom: -1px;
Mark Otto's avatar
Mark Otto committed
524
525
526
527
528
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}

529
530
531
532
533
534
535
536
537
@media (min-width: 768px) {
  .bs-navbar-top-example {
    border-radius: 0 0 4px 4px;
  }
  .bs-navbar-bottom-example {
    border-radius: 4px 4px 0 0;
  }
}

Mark Otto's avatar
Mark Otto committed
538
/* Example modals */
Mark Otto's avatar
Mark Otto committed
539
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
540
541
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
542
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
543
544
545
546
547
548
549
550
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
551
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
552
553
554
555
556
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
557
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
558
.bs-example > .dropdown > .dropdown-menu {
Mark Otto's avatar
Mark Otto committed
559
560
561
562
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
563

564
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
565
.bs-example-tabs .nav-tabs {
566
567
568
  margin-bottom: 15px;
}

569
/* Tooltips */
570
.bs-example-tooltips {
571
572
  text-align: center;
}
573
574
575
576
.bs-example-tooltips > .btn {
  margin-top: 5px;
  margin-bottom: 5px;
}
577
578

/* Popovers */
Mark Otto's avatar
Mark Otto committed
579
.bs-example-popover {
580
581
582
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
583
.bs-example-popover .popover {
584
585
586
587
588
589
590
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
591
592
593
594

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

595
596
597
598
/* Responsive (scrollable) doc tables */
@media (max-width: 768px) {
  .bs-table-scrollable {
    width: 100%;
599
    margin-bottom: 15px;
600
601
602
603
    overflow-y: hidden;
    overflow-x: scroll;
    border: 1px solid #ddd;
  }
604
  .bs-table-scrollable .table {
605
606
607
    margin-bottom: 0;
    border: 0;
  }
608
609
  .bs-table-scrollable .table th,
  .bs-table-scrollable .table td {
610
611
    white-space: nowrap;
  }
612
613
  .bs-table-scrollable .table th:first-child,
  .bs-table-scrollable .table td:first-child {
614
615
    border-left: 0;
  }
616
617
  .bs-table-scrollable .table th:last-child,
  .bs-table-scrollable .table td:last-child {
618
619
    border-right: 0;
  }
620
621
  .bs-table-scrollable .table tr:last-child th,
  .bs-table-scrollable .table tr:last-child td {
622
623
624
    border-bottom: 0;
  }
}
625
626
627
628
.bs-table-scrollable .highlight pre {
  white-space: normal;
}

629

Mark Otto's avatar
Mark Otto committed
630
631
632
633
634
635
636
637
/* Related: responsive utilities tables */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Utility classes table
------------------------- */
Mark Otto's avatar
Mark Otto committed
638
.bs-table th small,
Mark Otto's avatar
Mark Otto committed
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
.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;
}
664
665
.responsive-utilities-test .col-xs-6 {
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
666
667
}
.responsive-utilities-test span {
668
  padding: 15px 10px;
669
670
671
672
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
673
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
674
}
Mark Otto's avatar
Mark Otto committed
675
676
677
678
679
680
681
682
.visible-on .col-xs-6 .hidden-xs,
.visible-on .col-xs-6 .hidden-sm,
.visible-on .col-xs-6 .hidden-md,
.visible-on .col-xs-6 .hidden-lg,
.hidden-on .col-xs-6 .visible-xs,
.hidden-on .col-xs-6 .visible-sm,
.hidden-on .col-xs-6 .visible-md,
.hidden-on .col-xs-6 .visible-lg {
683
684
685
  color: #999;
  border: 1px solid #ddd;
}
Mark Otto's avatar
Mark Otto committed
686
687
688
689
690
691
692
693
.visible-on .col-xs-6 .visible-xs,
.visible-on .col-xs-6 .visible-sm,
.visible-on .col-xs-6 .visible-md,
.visible-on .col-xs-6 .visible-lg,
.hidden-on .col-xs-6 .hidden-xs,
.hidden-on .col-xs-6 .hidden-sm,
.hidden-on .col-xs-6 .hidden-md,
.hidden-on .col-xs-6 .hidden-lg {
Mark Otto's avatar
Mark Otto committed
694
695
696
697
698
699
700
701
702
703
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



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

704
.bs-footer {
Mark Otto's avatar
Mark Otto committed
705
  padding-top: 40px;
706
  padding-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
707
  margin-top: 100px;
Mark Otto's avatar
Mark Otto committed
708
  text-align: center;
Mark Otto's avatar
Mark Otto committed
709
710
  border-top: 1px solid #e5e5e5;
}
711
.bs-footer p {
Mark Otto's avatar
Mark Otto committed
712
713
714
715
716
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
717
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
718
719
720
721
722
723
724
725
726
727
}
.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
728
.bs-social {
Mark Otto's avatar
Mark Otto committed
729
730
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
731
.bs-social-buttons {
Mark Otto's avatar
Mark Otto committed
732
  display: inline-block;
733
734
  margin-bottom: 0;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
735
736
  list-style: none;
}
Mark Otto's avatar
Mark Otto committed
737
.bs-social-buttons li {
Mark Otto's avatar
Mark Otto committed
738
739
740
  display: inline-block;
  line-height: 1;
}
Mark Otto's avatar
Mark Otto committed
741
.bs-social-buttons li + li {
Mark Otto's avatar
Mark Otto committed
742
743
  margin-left: 15px;
}
Mark Otto's avatar
Mark Otto committed
744
.bs-social-buttons .twitter-follow-button {
Mark Otto's avatar
Mark Otto committed
745
746
  width: 225px !important;
}
Mark Otto's avatar
Mark Otto committed
747
.bs-social-buttons .twitter-share-button {
Mark Otto's avatar
Mark Otto committed
748
749
  width: 98px !important;
}
750
751
752
753
754
/* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn {
  border: 0;
  overflow: hidden;
}
Mark Otto's avatar
Mark Otto committed
755
756
757
758
759
760
761



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

/* Pseudo :focus state for showing how it looks in the docs */
762
#focusedInput {
Mark Otto's avatar
Mark Otto committed
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
  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;
}

778
.highlight {
779
  padding: 9px 14px;
780
  margin-bottom: 14px;
781
782
783
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
784
785
786
}
.highlight pre {
  padding: 0;
Mark Otto's avatar
Mark Otto committed
787
  margin-top: 0;
788
789
790
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
791
  white-space: nowrap;
792
793
}
.highlight pre code {
794
795
796
797
798
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
799
  width: 22px;
800
801
802
803
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
804
805
}

Mark Otto's avatar
Mark Otto committed
806
807
808
809
/* 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
810
811
}

Mark Otto's avatar
Mark Otto committed
812

Mark Otto's avatar
Mark Otto committed
813
814
815
/* Responsive variations
-------------------------------------------------- */

816
817
818
819
820
821
822
/* Hide code snippets on mobile devices */
@media screen and (max-width: 480px) {
  .highlight {
    display: none;
  }
}

Mark Otto's avatar
Mark Otto committed
823
824
825
/* Tablets and up */
@media screen and (min-width: 768px) {

Mark Otto's avatar
Mark Otto committed
826
  .bs-header {
Mark Otto's avatar
Mark Otto committed
827
    font-size: 21px;
Mark Otto's avatar
Mark Otto committed
828
    text-align: left;
Mark Otto's avatar
Mark Otto committed
829
  }
Mark Otto's avatar
Mark Otto committed
830
  .bs-header h1 {
Mark Otto's avatar
Mark Otto committed
831
    font-size: 60px;
832
833
834
    line-height: 1;
  }

835
836
837
838
839
840
841
842
843
  .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
844
845
  .bs-example + .prettyprint,
  .bs-example + .highlight {
846
    margin-top: -16px;
Mark Otto's avatar
Mark Otto committed
847
848
849
850
851
852
    margin-left: 0;
    margin-right: 0;
    border-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
853

Mark Otto's avatar
Mark Otto committed
854
855
856
857
858
859
  .carbonad {
    margin: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px;
  }

860
  /* Show the docs nav */
861
  .bs-sidebar {
862
863
864
    display: block;
  }

Mark Otto's avatar
Mark Otto committed
865
  /* Tweak display of docs jumbotrons */
866
  .bs-masthead {
867
868
    padding-top:    140px;
    padding-bottom: 140px;
Mark Otto's avatar
Mark Otto committed
869
  }
870
  .bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
871
872
    font-size: 100px;
  }
873
  .bs-masthead .lead {
Mark Otto's avatar
center    
Mark Otto committed
874
875
    margin-left: 15%;
    margin-right: 15%;
Mark Otto's avatar
Mark Otto committed
876
877
878
    font-size: 30px;
  }

879
880
881
882
883
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }

Mark Otto's avatar
Mark Otto committed
884
885
886
887
}

/* Tablets/desktops and up */
@media screen and (min-width: 992px) {
888
889
890
891
892
893
894
895
896
897
898
899
  .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
900

901
902
903
904
  /* Show the hidden subnavs when space allows it */
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
905
  /* Widen the fixed sidebar */
fat's avatar
fat committed
906
907
908
909
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
910
  .bs-sidebar.affix {
911
    position: fixed; /* Undo the static from mobile-first approach */
fat's avatar
fat committed
912
913
914
915
916
917
918
919
920
    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;
921
  }
Mark Otto's avatar
Mark Otto committed
922
923
924
925
}

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

927
  /* Widen the fixed sidebar again */
fat's avatar
fat committed
928
  .bs-sidebar.affix-bottom,
929
  .bs-sidebar.affix {
930
    width: 263px;
931
932
  }

933
}