theme_sandbox.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. .theme-sandbox-page {
  2. background-color: white;
  3. }
  4. .theme-sandbox-header {
  5. margin: 30px auto 15px;
  6. text-align: center;
  7. }
  8. .theme-sandbox-main {
  9. padding: 20px 20px;
  10. min-height: 360px;
  11. position: relative;
  12. }
  13. .theme-sandbox-sidebar {
  14. float: left;
  15. padding: 20px 20px;
  16. margin-right: 10px;
  17. position: relative;
  18. width: 160px;
  19. }
  20. .theme-sandbox-site-heading a,
  21. .theme-sandbox-site-heading a:hover,
  22. .theme-sandbox-site-heading a:focus {
  23. font-size: 44px;
  24. color: #333;
  25. text-decoration: none;
  26. }
  27. .theme-sandbox-site-heading a:hover,
  28. .theme-sandbox-site-heading a:focus {
  29. color: #888;
  30. }
  31. .theme-sandbox-page-heading {
  32. font-size: 24px;
  33. color: #666;
  34. margin-bottom: 10px;
  35. }
  36. .theme-sandbox-section-heading {
  37. font-size: 18px;
  38. color: #666;
  39. margin-bottom: 10px;
  40. }
  41. .elgg-module-theme-sandbox-nav {
  42. color: #333333;
  43. position: fixed;
  44. width: 200px;
  45. }
  46. .elgg-module-theme-sandbox-nav > .elgg-head {
  47. padding: 5px 10px;
  48. }
  49. .elgg-module-theme-sandbox-nav > .elgg-head > h3 {
  50. color: #666;
  51. }
  52. .elgg-menu-theme-sandbox > li {
  53. padding: 4px 20px;
  54. }
  55. .elgg-menu-theme-sandbox > li.elgg-state-selected {
  56. background-color: #E4E4E4;
  57. border-radius: 3px;
  58. }
  59. .elgg-menu-theme-sandbox > li.elgg-state-selected > a {
  60. color: #333
  61. }
  62. .elgg-menu-theme-sandbox a,
  63. .elgg-menu-theme-sandbox a:hover,
  64. .elgg-menu-theme-sandbox a:focus {
  65. color: #777;
  66. text-decoration: none;
  67. }
  68. .elgg-menu-theme-sandbox a:hover,
  69. .elgg-menu-theme-sandbox a:focus {
  70. text-decoration: underline;
  71. }
  72. .elgg-module-theme-sandbox-demo > .elgg-head {
  73. background: #e4e4e4;
  74. padding: 5px;
  75. margin-bottom: 10px;
  76. border-radius: 3px;
  77. }
  78. .elgg-module-theme-sandbox-demo > .elgg-head * {
  79. color: #333;
  80. }
  81. .elgg-module-theme-sandbox-demo > .elgg-body {
  82. position: relative;
  83. }
  84. .theme-sandbox-table {
  85. width: 100%;
  86. border-top: 1px solid #ccc;
  87. }
  88. .theme-sandbox-table td, .theme-sandbox-table th {
  89. padding: 4px 8px;
  90. border: 1px solid #ccc;
  91. }
  92. .theme-sandbox-table th {
  93. font-weight: bold;
  94. color: #666;
  95. }
  96. .theme-sandbox-table tr:nth-child(odd), .theme-sandbox-table tr.odd {
  97. background-color: #fff;
  98. }
  99. .theme-sandbox-table tr:nth-child(even), .theme-sandbox-table tr.even {
  100. background-color: #f0f0f0;
  101. }
  102. .theme-sandbox-grid-demo {
  103. margin-bottom: 30px;
  104. }
  105. .theme-sandbox-grid-demo-solid > .elgg-col > .elgg-inner {
  106. background-color: #999;
  107. color: #fff;
  108. border-radius: 5px;
  109. margin: 5px;
  110. padding: 8px;
  111. text-align: center;
  112. }
  113. .theme-sandbox-grid-demo-solid > .elgg-col:first-child > .elgg-inner {
  114. margin-left: 0;
  115. }
  116. .theme-sandbox-grid-demo-solid > .elgg-col:last-child > .elgg-inner {
  117. margin-right: 0;
  118. }
  119. .theme-sandbox-grid-demo-outline > .elgg-col > .elgg-inner {
  120. border: 1px solid #cccccc;
  121. border-radius: 5px;
  122. padding: 5px;
  123. text-align: center;
  124. font-size: .65rem;
  125. }
  126. .elgg-col p {
  127. text-align: left;
  128. font-size: .80rem;
  129. }
  130. .theme-sandbox-demo-sidebar {
  131. width: 200px;
  132. }
  133. .theme-sandbox-content-thin {
  134. max-width: 600px;
  135. }
  136. /* specific to core theme for site navigation menu */
  137. .elgg-body > .elgg-page-header > .elgg-inner > .elgg-menu-site-default {
  138. position: static;
  139. }