docs.css 16.6 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
/* 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
37
38
39
40
41


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

Mark Otto's avatar
Mark Otto committed
42
.bs-docs-nav {
Mark Otto's avatar
Mark Otto committed
43
  background-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
44
}
Mark Otto's avatar
Mark Otto committed
45
46
47
.bs-docs-nav .navbar-brand {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
48
.bs-docs-nav .navbar-nav > li > a {
Mark Otto's avatar
Mark Otto committed
49
  color: #cdbfe3;
Mark Otto's avatar
Mark Otto committed
50
51
}
.bs-docs-nav .navbar-nav > li > a:hover {
Mark Otto's avatar
Mark Otto committed
52
53
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
54
55
.bs-docs-nav .navbar-nav > .active > a,
.bs-docs-nav .navbar-nav > .active > a:hover {
Mark Otto's avatar
Mark Otto committed
56
  color: #fff;
Mark Otto's avatar
Mark Otto committed
57
  background-color: #463265;
Mark Otto's avatar
Mark Otto committed
58
}
Mark Otto's avatar
Mark Otto committed
59
.bs-docs-nav .navbar-toggle {
Mark Otto's avatar
Mark Otto committed
60
  border-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
61
62
}
.bs-docs-nav .navbar-toggle:hover {
Mark Otto's avatar
Mark Otto committed
63
64
  background-color: #463265;
  border-color: #463265;
Mark Otto's avatar
Mark Otto committed
65
66
}

67
68
69
70
/* Old docs callout */
.bs-old-docs {
  padding: 15px 20px;
  color: #777;
Mark Otto's avatar
Mark Otto committed
71
  background-color: #fafafa;
72
73
74
75
76
  border-bottom: 1px solid #e5e5e5;
}
.bs-old-docs strong {
  color: #555;
}
77
78
79
80
.bs-docs-home .bs-old-docs {
  text-align: center;
  border-top: 1px solid #e5e5e5;
}
Mark Otto's avatar
Mark Otto committed
81

Mark Otto's avatar
Mark Otto committed
82

83
/* Homepage masthead
Mark Otto's avatar
Mark Otto committed
84
85
-------------------------------------------------- */

86
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
87
88
  position: relative;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
89
  text-align: center;
Mark Otto's avatar
Mark Otto committed
90
}
91
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
92
  font-size: 50px;
Mark Otto's avatar
Mark Otto committed
93
  line-height: 1;
Mark Otto's avatar
Mark Otto committed
94
95
96
}

/* Download button */
97
.bs-masthead .btn-bs {
Mark Otto's avatar
Mark Otto committed
98
99
  margin-top: 5px;
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
100
101
102
103
  padding: 18px 24px;
  font-size: 21px;
}

104
/* Textual links */
105
106
107
108
.bs-social {
  margin-top: 30px;
  text-align: center;
}
109
.bs-masthead-links {
Mark Otto's avatar
Mark Otto committed
110
111
112
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
113
  list-style: none;
114
  text-align: center;
Mark Otto's avatar
Mark Otto committed
115
}
116
.bs-masthead-links li {
Mark Otto's avatar
Mark Otto committed
117
118
119
  display: inline;
  color: #999;
}
120
.bs-masthead-links li + li {
Mark Otto's avatar
Mark Otto committed
121
  margin-left: 20px;
Mark Otto's avatar
Mark Otto committed
122
123
124
}


125

126
127
128
/* Customize and Download button
-------------------------------------------------- */

129
130
131
132
133
.bs-customizer .toggle {
  float: right;
}
.bs-customizer label {
  margin-top: 10px;
Mark Otto's avatar
Mark Otto committed
134
  font-weight: 500;
135
136
137
138
139
140
  color: #444;
}
.bs-customizer h2 {
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 30px;
Mark Otto's avatar
Mark Otto committed
141
142
143
144
145
146
}
.bs-customizer h4 {
  margin-top: 15px;
}
.bs-customizer input[type="text"] {
  background-color: #fafafa;
147
}
148
149
150
.bs-customizer .help-block {
  font-size: 12px;
}
151

