Elgg  Version 1.9
core.php
Go to the documentation of this file.
1 <?php
16 ?>
17 /* <style> /**/
18 
19 /* Clearfix */
20 .clearfix:after,
21 .elgg-grid:after,
22 .elgg-layout:after,
23 .elgg-inner:after,
24 .elgg-page-header:after,
25 .elgg-page-footer:after,
26 .elgg-head:after,
27 .elgg-foot:after,
28 .elgg-col:after,
29 .elgg-col-alt:after,
30 .elgg-image-block:after {
31  content: ".";
32  display: block;
33  height: 0;
34  clear: both;
35  visibility: hidden;
36 }
37 
38 /* Fluid width container that does not wrap floats */
39 .elgg-body,
40 .elgg-col-last {
41  display: block;
42  width: auto;
43  word-wrap: break-word;
44  overflow: hidden;
45 
46  /* IE 6, 7 */
47  zoom:1;
48  *overflow:visible;
49 }
50 
51 <?php
64 //@todo isn't this only needed if we use display:table-cell?
65 ?>
66 .elgg-body:after,
67 .elgg-col-last:after {
68  display: block;
69  visibility: hidden;
70  height: 0 !important;
71  line-height: 0;
72  overflow: hidden;
73 
74  /* Stretch to fill up available space */
75  font-size: xx-large;
76  content: " x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";
77 }
78 
79 /* ***************************************
80  * MENUS
81  *
82  * To add separators to a menu:
83  * .elgg-menu-$menu > li:after {content: '|'; background: ...;}
84  *************************************** */
85 /* Enabled nesting of dropdown/flyout menus */
86 .elgg-menu > li { position: relative; }
87 
88 .elgg-menu > li:last-child::after {
89  display: none;
90 }
91 
92 /* Maximize click target */
93 .elgg-menu > li > a { display: block }
94 
95 /* Horizontal menus w/ separator support */
96 .elgg-menu-hz > li,
97 .elgg-menu-hz > li:after,
98 .elgg-menu-hz > li > a,
99 .elgg-menu-hz > li > span {
100  vertical-align: middle;
101 }
102 
103 /* Allow inline image blocks in horizontal menus */
104 .elgg-menu-hz .elgg-body:after { content: '.'; }
105 
106 <?php //@todo This isn't going to work as-is. Needs testing ?>
107 /* Inline block */
108 .elgg-gallery > li,
109 .elgg-button,
110 .elgg-icon,
111 .elgg-menu-hz > li,
112 .elgg-menu-hz > li:after,
113 .elgg-menu-hz > li > a,
114 .elgg-menu-hz > li > span {
115  /* Google says do this, but why? */
116  position: relative;
117 
118  display: inline-block;
119 }
elgg icon hover menu
Definition: admin.php:1303
body
Definition: admin.php:36
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg col
Definition: admin.php:127
list style position
Definition: typography.php:154
clearfix elgg elgg elgg elgg page elgg page elgg elgg foot
Definition: admin.php:127
clearfix elgg elgg elgg inner
Definition: admin.php:127
clearfix elgg elgg elgg elgg page elgg page elgg elgg elgg elgg col alt
Definition: admin.php:127
elgg gallery elgg button
Definition: core.php:108
vertical align
Definition: admin.php:66
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
clearfix elgg elgg elgg elgg page elgg page elgg head
Definition: admin.php:127
elgg image block elgg image
Definition: admin.php:421
elgg gallery elgg elgg elgg menu hz elgg menu hz elgg menu hz li elgg menu hz li span
Definition: core.php:114
clearfix elgg elgg layout
Definition: admin.php:127
word wrap
Definition: admin.php:147
elgg gallery elgg elgg elgg menu hz elgg menu hz elgg menu hz li a
Definition: core.php:108
elgg widget content
Definition: admin.php:1219
font size
Definition: admin.php:81
clearfix elgg elgg elgg elgg page header
Definition: admin.php:127
clearfix elgg elgg elgg elgg page elgg page footer
Definition: admin.php:127
clearfix elgg grid
Definition: admin.php:127
elgg gallery elgg elgg icon
Definition: core.php:108
line height
Definition: admin.php:82
elgg gallery li
Core CSS.
Definition: core.php:108