From e84028f2e25a96d96bc02bf45e87f4422e11f2f8 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 12 Jul 2010 12:28:51 +0000 Subject: Added logos to embed web services pane, and made embed nav-bar theme agnostic git-svn-id: http://code.elgg.org/elgg/trunk@6699 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/views/default/ecml/admin/css.php | 52 +++++++++++++++++++++- .../views/default/embed/web_services/content.php | 2 +- 2 files changed, 51 insertions(+), 3 deletions(-) (limited to 'mod/ecml/views/default') diff --git a/mod/ecml/views/default/ecml/admin/css.php b/mod/ecml/views/default/ecml/admin/css.php index c51f04a75..b83d0566f 100644 --- a/mod/ecml/views/default/ecml/admin/css.php +++ b/mod/ecml/views/default/ecml/admin/css.php @@ -33,10 +33,58 @@ } .ecml_web_service_list li { list-style: none; - margin:0 20px 0 0; + margin:0 0 0 0; padding:0; - display:inline; + /* display:inline; */ + +} +.ecml_web_service_list li a { + display:block; + float:left; + height:41px; + width:152px; + background-position: center center; + background-repeat: no-repeat; + text-indent: -900em; + border:2px solid transparent; + margin:0 20px 10px 0; +} +.ecml_web_service_list li a.selected { + border-color:#999999; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; +} +.ecml_web_service_list li a.youtube { + background-image: url(mod/ecml/graphics/logo_youtube.gif); + width:102px; +} +.ecml_web_service_list li a.slideshare { + background-image: url(mod/ecml/graphics/logo_slideshare.gif); } +.ecml_web_service_list li a.vimeo { + background-image: url(mod/ecml/graphics/logo_vimeo.gif); + width:130px; +} +.ecml_web_service_list li a.googlemaps { + background-image: url(mod/ecml/graphics/logo_googlemaps.gif); +} +.ecml_web_service_list li a.blip_tv { + background-image: url(mod/ecml/graphics/logo_bliptv.gif); + width:102px; +} +.ecml_web_service_list li a.dailymotion { + background-image: url(mod/ecml/graphics/logo_dailymotion.gif); +} +.ecml_web_service_list li a.livevideo { + background-image: url(mod/ecml/graphics/logo_livevideo.gif); + width:166px; +} +.ecml_web_service_list li a.redlasso { + background-image: url(mod/ecml/graphics/logo_redlasso.gif); + background-position:center 4px; + width:130px; +} + .embed_content_section { border:none; -webkit-border-radius: 5px; diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php index 83f8363a7..125da80a2 100644 --- a/mod/ecml/views/default/embed/web_services/content.php +++ b/mod/ecml/views/default/embed/web_services/content.php @@ -15,7 +15,7 @@ $keywords = ecml_get_keywords(); elgg_sort_3d_array_by_value($keywords, 'name'); $keyword_js_array = array(); -$keywords_html = "