<div class="pam">
<?php
echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-aside-module',
+ 'title' => 'elgg-module-aside',
'body' => $ipsum,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
?>
<?php
echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-popup-module',
+ 'title' => 'elgg-module-popup',
'body' => $ipsum,
- 'class' => 'elgg-popup-module',
+ 'class' => 'elgg-module-popup',
));
?>
</div>
<div class="pam">
<?php
echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-group-module',
+ 'title' => 'elgg-module-info',
'body' => $ipsum,
- 'class' => 'elgg-group-module',
- ));
- ?>
- </div>
- <div class="pam">
- <?php
- echo elgg_view('layout/objects/module', array(
- 'title' => 'elgg-info-module',
- 'body' => $ipsum,
- 'class' => 'elgg-info-module',
+ 'class' => 'elgg-module-info',
));
?>
</div>
$params = array(
'title' => $title,
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
);
return elgg_view('layout/objects/module', $params);
}
$params = array(
'header' => $header,
'body' => $content,
- 'class' => 'elgg-group-module',
+ 'class' => 'elgg-module-info',
);
echo elgg_view('layout/objects/module', $params);
echo elgg_view('layout/objects/module', array(
'title' => $title,
'body' => $content,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
}
}
\ No newline at end of file
echo elgg_view('layout/objects/module', array(
'title' => $title,
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
}
}
\ No newline at end of file
$params = array(
'header' => $header,
'body' => $content,
- 'class' => 'elgg-group-module',
+ 'class' => 'elgg-module-info',
);
echo elgg_view('layout/objects/module', $params);
$params = array(
'header' => $header,
'body' => $content,
- 'class' => 'elgg-group-module',
+ 'class' => 'elgg-module-info',
);
echo elgg_view('layout/objects/module', $params);
$params = array(
'header' => $header,
'body' => $content,
- 'class' => 'elgg-group-module',
+ 'class' => 'elgg-module-info',
);
echo elgg_view('layout/objects/module', $params);
echo elgg_view('layout/objects/module', array(
'title' => elgg_echo("groups:featured"),
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
}
echo elgg_view('layout/objects/module', array(
'title' => elgg_echo('groups:searchtag'),
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
echo elgg_view('layout/objects/module', array(
'title' => elgg_echo("groups:members"),
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
}
</script>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3>
<?php echo elgg_echo('notifications:subscriptions:friends:title'); ?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3>
<?php echo elgg_echo('notifications:subscriptions:title'); ?>
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-body">
<?php
echo elgg_view('notifications/subscriptions/jsfuncs',$vars);
?>
<div class="notification_personal">
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3>
<?php echo elgg_echo('notifications:subscriptions:personal:title'); ?>
$params = array(
'header' => $header,
'body' => $content,
- 'class' => 'elgg-group-module',
+ 'class' => 'elgg-module-info',
);
echo elgg_view('layout/objects/module', $params);
echo elgg_view('layout/objects/module', array(
'title' => $title,
'body' => $content,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
echo elgg_view('layout/objects/module', array(
'title' => $title,
'body' => $content,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
));
?>
'class' => 'elgg-like-toggle',
);
$list = elgg_view('output/url', $params);
- $list .= "<div class='elgg-popup-module elgg-likes-list hidden clearfix'>";
+ $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix'>";
$list .= list_annotations($guid, 'likes', 99);
$list .= "</div>";
}
$params = array(
'title' => elgg_echo('members:searchtag'),
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
);
echo elgg_view('layout/objects/module', $params);
$params = array(
'title' => elgg_echo('members:searchname'),
'body' => $body,
- 'class' => 'elgg-aside-module',
+ 'class' => 'elgg-module-aside',
);
echo elgg_view('layout/objects/module', $params);
$default_access = elgg_get_config('default_access');
}
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('default_access:settings'); ?></h3>
</div>
if ($user) {
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('email:settings'); ?></h3>
</div>
if ($user) {
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('user:set:language'); ?></h3>
</div>
$notification_settings = get_user_notification_settings(elgg_get_page_owner_guid());
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('notifications:usersettings'); ?></h3>
</div>
if ($user) {
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('user:set:password'); ?></h3>
</div>
if ($entity_stats) {
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('usersettings:statistics:label:numentities'); ?></h3>
</div>
}
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo('usersettings:statistics:yourdetails'); ?></h3>
</div>
if (elgg_view("usersettings/{$plugin}/edit")) {
?>
-<div class="elgg-module elgg-info-module">
+<div class="elgg-module elgg-module-info">
<div class="elgg-head">
<h3><?php echo elgg_echo($plugin); ?></h3>
</div>
}
.elgg-text ol {
list-style-type: decimal;
-}
\ No newline at end of file
+}
+
+.elgg-subtext {
+ color: #666666;
+ font-size: 85%;
+ line-height: 1.2em;
+ font-style: italic;
+}
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 ";
-}
\ No newline at end of file
+}
* @package Elgg.Core
* @subpackage UI
*/
-?>
-
/**
* elgg-body fills the space available to it.
* It uses hidden text to expand itself. The combination of auto width, overflow
*
* @todo check what happens with long <pre> tags or large images
*/
+?>
.elgg-body {
width: auto;
word-wrap: break-word;
.elgg-list-item .elgg-subtext {
margin-bottom: 5px;
}
-.elgg-subtext {
- color: #666666;
- font-size: 85%;
- line-height: 1.2em;
- font-style: italic;
-}
.elgg-tags {
margin-bottom: 5px;
}
table.styled tr:hover {
background: #E4E4E4;
}
+
/* ***************************************
Modules
*************************************** */
-
-.elgg-aside-module {
+.elgg-module-aside {
margin-bottom: 20px;
}
-.elgg-aside-module .elgg-head {
+.elgg-module-aside .elgg-head {
border-bottom: 1px solid #CCCCCC;
margin-bottom: 5px;
padding-bottom: 5px;
}
-
-.elgg-group-module {
- margin-bottom: 20px;
-}
-.elgg-group-module > .elgg-head {
- padding: 5px 5px 3px;
- background-color: #e4e4e4;
- border-bottom: 1px solid #cccccc;
- -moz-border-radius: 4px 4px 0 0;
-}
-.elgg-group-module > .elgg-head h3 {
- color: #333333;
-}
-
-.elgg-info-module {
+.elgg-module-info {
margin-bottom: 20px;
}
-.elgg-info-module .elgg-head {
+.elgg-module-info > .elgg-head {
background: #e4e4e4;
padding: 5px;
margin-bottom: 10px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
}
-
<?php //@todo should not assume h3 ?>
-.elgg-info-module .elgg-head h3 {
+.elgg-module-info > .elgg-head h3 {
color: #333333;
}
-
-.elgg-popup-module {
+.elgg-module-popup {
background-color: white;
border: 1px solid #cccccc;
z-index: 9999;
-webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
}
+
/* ***************************************
OWNER BLOCK
*************************************** */
/* ***************************************
WIDGETS
*************************************** */
-
.elgg-widgets {
float: right;
min-height: 30px;
.elgg-state-error {
background-color:red;
}
-
.elgg-system-message p {
margin:0;
}
+
/* ***************************************
RIVER
*************************************** */
}
<?php //@todo location-dependent styles ?>
-.elgg-river-content .elgg-user-icon {
+.elgg-river-content .elgg-avatar {
float: left;
}
.elgg-river-layout .elgg-input-dropdown {
}
.elgg-tagcloud {
text-align: justify;
-}
\ No newline at end of file
+}
<?php
/**
+ * Page Layout
*
+ * Contains CSS for the page shell and page layout
+ *
+ * Classic layout: 990 wide centered. Used in default page shell
*/
?>
/* ***************************************
PAGE LAYOUT
*************************************** */
-<?php //@todo should be in base/reset ?>
-body {
- background-color: white;
+/***** CLASSIC LAYOUT ******/
+.elgg-classic .elgg-page-header > .elgg-inner {
+ width: 990px;
+ margin: 0 auto;
+ height: 90px;
+}
+.elgg-classic .elgg-page-body > .elgg-inner {
+ width: 990px;
+ margin: 0 auto;
+}
+.elgg-classic .elgg-page-footer > .elgg-inner {
+ width: 990px;
+ margin: 0 auto;
+ padding: 5px 0;
+ border-top: 1px solid #DEDEDE;
}
/***** TOPBAR ******/
.elgg-page-topbar > .elgg-inner {
padding: 2px 10px 2px 8px;
}
-
<?php //@todo location-dependent styles ?>
.elgg-page-topbar a {
color: #eeeeee;
color: #71cbff;
text-decoration: none;
}
-/* elgg logo and user avatar need to be adjusted slightly */
+<?php // elgg logo and user avatar need to be adjusted slightly ?>
.elgg-page-topbar img {
margin-top: -1px;
}
}
/***** PAGE HEADER ******/
-
.elgg-page-header {
x-overflow: hidden;
position: relative;
background-repeat: repeat-x;
background-position: bottom left;
}
-
-<?php //@todo Put all elgg-classic styles together ?>
-.elgg-classic .elgg-page-header > .elgg-inner {
- width: 990px;
- margin: 0 auto;
- height: 90px;
+.elgg-page-header > .elgg-inner {
position: relative;
}
-
.elgg-site-title, .elgg-site-title:hover {
font-size: 2em;
line-height: 1.4em;
}
/***** PAGE BODY ******/
-
.elgg-page-body > .elgg-inner {
min-height: 360px;
}
-.elgg-classic .elgg-page-body > .elgg-inner {
- width: 990px;
- margin: 0 auto;
-}
#elgg-layout-one-column {
padding: 10px 0;
}
background-repeat: repeat-y;
background-position: right top;
}
-.elgg-main {
- position: relative;
- min-height: 360px;
- padding: 10px;
-}
.elgg-aside {
padding: 20px 10px;
position: relative;
width: 160px;
margin: 0 10px 0 0;
}
-
+.elgg-main {
+ position: relative;
+ min-height: 360px;
+ padding: 10px;
+}
.elgg-main .elgg-header {
padding-bottom: 3px;
border-bottom: 1px solid #CCCCCC;
margin-bottom: 10px;
}
-
<?php //@todo location-dependent styles ?>
.elgg-main .elgg-header h2 {
float: left;
max-width: 530px;
margin-right: 10px;
}
-
.elgg-main > .elgg-header a {
float: right;
}
/***** PAGE FOOTER ******/
-
.elgg-page-footer {
position: relative;
z-index: 999;
}
-.elgg-classic .elgg-page-footer > .elgg-inner {
- width: 990px;
- margin: 0 auto;
- padding: 5px 0;
- border-top: 1px solid #DEDEDE;
-}
-
<?php //@todo location-dependent styles ?>
.elgg-page-footer a {
float: left;
float: left;
width: 100%;
}
-.elgg-page-footer .elgg-inner,
-.elgg-page-footer .elgg-inner a,
-.elgg-page-footer .elgg-inner p {
+.elgg-page-footer, .elgg-page-footer a {
color: #999999;
}
-.elgg-page-footer .elgg-inner a:hover {
+.elgg-page-footer a:hover {
color: #666666;
}
font-family: inherit;
vertical-align: baseline;
}
+body {
+ background-color: white;
+}
img {
border-width:0;
border-color:transparent;
$params = array(
'title' => elgg_echo('tagcloud'),
'body' => $cloud,
- 'class' => 'elgg-tagcloud elgg-aside-module',
+ 'class' => 'elgg-tagcloud elgg-module-aside',
);
echo elgg_view('layout/objects/module', $params);
} else {