Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

non-responsive.css 2.6 KiB

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