Elgg  Version 1.11
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 
47 <?php
60 //@todo isn't this only needed if we use display:table-cell?
61 ?>
62 .elgg-body:after,
63 .elgg-col-last:after {
64  display: block;
65  visibility: hidden;
66  height: 0 !important;
67  line-height: 0;
68  overflow: hidden;
69 
70  /* Stretch to fill up available space */
71  font-size: xx-large;
72  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 ";
73 }
74 
75 /* ***************************************
76  * MENUS
77  *
78  * To add separators to a menu:
79  * .elgg-menu-$menu > li:after {content: '|'; background: ...;}
80  *************************************** */
81 /* Enabled nesting of dropdown/flyout menus */
82 .elgg-menu > li { position: relative; }
83 
84 .elgg-menu > li:last-child::after {
85  display: none;
86 }
87 
88 /* Maximize click target */
89 .elgg-menu > li > a { display: block }
90 
91 /* Horizontal menus w/ separator support */
92 .elgg-menu-hz > li,
93 .elgg-menu-hz > li:after,
94 .elgg-menu-hz > li > a,
95 .elgg-menu-hz > li > span {
96  vertical-align: middle;
97 }
98 
99 /* Allow inline image blocks in horizontal menus */
100 .elgg-menu-hz .elgg-body:after { content: '.'; }
101 
102 <?php //@todo This isn't going to work as-is. Needs testing ?>
103 /* Inline block */
104 .elgg-gallery > li,
105 .elgg-button,
106 .elgg-icon,
107 .elgg-menu-hz > li,
108 .elgg-menu-hz > li:after,
109 .elgg-menu-hz > li > a,
110 .elgg-menu-hz > li > span {
111  /* Google says do this, but why? */
112  position: relative;
113 
114  display: inline-block;
115 }
elgg icon hover menu
Definition: admin.php:1329
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:104
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:429
elgg gallery elgg elgg elgg menu hz elgg menu hz elgg menu hz li elgg menu hz li span
Definition: core.php:110
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:104
elgg widget content
Definition: admin.php:1245
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:104
line height
Definition: admin.php:82
elgg gallery li
Core CSS.
Definition: core.php:104