152
.bs-customize-download {
153
  text-align: center;
154
155
156
157
}



158
/* Docs pages and sections
Mark Otto's avatar
Mark Otto committed
159
160
-------------------------------------------------- */

161
/* Page headers */
Mark Otto's avatar
Mark Otto committed
162
.bs-header {
Mark Otto's avatar
Mark Otto committed
163
  padding: 30px 30px 40px;
Mark Otto's avatar
Mark Otto committed
164
165
  font-size: 16px;
  color: #5a5a5a;
Mark Otto's avatar
Mark Otto committed
166
  text-align: center;
167
  border-bottom: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
168
}
Mark Otto's avatar
Mark Otto committed
169
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
170
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
171
}
Mark Otto's avatar
Mark Otto committed
172
.bs-header p {
Mark Otto's avatar
Mark Otto committed
173
174
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
175
}
Mark Otto's avatar
Mark Otto committed
176
177
178
179
.bs-header .container {
  position: relative;
}

Mark Otto's avatar
Mark Otto committed
180
181
182
183
.bs-docs-section + .bs-docs-section {
  margin-top: 80px;
}

Mark Otto's avatar
Mark Otto committed
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/* 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 */
}
219

Mark Otto's avatar
Mark Otto committed
220
221


222
/* Docs sidebar
Mark Otto's avatar
Mark Otto committed
223
224
-------------------------------------------------- */

225
226
227
228
229
230
231
232
233
/* 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
234
235
  padding-top:    10px;
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
236
  text-shadow: 0 1px 0 #fff;
Mark Otto's avatar
Mark Otto committed
237
  background-color: #f7f5fa;
Mark Otto's avatar
Mark Otto committed
238
  border-radius: 5px;
Mark Otto's avatar
Mark Otto committed
239
}
240
241
242

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
243
  display: block;
Mark Otto's avatar
Mark Otto committed
244
  color: #716b7a;
Mark Otto's avatar
Mark Otto committed
245
  padding: 5px 20px;
246
}
247
248
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
249
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
250
251
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
Mark Otto's avatar
Mark Otto committed
252
}
253
254
255
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
256
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
257
  color: #563d7c;
258
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
259
  border-right: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
260
261
}

Mark Otto's avatar
Mark Otto committed
262
/* Nav: second level (shown on .active) */
263
.bs-sidebar .nav .nav {
264
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
265
  margin-bottom: 8px;
Mark Otto's avatar
Mark Otto committed
266
}
267
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
268
269
  padding-top:    3px;
  padding-bottom: 3px;
Mark Otto's avatar
Mark Otto committed
270
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
271
272
273
  font-size: 90%;
}

Mark Otto's avatar
Mark Otto committed
274

275

Mark Otto's avatar
Mark Otto committed
276
277
278
/* Side notes for calling out things
-------------------------------------------------- */

279
/* Base styles (regardless of theme) */
Mark Otto's avatar
Mark Otto committed
280
.bs-callout {
Mark Otto's avatar
Mark Otto committed
281
282
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
283
  border-left: 5px solid #eee;
Mark Otto's avatar
Mark Otto committed
284
}
Mark Otto's avatar
Mark Otto committed
285
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
286
287
  margin-top: 0;
}
Mark Otto's avatar
Mark Otto committed
288
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
289
290
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
291
292
.bs-callout code,
.bs-callout .highlight {
Mark Otto's avatar
Mark Otto committed
293
294
295
  background-color: #fff;
}

296
297
298
/* Themes for different contexts */
.bs-callout-danger {
  background-color: #fcf2f2;
299
  border-color: #dFb5b4;
300
301
302
}
.bs-callout-warning {
  background-color: #fefbed;
303
  border-color: #f1e7bc;
304
305
}
.bs-callout-info {
306
  background-color: #f0f7fd;
307
  border-color: #d0e3f0;
308
309
}

