diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-12 12:28:51 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-12 12:28:51 +0000 |
commit | e84028f2e25a96d96bc02bf45e87f4422e11f2f8 (patch) | |
tree | 6592866bf7ee3a943fe32a643d02e64e05986acd /mod/ecml/views | |
parent | 626715d5acef3079af461c3fb11e2131c2454163 (diff) | |
download | elgg-e84028f2e25a96d96bc02bf45e87f4422e11f2f8.tar.gz elgg-e84028f2e25a96d96bc02bf45e87f4422e11f2f8.tar.bz2 |
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
Diffstat (limited to 'mod/ecml/views')
-rw-r--r-- | mod/ecml/views/default/ecml/admin/css.php | 52 | ||||
-rw-r--r-- | mod/ecml/views/default/embed/web_services/content.php | 2 |
2 files changed, 51 insertions, 3 deletions
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(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_youtube.gif); + width:102px; +} +.ecml_web_service_list li a.slideshare { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_slideshare.gif); } +.ecml_web_service_list li a.vimeo { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_vimeo.gif); + width:130px; +} +.ecml_web_service_list li a.googlemaps { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_googlemaps.gif); +} +.ecml_web_service_list li a.blip_tv { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_bliptv.gif); + width:102px; +} +.ecml_web_service_list li a.dailymotion { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_dailymotion.gif); +} +.ecml_web_service_list li a.livevideo { + background-image: url(<?php echo $vars['url']; ?>mod/ecml/graphics/logo_livevideo.gif); + width:166px; +} +.ecml_web_service_list li a.redlasso { + background-image: url(<?php echo $vars['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 = "<ul class='ecml_web_service_list'>"; +$keywords_html = "<ul class='ecml_web_service_list clearfloat'>"; // include support for standard ECML so you can get previews and validation. //$keyword_html = '<li class="ecml_web_service"><a class="ecml">Generic ECML</a></li>'; |