layout.css

  1. 5.x themes/basic/layout.css
  2. 5.x themes/fp5_clean/layout.css
  3. 5.x themes/classic/layout.css

This is where the CSS directly related to the theme's layout goes. For example, CSS regarding corners of tables, width of page, etc.

File

themes/basic/layout.css
View source
  1. /**
  2. * @file
  3. * This is where the CSS directly related to the theme's layout goes. For example, CSS regarding
  4. * corners of tables, width of page, etc.
  5. */
  6. body
  7. {
  8. font-family: Arial, Helvetica, sans serif;
  9. background-color: #ECECDB;
  10. }
  11. /*
  12. * Page top banner
  13. */
  14. .top-banner {
  15. width: 820px; /* the size of page-content + padding */
  16. margin-left: auto;
  17. margin-right: auto;
  18. margin-bottom: 1.2em;
  19. background-color: white;
  20. border: 3px solid #ccc;
  21. border-radius: 5px;
  22. }
  23. /* Don't display if this is a popup! */
  24. .page-is-popup .top-banner {
  25. display: none;
  26. }
  27. /* Tabs & search */
  28. table.tabs-search-table {
  29. width: 820px; /* size of page-content + padding */
  30. margin-left: auto;
  31. margin-right: auto;
  32. text-align: left;
  33. border: 0;
  34. border-spacing: 0;
  35. border-collapse: collapse;
  36. background-color: #ECECDB;
  37. }
  38. /* Are we in a popup window? */
  39. .page-is-popup .tabs-search-table {
  40. width: 90%; /* set to same as page-content in a popup */
  41. }
  42. table.tabs-search-table td {
  43. padding: 0;
  44. margin: 0;
  45. }
  46. table.tabs-table-tabs {
  47. width: 100%;
  48. text-align: left;
  49. border: 0;
  50. border-spacing: 0;
  51. border-collapse: collapse;
  52. }
  53. .tabs-table-tabs td {
  54. padding: 0;
  55. margin: 0;
  56. }
  57. table.tabs-search-table td.search-td {
  58. text-align: right;
  59. width: 100%;
  60. vertical-align: bottom;
  61. padding-right: 30px;
  62. }
  63. .tab_left, .tab_left_i {
  64. display: none;
  65. }
  66. .tab_right, .tab_right_i {
  67. display: none;
  68. }
  69. .active_tab, .inactive_tab {
  70. border-collapse: separate;
  71. position: relative;
  72. top: 4px;
  73. color: #660000;
  74. cursor: default;
  75. padding: 5px 5px 0px 5px;
  76. border: 3px solid #ccc;
  77. border-radius: 5px;
  78. }
  79. .active_tab {
  80. border-bottom: 3px solid white;
  81. background-color: white;
  82. }
  83. .inactive_tab {
  84. position: relative;
  85. top: 4px;
  86. color: #A0A0A0;
  87. border-bottom: 1px solid #ccc;
  88. }
  89. .inactive_tab_over {
  90. border-collapse: separate;
  91. padding: 5px 5px 0px 5px;
  92. border: 3px solid #ccc;
  93. border-radius: 5px;
  94. cursor: pointer;
  95. position: relative;
  96. top: 4px;
  97. color: black;
  98. border-bottom: 1px solid #ccc;
  99. }
  100. .inactive_tab_over_no_link {
  101. color: #A0A0A0;
  102. cursor: default;
  103. }
  104. .tab_text
  105. {
  106. font-family: Arial, Helvetica, sans serif;
  107. font-size: 0.8em;
  108. }
  109. /* Page content */
  110. .page-content {
  111. width: 800px;
  112. min-height: 400px;
  113. margin-left: auto;
  114. margin-right: auto;
  115. padding-left: 10px;
  116. padding-right: 10px;
  117. padding-top: 5px;
  118. padding-bottom: 50px;
  119. border: 3px solid #ccc;
  120. border-radius: 5px;
  121. background-color: white;
  122. }
  123. .page-is-popup .page-content {
  124. min-height: 250px;
  125. width: 90%;
  126. }
  127. /* bottom message / footer region */
  128. .fp-bottom-message {
  129. font-size: 0.7em;
  130. width: 800px;
  131. margin-left: auto;
  132. margin-right: auto;
  133. padding-left: 40px;
  134. }
  135. .page-is-popup .fp-bottom-message {
  136. width: 90%;
  137. margin: 0;
  138. }