bootstrap-responsive.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. /*!
  2. * Bootstrap Responsive v2.0.2
  3. *
  4. * Copyright 2012 Twitter, Inc
  5. * Licensed under the Apache License v2.0
  6. * http://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. * Designed and built with all the love in the world @twitter by @mdo and @fat.
  9. */
  10. .clearfix {
  11. *zoom: 1;
  12. }
  13. .clearfix:before,
  14. .clearfix:after {
  15. display: table;
  16. content: "";
  17. }
  18. .clearfix:after {
  19. clear: both;
  20. }
  21. .hide-text {
  22. overflow: hidden;
  23. text-indent: 100%;
  24. white-space: nowrap;
  25. }
  26. .input-block-level {
  27. display: block;
  28. width: 100%;
  29. min-height: 28px;
  30. /* Make inputs at least the height of their button counterpart */
  31. /* Makes inputs behave like true block-level elements */
  32. -webkit-box-sizing: border-box;
  33. -moz-box-sizing: border-box;
  34. -ms-box-sizing: border-box;
  35. box-sizing: border-box;
  36. }
  37. .hidden {
  38. display: none;
  39. visibility: hidden;
  40. }
  41. .visible-phone {
  42. display: none;
  43. }
  44. .visible-tablet {
  45. display: none;
  46. }
  47. .visible-desktop {
  48. display: block;
  49. }
  50. .hidden-phone {
  51. display: block;
  52. }
  53. .hidden-tablet {
  54. display: block;
  55. }
  56. .hidden-desktop {
  57. display: none;
  58. }
  59. @media (max-width: 767px) {
  60. .visible-phone {
  61. display: block;
  62. }
  63. .hidden-phone {
  64. display: none;
  65. }
  66. .hidden-desktop {
  67. display: block;
  68. }
  69. .visible-desktop {
  70. display: none;
  71. }
  72. }
  73. @media (min-width: 768px) and (max-width: 979px) {
  74. .visible-tablet {
  75. display: block;
  76. }
  77. .hidden-tablet {
  78. display: none;
  79. }
  80. .hidden-desktop {
  81. display: block;
  82. }
  83. .visible-desktop {
  84. display: none;
  85. }
  86. }
  87. @media (max-width: 480px) {
  88. .nav-collapse {
  89. -webkit-transform: translate3d(0, 0, 0);
  90. }
  91. .page-header h1 small {
  92. display: block;
  93. line-height: 18px;
  94. }
  95. input[type="checkbox"],
  96. input[type="radio"] {
  97. border: 1px solid #ccc;
  98. }
  99. .form-horizontal .control-group > label {
  100. float: none;
  101. width: auto;
  102. padding-top: 0;
  103. text-align: left;
  104. }
  105. .form-horizontal .controls {
  106. margin-left: 0;
  107. }
  108. .form-horizontal .control-list {
  109. padding-top: 0;
  110. }
  111. .form-horizontal .form-actions {
  112. padding-left: 10px;
  113. padding-right: 10px;
  114. }
  115. .modal {
  116. position: absolute;
  117. top: 10px;
  118. left: 10px;
  119. right: 10px;
  120. width: auto;
  121. margin: 0;
  122. }
  123. .modal.fade.in {
  124. top: auto;
  125. }
  126. .modal-header .close {
  127. padding: 10px;
  128. margin: -10px;
  129. }
  130. .carousel-caption {
  131. position: static;
  132. }
  133. }
  134. @media (max-width: 767px) {
  135. body {
  136. padding-left: 20px;
  137. padding-right: 20px;
  138. }
  139. .navbar-fixed-top {
  140. margin-left: -20px;
  141. margin-right: -20px;
  142. }
  143. .container {
  144. width: auto;
  145. }
  146. .row-fluid {
  147. width: 100%;
  148. }
  149. .row {
  150. margin-left: 0;
  151. }
  152. .row > [class*="span"],
  153. .row-fluid > [class*="span"] {
  154. float: none;
  155. display: block;
  156. width: auto;
  157. margin: 0;
  158. }
  159. .thumbnails [class*="span"] {
  160. width: auto;
  161. }
  162. input[class*="span"],
  163. select[class*="span"],
  164. textarea[class*="span"],
  165. .uneditable-input {
  166. display: block;
  167. width: 100%;
  168. min-height: 28px;
  169. /* Make inputs at least the height of their button counterpart */
  170. /* Makes inputs behave like true block-level elements */
  171. -webkit-box-sizing: border-box;
  172. -moz-box-sizing: border-box;
  173. -ms-box-sizing: border-box;
  174. box-sizing: border-box;
  175. }
  176. .input-prepend input[class*="span"],
  177. .input-append input[class*="span"] {
  178. width: auto;
  179. }
  180. }
  181. @media (min-width: 768px) and (max-width: 979px) {
  182. .row {
  183. margin-left: -20px;
  184. *zoom: 1;
  185. }
  186. .row:before,
  187. .row:after {
  188. display: table;
  189. content: "";
  190. }
  191. .row:after {
  192. clear: both;
  193. }
  194. [class*="span"] {
  195. float: left;
  196. margin-left: 20px;
  197. }
  198. .container,
  199. .navbar-fixed-top .container,
  200. .navbar-fixed-bottom .container {
  201. width: 724px;
  202. }
  203. .span12 {
  204. width: 724px;
  205. }
  206. .span11 {
  207. width: 662px;
  208. }
  209. .span10 {
  210. width: 600px;
  211. }
  212. .span9 {
  213. width: 538px;
  214. }
  215. .span8 {
  216. width: 476px;
  217. }
  218. .span7 {
  219. width: 414px;
  220. }
  221. .span6 {
  222. width: 352px;
  223. }
  224. .span5 {
  225. width: 290px;
  226. }
  227. .span4 {
  228. width: 228px;
  229. }
  230. .span3 {
  231. width: 166px;
  232. }
  233. .span2 {
  234. width: 104px;
  235. }
  236. .span1 {
  237. width: 42px;
  238. }
  239. .offset12 {
  240. margin-left: 764px;
  241. }
  242. .offset11 {
  243. margin-left: 702px;
  244. }
  245. .offset10 {
  246. margin-left: 640px;
  247. }
  248. .offset9 {
  249. margin-left: 578px;
  250. }
  251. .offset8 {
  252. margin-left: 516px;
  253. }
  254. .offset7 {
  255. margin-left: 454px;
  256. }
  257. .offset6 {
  258. margin-left: 392px;
  259. }
  260. .offset5 {
  261. margin-left: 330px;
  262. }
  263. .offset4 {
  264. margin-left: 268px;
  265. }
  266. .offset3 {
  267. margin-left: 206px;
  268. }
  269. .offset2 {
  270. margin-left: 144px;
  271. }
  272. .offset1 {
  273. margin-left: 82px;
  274. }
  275. .row-fluid {
  276. width: 100%;
  277. *zoom: 1;
  278. }
  279. .row-fluid:before,
  280. .row-fluid:after {
  281. display: table;
  282. content: "";
  283. }
  284. .row-fluid:after {
  285. clear: both;
  286. }
  287. .row-fluid > [class*="span"] {
  288. float: left;
  289. margin-left: 2.762430939%;
  290. }
  291. .row-fluid > [class*="span"]:first-child {
  292. margin-left: 0;
  293. }
  294. .row-fluid > .span12 {
  295. width: 99.999999993%;
  296. }
  297. .row-fluid > .span11 {
  298. width: 91.436464082%;
  299. }
  300. .row-fluid > .span10 {
  301. width: 82.87292817100001%;
  302. }
  303. .row-fluid > .span9 {
  304. width: 74.30939226%;
  305. }
  306. .row-fluid > .span8 {
  307. width: 65.74585634900001%;
  308. }
  309. .row-fluid > .span7 {
  310. width: 57.182320438000005%;
  311. }
  312. .row-fluid > .span6 {
  313. width: 48.618784527%;
  314. }
  315. .row-fluid > .span5 {
  316. width: 40.055248616%;
  317. }
  318. .row-fluid > .span4 {
  319. width: 31.491712705%;
  320. }
  321. .row-fluid > .span3 {
  322. width: 22.928176794%;
  323. }
  324. .row-fluid > .span2 {
  325. width: 14.364640883%;
  326. }
  327. .row-fluid > .span1 {
  328. width: 5.801104972%;
  329. }
  330. input,
  331. textarea,
  332. .uneditable-input {
  333. margin-left: 0;
  334. }
  335. input.span12, textarea.span12, .uneditable-input.span12 {
  336. width: 714px;
  337. }
  338. input.span11, textarea.span11, .uneditable-input.span11 {
  339. width: 652px;
  340. }
  341. input.span10, textarea.span10, .uneditable-input.span10 {
  342. width: 590px;
  343. }
  344. input.span9, textarea.span9, .uneditable-input.span9 {
  345. width: 528px;
  346. }
  347. input.span8, textarea.span8, .uneditable-input.span8 {
  348. width: 466px;
  349. }
  350. input.span7, textarea.span7, .uneditable-input.span7 {
  351. width: 404px;
  352. }
  353. input.span6, textarea.span6, .uneditable-input.span6 {
  354. width: 342px;
  355. }
  356. input.span5, textarea.span5, .uneditable-input.span5 {
  357. width: 280px;
  358. }
  359. input.span4, textarea.span4, .uneditable-input.span4 {
  360. width: 218px;
  361. }
  362. input.span3, textarea.span3, .uneditable-input.span3 {
  363. width: 156px;
  364. }
  365. input.span2, textarea.span2, .uneditable-input.span2 {
  366. width: 94px;
  367. }
  368. input.span1, textarea.span1, .uneditable-input.span1 {
  369. width: 32px;
  370. }
  371. }
  372. @media (max-width: 979px) {
  373. body {
  374. padding-top: 0;
  375. }
  376. .navbar-fixed-top {
  377. position: static;
  378. margin-bottom: 18px;
  379. }
  380. .navbar-fixed-top .navbar-inner {
  381. padding: 5px;
  382. }
  383. .navbar .container {
  384. width: auto;
  385. padding: 0;
  386. }
  387. .navbar .brand {
  388. padding-left: 10px;
  389. padding-right: 10px;
  390. margin: 0 0 0 -5px;
  391. }
  392. .navbar .nav-collapse {
  393. clear: left;
  394. }
  395. .navbar .nav {
  396. float: none;
  397. margin: 0 0 9px;
  398. }
  399. .navbar .nav > li {
  400. float: none;
  401. }
  402. .navbar .nav > li > a {
  403. margin-bottom: 2px;
  404. }
  405. .navbar .nav > .divider-vertical {
  406. display: none;
  407. }
  408. .navbar .nav .nav-header {
  409. color: #999999;
  410. text-shadow: none;
  411. }
  412. .navbar .nav > li > a,
  413. .navbar .dropdown-menu a {
  414. padding: 6px 15px;
  415. font-weight: bold;
  416. color: #999999;
  417. -webkit-border-radius: 3px;
  418. -moz-border-radius: 3px;
  419. border-radius: 3px;
  420. }
  421. .navbar .dropdown-menu li + li a {
  422. margin-bottom: 2px;
  423. }
  424. .navbar .nav > li > a:hover,
  425. .navbar .dropdown-menu a:hover {
  426. background-color: #222222;
  427. }
  428. .navbar .dropdown-menu {
  429. position: static;
  430. top: auto;
  431. left: auto;
  432. float: none;
  433. display: block;
  434. max-width: none;
  435. margin: 0 15px;
  436. padding: 0;
  437. background-color: transparent;
  438. border: none;
  439. -webkit-border-radius: 0;
  440. -moz-border-radius: 0;
  441. border-radius: 0;
  442. -webkit-box-shadow: none;
  443. -moz-box-shadow: none;
  444. box-shadow: none;
  445. }
  446. .navbar .dropdown-menu:before,
  447. .navbar .dropdown-menu:after {
  448. display: none;
  449. }
  450. .navbar .dropdown-menu .divider {
  451. display: none;
  452. }
  453. .navbar-form,
  454. .navbar-search {
  455. float: none;
  456. padding: 9px 15px;
  457. margin: 9px 0;
  458. border-top: 1px solid #222222;
  459. border-bottom: 1px solid #222222;
  460. -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  461. -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  462. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
  463. }
  464. .navbar .nav.pull-right {
  465. float: none;
  466. margin-left: 0;
  467. }
  468. .navbar-static .navbar-inner {
  469. padding-left: 10px;
  470. padding-right: 10px;
  471. }
  472. .btn-navbar {
  473. display: block;
  474. }
  475. .nav-collapse {
  476. overflow: hidden;
  477. height: 0;
  478. }
  479. }
  480. @media (min-width: 980px) {
  481. .nav-collapse.collapse {
  482. height: auto !important;
  483. overflow: visible !important;
  484. }
  485. }
  486. @media (min-width: 1200px) {
  487. .row {
  488. margin-left: -30px;
  489. *zoom: 1;
  490. }
  491. .row:before,
  492. .row:after {
  493. display: table;
  494. content: "";
  495. }
  496. .row:after {
  497. clear: both;
  498. }
  499. [class*="span"] {
  500. float: left;
  501. margin-left: 30px;
  502. }
  503. .container,
  504. .navbar-fixed-top .container,
  505. .navbar-fixed-bottom .container {
  506. width: 1170px;
  507. }
  508. .span12 {
  509. width: 1170px;
  510. }
  511. .span11 {
  512. width: 1070px;
  513. }
  514. .span10 {
  515. width: 970px;
  516. }
  517. .span9 {
  518. width: 870px;
  519. }
  520. .span8 {
  521. width: 770px;
  522. }
  523. .span7 {
  524. width: 670px;
  525. }
  526. .span6 {
  527. width: 570px;
  528. }
  529. .span5 {
  530. width: 470px;
  531. }
  532. .span4 {
  533. width: 370px;
  534. }
  535. .span3 {
  536. width: 270px;
  537. }
  538. .span2 {
  539. width: 170px;
  540. }
  541. .span1 {
  542. width: 70px;
  543. }
  544. .offset12 {
  545. margin-left: 1230px;
  546. }
  547. .offset11 {
  548. margin-left: 1130px;
  549. }
  550. .offset10 {
  551. margin-left: 1030px;
  552. }
  553. .offset9 {
  554. margin-left: 930px;
  555. }
  556. .offset8 {
  557. margin-left: 830px;
  558. }
  559. .offset7 {
  560. margin-left: 730px;
  561. }
  562. .offset6 {
  563. margin-left: 630px;
  564. }
  565. .offset5 {
  566. margin-left: 530px;
  567. }
  568. .offset4 {
  569. margin-left: 430px;
  570. }
  571. .offset3 {
  572. margin-left: 330px;
  573. }
  574. .offset2 {
  575. margin-left: 230px;
  576. }
  577. .offset1 {
  578. margin-left: 130px;
  579. }
  580. .row-fluid {
  581. width: 100%;
  582. *zoom: 1;
  583. }
  584. .row-fluid:before,
  585. .row-fluid:after {
  586. display: table;
  587. content: "";
  588. }
  589. .row-fluid:after {
  590. clear: both;
  591. }
  592. .row-fluid > [class*="span"] {
  593. float: left;
  594. margin-left: 2.564102564%;
  595. }
  596. .row-fluid > [class*="span"]:first-child {
  597. margin-left: 0;
  598. }
  599. .row-fluid > .span12 {
  600. width: 100%;
  601. }
  602. .row-fluid > .span11 {
  603. width: 91.45299145300001%;
  604. }
  605. .row-fluid > .span10 {
  606. width: 82.905982906%;
  607. }
  608. .row-fluid > .span9 {
  609. width: 74.358974359%;
  610. }
  611. .row-fluid > .span8 {
  612. width: 65.81196581200001%;
  613. }
  614. .row-fluid > .span7 {
  615. width: 57.264957265%;
  616. }
  617. .row-fluid > .span6 {
  618. width: 48.717948718%;
  619. }
  620. .row-fluid > .span5 {
  621. width: 40.170940171000005%;
  622. }
  623. .row-fluid > .span4 {
  624. width: 31.623931624%;
  625. }
  626. .row-fluid > .span3 {
  627. width: 23.076923077%;
  628. }
  629. .row-fluid > .span2 {
  630. width: 14.529914530000001%;
  631. }
  632. .row-fluid > .span1 {
  633. width: 5.982905983%;
  634. }
  635. input,
  636. textarea,
  637. .uneditable-input {
  638. margin-left: 0;
  639. }
  640. input.span12, textarea.span12, .uneditable-input.span12 {
  641. width: 1160px;
  642. }
  643. input.span11, textarea.span11, .uneditable-input.span11 {
  644. width: 1060px;
  645. }
  646. input.span10, textarea.span10, .uneditable-input.span10 {
  647. width: 960px;
  648. }
  649. input.span9, textarea.span9, .uneditable-input.span9 {
  650. width: 860px;
  651. }
  652. input.span8, textarea.span8, .uneditable-input.span8 {
  653. width: 760px;
  654. }
  655. input.span7, textarea.span7, .uneditable-input.span7 {
  656. width: 660px;
  657. }
  658. input.span6, textarea.span6, .uneditable-input.span6 {
  659. width: 560px;
  660. }
  661. input.span5, textarea.span5, .uneditable-input.span5 {
  662. width: 460px;
  663. }
  664. input.span4, textarea.span4, .uneditable-input.span4 {
  665. width: 360px;
  666. }
  667. input.span3, textarea.span3, .uneditable-input.span3 {
  668. width: 260px;
  669. }
  670. input.span2, textarea.span2, .uneditable-input.span2 {
  671. width: 160px;
  672. }
  673. input.span1, textarea.span1, .uneditable-input.span1 {
  674. width: 60px;
  675. }
  676. .thumbnails {
  677. margin-left: -30px;
  678. }
  679. .thumbnails > li {
  680. margin-left: 30px;
  681. }
  682. }