disable_responsiveness.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /* Template-specific stuff
  2. *
  3. * Customizations just for the template; these are not necessary for anything
  4. * with disabling the responsiveness.
  5. */
  6. /* Account for fixed navbar */
  7. body {
  8. padding-top: 70px;
  9. padding-bottom: 30px;
  10. min-width: 970px;
  11. }
  12. /* Finesse the page header spacing */
  13. .page-header {
  14. margin-bottom: 30px;
  15. }
  16. .page-header .lead {
  17. margin-bottom: 10px;
  18. }
  19. /* Non-responsive overrides
  20. *
  21. * Utilitze the following CSS to disable the responsive-ness of the container,
  22. * grid system, and navbar.
  23. */
  24. /* Reset the container */
  25. .container {
  26. max-width: none !important;
  27. min-width: 970px !important;
  28. width: 100%;
  29. }
  30. /* Demonstrate the grids */
  31. .col-xs-4 {
  32. padding-top: 15px;
  33. padding-bottom: 15px;
  34. background-color: #eee;
  35. border: 1px solid #ddd;
  36. background-color: rgba(86,61,124,.15);
  37. border: 1px solid rgba(86,61,124,.2);
  38. }
  39. .container .navbar-header,
  40. .container .navbar-collapse {
  41. margin-right: 0;
  42. margin-left: 0;
  43. }
  44. /* Always float the navbar header */
  45. .navbar-header {
  46. float: left;
  47. }
  48. /* Undo the collapsing navbar */
  49. .navbar-collapse {
  50. display: block !important;
  51. height: auto !important;
  52. padding-bottom: 0;
  53. overflow: visible !important;
  54. }
  55. .navbar-toggle {
  56. display: none;
  57. }
  58. .navbar-collapse {
  59. border-top: 0;
  60. }
  61. .navbar-brand {
  62. margin-left: -15px;
  63. }
  64. /* Always apply the floated nav */
  65. .navbar-nav {
  66. float: left;
  67. margin: 0;
  68. }
  69. .navbar-nav > li {
  70. float: left;
  71. }
  72. .navbar-nav > li > a {
  73. padding: 15px;
  74. }
  75. /* Redeclare since we override the float above */
  76. .navbar-nav.navbar-right {
  77. float: right;
  78. }
  79. /* Undo custom dropdowns */
  80. .navbar .navbar-nav .open .dropdown-menu {
  81. position: absolute;
  82. float: left;
  83. background-color: #fff;
  84. border: 1px solid #cccccc;
  85. border: 1px solid rgba(0, 0, 0, 0.15);
  86. border-width: 0 1px 1px;
  87. border-radius: 0 0 4px 4px;
  88. -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  89. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  90. }
  91. .navbar-default .navbar-nav .open .dropdown-menu > li > a {
  92. color: #333;
  93. }
  94. .navbar .navbar-nav .open .dropdown-menu > li > a:hover,
  95. .navbar .navbar-nav .open .dropdown-menu > li > a:focus,
  96. .navbar .navbar-nav .open .dropdown-menu > .active > a,
  97. .navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
  98. .navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
  99. color: #fff !important;
  100. background-color: #428bca !important;
  101. }
  102. .navbar .navbar-nav .open .dropdown-menu > .disabled > a,
  103. .navbar .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  104. .navbar .navbar-nav .open .dropdown-menu > .disabled > a:focus {
  105. color: #999 !important;
  106. background-color: transparent !important;
  107. }