ozonedoc.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /**
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. */
  18. /*
  19. * Base structure
  20. */
  21. /* Move down content because we have a fixed navbar that is 50px tall */
  22. body {
  23. padding-top: 50px;
  24. font-size: 14pt;
  25. }
  26. pre {
  27. font-size: 14pt;
  28. }
  29. a {
  30. color: #448628;
  31. }
  32. a:hover {
  33. color: #245F0B;
  34. }
  35. /*
  36. * Global add-ons
  37. */
  38. .sub-header {
  39. padding-bottom: 10px;
  40. border-bottom: 1px solid #eee;
  41. }
  42. /*
  43. * Top navigation
  44. * Hide default border to remove 1px line.
  45. */
  46. .navbar-fixed-top {
  47. border: 0;
  48. }
  49. /*
  50. * Sidebar
  51. */
  52. /* Hide for mobile, show later */
  53. .sidebar {
  54. display: none;
  55. }
  56. @media (min-width: 768px) {
  57. .sidebar {
  58. position: fixed;
  59. top: 51px;
  60. bottom: 0;
  61. left: 0;
  62. z-index: 1000;
  63. display: block;
  64. padding: 20px;
  65. overflow-x: hidden;
  66. overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  67. background-color: #f5f5f5;
  68. border-right: 1px solid #eee;
  69. }
  70. }
  71. /* Sidebar navigation */
  72. .nav-sidebar {
  73. margin-right: -21px; /* 20px padding + 1px border */
  74. margin-bottom: 20px;
  75. margin-left: -20px;
  76. }
  77. .nav-sidebar > li > a {
  78. padding-right: 20px;
  79. padding-left: 20px;
  80. }
  81. .nav-sidebar > li > ul > li > a {
  82. padding-right: 40px;
  83. padding-left: 40px;
  84. }
  85. .nav-sidebar .active > a,
  86. .nav-sidebar .active > a:hover,
  87. .nav-sidebar .active > a:focus {
  88. color: #fff;
  89. background-color: #73B148;
  90. }
  91. /*
  92. * Main content
  93. */
  94. .main {
  95. padding: 20px;
  96. }
  97. @media (min-width: 768px) {
  98. .main {
  99. padding-right: 40px;
  100. padding-left: 40px;
  101. }
  102. }
  103. .main .page-header {
  104. margin-top: 0;
  105. }
  106. /*
  107. * Placeholder dashboard ideas
  108. */
  109. .placeholders {
  110. margin-bottom: 30px;
  111. text-align: center;
  112. }
  113. .placeholders h4 {
  114. margin-bottom: 0;
  115. }
  116. .placeholder {
  117. margin-bottom: 20px;
  118. }
  119. .placeholder img {
  120. display: inline-block;
  121. border-radius: 50%;
  122. }