aboutsummaryrefslogtreecommitdiff
path: root/views/default/css
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 22:11:38 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-25 22:11:38 +0000
commit754f98d1859398928160b4a7a589e439589fab82 (patch)
tree4710cb9377698085d989b03abff28a08a69d5f8d /views/default/css
parent119017304ba7669c6596ccb3f6020959e0d629fd (diff)
downloadelgg-754f98d1859398928160b4a7a589e439589fab82.tar.gz
elgg-754f98d1859398928160b4a7a589e439589fab82.tar.bz2
Refs #2895: Converted topbar to one menu (felt dirty using two). Fixed styles.
git-svn-id: http://code.elgg.org/elgg/trunk@8476 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css')
-rw-r--r--views/default/css/elements/navigation.php30
-rw-r--r--views/default/css/elements/page_layout.php18
2 files changed, 32 insertions, 16 deletions
diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php
index e6a324a75..003faeac5 100644
--- a/views/default/css/elements/navigation.php
+++ b/views/default/css/elements/navigation.php
@@ -118,6 +118,36 @@
left: 0;
}
+
+
+/* ***************************************
+ TOPBAR MENU
+*************************************** */
+.elgg-menu-topbar {
+ float: left;
+}
+
+.elgg-menu-topbar > li {
+ float:left;
+}
+
+.elgg-menu-topbar > li > a {
+ padding: 2px 15px;
+ color: #eeeeee;
+ margin-top: 2px;
+ line-height: 1.1em;
+ display: block;
+}
+
+.elgg-menu-topbar > li > a:hover {
+ color: #71cbff;
+ text-decoration: none;
+}
+
+.elgg-menu-topbar.elgg-section-alt {
+ float:right;
+}
+
/* ***************************************
SITE MENU
*************************************** */
diff --git a/views/default/css/elements/page_layout.php b/views/default/css/elements/page_layout.php
index f7e07ca71..d2be769fa 100644
--- a/views/default/css/elements/page_layout.php
+++ b/views/default/css/elements/page_layout.php
@@ -41,23 +41,9 @@
z-index: 9000;
}
.elgg-page-topbar > .elgg-inner {
- padding: 2px 10px 2px 8px;
-}
-<?php //@todo location-dependent styles ?>
-.elgg-page-topbar a {
- color: #eeeeee;
- float: left;
- margin: 2px 30px 0 0;
- line-height: 1.1em;
-}
-.elgg-page-topbar a.elgg-alt {
- float: right;
- margin: 2px 0 0 30px;
-}
-.elgg-page-topbar a:hover {
- color: #71cbff;
- text-decoration: none;
+ padding: 0 10px;
}
+
<?php // elgg logo and user avatar need to be adjusted slightly ?>
.elgg-page-topbar img {
margin-top: -1px;