Elgg  Version 1.12
components.php
Go to the documentation of this file.
1 <?php
10 ?>
11 /* <style> /**/
12 
13 /* ***************************************
14  Image Block
15 *************************************** */
16 .elgg-image-block {
17  padding: 3px 0;
18 }
19 .elgg-image-block .elgg-image {
20  float: left;
21  margin-right: 5px;
22 }
23 .elgg-image-block .elgg-image-alt {
24  float: right;
25  margin-left: 5px;
26 }
27 .elgg-avatar > a:focus > img,
28 .elgg-image > a:focus > img {
29  opacity: .7;
30 }
31 
32 /* ***************************************
33  List
34 *************************************** */
35 .elgg-list {
36  border-top: 1px dotted #CCCCCC;
37  margin: 5px 0;
38  clear: both;
39 }
40 .elgg-list > li {
41  border-bottom: 1px dotted #CCCCCC;
42 }
43 
44 .elgg-item .elgg-subtext {
45  margin-bottom: 5px;
46 }
47 .elgg-item .elgg-content {
48  margin: 10px 5px;
49 }
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 /* ***************************************
70  Tables
71 *************************************** */
72 .elgg-table {
73  width: 100%;
74  border-top: 1px solid #ccc;
75 }
76 .elgg-table td, .elgg-table th {
77  padding: 4px 8px;
78  border: 1px solid #ccc;
79 }
80 .elgg-table th {
81  background-color: #ddd;
82 }
83 .elgg-table tr:nth-child(odd), .elgg-table tr.odd {
84  background-color: #fff;
85 }
86 .elgg-table tr:nth-child(even), .elgg-table tr.even {
87  background-color: #f0f0f0;
88 }
89 .elgg-table-alt {
90  width: 100%;
91  border-top: 1px solid #ccc;
92 }
93 .elgg-table-alt th {
94  background-color: #eee;
95  font-weight: bold;
96 }
97 .elgg-table-alt td, .elgg-table-alt th {
98  padding: 2px 4px 2px 4px;
99  border-bottom: 1px solid #ccc;
100 }
101 .elgg-table-alt td:first-child {
102  width: 200px;
103 }
104 .elgg-table-alt tr:hover {
105  background: #E4E4E4;
106 }
107 
108 /* ***************************************
109  Owner Block
110 *************************************** */
111 .elgg-owner-block {
112  margin-bottom: 20px;
113 }
114 
115 /* ***************************************
116  Messages
117 *************************************** */
118 .elgg-message {
119  color: white;
120  font-weight: bold;
121  display: block;
122  padding: 3px 10px;
123  cursor: pointer;
124  opacity: 0.9;
125  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
126  border-radius: 8px;
127 }
128 .elgg-state-success {
129  background-color: black;
130 }
131 .elgg-state-error {
132  background-color: red;
133 }
134 .elgg-state-notice {
135  background-color: #4690D6;
136 }
137 .elgg-message a {
138  color: inherit;
139  text-decoration: underline;
140 }
141 
142 /* ***************************************
143  River
144 *************************************** */
145 .elgg-list-river {
146  border-top: 1px solid #CCC;
147 }
148 .elgg-list-river > li {
149  border-bottom: 1px solid #CCC;
150 }
151 .elgg-river-item {
152  padding: 7px 0;
153 }
154 .elgg-river-item .elgg-pict {
155  margin-right: 20px;
156 }
157 .elgg-river-timestamp {
158  color: #666;
159  font-size: 85%;
160  font-style: italic;
161  line-height: 1.2em;
162 }
163 
164 .elgg-river-attachments,
165 .elgg-river-message,
166 .elgg-river-content {
167  border-left: 1px solid #CCC;
168  font-size: 85%;
169  line-height: 1.5em;
170  margin: 8px 0 5px 0;
171  padding-left: 5px;
172 }
173 .elgg-river-attachments .elgg-avatar,
174 .elgg-river-attachments .elgg-icon {
175  float: left;
176 }
177 .elgg-river-layout .elgg-input-dropdown {
178  float: right;
179  margin: 10px 0;
180 }
181 
182 .elgg-river-comments-tab {
183  display: block;
184  background-color: #EEE;
185  color: #aaa;
186  margin-top: 5px;
187  width: auto;
188  float: right;
189  font-size: 85%;
190  padding: 1px 7px;
191  border-radius: 5px 5px 0 0;
192 }
193 
194 <?php //@todo components.php ?>
196  margin: 0;
197  border-top: none;
198 }
199 .elgg-river-comments li:first-child {
200  border-radius: 5px 0 0;
201 }
202 .elgg-river-comments li:last-child {
203  border-radius-bottomleft: 0 0 5px 5px;
204 }
205 .elgg-river-comments > li {
206  background-color: #EEE;
207  border-bottom: none;
208  padding: 4px;
209  margin-bottom: 2px;
210 }
211 .elgg-river-comments .elgg-media {
212  padding: 0;
213 }
214 .elgg-river-more {
215  background-color: #EEE;
216  border-radius: 5px;
217  padding: 2px 4px;
218  font-size: 85%;
219  margin-bottom: 2px;
220 }
221 
222 <?php //@todo location-dependent styles ?>
223 .elgg-river-item form {
224  background-color: #EEE;
225  padding: 4px;
226  border-radius: 5px;
227  height: 30px;
228 }
230  width: 80%;
231 }
233  margin: 0 0 0 10px;
234 }
235 
236 
237 /* **************************************
238  Comments (from elgg_view_comments)
239 ************************************** */
240 .elgg-comments {
241  margin-top: 25px;
242 }
243 .elgg-comments > form {
244  margin-top: 15px;
245 }
246 .elgg-river-item .elgg-form-comment-save {
247  height: auto;
248 }
249 
250 /* Comment highlighting that automatically fades away */
251 .elgg-comments .elgg-state-highlight {
252  -webkit-animation: comment-highlight 5s; /* Chrome, Safari, Opera */
253  animation: comment-highlight 5s;
254 }
255 /* Chrome, Safari, Opera */
256 @-webkit-keyframes comment-highlight {
257  from {background: #dff2ff;}
258  to {background: white;}
259 }
260 /* Standard syntax */
261 @keyframes comment-highlight {
262  from {background: #dff2ff;}
263  to {background: white;}
264 }
265 
266 /* ***************************************
267  Image-related
268 *************************************** */
269 .elgg-photo {
270  border: 1px solid #ccc;
271  padding: 3px;
272  background-color: white;
273 }
274 
275 /* ***************************************
276  Tags
277 *************************************** */
278 .elgg-tags {
279  font-size: 85%;
280 }
281 .elgg-tags > li {
282  float:left;
283  margin-right: 5px;
284 }
285 .elgg-tags li.elgg-tag:after {
286  content: ",";
287 }
288 .elgg-tags li.elgg-tag:last-child:after {
289  content: "";
290 }
elgg message elgg state success
Definition: admin.php:252
elgg message
Definition: admin.php:240
border bottom
Definition: components.php:207
box shadow
Definition: admin.php:362
elgg river comments
Definition: components.php:195
elgg input text
Definition: admin.php:494
font size
Definition: components.php:218
elgg river comments elgg media
Definition: components.php:211
elgg river comments li
Definition: components.php:200
elgg river item form
Definition: components.php:223
text decoration
Definition: admin.php:99
margin right
Definition: admin.php:181
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col alt
Definition: admin.php:127
font weight
Definition: admin.php:65
elgg admin notices a elgg admin notice
Definition: admin.php:269
elgg input elgg input tags
Definition: admin.php:494
min width
Definition: admin.php:166
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col elgg image block
Definition: admin.php:127
elgg message elgg state error
Definition: admin.php:247
elgg inherit
Definition: elgglib.js:237
elgg image block elgg image
Definition: admin.php:433
elgg button submit
Definition: admin.php:550
elgg avatar
Definition: admin.php:1355
th
Definition: admin.php:63
elgg river item input[type=text]
Definition: components.php:229
border color
Definition: admin.php:42
elgg menu river
Definition: navigation.php:492
ui datepicker calendar ui state hover
Definition: admin.php:651
elgg river item elgg form comment save
Definition: components.php:246
border top
Definition: components.php:197
elgg river more
Definition: components.php:214
img
Definition: admin.php:40
elgg comments elgg state highlight
Definition: components.php:251
td
Definition: admin.php:63
elgg item
Definition: admin.php:441
clearfix elgg elgg layout
Definition: admin.php:127
list style
Definition: admin.php:1179
elgg widget content
Definition: admin.php:1250
a
Definition: admin.php:97
elgg table alt tr
Definition: admin.php:424
elgg gallery elgg elgg icon
Definition: core.php:104
list style type
Definition: admin.php:753
border radius
Definition: components.php:216
margin left
Definition: admin.php:294
table
Definition: admin.php:59
line height
Definition: admin.php:82
elgg subtext
Definition: typography.php:114