doc.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878
  1. /*!
  2. * Copyright 2013 Twitter, Inc.
  3. *
  4. * Licensed under the Creative Commons Attribution 3.0 Unported License. For
  5. * details, see http://creativecommons.org/licenses/by/3.0/.
  6. */
  7. /*
  8. * Carbon ads
  9. *
  10. * Single display ad that shows on all pages (except homepage) in page headers.
  11. * The hella `!important` is required for any pre-set property.
  12. */
  13. .carbonad {
  14. width: auto !important;
  15. margin: 50px -30px -40px !important;
  16. padding: 20px !important;
  17. overflow: hidden; /* clearfix */
  18. height: auto !important;
  19. font-size: 13px !important;
  20. line-height: 16px !important;
  21. text-align: left;
  22. background: #463265 !important;
  23. border: 0 !important;
  24. box-shadow: inset 0 3px 5px rgba(0,0,0,.075);
  25. }
  26. .carbonad-img {
  27. margin: 0 !important;
  28. }
  29. .carbonad-text,
  30. .carbonad-tag {
  31. float: none !important;
  32. display: block !important;
  33. width: auto !important;
  34. height: auto !important;
  35. margin-left: 145px !important;
  36. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  37. }
  38. .carbonad-text {
  39. padding-top: 0 !important;
  40. }
  41. .carbonad-tag {
  42. color: #cdbfe3 !important;
  43. text-align: left !important;
  44. }
  45. .carbonad-text a,
  46. .carbonad-tag a {
  47. color: #fff !important;
  48. }
  49. .carbonad #azcarbon > img {
  50. display: none; /* hide what I assume are tracking images */
  51. }
  52. @media (min-width: 768px) {
  53. .carbonad {
  54. margin: 0 !important;
  55. border-radius: 4px;
  56. box-shadow: inset 0 3px 5px rgba(0,0,0,.075), 0 1px 0 rgba(255,255,255,.1);
  57. }
  58. }
  59. @media (min-width: 992px) {
  60. .carbonad {
  61. position: absolute;
  62. top: 20px;
  63. right: 15px; /* 15px instead of 0 since box-sizing */
  64. padding: 15px !important;
  65. width: 330px !important;
  66. }
  67. }
  68. /* Homepage variations */
  69. .bs-docs-home .carbonad {
  70. margin: 0 -15px 40px !important;
  71. }
  72. @media (min-width: 480px) {
  73. .bs-docs-home .carbonad {
  74. width: 330px !important;
  75. margin: 0 auto 40px !important;
  76. border-radius: 4px;
  77. }
  78. }
  79. @media (min-width: 768px) {
  80. .bs-docs-home .carbonad {
  81. float: left;
  82. width: 330px !important;
  83. margin: 0 0 30px !important;
  84. }
  85. .bs-docs-home .bs-social,
  86. .bs-docs-home .bs-masthead-links {
  87. margin-left: 350px;
  88. }
  89. .bs-docs-home .bs-social {
  90. margin-bottom: 10px;
  91. }
  92. .bs-docs-home .bs-masthead-links {
  93. margin-top: 10px;
  94. }
  95. }
  96. @media (min-width: 992px) {
  97. .bs-docs-home .carbonad {
  98. position: static;
  99. }
  100. }
  101. @media (min-width: 1170px) {
  102. .bs-docs-home .carbonad {
  103. margin-top: -25px !important;
  104. }
  105. }
  106. /*
  107. * Callout for 2.3.2 docs
  108. *
  109. * Only appears below page headers (not on the homepage). The homepage gets its
  110. * own link with the masthead links.
  111. */
  112. .bs-old-docs {
  113. padding: 15px 20px;
  114. color: #777;
  115. background-color: #fafafa;
  116. border-top: 1px solid #fff;
  117. border-bottom: 1px solid #e5e5e5;
  118. }
  119. .bs-old-docs strong {
  120. color: #555;
  121. }
  122. /*
  123. * Side navigation
  124. *
  125. * Scrollspy and affixed enhanced navigation to highlight sections and secondary
  126. * sections of docs content.
  127. */
  128. /* By default it's not affixed in mobile views, so undo that */
  129. .bs-sidebar.affix {
  130. position: static;
  131. }
  132. /* First level of nav */
  133. .bs-sidenav {
  134. margin-top: 30px;
  135. margin-bottom: 30px;
  136. padding-top: 10px;
  137. padding-bottom: 10px;
  138. text-shadow: 0 1px 0 #fff;
  139. background-color: #f7f5fa;
  140. border-radius: 5px;
  141. }
  142. /* All levels of nav */
  143. .bs-sidebar .nav > li > a {
  144. display: block;
  145. color: #716b7a;
  146. padding: 5px 20px;
  147. }
  148. .bs-sidebar .nav > li > a:hover,
  149. .bs-sidebar .nav > li > a:focus {
  150. text-decoration: none;
  151. background-color: #e5e3e9;
  152. border-right: 1px solid #dbd8e0;
  153. }
  154. .bs-sidebar .nav > .active > a,
  155. .bs-sidebar .nav > .active:hover > a,
  156. .bs-sidebar .nav > .active:focus > a {
  157. font-weight: bold;
  158. color: #563d7c;
  159. background-color: transparent;
  160. border-right: 1px solid #563d7c;
  161. }
  162. /* Nav: second level (shown on .active) */
  163. .bs-sidebar .nav .nav {
  164. display: none; /* Hide by default, but at >768px, show it */
  165. margin-bottom: 8px;
  166. }
  167. .bs-sidebar .nav .nav > li > a {
  168. padding-top: 3px;
  169. padding-bottom: 3px;
  170. padding-left: 30px;
  171. font-size: 90%;
  172. }
  173. /* Show and affix the side nav when space allows it */
  174. @media (min-width: 992px) {
  175. .bs-sidebar .nav > .active > ul {
  176. display: block;
  177. }
  178. /* Widen the fixed sidebar */
  179. .bs-sidebar.affix,
  180. .bs-sidebar.affix-bottom {
  181. width: 213px;
  182. }
  183. .bs-sidebar.affix {
  184. position: fixed; /* Undo the static from mobile first approach */
  185. top: 80px;
  186. }
  187. .bs-sidebar.affix-bottom {
  188. position: absolute; /* Undo the static from mobile first approach */
  189. }
  190. .bs-sidebar.affix-bottom .bs-sidenav,
  191. .bs-sidebar.affix .bs-sidenav {
  192. margin-top: 0;
  193. margin-bottom: 0;
  194. }
  195. }
  196. @media (min-width: 1200px) {
  197. /* Widen the fixed sidebar again */
  198. .bs-sidebar.affix-bottom,
  199. .bs-sidebar.affix {
  200. width: 263px;
  201. }
  202. }
  203. /*
  204. * Docs sections
  205. *
  206. * Content blocks for each component or feature.
  207. */
  208. /* Space things out */
  209. .bs-docs-section + .bs-docs-section {
  210. padding-top: 40px;
  211. }
  212. /* Janky fix for preventing navbar from overlapping */
  213. h1[id] {
  214. padding-top: 80px;
  215. margin-top: -45px;
  216. }
  217. /*
  218. * Callouts
  219. *
  220. * Not quite alerts, but custom and helpful notes for folks reading the docs.
  221. * Requires a base and modifier class.
  222. */
  223. /* Common styles for all types */
  224. .bs-callout {
  225. margin: 20px 0;
  226. padding: 20px;
  227. border-left: 3px solid #eee;
  228. }
  229. .bs-callout h4 {
  230. margin-top: 0;
  231. margin-bottom: 5px;
  232. }
  233. .bs-callout p:last-child {
  234. margin-bottom: 0;
  235. }
  236. /* Variations */
  237. .bs-callout-danger {
  238. background-color: #fdf7f7;
  239. border-color: #eed3d7;
  240. }
  241. .bs-callout-danger h4 {
  242. color: #b94a48;
  243. }
  244. .bs-callout-warning {
  245. background-color: #faf8f0;
  246. border-color: #faebcc;
  247. }
  248. .bs-callout-warning h4 {
  249. color: #8a6d3b;
  250. }
  251. .bs-callout-info {
  252. background-color: #f4f8fa;
  253. border-color: #bce8f1;
  254. }
  255. .bs-callout-info h4 {
  256. color: #34789a;
  257. }
  258. /*
  259. * Team members
  260. *
  261. * Avatars, names, and usernames for core team.
  262. */
  263. .bs-team .team-member {
  264. color: #555;
  265. line-height: 32px;
  266. }
  267. .bs-team .team-member:hover {
  268. color: #333;
  269. text-decoration: none;
  270. }
  271. .bs-team .github-btn {
  272. float: right;
  273. margin-top: 6px;
  274. width: 120px;
  275. height: 20px;
  276. }
  277. .bs-team img {
  278. float: left;
  279. width: 32px;
  280. margin-right: 10px;
  281. border-radius: 4px;
  282. }
  283. /*
  284. * Grid examples
  285. *
  286. * Highlight the grid columns within the docs so folks can see their padding,
  287. * alignment, sizing, etc.
  288. */
  289. .show-grid {
  290. margin-bottom: 15px;
  291. }
  292. .show-grid [class^="col-"] {
  293. padding-top: 10px;
  294. padding-bottom: 10px;
  295. background-color: #eee;
  296. border: 1px solid #ddd;
  297. background-color: rgba(86,61,124,.15);
  298. border: 1px solid rgba(86,61,124,.2);
  299. }
  300. /*
  301. * Examples
  302. *
  303. * Isolated sections of example content for each component or feature. Usually
  304. * followed by a code snippet.
  305. */
  306. .bs-example {
  307. position: relative;
  308. padding: 45px 15px 15px;
  309. margin: 0 -15px 15px;
  310. background-color: #fafafa;
  311. box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  312. border-color: #e5e5e5 #eee #eee;
  313. border-style: solid;
  314. border-width: 1px 0;
  315. }
  316. /* Echo out a label for the example */
  317. .bs-example:after {
  318. content: "Example";
  319. position: absolute;
  320. top: 15px;
  321. left: 15px;
  322. font-size: 12px;
  323. font-weight: bold;
  324. color: #bbb;
  325. text-transform: uppercase;
  326. letter-spacing: 1px;
  327. }
  328. /* Tweak display of the code snippets when following an example */
  329. .bs-example + .highlight {
  330. margin: -15px -15px 15px;
  331. border-radius: 0;
  332. border-width: 0 0 1px;
  333. }
  334. /* Make the examples and snippets not full-width */
  335. @media (min-width: 768px) {
  336. .bs-example {
  337. margin-left: 0;
  338. margin-right: 0;
  339. background-color: #fff;
  340. border-width: 1px;
  341. border-color: #ddd;
  342. border-radius: 4px 4px 0 0;
  343. box-shadow: none;
  344. }
  345. .bs-example + .highlight {
  346. margin-top: -16px;
  347. margin-left: 0;
  348. margin-right: 0;
  349. border-width: 1px;
  350. border-bottom-left-radius: 4px;
  351. border-bottom-right-radius: 4px;
  352. }
  353. }
  354. /* Undo width of container */
  355. .bs-example .container {
  356. width: auto;
  357. }
  358. /* Tweak content of examples for optimum awesome */
  359. .bs-example > p:last-child,
  360. .bs-example > ul:last-child,
  361. .bs-example > ol:last-child,
  362. .bs-example > blockquote:last-child,
  363. .bs-example > .form-control:last-child,
  364. .bs-example > .table:last-child,
  365. .bs-example > .navbar:last-child,
  366. .bs-example > .jumbotron:last-child,
  367. .bs-example > .alert:last-child,
  368. .bs-example > .panel:last-child,
  369. .bs-example > .list-group:last-child,
  370. .bs-example > .well:last-child,
  371. .bs-example > .progress:last-child,
  372. .bs-example > .table-responsive:last-child > .table {
  373. margin-bottom: 0;
  374. }
  375. .bs-example > p > .close {
  376. float: none;
  377. }
  378. /* Typography */
  379. .bs-example-type .table .info {
  380. color: #999;
  381. vertical-align: middle;
  382. }
  383. .bs-example-type .table td {
  384. padding: 15px 0;
  385. border-color: #eee;
  386. }
  387. .bs-example-type .table tr:first-child td {
  388. border-top: 0;
  389. }
  390. .bs-example-type h1,
  391. .bs-example-type h2,
  392. .bs-example-type h3,
  393. .bs-example-type h4,
  394. .bs-example-type h5,
  395. .bs-example-type h6 {
  396. margin: 0;
  397. }
  398. /* Images */
  399. .bs-example > .img-circle,
  400. .bs-example > .img-rounded,
  401. .bs-example > .img-thumbnail {
  402. margin: 5px;
  403. }
  404. /* Tables */
  405. .bs-example > .table-responsive > .table {
  406. background-color: #fff;
  407. }
  408. /* Buttons */
  409. .bs-example > .btn,
  410. .bs-example > .btn-group {
  411. margin-top: 5px;
  412. margin-bottom: 5px;
  413. }
  414. .bs-example > .btn-toolbar + .btn-toolbar {
  415. margin-top: 10px;
  416. }
  417. /* Forms */
  418. .bs-example-control-sizing select,
  419. .bs-example-control-sizing input[type="text"] + input[type="text"] {
  420. margin-top: 10px;
  421. }
  422. .bs-example-form .input-group {
  423. margin-bottom: 10px;
  424. }
  425. .bs-example > textarea.form-control {
  426. resize: vertical;
  427. }
  428. /* List groups */
  429. .bs-example > .list-group {
  430. max-width: 400px;
  431. }
  432. /* Navbars */
  433. .bs-example .navbar:last-child {
  434. margin-bottom: 0;
  435. }
  436. .bs-navbar-top-example,
  437. .bs-navbar-bottom-example {
  438. z-index: 1;
  439. padding: 0;
  440. overflow: hidden; /* cut the drop shadows off */
  441. }
  442. .bs-navbar-top-example .navbar-header,
  443. .bs-navbar-bottom-example .navbar-header {
  444. margin-left: 0;
  445. }
  446. .bs-navbar-top-example .navbar-fixed-top,
  447. .bs-navbar-bottom-example .navbar-fixed-bottom {
  448. position: relative;
  449. margin-left: 0;
  450. margin-right: 0;
  451. }
  452. .bs-navbar-top-example {
  453. padding-bottom: 45px;
  454. }
  455. .bs-navbar-top-example:after {
  456. top: auto;
  457. bottom: 15px;
  458. }
  459. .bs-navbar-top-example .navbar-fixed-top {
  460. top: -1px;
  461. }
  462. .bs-navbar-bottom-example {
  463. padding-top: 45px;
  464. }
  465. .bs-navbar-bottom-example .navbar-fixed-bottom {
  466. bottom: -1px;
  467. }
  468. .bs-navbar-bottom-example .navbar {
  469. margin-bottom: 0;
  470. }
  471. @media (min-width: 768px) {
  472. .bs-navbar-top-example .navbar-fixed-top,
  473. .bs-navbar-bottom-example .navbar-fixed-bottom {
  474. position: absolute;
  475. }
  476. .bs-navbar-top-example {
  477. border-radius: 0 0 4px 4px;
  478. }
  479. .bs-navbar-bottom-example {
  480. border-radius: 4px 4px 0 0;
  481. }
  482. }
  483. /* Pagination */
  484. .bs-example .pagination {
  485. margin-top: 10px;
  486. margin-bottom: 10px;
  487. }
  488. /* Pager */
  489. .bs-example > .pager {
  490. margin-top: 0;
  491. }
  492. /* Example modals */
  493. .bs-example-modal {
  494. background-color: #f5f5f5;
  495. }
  496. .bs-example-modal .modal {
  497. position: relative;
  498. top: auto;
  499. right: auto;
  500. left: auto;
  501. bottom: auto;
  502. z-index: 1;
  503. display: block;
  504. }
  505. .bs-example-modal .modal-dialog {
  506. left: auto;
  507. margin-left: auto;
  508. margin-right: auto;
  509. }
  510. /* Example dropdowns */
  511. .bs-example > .dropdown > .dropdown-menu {
  512. position: static;
  513. display: block;
  514. margin-bottom: 5px;
  515. }
  516. /* Example tabbable tabs */
  517. .bs-example-tabs .nav-tabs {
  518. margin-bottom: 15px;
  519. }
  520. /* Tooltips */
  521. .bs-example-tooltips {
  522. text-align: center;
  523. }
  524. .bs-example-tooltips > .btn {
  525. margin-top: 5px;
  526. margin-bottom: 5px;
  527. }
  528. /* Popovers */
  529. .bs-example-popover {
  530. padding-bottom: 24px;
  531. background-color: #f9f9f9;
  532. }
  533. .bs-example-popover .popover {
  534. position: relative;
  535. display: block;
  536. float: left;
  537. width: 260px;
  538. margin: 20px;
  539. }
  540. /* Scrollspy demo on fixed height div */
  541. .scrollspy-example {
  542. position: relative;
  543. height: 200px;
  544. margin-top: 10px;
  545. overflow: auto;
  546. }
  547. /*
  548. * Code snippets
  549. *
  550. * Generated via Pygments and Jekyll, these are snippets of HTML, CSS, and JS.
  551. */
  552. .highlight {
  553. display: none; /* hidden by default, until >480px */
  554. padding: 9px 14px;
  555. margin-bottom: 14px;
  556. background-color: #f7f7f9;
  557. border: 1px solid #e1e1e8;
  558. border-radius: 4px;
  559. }
  560. .highlight pre {
  561. padding: 0;
  562. margin-top: 0;
  563. margin-bottom: 0;
  564. background-color: transparent;
  565. border: 0;
  566. white-space: nowrap;
  567. }
  568. .highlight pre code {
  569. font-size: inherit;
  570. color: #333; /* Effectively the base text color */
  571. }
  572. .highlight pre .lineno {
  573. display: inline-block;
  574. width: 22px;
  575. padding-right: 5px;
  576. margin-right: 10px;
  577. text-align: right;
  578. color: #bebec5;
  579. }
  580. /* Show code snippets when we have the space */
  581. @media (min-width: 481px) {
  582. .highlight {
  583. display: block;
  584. }
  585. }
  586. /*
  587. * Responsive tests
  588. *
  589. * Generate a set of tests to show the responsive utilities in action.
  590. */
  591. /* Responsive (scrollable) doc tables */
  592. .table-responsive .highlight pre {
  593. white-space: normal;
  594. }
  595. /* Utility classes table */
  596. .bs-table th small,
  597. .responsive-utilities th small {
  598. display: block;
  599. font-weight: normal;
  600. color: #999;
  601. }
  602. .responsive-utilities tbody th {
  603. font-weight: normal;
  604. }
  605. .responsive-utilities td {
  606. text-align: center;
  607. }
  608. .responsive-utilities td.is-visible {
  609. color: #468847;
  610. background-color: #dff0d8 !important;
  611. }
  612. .responsive-utilities td.is-hidden {
  613. color: #ccc;
  614. background-color: #f9f9f9 !important;
  615. }
  616. /* Responsive tests */
  617. .responsive-utilities-test {
  618. margin-top: 5px;
  619. }
  620. .responsive-utilities-test .col-xs-6 {
  621. margin-bottom: 10px;
  622. }
  623. .responsive-utilities-test span {
  624. padding: 15px 10px;
  625. font-size: 14px;
  626. font-weight: bold;
  627. line-height: 1.1;
  628. text-align: center;
  629. border-radius: 4px;
  630. }
  631. .visible-on .col-xs-6 .hidden-xs,
  632. .visible-on .col-xs-6 .hidden-sm,
  633. .visible-on .col-xs-6 .hidden-md,
  634. .visible-on .col-xs-6 .hidden-lg,
  635. .hidden-on .col-xs-6 .hidden-xs,
  636. .hidden-on .col-xs-6 .hidden-sm,
  637. .hidden-on .col-xs-6 .hidden-md,
  638. .hidden-on .col-xs-6 .hidden-lg {
  639. color: #999;
  640. border: 1px solid #ddd;
  641. }
  642. .visible-on .col-xs-6 .visible-xs,
  643. .visible-on .col-xs-6 .visible-sm,
  644. .visible-on .col-xs-6 .visible-md,
  645. .visible-on .col-xs-6 .visible-lg,
  646. .hidden-on .col-xs-6 .visible-xs,
  647. .hidden-on .col-xs-6 .visible-sm,
  648. .hidden-on .col-xs-6 .visible-md,
  649. .hidden-on .col-xs-6 .visible-lg {
  650. color: #468847;
  651. background-color: #dff0d8;
  652. border: 1px solid #d6e9c6;
  653. }
  654. /*
  655. * Glyphicons
  656. *
  657. * Special styles for displaying the icons and their classes in the docs.
  658. */
  659. .bs-glyphicons {
  660. padding-left: 0;
  661. padding-bottom: 1px;
  662. margin-bottom: 20px;
  663. list-style: none;
  664. overflow: hidden;
  665. }
  666. .bs-glyphicons li {
  667. float: left;
  668. width: 25%;
  669. height: 115px;
  670. padding: 10px;
  671. margin: 0 -1px -1px 0;
  672. font-size: 12px;
  673. line-height: 1.4;
  674. text-align: center;
  675. border: 1px solid #ddd;
  676. }
  677. .bs-glyphicons .glyphicon {
  678. margin-top: 5px;
  679. margin-bottom: 10px;
  680. font-size: 24px;
  681. }
  682. .bs-glyphicons .glyphicon-class {
  683. display: block;
  684. text-align: center;
  685. word-wrap: break-word; /* Help out IE10+ with class names */
  686. }
  687. .bs-glyphicons li:hover {
  688. background-color: rgba(86,61,124,.1);
  689. }
  690. @media (min-width: 768px) {
  691. .bs-glyphicons li {
  692. width: 12.5%;
  693. }
  694. }
  695. /*
  696. * Customizer
  697. *
  698. * Since this is so form control heavy, we have quite a few styles to customize
  699. * the display of inputs, headings, and more. Also included are all the download
  700. * buttons and actions.
  701. */
  702. .bs-customizer .toggle {
  703. float: right;
  704. margin-top: 85px; /* On account of ghetto navbar fix */
  705. }
  706. /* Headings and form contrls */
  707. .bs-customizer label {
  708. margin-top: 10px;
  709. font-weight: 500;
  710. color: #555;
  711. }
  712. .bs-customizer h2 {
  713. margin-top: 0;
  714. margin-bottom: 5px;
  715. padding-top: 30px;
  716. }
  717. .bs-customizer h3 {
  718. margin-bottom: 0;
  719. }
  720. .bs-customizer h4 {
  721. margin-top: 15px;
  722. margin-bottom: 0;
  723. }
  724. .bs-customizer .bs-callout h4 {
  725. margin-top: 0; /* lame, but due to specificity we have to duplicate */
  726. margin-bottom: 5px;
  727. }
  728. .bs-customizer input[type="text"] {
  729. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  730. background-color: #fafafa;
  731. }
  732. .bs-customizer .help-block {
  733. font-size: 12px;
  734. margin-bottom: 5px;
  735. }
  736. /* For the variables, use regular weight */
  737. #less-section label {
  738. font-weight: normal;
  739. }
  740. /* Downloads */
  741. .bs-customize-download .btn-outline {
  742. padding: 20px;
  743. }
  744. /* Error handling */
  745. .bs-customizer-alert {
  746. position: fixed;
  747. top: 51px;
  748. left: 0;
  749. right: 0;
  750. z-index: 1030;
  751. padding: 15px 0;
  752. color: #fff;
  753. background-color: #d9534f;
  754. box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  755. border-bottom: 1px solid #b94441;
  756. }
  757. .bs-customizer-alert .close {
  758. margin-top: -4px;
  759. font-size: 24px;
  760. }
  761. .bs-customizer-alert p {
  762. margin-bottom: 0;
  763. }
  764. .bs-customizer-alert .glyphicon {
  765. margin-right: 5px;
  766. }
  767. .bs-customizer-alert pre {
  768. margin: 10px 0 0;
  769. color: #fff;
  770. background-color: #a83c3a;
  771. border-color: #973634;
  772. box-shadow: inset 0 2px 4px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
  773. }
  774. /*
  775. * Miscellaneous
  776. *
  777. * Odds and ends for optimum docs display.
  778. */
  779. /* About page */
  780. .bs-about {
  781. font-size: 16px;
  782. }
  783. /* Examples gallery: space out content better */
  784. .bs-examples h4 {
  785. margin-bottom: 5px;
  786. }
  787. .bs-examples p {
  788. margin-bottom: 20px;
  789. }
  790. /* Pseudo :focus state for showing how it looks in the docs */
  791. #focusedInput {
  792. border-color: rgba(82,168,236,.8);
  793. outline: 0;
  794. outline: thin dotted \9; /* IE6-9 */
  795. -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);
  796. box-shadow: 0 0 8px rgba(82,168,236,.6);
  797. }
  798. /* Better spacing on download options in getting started */
  799. .bs-docs-dl-options h4 {
  800. margin-top: 15px;
  801. margin-bottom: 5px;
  802. }