Elgg  Version 1.11
walled_garden.php
Go to the documentation of this file.
1 <?php
7 
8 ?>
9 /* <style> /**/
10 
11 .elgg-body-walledgarden {
12  margin: 100px auto 0 auto;
13  position: relative;
14  width: 530px;
15 }
16 .elgg-module-walledgarden {
17  position: absolute;
18  top: 0;
19  left: 0;
20 }
21 .elgg-module-walledgarden > .elgg-head {
22  height: 17px;
23 }
24 .elgg-module-walledgarden > .elgg-body {
25  padding: 0 10px;
26 }
27 .elgg-module-walledgarden > .elgg-foot {
28  height: 17px;
29 }
30 .elgg-walledgarden-double > .elgg-head {
31  background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_top.png) no-repeat left top;
32 }
33 .elgg-walledgarden-double > .elgg-body {
34  background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_middle.png) repeat-y left top;
35 }
36 .elgg-walledgarden-double > .elgg-foot {
37  background: url(<?php echo $url; ?>_graphics/walled_garden/two_column_bottom.png) no-repeat left top;
38 }
39 .elgg-walledgarden-single > .elgg-head {
40  background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_top.png) no-repeat left top;
41 }
42 .elgg-walledgarden-single > .elgg-body {
43  background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_middle.png) repeat-y left top;
44 }
45 .elgg-walledgarden-single > .elgg-foot {
46  background: url(<?php echo $url; ?>_graphics/walled_garden/one_column_bottom.png) no-repeat left top;
47 }
48 
49 .elgg-col > .elgg-inner {
50  margin: 0 0 0 5px;
51 }
52 .elgg-col:first-child > .elgg-inner {
53  margin: 0 5px 0 0;
54 }
55 .elgg-col > .elgg-inner {
56  padding: 0 8px;
57 }
58 
59 .elgg-walledgarden-single > .elgg-body {
60  padding: 0 18px;
61 }
62 
63 .elgg-module-walledgarden-login {
64  margin: 0;
65 }
66 .elgg-body-walledgarden h3 {
67  font-size: 1.5em;
68  line-height: 1.1em;
69  padding-bottom: 5px;
70 }
71 
72 .elgg-heading-walledgarden {
73  margin-top: 60px;
74  line-height: 1.1em;
75 }
76 
77 h1, h2, h3, h4, h5, h6 {
78  color: #666;
79 }
80 
81 a {
82  color: #999;
83 }
$url
Walled garden CSS.
h2
Definition: admin.php:85
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
elgg module
Definition: admin.php:324
$CONFIG walled_garden
Is current site in walled garden mode?
Definition: config.php:213
clearfix elgg elgg elgg inner
Definition: admin.php:127
h1
Definition: admin.php:85
h6
Definition: admin.php:85
min width
Definition: admin.php:166
border top
Definition: admin.php:386
margin bottom
Definition: admin.php:38
clearfix elgg elgg elgg elgg page elgg page elgg head
Definition: admin.php:127
border color
Definition: admin.php:42
h4
Definition: admin.php:85
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
login(\ElggUser $user, $persistent=false)
Logs in a specified .
Definition: sessions.php:320
h5
Definition: admin.php:85
if(!$site) if(!($site instanceof ElggSite)) $site url
font size
Definition: admin.php:81
a
Definition: admin.php:97
margin left
Definition: admin.php:290
h3
Definition: admin.php:85
line height
Definition: admin.php:82