aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-26 19:58:46 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-26 19:58:46 +0000
commitfd23d7ea58d6b824f2e35e68d39cb485fe223089 (patch)
tree2715c7a2c78328663678b374cd594655cfcb6436 /views
parent632cf13234d04a3f6b7acf67866a82e0bebde55c (diff)
downloadelgg-fd23d7ea58d6b824f2e35e68d39cb485fe223089.tar.gz
elgg-fd23d7ea58d6b824f2e35e68d39cb485fe223089.tar.bz2
Fixes #3388: .elgg-icon is now middle-aligned by default
git-svn-id: http://code.elgg.org/elgg/trunk@9028 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/css/elements/core.php5
-rw-r--r--views/default/css/elements/navigation.php4
2 files changed, 4 insertions, 5 deletions
diff --git a/views/default/css/elements/core.php b/views/default/css/elements/core.php
index c5d99512f..61dcdb1fe 100644
--- a/views/default/css/elements/core.php
+++ b/views/default/css/elements/core.php
@@ -105,4 +105,7 @@
/* Inline-block: IE 6, 7 */
zoom: 1;
*display: inline;
-} \ No newline at end of file
+}
+
+/* Looks much better when middle-aligned with surrounding text */
+.elgg-icon {vertical-align:middle} \ No newline at end of file
diff --git a/views/default/css/elements/navigation.php b/views/default/css/elements/navigation.php
index 25b45bbee..e4709cb27 100644
--- a/views/default/css/elements/navigation.php
+++ b/views/default/css/elements/navigation.php
@@ -135,10 +135,6 @@
margin-top: 1px;
}
-.elgg-menu-topbar > li > a > span {
- vertical-align: middle;
-}
-
.elgg-menu-topbar > li > a:hover {
color: #4690D6;
text-decoration: none;