components.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <?php
  2. /**
  3. * Modbash Clean Elgg Theme
  4. *
  5. * Copyright (c) 2015 ModBash
  6. *
  7. * @author Shane Barron <admin@modbash.com>
  8. * @copyright 2015 SocialApparatus
  9. * @license GNU General Public License (GPL) version 2
  10. * @version 1
  11. * @link http://modbash.com
  12. */
  13. ?>
  14. /* <style> /**/
  15. /* ***************************************
  16. Image Block
  17. *************************************** */
  18. .elgg-image-block {
  19. padding: 10px 0;
  20. }
  21. .elgg-image-block .elgg-image {
  22. float: left;
  23. margin-right: 8px;
  24. }
  25. .elgg-image-block .elgg-image-alt {
  26. float: right;
  27. margin-left: 8px;
  28. }
  29. /* ***************************************
  30. List
  31. *************************************** */
  32. .elgg-list {
  33. margin: 5px 0;
  34. clear: both;
  35. }
  36. .elgg-list > li {
  37. border-bottom: 1px solid #DCDCDC;
  38. }
  39. .elgg-item h3 a {
  40. padding-bottom: 4px;
  41. }
  42. .elgg-item > .elgg-subtext {
  43. margin-bottom: 4px;
  44. }
  45. .elgg-item .elgg-content {
  46. margin: 10px 5px 10px 0;
  47. }
  48. .elgg-content {
  49. clear: both;
  50. }
  51. /* ***************************************
  52. Gallery
  53. *************************************** */
  54. .elgg-gallery {
  55. border: none;
  56. margin-right: auto;
  57. margin-left: auto;
  58. }
  59. .elgg-gallery td {
  60. padding: 5px;
  61. }
  62. .elgg-gallery-fluid > li {
  63. float: left;
  64. }
  65. .elgg-gallery-users > li {
  66. margin: 0 2px;
  67. }
  68. /* ***************************************
  69. Tables
  70. *************************************** */
  71. .elgg-table {
  72. width: 100%;
  73. border-top: 1px solid #DCDCDC;
  74. }
  75. .elgg-table td, .elgg-table th {
  76. padding: 4px 8px;
  77. border: 1px solid #DCDCDC;
  78. }
  79. .elgg-table th {
  80. background-color: #DDD;
  81. }
  82. .elgg-table tr:nth-child(odd), .elgg-table tr.odd {
  83. background-color: #FFF;
  84. }
  85. .elgg-table tr:nth-child(even), .elgg-table tr.even {
  86. background-color: #F0F0F0;
  87. }
  88. .elgg-table-alt {
  89. width: 100%;
  90. border-top: 1px solid #DCDCDC;
  91. }
  92. .elgg-table-alt th {
  93. background-color: #EEE;
  94. font-weight: bold;
  95. }
  96. .elgg-table-alt td, .elgg-table-alt th {
  97. padding: 6px 0;
  98. border-bottom: 1px solid #DCDCDC;
  99. }
  100. .elgg-table-alt td:first-child {
  101. width: 200px;
  102. }
  103. .elgg-table-alt tr:hover {
  104. background: #E4E4E4;
  105. }
  106. /* ***************************************
  107. Owner Block
  108. *************************************** */
  109. .elgg-owner-block {
  110. margin-bottom: 20px;
  111. }
  112. /* ***************************************
  113. Messages
  114. *************************************** */
  115. .elgg-message {
  116. color: #FFF;
  117. display: block;
  118. padding: 10px 20px;
  119. cursor: pointer;
  120. opacity: 0.9;
  121. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  122. border-radius: 3px;
  123. }
  124. .elgg-state-success {
  125. background-color: #090;
  126. }
  127. .elgg-state-error {
  128. background-color: #F00;
  129. }
  130. .elgg-state-notice {
  131. background-color: #5097CF;
  132. }
  133. .elgg-box-error {
  134. margin-top: 10px;
  135. padding: 20px;
  136. color: #B94A48;
  137. background-color: #F8E8E8;
  138. border: 1px solid #E5B7B5;
  139. border-radius: 5px;
  140. }
  141. /* ***************************************
  142. River
  143. *************************************** */
  144. .elgg-list-river {
  145. margin-top: -10px;
  146. }
  147. .elgg-river-layout .elgg-list-river {
  148. border-top: 1px solid #DCDCDC;
  149. }
  150. .elgg-list-river > li {
  151. border-bottom: 1px solid #DCDCDC;
  152. }
  153. .elgg-river-item .elgg-pict {
  154. margin-right: 20px;
  155. }
  156. .elgg-river-timestamp {
  157. color: #666;
  158. font-size: 85%;
  159. font-style: italic;
  160. line-height: 1.2em;
  161. }
  162. .elgg-river-attachments,
  163. .elgg-river-message,
  164. .elgg-river-content {
  165. border-left: 1px solid #DCDCDC;
  166. margin: 8px 0 5px 0;
  167. padding-left: 8px;
  168. }
  169. .elgg-river-attachments .elgg-avatar,
  170. .elgg-river-attachments .elgg-icon {
  171. float: left;
  172. }
  173. .elgg-river-attachments .elgg-icon-arrow-right {
  174. margin: 3px 8px 0;
  175. }
  176. .elgg-river-layout .elgg-input-dropdown {
  177. float: right;
  178. margin: 10px 0;
  179. }
  180. .elgg-river-comments-tab {
  181. display: block;
  182. background-color: #EEE;
  183. margin-top: 5px;
  184. width: auto;
  185. float: right;
  186. font-size: 85%;
  187. padding: 1px 8px;
  188. border-radius: 3px 3px 0 0;
  189. }
  190. <?php //@todo components.php ?>
  191. .elgg-river-comments {
  192. margin: 0;
  193. border-top: none;
  194. }
  195. .elgg-river-comments li:first-child {
  196. border-radius: 3px 0 0;
  197. }
  198. .elgg-river-comments li:last-child {
  199. border-radius-bottomleft: 0 0 5px 5px;
  200. }
  201. .elgg-river-comments li {
  202. background-color: #EEE;
  203. border-bottom: none;
  204. padding: 4px 4px 4px 10px;
  205. margin-bottom: 2px;
  206. }
  207. .elgg-river-comments li .elgg-output {
  208. padding-right: 5px;
  209. }
  210. .elgg-river-comments .elgg-media {
  211. padding: 0;
  212. }
  213. .elgg-river-more {
  214. background-color: #EEE;
  215. border-radius: 3px;
  216. padding: 2px 4px;
  217. font-size: 85%;
  218. margin-bottom: 2px;
  219. }
  220. <?php //@todo location-dependent styles ?>
  221. .elgg-river-item form {
  222. background-color: #EEE;
  223. padding: 6px;
  224. border-radius: 3px;
  225. height: auto;
  226. }
  227. .elgg-river-item input[type=text] {
  228. width: 78%;
  229. }
  230. .elgg-river-item input[type=submit] {
  231. margin: 0 0 0 10px;
  232. }
  233. /* **************************************
  234. Comments (from elgg_view_comments)
  235. ************************************** */
  236. .elgg-comments {
  237. margin-top: 25px;
  238. }
  239. .elgg-comments > form {
  240. margin-top: 15px;
  241. }
  242. /* ***************************************
  243. Image-related
  244. *************************************** */
  245. .elgg-photo {
  246. border: 1px solid #DCDCDC;
  247. padding: 3px;
  248. background-color: #FFF;
  249. -webkit-box-sizing: border-box;
  250. -moz-box-sizing: border-box;
  251. box-sizing: border-box;
  252. max-width: 100%;
  253. height: auto;
  254. }
  255. /* ***************************************
  256. Tags
  257. *************************************** */
  258. .elgg-tags {
  259. font-size: 85%;
  260. }
  261. .elgg-tags > li {
  262. float:left;
  263. margin-right: 5px;
  264. }
  265. .elgg-tags li.elgg-tag:after {
  266. content: ",";
  267. }
  268. .elgg-tags li.elgg-tag:last-child:after {
  269. content: "";
  270. }
  271. .elgg-tagcloud {
  272. text-align: justify;
  273. margin-bottom: 5px;
  274. }