Mark Otto's avatar
Mark Otto committed
310
311


312
313
314
315
316
317
/* Special grid styles
-------------------------------------------------- */

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
318
.show-grid [class^="col-"] {
319
320
321
322
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
323
324
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
325
326
327
328
}



Mark Otto's avatar
Mark Otto committed
329
330
331
332
/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
Mark Otto's avatar
Mark Otto committed
333
.bs-example {
Mark Otto's avatar
Mark Otto committed
334
  position: relative;
335
336
337
338
339
340
341
  padding: 45px 15px 15px;
  margin: 0 -15px -1px;
  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
342
343
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
344
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
345
346
  content: "Example";
  position: absolute;
347
348
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
349
350
  font-size: 12px;
  font-weight: bold;
351
352
353
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
354
355
356
}

/* Tweak display of the examples */
Mark Otto's avatar
Mark Otto committed
357
358
.bs-example + .prettyprint,
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
359
360
361
362
363
364
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
365
366
367
368
369
370
371
372
.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,
373
.bs-example > .navbar:last-child
Mark Otto's avatar
Mark Otto committed
374
375
376
377
378
.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
379
380
  margin-bottom: 0;
}
381
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
382
383
  float: none;
}
Mark Otto's avatar
Mark Otto committed
384

385
/* Typography */
Mark Otto's avatar
Mark Otto committed
386
.bs-example-type .table td {
387
388
389
  color: #999;
  vertical-align: middle;
}
Mark Otto's avatar
Mark Otto committed
390
391
.bs-example-type .table td,
.bs-example-type .table th {
392
393
394
  padding: 15px 0;
  border-color: #eee;
}
Mark Otto's avatar
Mark Otto committed
395
396
.bs-example-type .table tr:first-child td,
.bs-example-type .table tr:first-child th {
397
398
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
399
400
401
402
403
404
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
405
406
407
  margin: 0;
}

408
/* Forms */
409
410
411
.bs-example.form-inline select,
.bs-example.form-inline input[type="text"],
.bs-example.form-inline input[type="password"] {
412
413
  width: 180px;
}
414
.bs-example-control-sizing select,
415
416
417
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
418
419
420
.bs-example-form .input-group {
  margin-bottom: 10px;
}
421

Mark Otto's avatar
Mark Otto committed
422
/* List groups */
Mark Otto's avatar
Mark Otto committed
423
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
424
425
  max-width: 400px;
}
426

Mark Otto's avatar
Mark Otto committed
427
/* Navbar examples */
428
429
430
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
431
432
433
434
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
435
  min-height: 110px;
Mark Otto's avatar
Mark Otto committed
436
437
438
439
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
440
  position: relative;
Mark Otto's avatar
Mark Otto committed
441
442
443
  margin-left: 0;
  margin-right: 0;
}
444
445
446
447
448
449
.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
450
451
452
453
454
455
456
.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;
457
  bottom: 15px;
Mark Otto's avatar
Mark Otto committed
458
459
460
461
462
463
464
465
466
467
468
469
470
471
  -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
472
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
473
474
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
475
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
476
477
478
479
480
481
482
483
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
484
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
485
486
487
488
489
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
490
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
491
492
493
.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
494
495
496
497
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
498
.bs-example-submenu {
499
  min-height: 230px;
Mark Otto's avatar
Mark Otto committed
500
}
Mark Otto's avatar
Mark Otto committed
501
.bs-example-submenu > .pull-left + .pull-left {
Mark Otto's avatar
Mark Otto committed
502
503
  margin-left: 20px;
}
Mark Otto's avatar
Mark Otto committed
504

505
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
506
.bs-example-tabs .nav-tabs {
507
508
509
  margin-bottom: 15px;
}

510
/* Tooltips */
511
.bs-example-tooltips {
512
513
514
515
  text-align: center;
}

