aboutsummaryrefslogtreecommitdiff
path: root/views/default/css/elements/page_layout.php
blob: 75f351781b63bdb46f97a8e36dadc2de4b549703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<?php
/**
 * Page Layout
 *
 * @package Elgg.Core
 * @subpackage UI
 */
?>
/* ***************************************
	Page Layout
*************************************** */

/* move elgg-body to one of the css components */
/**
 * elgg-body fills the space available to it.
 * It uses hidden text to expand itself. The combination of auto width, overflow
 * hidden, and the hidden text creates this effect.
 *
 * This allows us to float fixed width divs to either side of an .elgg-body div
 * without having to specify the body div's width.
 *
 * @todo check what happens with long <pre> tags or large images
 */
.elgg-body {
	width: auto;
	word-wrap: break-word;
	overflow: hidden;
}
.elgg-body:after {
	display: block;
	visibility: hidden;
	height: 0 !important;
	line-height: 0;
	font-size: xx-large;
	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 ";
}



.elgg-module {
	margin-top: 20px;
}

.elgg_inner {
}

.elgg-header {
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 5px;
	padding-bottom: 5px;
}

.elgg-footer {
}

.elgg-media {
	padding: 3px 0;
}

.elgg-media .elgg-icon {
	float: left;
	margin-right: 5px;
}




.elgg-list {
    border-top: 1px dotted #CCCCCC;
	margin: 5px 0;
}

.elgg-list li {
	border-bottom: 1px dotted #CCCCCC;
}


.elgg-center {
	margin: 0 auto;
}

.elgg-width-classic {
	width: 990px;
}

/* ***************************************
	ELGG TOPBAR
*************************************** */
.elgg-page-topbar {
	background: #333333 url(<?php echo elgg_get_site_url(); ?>_graphics/toptoolbar_background.gif) repeat-x top left;
	border-bottom: 1px solid #000000;
	min-width: 998px;
	position: relative;
	height: 24px;
	z-index: 9000;
}
.elgg-page-header .elgg-inner {
	width: 990px;
	margin: 0 auto;
	height: 90px;
	position: relative;
}
.elgg-page-topbar .elgg-inner {
	padding: 2px 10px 2px 8px;
}
.elgg-page-topbar a {
	color: #eeeeee;
	float: left;
	margin: 2px 30px 0 0;
	line-height: 1.1em;
}
.elgg-page-topbar a.alt {
	float: right;
	margin: 2px 0 0 30px;
}
.elgg-page-topbar a:hover {
	color: #71cbff;
	text-decoration: none;
}
/* elgg logo and user avatar need to be adjusted slightly */
.elgg-page-topbar img {
	margin-top: -1px;
}

/* ***************************************
	HEADER
*************************************** */
.elgg-page-header {
	x-overflow: hidden;
	position: relative;
	background-color: #4690D6;
	background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/header_shadow.png);
	background-repeat: repeat-x;
	background-position: bottom left;
}
.elgg-page-header h1 a {
	font-size: 2em;
	line-height: 1.4em;
	color: white;
	font-style: italic;
	font-family: Georgia, times, serif;
	text-shadow: 1px 2px 4px #333333;
	text-decoration: none;
}
/* ***************************************
	BODY
*************************************** */

.elgg-layout-one_column {
	padding: 10px 0;
}
.elgg-layout-sidebar {
	background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif);
	background-repeat:repeat-y;
	background-position: right top;
}
.elgg-layout-two-sidebar {
	background-image:url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif);
	background-repeat:repeat-y;
	background-position: right top;
}
.elgg-main {
	position: relative;
	min-height: 360px;
	padding: 10px;
}
.elgg-aside {
	padding: 20px 10px;
	position: relative;
	min-height: 360px;
}
.elgg-sidebar {
	float: right;
	width: 210px;
	margin-left: 10px;
}
.elgg-sidebar-alt {
	float: left;
	width: 160px;
	margin-right: 10px;
}

.elgg-main-header {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 3px;
}

.elgg-main-heading {
	float: left;
	max-width: 530px;
	margin-right: 10px;
}

/* ***************************************
	FOOTER
*************************************** */
.elgg-page-footer {
	position: relative;
	z-index: 999;
}
.elgg-page-footer .elgg-inner {
	width: 990px;
	margin: 0 auto;
	padding: 5px 0;
	border-top: 1px solid #DEDEDE;
}

.elgg-page-footer .elgg-inner,
.elgg-page-footer .elgg-inner a,
.elgg-page-footer .elgg-inner p {
	color:#999999;
}
.elgg-page-footer .elgg-inner a:hover {
	color:#666666;
}
.elgg-page-footer .elgg-inner p {
	margin:0;
}