modules.php 3.3 KB

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