From a9e6be34cb830106377de20ddf59a5b536ca47ec Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 7 Apr 2011 01:53:53 +0000 Subject: Refs #3108 added more sprites and a license file - no visible changes git-svn-id: http://code.elgg.org/elgg/trunk@8947 36083f99-b078-4883-b0ff-0f9b5a30f544 --- _graphics/SPRITES_LICENSE.TXT | 9 ++ _graphics/elgg_sprites.png | Bin 12876 -> 16680 bytes mod/messages/views/default/messages/css.php | 11 +- mod/search/views/default/search/css.php | 4 +- views/default/css/elements/icons.php | 151 ++++++++++++++++++---------- 5 files changed, 110 insertions(+), 65 deletions(-) create mode 100644 _graphics/SPRITES_LICENSE.TXT diff --git a/_graphics/SPRITES_LICENSE.TXT b/_graphics/SPRITES_LICENSE.TXT new file mode 100644 index 000000000..61b0daf3a --- /dev/null +++ b/_graphics/SPRITES_LICENSE.TXT @@ -0,0 +1,9 @@ +The Sprites are copyright © GentleFace http://www.gentleface.com/ + +They are licensed under Creative Commons +Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0) with special +permission to distribute and use with the Elgg open source framework. For uses +outside of Elgg, please see the license and/or contact the author at +design@gentleface.com + +http://creativecommons.org/licenses/by-nc-nd/3.0/ \ No newline at end of file diff --git a/_graphics/elgg_sprites.png b/_graphics/elgg_sprites.png index 97cfa611b..703ff0c81 100644 Binary files a/_graphics/elgg_sprites.png and b/_graphics/elgg_sprites.png differ diff --git a/mod/messages/views/default/messages/css.php b/mod/messages/views/default/messages/css.php index 95f911451..f304e0f15 100644 --- a/mod/messages/views/default/messages/css.php +++ b/mod/messages/views/default/messages/css.php @@ -39,16 +39,7 @@ float: left; width: 5%; } - -/*** messages/new messages icon & counter in elgg-topbar ***/ -.messages-icon { - background:transparent url(mod/messages/graphics/toolbar_messages_icon.gif) no-repeat left 2px; - position: relative; -} -.messages-icon:hover { - text-decoration: none; - background-position: left -36px; -} +/*** topbar icon ***/ .messages-new { color: white; background-color: red; diff --git a/mod/search/views/default/search/css.php b/mod/search/views/default/search/css.php index e4abb6a25..601536c81 100644 --- a/mod/search/views/default/search/css.php +++ b/mod/search/views/default/search/css.php @@ -30,11 +30,11 @@ Search plugin font-size: 12px; font-weight: bold; padding: 2px 4px 2px 26px; - background: transparent url(_graphics/elgg_sprites.png) no-repeat 2px -220px; + background: transparent url(_graphics/elgg_sprites.png) no-repeat 2px -718px; } .elgg-search input[type=text]:focus, .elgg-search input[type=text]:active { background-color: white; - background-position: 2px -257px; + background-position: 2px -700px; border: 1px solid white; color: #0054A7; } diff --git a/views/default/css/elements/icons.php b/views/default/css/elements/icons.php index 27005acf7..8bbc919b3 100644 --- a/views/default/css/elements/icons.php +++ b/views/default/css/elements/icons.php @@ -31,166 +31,211 @@ .elgg-icon-calendar { background-position: 0 -54px; } -.elgg-icon-checkmark { +.elgg-icon-checkmark:hover { background-position: 0 -72px; } -.elgg-icon-cursor-drag-arrow { +.elgg-icon-checkmark { background-position: 0 -90px; } -.elgg-icon-delete-alt:hover { +.elgg-icon-clip:hover { background-position: 0 -108px; } -.elgg-icon-delete-alt { +.elgg-icon-clip { background-position: 0 -126px; } -.elgg-icon-delete:hover { +.elgg-icon-cursor-drag-arrow { background-position: 0 -144px; } -.elgg-icon-delete { +.elgg-icon-delete-alt:hover { background-position: 0 -162px; } -.elgg-icon-download { +.elgg-icon-delete-alt { background-position: 0 -180px; } -.elgg-icon-facebook { +.elgg-icon-delete:hover { background-position: 0 -198px; } -.elgg-icon-home { +.elgg-icon-delete { background-position: 0 -216px; } -.elgg-icon-hover-menu:hover { +.elgg-icon-download:hover { background-position: 0 -234px; } -.elgg-icon-hover-menu { +.elgg-icon-download { background-position: 0 -252px; } -.elgg-icon-link { +.elgg-icon-facebook { background-position: 0 -270px; } -.elgg-icon-mail-alt:hover { +.elgg-icon-home:hover { background-position: 0 -288px; } -.elgg-icon-mail-alt { +.elgg-icon-home { background-position: 0 -306px; } -.elgg-icon-mail:hover { +.elgg-icon-hover-menu:hover { background-position: 0 -324px; } -.elgg-icon-mail { +.elgg-icon-hover-menu { background-position: 0 -342px; } -.elgg-icon-print { +.elgg-icon-link:hover { background-position: 0 -360px; } -.elgg-icon-push-pin-alt { +.elgg-icon-link { background-position: 0 -378px; } -.elgg-icon-push-pin { +.elgg-icon-mail-alt:hover { background-position: 0 -396px; } -.elgg-icon-redo { +.elgg-icon-mail-alt { background-position: 0 -414px; } -.elgg-icon-refresh { +.elgg-icon-mail:hover { background-position: 0 -432px; } -.elgg-icon-round-arrow-left { +.elgg-icon-mail { background-position: 0 -450px; } -.elgg-icon-round-arrow-right { +.elgg-icon-print-alt { background-position: 0 -468px; } -.elgg-icon-round-checkmark { +.elgg-icon-print { background-position: 0 -486px; } -.elgg-icon-round-minus { +.elgg-icon-push-pin-alt { background-position: 0 -504px; } -.elgg-icon-round-plus { +.elgg-icon-push-pin { background-position: 0 -522px; } -.elgg-icon-rss { +.elgg-icon-redo { background-position: 0 -540px; } -.elgg-icon-search-focus { +.elgg-icon-refresh:hover { background-position: 0 -558px; } -.elgg-icon-search { +.elgg-icon-refresh { background-position: 0 -576px; } -.elgg-icon-settings-alt:hover { +.elgg-icon-round-arrow-left { background-position: 0 -594px; } -.elgg-icon-settings-alt { +.elgg-icon-round-arrow-right { background-position: 0 -612px; } -.elgg-icon-settings { +.elgg-icon-round-checkmark { background-position: 0 -630px; } -.elgg-icon-shop-cart { +.elgg-icon-round-minus { background-position: 0 -648px; } -.elgg-icon-speech-bubble-alt:hover { +.elgg-icon-round-plus { background-position: 0 -666px; } -.elgg-icon-speech-bubble-alt { +.elgg-icon-rss { background-position: 0 -684px; } -.elgg-icon-speech-bubble:hover { +.elgg-icon-search-focus { background-position: 0 -702px; } -.elgg-icon-speech-bubble { +.elgg-icon-search { background-position: 0 -720px; } -.elgg-icon-star-empty { +.elgg-icon-settings-alt:hover { background-position: 0 -738px; } -.elgg-icon-star { +.elgg-icon-settings-alt { background-position: 0 -756px; } -.elgg-icon-tag { +.elgg-icon-settings { background-position: 0 -774px; } -.elgg-icon-thumbs-down-alt:hover { +.elgg-icon-share:hover { background-position: 0 -792px; } +.elgg-icon-share { + background-position: 0 -810px; +} +.elgg-icon-shop-cart:hover { + background-position: 0 -828px; +} +.elgg-icon-shop-cart { + background-position: 0 -846px; +} +.elgg-icon-speech-bubble-alt:hover { + background-position: 0 -864px; +} +.elgg-icon-speech-bubble-alt { + background-position: 0 -882px; +} +.elgg-icon-speech-bubble:hover { + background-position: 0 -900px; +} +.elgg-icon-speech-bubble { + background-position: 0 -918px; +} +.elgg-icon-star-alt { + background-position: 0 -936px; +} +.elgg-icon-star-empty:hover { + background-position: 0 -954px; +} +.elgg-icon-star-empty { + background-position: 0 -972px; +} +.elgg-icon-star:hover { + background-position: 0 -990px; +} +.elgg-icon-star { + background-position: 0 -1008px; +} +.elgg-icon-tag:hover { + background-position: 0 -1026px; +} +.elgg-icon-tag { + background-position: 0 -1044px; +} +.elgg-icon-thumbs-down-alt:hover { + background-position: 0 -1062px; +} .elgg-icon-thumbs-down:hover, .elgg-icon-thumbs-down-alt { - background-position: 0 -810px; + background-position: 0 -1080px; } .elgg-icon-thumbs-down { - background-position: 0 -828px; + background-position: 0 -1098px; } .elgg-icon-thumbs-up-alt:hover { - background-position: 0 -846px; + background-position: 0 -1116px; } .elgg-icon-thumbs-up:hover, .elgg-icon-thumbs-up-alt { - background-position: 0 -864px; + background-position: 0 -1134px; } .elgg-icon-thumbs-up { - background-position: 0 -882px; + background-position: 0 -1152px; } .elgg-icon-trash { - background-position: 0 -900px; + background-position: 0 -1170px; } .elgg-icon-twitter { - background-position: 0 -918px; + background-position: 0 -1188px; } .elgg-icon-undo { - background-position: 0 -936px; + background-position: 0 -1206px; } .elgg-icon-user:hover { - background-position: 0 -954px; + background-position: 0 -1224px; } .elgg-icon-user { - background-position: 0 -972px; + background-position: 0 -1242px; } .elgg-icon-users:hover { - background-position: 0 -990px; + background-position: 0 -1260px; } .elgg-icon-users { - background-position: 0 -1008px; + background-position: 0 -1278px; } -- cgit v1.2.3