modules.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /* <style> /**/
  2. /* ***************************************
  3. Modules
  4. *************************************** */
  5. .elgg-module {
  6. overflow: hidden;
  7. margin-bottom: 20px;
  8. }
  9. /* Aside */
  10. .elgg-module-aside .elgg-head {
  11. border-bottom: 1px solid #DCDCDC;
  12. margin-bottom: 5px;
  13. padding-bottom: 5px;
  14. }
  15. /* Info */
  16. .elgg-module-info > .elgg-head {
  17. background-color: #F0F0F0;
  18. padding: 10px;
  19. margin-bottom: 10px;
  20. height: auto;
  21. overflow: hidden;
  22. box-shadow: inset 0 0 1px #FFFFFF;
  23. }
  24. .elgg-module-info > .elgg-head * {
  25. color: #444;
  26. }
  27. /* Popup */
  28. .elgg-module-popup {
  29. background-color: #FFF;
  30. border: 1px solid #DCDCDC;
  31. z-index: 9999;
  32. margin-bottom: 0;
  33. padding: 5px;
  34. border-radius: 3px;
  35. box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  36. }
  37. .elgg-module-popup > .elgg-head {
  38. margin-bottom: 5px;
  39. }
  40. .elgg-module-popup > .elgg-head * {
  41. color: #0054A7;
  42. }
  43. /* Dropdown */
  44. .elgg-module-dropdown {
  45. background-color: #FFF;
  46. border: 1px solid #DEDEDE;
  47. border-radius: 0 0 3px 3px;
  48. display:none;
  49. width: 240px;
  50. padding: 20px;
  51. margin-right: 0;
  52. z-index: 100;
  53. position: absolute;
  54. right: 0;
  55. top: 100%;
  56. box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.25);
  57. }
  58. /* Featured */
  59. .elgg-module-featured {
  60. border: 1px solid #DCDCDC;
  61. border-radius: 3px;
  62. }
  63. .elgg-module-featured > .elgg-head {
  64. background-color: #F0F0F0;
  65. padding: 10px;
  66. height: auto;
  67. overflow: hidden;
  68. border-bottom: 1px solid #DCDCDC;
  69. box-shadow: inset 0 0 1px #FFFFFF;
  70. }
  71. .elgg-module-featured > .elgg-head * {
  72. color: #666;
  73. }
  74. .elgg-module-featured > .elgg-body {
  75. padding: 10px;
  76. }
  77. /* ***************************************
  78. Widgets
  79. *************************************** */
  80. .elgg-widgets {
  81. min-height: 30px;
  82. }
  83. .elgg-widget-add-control {
  84. text-align: right;
  85. margin: 0 5px 15px;
  86. }
  87. .elgg-widget-add-control .elgg-button {
  88. display: inline;
  89. }
  90. .elgg-widgets-add-panel {
  91. padding: 10px;
  92. margin: 0 5px 15px;
  93. background: #DEDEDE;
  94. border: 2px solid #ccc;
  95. }
  96. <?php //@todo location-dependent style: make an extension of elgg-gallery ?>
  97. .elgg-widgets-add-panel li {
  98. float: left;
  99. margin: 2px 10px;
  100. width: 200px;
  101. padding: 4px;
  102. background-color: #CCC;
  103. border: 2px solid #B0B0B0;
  104. font-weight: bold;
  105. }
  106. .elgg-widgets-add-panel li a {
  107. display: block;
  108. }
  109. .elgg-widgets-add-panel .elgg-state-available {
  110. color: #333;
  111. cursor: pointer;
  112. }
  113. .elgg-widgets-add-panel .elgg-state-available:hover {
  114. background-color: #BCBCBC;
  115. }
  116. .elgg-widgets-add-panel .elgg-state-unavailable {
  117. color: #888;
  118. }
  119. .elgg-module-widget {
  120. border: 1px solid #DCDCDC;
  121. margin: 0 10px 15px;
  122. position: relative;
  123. }
  124. .elgg-module-widget:hover {
  125. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  126. }
  127. .elgg-module-widget > .elgg-head {
  128. background-color: #F0F0F0;
  129. padding: 10px 0;
  130. height: auto;
  131. overflow: hidden;
  132. box-shadow: inset 0 0 1px #FFFFFF;
  133. }
  134. .elgg-module-widget > .elgg-head h3 {
  135. float: left;
  136. padding: 0 45px 0 30px;
  137. color: #666;
  138. }
  139. .elgg-module-widget.elgg-state-draggable .elgg-widget-handle {
  140. cursor: move;
  141. }
  142. a.elgg-widget-collapse-button {
  143. color: #C5C5C5;
  144. }
  145. a.elgg-widget-collapse-button:hover,
  146. a.elgg-widget-collapsed:hover {
  147. color: #9D9D9D;
  148. text-decoration: none;
  149. }
  150. a.elgg-widget-collapse-button:before {
  151. content: "\25BC";
  152. }
  153. a.elgg-widget-collapsed:before {
  154. content: "\25BA";
  155. }
  156. .elgg-module-widget > .elgg-body {
  157. background-color: #FFF;
  158. width: 100%;
  159. overflow: hidden;
  160. border-top: 1px solid #DCDCDC;
  161. }
  162. .elgg-widget-edit {
  163. display: none;
  164. width: auto;
  165. padding: 10px;
  166. border-bottom: 1px solid #DCDCDC;
  167. background-color: #F9F9F9;
  168. }
  169. .elgg-widget-content {
  170. padding: 10px;
  171. }
  172. .elgg-widget-placeholder {
  173. border: 1px dashed #DEDEDE;
  174. margin-bottom: 15px;
  175. }