From e1f501a4988ccf4b88dec72b19955101a0a706e3 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Wed, 24 Oct 2012 01:44:51 +0000 Subject: change featured block colours specially for custom_index_widgets. --- views/default/css/elements/modules.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default/css') diff --git a/views/default/css/elements/modules.php b/views/default/css/elements/modules.php index a9ac965..28332bb 100644 --- a/views/default/css/elements/modules.php +++ b/views/default/css/elements/modules.php @@ -89,15 +89,15 @@ /* Featured */ .elgg-module-featured { - border: 1px solid #ff4c12; + border: 1px solid #333; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; } .elgg-module-featured > .elgg-head { padding: 5px; - background-color: #ff4c12; + background-color: #333; } .elgg-module-featured > .elgg-head * { color: white; -- cgit v1.2.3 From b4ad2436f397f5f9f155a723f4a07bb3cc7eb32a Mon Sep 17 00:00:00 2001 From: Sem Date: Tue, 30 Oct 2012 02:32:04 +0100 Subject: Added groups icon in topbar. --- _graphics/elgg_sprites.png | Bin 26601 -> 27129 bytes start.php | 12 +++++++++++- views/default/css/elements/icons.php | 6 ++++++ 3 files changed, 17 insertions(+), 1 deletion(-) (limited to 'views/default/css') diff --git a/_graphics/elgg_sprites.png b/_graphics/elgg_sprites.png index b8b9b2b..461799c 100644 Binary files a/_graphics/elgg_sprites.png and b/_graphics/elgg_sprites.png differ diff --git a/start.php b/start.php index eb25a82..ae5f3d6 100644 --- a/start.php +++ b/start.php @@ -29,7 +29,17 @@ function n1_theme_init() { function n1_theme_topbar_menu($hook, $type, $returnvalue, $params){ $user = elgg_get_logged_in_user_entity(); - + + if (elgg_is_active_plugin('groups')) { + $returnvalue[] = ElggMenuItem::factory(array( + 'name' => 'groups', + 'href' => $user ? "groups/member/$user->username" : "groups/all", + 'text' => elgg_view_icon('groups'), + 'title' => elgg_echo('groups'), + 'priority' => 500, + )); + } + if (elgg_is_admin_logged_in()) { $returnvalue[] = ElggMenuItem::factory(array( 'name' => 'administration', diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index ba62a66..2d6db62 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -281,6 +281,12 @@ .elgg-icon-logout:hover, .elgg-menu-item-logout:hover a { background-position: 0 -1542px; } +.elgg-icon-groups { + background-position: 0 -1577px; +} +.elgg-icon-groups:hover { + background-position: 0 -1560px; +} .elgg-avatar > .elgg-icon-hover-menu { -- cgit v1.2.3 From 22af64e512f4c77cbd9742325e93e7f330de61a4 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 31 Oct 2012 05:17:16 +0100 Subject: Improve input/autocomplete CSS. --- views/default/css/elements/forms.php | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'views/default/css') diff --git a/views/default/css/elements/forms.php b/views/default/css/elements/forms.php index c2cc433..0a5452b 100644 --- a/views/default/css/elements/forms.php +++ b/views/default/css/elements/forms.php @@ -291,27 +291,24 @@ input[type="radio"] { max-width: 600px; } .ui-autocomplete { - background-color: #333 ; + background-color: #f7f7f7; border: 1px solid #ccc; overflow: hidden; - - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; } .ui-autocomplete .ui-menu-item { padding: 0px 4px; - - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + font-weight: normal; +} +.ui-autocomplete .ui-menu-item:hover { + background-color: #eee; + cursor: pointer; } .ui-autocomplete .ui-menu-item:hover a { - text-decoration: none; - color: white; - text-shadow: 0 0 6px white; + color: #FF4C12; + background: none; + border: none; + border-radius: 0; } - .ui-combobox { height: 23px !important; } -- cgit v1.2.3