docs.css 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132
  1. /* Add additional stylesheets below
  2. -------------------------------------------------- */
  3. /*
  4. Bootstrap's documentation styles
  5. Special styles for presenting Bootstrap's documentation and examples
  6. */
  7. /* Body and structure
  8. -------------------------------------------------- */
  9. body {
  10. position: relative;
  11. padding-top: 40px;
  12. }
  13. /* Code in headings */
  14. h3 code {
  15. font-size: 14px;
  16. font-weight: normal;
  17. }
  18. /* Tweak navbar brand link to be super sleek
  19. -------------------------------------------------- */
  20. body > .navbar {
  21. font-size: 13px;
  22. }
  23. /* Change the docs' brand */
  24. body > .navbar .brand {
  25. padding-right: 0;
  26. padding-left: 0;
  27. margin-left: 20px;
  28. float: right;
  29. font-weight: bold;
  30. color: #000;
  31. text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
  32. -webkit-transition: all .2s linear;
  33. -moz-transition: all .2s linear;
  34. transition: all .2s linear;
  35. }
  36. body > .navbar .brand:hover {
  37. text-decoration: none;
  38. text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.4);
  39. }
  40. /* Sections
  41. -------------------------------------------------- */
  42. /* padding for in-page bookmarks and fixed navbar */
  43. section {
  44. padding-top: 30px;
  45. }
  46. section > .page-header,
  47. section > .lead {
  48. color: #5a5a5a;
  49. }
  50. section > ul li {
  51. margin-bottom: 5px;
  52. }
  53. /* Separators (hr) */
  54. .bs-docs-separator {
  55. margin: 40px 0 39px;
  56. }
  57. /* Faded out hr */
  58. hr.soften {
  59. height: 1px;
  60. margin: 70px 0;
  61. background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  62. background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  63. background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  64. background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  65. border: 0;
  66. }
  67. /* Jumbotrons
  68. -------------------------------------------------- */
  69. /* Base class
  70. ------------------------- */
  71. .jumbotron {
  72. position: relative;
  73. padding: 40px 0;
  74. color: #fff;
  75. text-align: center;
  76. text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 0 30px rgba(0,0,0,.075);
  77. background: #FFFFFF; /* Old browsers */
  78. background: -moz-linear-gradient(45deg, #FFFFFF 0%, #116633 100%); /* FF3.6+ */
  79. background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#FFFFFF), color-stop(100%,#116633)); /* Chrome,Safari4+ */
  80. background: -webkit-linear-gradient(45deg, #FFFFFF 0%,#116633 100%); /* Chrome10+,Safari5.1+ */
  81. background: -o-linear-gradient(45deg, #FFFFFF 0%,#116633 100%); /* Opera 11.10+ */
  82. background: -ms-linear-gradient(45deg, #FFFFFF 0%,#116633 100%); /* IE10+ */
  83. background: linear-gradient(45deg, #FFFFFF 0%,#116633 100%); /* W3C */
  84. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#116633',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  85. -webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
  86. -moz-box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
  87. box-shadow: inset 0 3px 7px rgba(0,0,0,.2), inset 0 -3px 7px rgba(0,0,0,.2);
  88. }
  89. .jumbotron h1 {
  90. font-size: 80px;
  91. font-weight: bold;
  92. letter-spacing: -1px;
  93. line-height: 1;
  94. }
  95. .jumbotron p {
  96. font-size: 24px;
  97. font-weight: 300;
  98. line-height: 1.25;
  99. margin-bottom: 30px;
  100. }
  101. /* Link styles (used on .masthead-links as well) */
  102. .jumbotron a {
  103. color: #fff;
  104. color: rgba(255,255,255,.5);
  105. -webkit-transition: all .2s ease-in-out;
  106. -moz-transition: all .2s ease-in-out;
  107. transition: all .2s ease-in-out;
  108. }
  109. .jumbotron a:hover {
  110. color: #fff;
  111. text-shadow: 0 0 10px rgba(255,255,255,.25);
  112. }
  113. /* Download button */
  114. .masthead .btn {
  115. padding: 19px 24px;
  116. font-size: 24px;
  117. font-weight: 200;
  118. color: #fff; /* redeclare to override the `.jumbotron a` */
  119. border: 0;
  120. -webkit-border-radius: 6px;
  121. -moz-border-radius: 6px;
  122. border-radius: 6px;
  123. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  124. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  125. box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  126. -webkit-transition: none;
  127. -moz-transition: none;
  128. transition: none;
  129. }
  130. .masthead .btn:hover {
  131. -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  132. -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  133. box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
  134. }
  135. .masthead .btn:active {
  136. -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
  137. -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
  138. box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
  139. }
  140. /* Pattern overlay
  141. ------------------------- */
  142. .jumbotron .container {
  143. position: relative;
  144. z-index: 2;
  145. }
  146. .jumbotron:after {
  147. content: '';
  148. display: block;
  149. position: absolute;
  150. top: 0;
  151. right: 0;
  152. bottom: 0;
  153. left: 0;
  154. /*background: url(../img/bs-docs-masthead-pattern.png) repeat center center;*/
  155. /*background: url(../../../../logo_project.png) no-repeat left center;*/
  156. /*background: url(../../../../logo_project.png) no-repeat left center;*/
  157. background: url(../img/Customer-Analysis-Competitive-Analysis.jpg) no-repeat left center;
  158. /*background: url(../img/source_code2.jpg) no-repeat left center;*/
  159. /*background: url(../../logo.png) no-repeat left center;*/
  160. background-size: 100%;
  161. opacity: .2;
  162. }
  163. @media
  164. only screen and (-webkit-min-device-pixel-ratio: 2),
  165. only screen and ( min--moz-device-pixel-ratio: 2),
  166. only screen and ( -o-min-device-pixel-ratio: 2/1) {
  167. .jumbotron:after {
  168. background-size: 150px 150px;
  169. }
  170. }
  171. /* Masthead (docs home)
  172. ------------------------- */
  173. .masthead {
  174. padding: 70px 0 80px;
  175. margin-bottom: 0;
  176. color: #fff;
  177. }
  178. .masthead h1 {
  179. font-size: 120px;
  180. line-height: 1;
  181. letter-spacing: -2px;
  182. }
  183. .masthead p {
  184. font-size: 40px;
  185. font-weight: 200;
  186. line-height: 1.25;
  187. }
  188. /* Textual links in masthead */
  189. .masthead-links {
  190. margin: 0;
  191. list-style: none;
  192. }
  193. .masthead-links li {
  194. display: inline;
  195. padding: 0 10px;
  196. color: rgba(255,255,255,.25);
  197. }
  198. /* Social proof buttons from GitHub & Twitter */
  199. .bs-docs-social {
  200. padding: 15px 0;
  201. text-align: center;
  202. background-color: #f5f5f5;
  203. border-top: 1px solid #fff;
  204. border-bottom: 1px solid #ddd;
  205. }
  206. /* Quick links on Home */
  207. .bs-docs-social-buttons {
  208. margin-left: 0;
  209. margin-bottom: 0;
  210. padding-left: 0;
  211. list-style: none;
  212. }
  213. .bs-docs-social-buttons li {
  214. display: inline-block;
  215. padding: 5px 8px;
  216. line-height: 1;
  217. *display: inline;
  218. *zoom: 1;
  219. }
  220. /* Subhead (other pages)
  221. ------------------------- */
  222. .subhead {
  223. text-align: left;
  224. border-bottom: 1px solid #ddd;
  225. }
  226. .subhead h1 {
  227. font-size: 60px;
  228. }
  229. .subhead p {
  230. margin-bottom: 20px;
  231. }
  232. .subhead .navbar {
  233. display: none;
  234. }
  235. /* Marketing section of Overview
  236. -------------------------------------------------- */
  237. .marketing {
  238. text-align: center;
  239. color: #5a5a5a;
  240. }
  241. .marketing h1 {
  242. margin: 60px 0 10px;
  243. font-size: 60px;
  244. font-weight: 200;
  245. line-height: 1;
  246. letter-spacing: -1px;
  247. }
  248. .marketing h2 {
  249. font-weight: 200;
  250. margin-bottom: 5px;
  251. }
  252. .marketing p {
  253. font-size: 16px;
  254. line-height: 1.5;
  255. }
  256. .marketing .marketing-byline {
  257. margin-bottom: 40px;
  258. font-size: 20px;
  259. font-weight: 300;
  260. line-height: 1.25;
  261. color: #999;
  262. }
  263. .marketing-img {
  264. display: block;
  265. margin: 0 auto 30px;
  266. max-height: 145px;
  267. }
  268. /* Footer
  269. -------------------------------------------------- */
  270. .footer {
  271. text-align: center;
  272. padding: 30px 0;
  273. margin-top: 70px;
  274. border-top: 1px solid #e5e5e5;
  275. background-color: #f5f5f5;
  276. }
  277. .footer p {
  278. margin-bottom: 0;
  279. color: #777;
  280. }
  281. .footer-links {
  282. margin: 10px 0;
  283. }
  284. .footer-links li {
  285. display: inline;
  286. padding: 0 2px;
  287. }
  288. .footer-links li:first-child {
  289. padding-left: 0;
  290. }
  291. /* Special grid styles
  292. -------------------------------------------------- */
  293. .show-grid {
  294. margin-top: 10px;
  295. margin-bottom: 20px;
  296. }
  297. .show-grid [class*="span"] {
  298. background-color: #eee;
  299. text-align: center;
  300. -webkit-border-radius: 3px;
  301. -moz-border-radius: 3px;
  302. border-radius: 3px;
  303. min-height: 40px;
  304. line-height: 40px;
  305. }
  306. .show-grid [class*="span"]:hover {
  307. background-color: #ddd;
  308. }
  309. .show-grid .show-grid {
  310. margin-top: 0;
  311. margin-bottom: 0;
  312. }
  313. .show-grid .show-grid [class*="span"] {
  314. margin-top: 5px;
  315. }
  316. .show-grid [class*="span"] [class*="span"] {
  317. background-color: #ccc;
  318. }
  319. .show-grid [class*="span"] [class*="span"] [class*="span"] {
  320. background-color: #999;
  321. }
  322. /* Mini layout previews
  323. -------------------------------------------------- */
  324. .mini-layout {
  325. border: 1px solid #ddd;
  326. -webkit-border-radius: 6px;
  327. -moz-border-radius: 6px;
  328. border-radius: 6px;
  329. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
  330. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
  331. box-shadow: 0 1px 2px rgba(0,0,0,.075);
  332. }
  333. .mini-layout,
  334. .mini-layout .mini-layout-body,
  335. .mini-layout.fluid .mini-layout-sidebar {
  336. height: 300px;
  337. }
  338. .mini-layout {
  339. margin-bottom: 20px;
  340. padding: 9px;
  341. }
  342. .mini-layout div {
  343. -webkit-border-radius: 3px;
  344. -moz-border-radius: 3px;
  345. border-radius: 3px;
  346. }
  347. .mini-layout .mini-layout-body {
  348. background-color: #dceaf4;
  349. margin: 0 auto;
  350. width: 70%;
  351. }
  352. .mini-layout.fluid .mini-layout-sidebar,
  353. .mini-layout.fluid .mini-layout-header,
  354. .mini-layout.fluid .mini-layout-body {
  355. float: left;
  356. }
  357. .mini-layout.fluid .mini-layout-sidebar {
  358. background-color: #bbd8e9;
  359. width: 20%;
  360. }
  361. .mini-layout.fluid .mini-layout-body {
  362. width: 77.5%;
  363. margin-left: 2.5%;
  364. }
  365. /* Download page
  366. -------------------------------------------------- */
  367. .download .page-header {
  368. margin-top: 36px;
  369. }
  370. .page-header .toggle-all {
  371. margin-top: 5px;
  372. }
  373. /* Space out h3s when following a section */
  374. .download h3 {
  375. margin-bottom: 5px;
  376. }
  377. .download-builder input + h3,
  378. .download-builder .checkbox + h3 {
  379. margin-top: 9px;
  380. }
  381. /* Fields for variables */
  382. .download-builder input[type=text] {
  383. margin-bottom: 9px;
  384. font-family: Menlo, Monaco, "Courier New", monospace;
  385. font-size: 12px;
  386. color: #d14;
  387. }
  388. .download-builder input[type=text]:focus {
  389. background-color: #fff;
  390. }
  391. /* Custom, larger checkbox labels */
  392. .download .checkbox {
  393. padding: 6px 10px 6px 25px;
  394. font-size: 13px;
  395. line-height: 18px;
  396. color: #555;
  397. background-color: #f9f9f9;
  398. -webkit-border-radius: 3px;
  399. -moz-border-radius: 3px;
  400. border-radius: 3px;
  401. cursor: pointer;
  402. }
  403. .download .checkbox:hover {
  404. color: #333;
  405. background-color: #f5f5f5;
  406. }
  407. .download .checkbox small {
  408. font-size: 12px;
  409. color: #777;
  410. }
  411. /* Variables section */
  412. #variables label {
  413. margin-bottom: 0;
  414. }
  415. /* Giant download button */
  416. .download-btn {
  417. margin: 36px 0 108px;
  418. }
  419. #download p,
  420. #download h4 {
  421. max-width: 50%;
  422. margin: 0 auto;
  423. color: #999;
  424. text-align: center;
  425. }
  426. #download h4 {
  427. margin-bottom: 0;
  428. }
  429. #download p {
  430. margin-bottom: 18px;
  431. }
  432. .download-btn .btn {
  433. display: block;
  434. width: auto;
  435. padding: 19px 24px;
  436. margin-bottom: 27px;
  437. font-size: 30px;
  438. line-height: 1;
  439. text-align: center;
  440. -webkit-border-radius: 6px;
  441. -moz-border-radius: 6px;
  442. border-radius: 6px;
  443. }
  444. /* Misc
  445. -------------------------------------------------- */
  446. /* Make tables spaced out a bit more */
  447. h2 + table,
  448. h3 + table,
  449. h4 + table,
  450. h2 + .row {
  451. margin-top: 5px;
  452. }
  453. /* Example sites showcase */
  454. .example-sites {
  455. xmargin-left: 20px;
  456. }
  457. .example-sites img {
  458. max-width: 100%;
  459. margin: 0 auto;
  460. }
  461. .scrollspy-example {
  462. height: 200px;
  463. overflow: auto;
  464. position: relative;
  465. }
  466. /* Fake the :focus state to demo it */
  467. .focused {
  468. border-color: rgba(82,168,236,.8);
  469. -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  470. -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  471. box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  472. outline: 0;
  473. }
  474. /* For input sizes, make them display block */
  475. .docs-input-sizes select,
  476. .docs-input-sizes input[type=text] {
  477. display: block;
  478. margin-bottom: 9px;
  479. }
  480. /* Icons
  481. ------------------------- */
  482. .the-icons {
  483. margin-left: 0;
  484. list-style: none;
  485. }
  486. .the-icons li {
  487. float: left;
  488. width: 25%;
  489. line-height: 25px;
  490. }
  491. .the-icons i:hover {
  492. background-color: rgba(255,0,0,.25);
  493. }
  494. /* Example page
  495. ------------------------- */
  496. .bootstrap-examples h4 {
  497. margin: 10px 0 5px;
  498. }
  499. .bootstrap-examples p {
  500. font-size: 13px;
  501. line-height: 18px;
  502. }
  503. .bootstrap-examples .thumbnail {
  504. margin-bottom: 9px;
  505. background-color: #fff;
  506. }
  507. /* Bootstrap code examples
  508. -------------------------------------------------- */
  509. /* Base class */
  510. .bs-docs-example {
  511. position: relative;
  512. margin: 15px 0;
  513. padding: 39px 19px 14px;
  514. *padding-top: 19px;
  515. background-color: #fff;
  516. border: 1px solid #ddd;
  517. -webkit-border-radius: 4px;
  518. -moz-border-radius: 4px;
  519. border-radius: 4px;
  520. }
  521. /* Echo out a label for the example */
  522. .bs-docs-example:after {
  523. content: "Example";
  524. position: absolute;
  525. top: -1px;
  526. left: -1px;
  527. padding: 3px 7px;
  528. font-size: 12px;
  529. font-weight: bold;
  530. background-color: #f5f5f5;
  531. border: 1px solid #ddd;
  532. color: #9da0a4;
  533. -webkit-border-radius: 4px 0 4px 0;
  534. -moz-border-radius: 4px 0 4px 0;
  535. border-radius: 4px 0 4px 0;
  536. }
  537. /* Remove spacing between an example and it's code */
  538. .bs-docs-example + .prettyprint {
  539. margin-top: -20px;
  540. padding-top: 15px;
  541. }
  542. /* Tweak examples
  543. ------------------------- */
  544. .bs-docs-example > p:last-child {
  545. margin-bottom: 0;
  546. }
  547. .bs-docs-example .table,
  548. .bs-docs-example .progress,
  549. .bs-docs-example .well,
  550. .bs-docs-example .alert,
  551. .bs-docs-example .hero-unit,
  552. .bs-docs-example .pagination,
  553. .bs-docs-example .navbar,
  554. .bs-docs-example > .nav,
  555. .bs-docs-example blockquote {
  556. margin-bottom: 5px;
  557. }
  558. .bs-docs-example .pagination {
  559. margin-top: 0;
  560. }
  561. .bs-navbar-top-example,
  562. .bs-navbar-bottom-example {
  563. z-index: 1;
  564. padding: 0;
  565. height: 90px;
  566. overflow: hidden; /* cut the drop shadows off */
  567. }
  568. .bs-navbar-top-example .navbar-fixed-top,
  569. .bs-navbar-bottom-example .navbar-fixed-bottom {
  570. margin-left: 0;
  571. margin-right: 0;
  572. }
  573. .bs-navbar-top-example {
  574. -webkit-border-radius: 0 0 4px 4px;
  575. -moz-border-radius: 0 0 4px 4px;
  576. border-radius: 0 0 4px 4px;
  577. }
  578. .bs-navbar-top-example:after {
  579. top: auto;
  580. bottom: -1px;
  581. -webkit-border-radius: 0 4px 0 4px;
  582. -moz-border-radius: 0 4px 0 4px;
  583. border-radius: 0 4px 0 4px;
  584. }
  585. .bs-navbar-bottom-example {
  586. -webkit-border-radius: 4px 4px 0 0;
  587. -moz-border-radius: 4px 4px 0 0;
  588. border-radius: 4px 4px 0 0;
  589. }
  590. .bs-navbar-bottom-example .navbar {
  591. margin-bottom: 0;
  592. }
  593. form.bs-docs-example {
  594. padding-bottom: 19px;
  595. }
  596. /* Images */
  597. .bs-docs-example-images img {
  598. margin: 10px;
  599. display: inline-block;
  600. }
  601. /* Tooltips */
  602. .bs-docs-tooltip-examples {
  603. text-align: center;
  604. margin: 0 0 10px;
  605. list-style: none;
  606. }
  607. .bs-docs-tooltip-examples li {
  608. display: inline;
  609. padding: 0 10px;
  610. }
  611. /* Popovers */
  612. .bs-docs-example-popover {
  613. padding-bottom: 24px;
  614. background-color: #f9f9f9;
  615. }
  616. .bs-docs-example-popover .popover {
  617. position: relative;
  618. display: block;
  619. float: left;
  620. width: 260px;
  621. margin: 20px;
  622. }
  623. /* Dropdowns */
  624. .bs-docs-example-submenus {
  625. min-height: 180px;
  626. }
  627. .bs-docs-example-submenus > .pull-left + .pull-left {
  628. margin-left: 20px;
  629. }
  630. .bs-docs-example-submenus .dropup > .dropdown-menu,
  631. .bs-docs-example-submenus .dropdown > .dropdown-menu {
  632. display: block;
  633. position: static;
  634. margin-bottom: 5px;
  635. *width: 180px;
  636. }
  637. /* Responsive docs
  638. -------------------------------------------------- */
  639. /* Utility classes table
  640. ------------------------- */
  641. .responsive-utilities th small {
  642. display: block;
  643. font-weight: normal;
  644. color: #999;
  645. }
  646. .responsive-utilities tbody th {
  647. font-weight: normal;
  648. }
  649. .responsive-utilities td {
  650. text-align: center;
  651. }
  652. .responsive-utilities td.is-visible {
  653. color: #468847;
  654. background-color: #dff0d8 !important;
  655. }
  656. .responsive-utilities td.is-hidden {
  657. color: #ccc;
  658. background-color: #f9f9f9 !important;
  659. }
  660. /* Responsive tests
  661. ------------------------- */
  662. .responsive-utilities-test {
  663. margin-top: 5px;
  664. margin-left: 0;
  665. list-style: none;
  666. overflow: hidden; /* clear floats */
  667. }
  668. .responsive-utilities-test li {
  669. position: relative;
  670. float: left;
  671. width: 25%;
  672. height: 43px;
  673. font-size: 14px;
  674. font-weight: bold;
  675. line-height: 43px;
  676. color: #999;
  677. text-align: center;
  678. border: 1px solid #ddd;
  679. -webkit-border-radius: 4px;
  680. -moz-border-radius: 4px;
  681. border-radius: 4px;
  682. }
  683. .responsive-utilities-test li + li {
  684. margin-left: 10px;
  685. }
  686. .responsive-utilities-test span {
  687. position: absolute;
  688. top: -1px;
  689. left: -1px;
  690. right: -1px;
  691. bottom: -1px;
  692. -webkit-border-radius: 4px;
  693. -moz-border-radius: 4px;
  694. border-radius: 4px;
  695. }
  696. .responsive-utilities-test span {
  697. color: #468847;
  698. background-color: #dff0d8;
  699. border: 1px solid #d6e9c6;
  700. }
  701. /* Sidenav for Docs
  702. -------------------------------------------------- */
  703. .bs-docs-sidenav {
  704. width: 228px;
  705. margin: 30px 0 0;
  706. padding: 0;
  707. background-color: #fff;
  708. -webkit-border-radius: 6px;
  709. -moz-border-radius: 6px;
  710. border-radius: 6px;
  711. -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  712. -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
  713. box-shadow: 0 1px 4px rgba(0,0,0,.065);
  714. }
  715. .bs-docs-sidenav > li > a {
  716. display: block;
  717. width: 190px \9;
  718. margin: 0 0 -1px;
  719. padding: 8px 14px;
  720. border: 1px solid #e5FFe5;
  721. }
  722. .bs-docs-sidenav > li:first-child > a {
  723. -webkit-border-radius: 6px 6px 0 0;
  724. -moz-border-radius: 6px 6px 0 0;
  725. border-radius: 6px 6px 0 0;
  726. }
  727. .bs-docs-sidenav > li:last-child > a {
  728. -webkit-border-radius: 0 0 6px 6px;
  729. -moz-border-radius: 0 0 6px 6px;
  730. border-radius: 0 0 6px 6px;
  731. }
  732. .bs-docs-sidenav > .active > a {
  733. background-color: #66AA66;
  734. position: relative;
  735. z-index: 2;
  736. padding: 9px 15px;
  737. border: 0;
  738. text-shadow: 0 1px 0 rgba(0,0,0,.15);
  739. -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
  740. -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
  741. box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
  742. }
  743. /* Chevrons */
  744. /*
  745. .bs-docs-sidenav .icon-chevron-right {
  746. float: right;
  747. margin-top: 2px;
  748. margin-right: -6px;
  749. opacity: .25;
  750. }
  751. */
  752. .bs-docs-sidenav > li > a:hover {
  753. background-color: #AAFFAA;
  754. }
  755. /*
  756. .bs-docs-sidenav a:hover .icon-chevron-right {
  757. opacity: .5;
  758. }
  759. .bs-docs-sidenav .active .icon-chevron-right,
  760. .bs-docs-sidenav .active a:hover .icon-chevron-right {
  761. background-image: url(../img/glyphicons-halflings-white.png);
  762. opacity: 1;
  763. }
  764. */
  765. .bs-docs-sidenav.affix {
  766. top: 40px;
  767. }
  768. .bs-docs-sidenav.affix-bottom {
  769. position: absolute;
  770. top: auto;
  771. bottom: 270px;
  772. }
  773. /* CUSTOMIZE THE CAROUSEL
  774. -------------------------------------------------- */
  775. /* Carousel base class */
  776. .carousel {
  777. margin-bottom: 20px;
  778. }
  779. .carousel .container {
  780. position: relative;
  781. z-index: 9;
  782. }
  783. .carousel-control {
  784. height: 80px;
  785. margin-top: 0;
  786. font-size: 120px;
  787. text-shadow: 0 1px 1px rgba(0,0,0,.4);
  788. background-color: transparent;
  789. border: 0;
  790. z-index: 10;
  791. }
  792. .carousel .item {
  793. height: 200px;
  794. }
  795. .carousel img {
  796. position: absolute;
  797. top: 0;
  798. left: 0;
  799. min-width: 100%;
  800. height: 500px;
  801. }
  802. .carousel-caption {
  803. background-color: transparent;
  804. position: static;
  805. /*max-width: 550px;*/
  806. padding: 0 20px;
  807. margin-top: 20px;
  808. }
  809. .carousel-caption h1,
  810. .carousel-caption h2,
  811. .carousel-caption .lead {
  812. text-align: left;
  813. margin: 0;
  814. line-height: 1.25;
  815. color: #fff;
  816. text-shadow: 0 1px 1px rgba(0,0,0,.4);
  817. }
  818. .carousel-caption .btn {
  819. margin-top: 10px;
  820. }
  821. /* Responsive
  822. -------------------------------------------------- */
  823. /* Desktop large
  824. ------------------------- */
  825. @media (min-width: 1200px) {
  826. .bs-docs-container {
  827. max-width: 970px;
  828. }
  829. .bs-docs-sidenav {
  830. width: 258px;
  831. }
  832. .bs-docs-sidenav > li > a {
  833. width: 230px \9; /* Override the previous IE8-9 hack */
  834. }
  835. }
  836. /* Desktop
  837. ------------------------- */
  838. @media (max-width: 980px) {
  839. /* Unfloat brand */
  840. body > .navbar-fixed-top .brand {
  841. float: left;
  842. margin-left: 0;
  843. padding-left: 10px;
  844. padding-right: 10px;
  845. }
  846. /* Inline-block quick links for more spacing */
  847. .quick-links li {
  848. display: inline-block;
  849. margin: 5px;
  850. }
  851. /* When affixed, space properly */
  852. .bs-docs-sidenav {
  853. top: 0;
  854. width: 218px;
  855. margin-top: 30px;
  856. margin-right: 0;
  857. }
  858. }
  859. /* Tablet to desktop
  860. ------------------------- */
  861. @media (min-width: 768px) and (max-width: 979px) {
  862. /* Remove any padding from the body */
  863. body {
  864. padding-top: 0;
  865. }
  866. /* Widen masthead and social buttons to fill body padding */
  867. .jumbotron {
  868. margin-top: -20px; /* Offset bottom margin on .navbar */
  869. }
  870. /* Adjust sidenav width */
  871. .bs-docs-sidenav {
  872. width: 166px;
  873. margin-top: 20px;
  874. }
  875. .bs-docs-sidenav.affix {
  876. top: 0;
  877. }
  878. }
  879. /* Tablet
  880. ------------------------- */
  881. @media (max-width: 767px) {
  882. /* Remove any padding from the body */
  883. body {
  884. padding-top: 0;
  885. }
  886. /* Widen masthead and social buttons to fill body padding */
  887. .jumbotron {
  888. padding: 40px 20px;
  889. margin-top: -20px; /* Offset bottom margin on .navbar */
  890. margin-right: -20px;
  891. margin-left: -20px;
  892. }
  893. .masthead h1 {
  894. font-size: 90px;
  895. }
  896. .masthead p,
  897. .masthead .btn {
  898. font-size: 24px;
  899. }
  900. .marketing .span4 {
  901. margin-bottom: 40px;
  902. }
  903. .bs-docs-social {
  904. margin: 0 -20px;
  905. }
  906. /* Space out the show-grid examples */
  907. .show-grid [class*="span"] {
  908. margin-bottom: 5px;
  909. }
  910. /* Sidenav */
  911. .bs-docs-sidenav {
  912. width: auto;
  913. margin-bottom: 20px;
  914. }
  915. .bs-docs-sidenav.affix {
  916. position: static;
  917. width: auto;
  918. top: 0;
  919. }
  920. /* Unfloat the back to top link in footer */
  921. .footer {
  922. margin-left: -20px;
  923. margin-right: -20px;
  924. padding-left: 20px;
  925. padding-right: 20px;
  926. }
  927. .footer p {
  928. margin-bottom: 9px;
  929. }
  930. }
  931. /* Landscape phones
  932. ------------------------- */
  933. @media (max-width: 480px) {
  934. /* Remove padding above jumbotron */
  935. body {
  936. padding-top: 0;
  937. }
  938. /* Change up some type stuff */
  939. h2 small {
  940. display: block;
  941. }
  942. /* Downsize the jumbotrons */
  943. .jumbotron h1 {
  944. font-size: 45px;
  945. }
  946. .jumbotron p,
  947. .jumbotron .btn {
  948. font-size: 18px;
  949. }
  950. .jumbotron .btn {
  951. display: block;
  952. margin: 0 auto;
  953. }
  954. /* center align subhead text like the masthead */
  955. .subhead h1,
  956. .subhead p {
  957. text-align: center;
  958. }
  959. /* Marketing on home */
  960. .marketing h1 {
  961. font-size: 30px;
  962. }
  963. .marketing-byline {
  964. font-size: 18px;
  965. }
  966. /* center example sites */
  967. .example-sites {
  968. margin-left: 0;
  969. }
  970. .example-sites > li {
  971. float: none;
  972. display: block;
  973. max-width: 280px;
  974. margin: 0 auto 18px;
  975. text-align: center;
  976. }
  977. .example-sites .thumbnail > img {
  978. max-width: 270px;
  979. }
  980. /* Do our best to make tables work in narrow viewports */
  981. table code {
  982. white-space: normal;
  983. word-wrap: break-word;
  984. word-break: break-all;
  985. }
  986. /* Examples: dropdowns */
  987. .bs-docs-example-submenus > .pull-left {
  988. float: none;
  989. clear: both;
  990. }
  991. .bs-docs-example-submenus > .pull-left,
  992. .bs-docs-example-submenus > .pull-left + .pull-left {
  993. margin-left: 0;
  994. }
  995. .bs-docs-example-submenus p {
  996. margin-bottom: 0;
  997. }
  998. .bs-docs-example-submenus .dropup > .dropdown-menu,
  999. .bs-docs-example-submenus .dropdown > .dropdown-menu {
  1000. margin-bottom: 10px;
  1001. float: none;
  1002. max-width: 180px;
  1003. }
  1004. /* Examples: modal */
  1005. .modal-example .modal {
  1006. position: relative;
  1007. top: auto;
  1008. right: auto;
  1009. bottom: auto;
  1010. left: auto;
  1011. }
  1012. /* Tighten up footer */
  1013. .footer {
  1014. padding-top: 20px;
  1015. padding-bottom: 20px;
  1016. }
  1017. }