/* Popovers */
Mark Otto's avatar
Mark Otto committed
516
.bs-example-popover {
517
518
519
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
520
.bs-example-popover .popover {
521
522
523
524
525
526
527
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
528

Mark Otto's avatar
Mark Otto committed
529

Mark Otto's avatar
Mark Otto committed
530
531
532
/* Example templates
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
533
.bs-examples h4 {
Mark Otto's avatar
Mark Otto committed
534
535
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
536
.bs-examples p {
Mark Otto's avatar
Mark Otto committed
537
538
539
540
541
542
543
544
  margin-bottom: 20px;
}



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

545
546
547
548
/* Responsive (scrollable) doc tables */
@media (max-width: 768px) {
  .bs-table-scrollable {
    width: 100%;
549
    margin-bottom: 15px;
550
551
552
553
    overflow-y: hidden;
    overflow-x: scroll;
    border: 1px solid #ddd;
  }
554
  .bs-table-scrollable .table {
555
556
557
    margin-bottom: 0;
    border: 0;
  }
558
559
  .bs-table-scrollable .table th,
  .bs-table-scrollable .table td {
560
561
    white-space: nowrap;
  }
562
563
  .bs-table-scrollable .table th:first-child,
  .bs-table-scrollable .table td:first-child {
564
565
    border-left: 0;
  }
566
567
  .bs-table-scrollable .table th:last-child,
  .bs-table-scrollable .table td:last-child {
568
569
    border-right: 0;
  }
570
571
  .bs-table-scrollable .table tr:last-child th,
  .bs-table-scrollable .table tr:last-child td {
572
573
574
575
    border-bottom: 0;
  }
}

Mark Otto's avatar
Mark Otto committed
576
577
578
579
580
581
582
583
/* Related: responsive utilities tables */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Utility classes table
------------------------- */
Mark Otto's avatar
Mark Otto committed
584
.bs-table th small,
Mark Otto's avatar
Mark Otto committed
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
.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;
609
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
610
611
612
613
614
615
616
617
618
619
620
621
  list-style: none;
  overflow: hidden; /* clear floats */
}
.responsive-utilities-test li {
  position: relative;
  float: left;
  width: 25%;
}
.responsive-utilities-test li + li {
  margin-left: 10px;
}
.responsive-utilities-test span {
622
  padding: 15px 10px;
623
624
625
626
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
627
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
628
}
629
630
631
632
633
634
635
.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
636
637
638
639
640
641
642
643
644
645
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



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

646
.bs-footer {
Mark Otto's avatar
Mark Otto committed
647
  padding-top: 40px;
648
  padding-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
649
  margin-top: 100px;
Mark Otto's avatar
Mark Otto committed
650
  text-align: center;
Mark Otto's avatar
Mark Otto committed
651
652
  border-top: 1px solid #e5e5e5;
}
653
.bs-footer p {
Mark Otto's avatar
Mark Otto committed
654
655
656
657
658
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
659
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
660
661
662
663
664
665
666
667
668
669
}
.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
670
.bs-social {
Mark Otto's avatar
Mark Otto committed
671
672
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
673
.bs-social-buttons {
Mark Otto's avatar
Mark Otto committed
674
  display: inline-block;
675
676
  margin-bottom: 0;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
677
678
  list-style: none;
}
Mark Otto's avatar
Mark Otto committed
679
.bs-social-buttons li {
Mark Otto's avatar
Mark Otto committed
680
681
682
  display: inline-block;
  line-height: 1;
}
Mark Otto's avatar
Mark Otto committed
683
.bs-social-buttons li + li {
Mark Otto's avatar
Mark Otto committed
684
685
  margin-left: 15px;
}
Mark Otto's avatar
Mark Otto committed
686
.bs-social-buttons .twitter-follow-button {
Mark Otto's avatar
Mark Otto committed
687
688
  width: 225px !important;
}
Mark Otto's avatar
Mark Otto committed
689
.bs-social-buttons .twitter-share-button {
Mark Otto's avatar
Mark Otto committed
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
  width: 98px !important;
}



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

/* Pseudo :focus state for showing how it looks in the docs */
input.focused {
  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;
}

715
.highlight {
716
  padding: 9px 14px;
717
  margin-bottom: 14px;
718
719
720
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
721
722
723
}
.highlight pre {
  padding: 0;
Mark Otto's avatar
Mark Otto committed
724
  margin-top: 0;
725
726
727
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
728
  white-space: nowrap;
729
730
}
.highlight pre code {
731
732
733
734
735
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
736
  width: 22px;
737
738
739
740
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
741
742
}

Mark Otto's avatar
Mark Otto committed
743
744
745
746
/* 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
747
748
}

Mark Otto's avatar
Mark Otto committed
749

Mark Otto's avatar
Mark Otto committed
750
751
752
/* Responsive variations
-------------------------------------------------- */

753
754
755
756
757
758
759
/* Hide code snippets on mobile devices */
@media screen and (max-width: 480px) {
  .highlight {
    display: none;
  }
}

Mark Otto's avatar
Mark Otto committed
760
761
762
/* Tablets and up */
@media screen and (min-width: 768px) {

Mark Otto's avatar
Mark Otto committed
763
  .bs-header {
Mark Otto's avatar
Mark Otto committed
764
    font-size: 21px;
Mark Otto's avatar
Mark Otto committed
765
    text-align: left;
Mark Otto's avatar
Mark Otto committed
766
  }
Mark Otto's avatar
Mark Otto committed
767
  .bs-header h1 {
Mark Otto's avatar
Mark Otto committed
768
    font-size: 60px;
769
770
771
    line-height: 1;
  }

772
773
774
775
776
777
778
779
780
781
  .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
782
783
784
785
786
787
  .carbonad {
    margin: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px;
  }

788
  /* Show the docs nav */
789
  .bs-sidebar {
790
791
    display: block;
  }
792
793
794
795
  /* Show the hidden subnavs when space allows it */
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
796

Mark Otto's avatar
Mark Otto committed
797
  /* Tweak display of docs jumbotrons */
798
  .bs-masthead {
Mark Otto's avatar
Mark Otto committed
799
800
801
    padding-top:    100px;
    padding-bottom: 100px;
  }
802
  .bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
803
804
    font-size: 100px;
  }
805
  .bs-masthead p {
Mark Otto's avatar
center    
Mark Otto committed
806
807
    margin-left: 15%;
    margin-right: 15%;
Mark Otto's avatar
Mark Otto committed
808
809
810
    font-size: 30px;
  }

811
812
813
814
815
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }

Mark Otto's avatar
Mark Otto committed
816
817
818
819
}

/* Tablets/desktops and up */
@media screen and (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
820

821
  /* Widen the fixed sidebar */
fat's avatar
fat committed
822
823
824
825
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
826
  .bs-sidebar.affix {
827
    position: fixed; /* Undo the static from mobile-first approach */
fat's avatar
fat committed
828
829
830
831
832
833
834
835
836
    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;
837
  }
Mark Otto's avatar
Mark Otto committed
838
839
840
841
842
843
  .bs-header h1,
  .bs-header p {
    margin-right: 380px;
  }
  .carbonad {
    position: absolute;
Mark Otto's avatar
Mark Otto committed
844
    top: 20px;
Mark Otto's avatar
Mark Otto committed
845
846
847
848
    right: 0;
    padding: 15px !important;
    width: 330px !important;
    min-height: 132px;
Mark Otto's avatar
Mark Otto committed
849
850
  }

Mark Otto's avatar
Mark Otto committed
851
852
853
854
}

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

856
  /* Widen the fixed sidebar again */
fat's avatar
fat committed
857
  .bs-sidebar.affix-bottom,
858
859
860
861
  .bs-sidebar.affix {
    width: 270px;
  }

862
}