]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
starting to standardize on elgg-<type>-<subtype> for css such as elgg-heading-site
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Feb 2011 01:23:35 +0000 (01:23 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 8 Feb 2011 01:23:35 +0000 (01:23 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8063 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/css/elements/navigation.php
views/default/css/elements/page_layout.php
views/default/layout/shells/content/header.php
views/default/page/elements/header_logo.php

index 7302783997774a0072ed32f5915dc52dd83903c2..e7b99dd4b3f012ac34f3764d4cf4e9f358bcca2f 100644 (file)
 }
 .elgg-main .elgg-breadcrumbs {
        position: relative;
-       top:-6px;
-       left:0;
+       top: -6px;
+       left: 0;
 }
 /* ***************************************
        SITE MENU
index 37ae6a7c323cdc45720457f35d08402e2f736ef1..e7d3ac59a9063fcde5fdbd8d8f1d65b687d9cbad 100644 (file)
@@ -29,7 +29,6 @@
 }
 
 /***** 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;
@@ -87,7 +86,7 @@
 .elgg-page-header > .elgg-inner {
        position: relative;
 }
-.elgg-site-title, .elgg-site-title:hover {
+.elgg-heading-site, .elgg-heading-site:hover {
        font-size: 2em;
        line-height: 1.4em;
        color: white;
        min-height: 360px;
        padding: 10px;
 }
-.elgg-main .elgg-header {
+.elgg-main > .elgg-head {
        padding-bottom: 3px;
        border-bottom: 1px solid #CCCCCC;
        margin-bottom: 10px;
 }
-<?php //@todo location-dependent styles ?>
-.elgg-main .elgg-header h2 {
+.elgg-heading-main {
        float: left;
        max-width: 530px;
        margin-right: 10px;
 }
-.elgg-main > .elgg-header a {
+.elgg-main > .elgg-head a {
        float: right;
 }
 
index 2b2d748a80ec8295da831f93e3bceaed8b9aa437..b0bab9dc902cc9cdc46bc2809a26b66c7795b46e 100644 (file)
@@ -42,8 +42,8 @@ if ($context) {
                }
        }
        echo <<<HTML
-<div class="elgg-header clearfix">
-       <h2>$title</h2>$buttons
+<div class="elgg-head clearfix">
+       <h2 class="elgg-heading-main">$title</h2>$buttons
 </div>
 HTML;
 }
index 041c0dd00e96018edc6e2b46525cef2c8a65e2a7..4295deaa45abb0638f3832d18c043254fb9b4402 100644 (file)
@@ -9,5 +9,5 @@ $site_name = $site->name;
 ?>
 
 <h1>
-       <a class="elgg-site-title" href="<?php echo elgg_get_site_url(); ?>"><?php echo $site_name; ?></a>
+       <a class="elgg-heading-site" href="<?php echo elgg_get_site_url(); ?>"><?php echo $site_name; ?></a>
 </h1>