From 890655aedd751f6d4f426f320f156077acee3aaa Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Fri, 11 Dec 2015 12:12:13 +0000 Subject: Add a sprite for less requests --- css/sprite.css | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 css/sprite.css (limited to 'css/sprite.css') diff --git a/css/sprite.css b/css/sprite.css new file mode 100644 index 0000000..28f0ce0 --- /dev/null +++ b/css/sprite.css @@ -0,0 +1,86 @@ +/* Generated by http://css.spritegen.com CSS Sprite Generator */ + +.icon { + display: inline-block; + background: url('http://localhost:9991/images/sprite.gif') no-repeat; + overflow: hidden; + text-indent: -9999px; + text-align: left; + margin-right: 10px; +} + +.icon.iconbinary { + background-position: -0px -0px; + width: 20px; + height: 22px; +} +.icon.iconblank { + background-position: -20px -0px; + width: 20px; + height: 22px; +} +.icon.iconc { + background-position: -40px -0px; + width: 20px; + height: 22px; +} +.icon.iconcompressed { + background-position: -0px -22px; + width: 20px; + height: 22px; +} +.icon.iconimage2 { + background-position: -20px -22px; + width: 20px; + height: 22px; +} +.icon.iconlayout { + background-position: -40px -22px; + width: 20px; + height: 22px; +} +.icon.iconmovie { + background-position: -0px -44px; + width: 20px; + height: 22px; +} +.icon.iconpdf { + background-position: -20px -44px; + width: 20px; + height: 22px; +} +.icon.iconps { + background-position: -40px -44px; + width: 20px; + height: 22px; +} +.icon.iconscript { + background-position: -0px -66px; + width: 20px; + height: 22px; +} +.icon.iconsound1 { + background-position: -20px -66px; + width: 20px; + height: 22px; +} +.icon.iconsound2 { + background-position: -40px -66px; + width: 20px; + height: 22px; +} +.icon.icontex { + background-position: -0px -88px; + width: 20px; + height: 22px; +} +.icon.icontext { + background-position: -20px -88px; + width: 20px; + height: 22px; +} +.icon.iconunknown { + background-position: -40px -88px; + width: 20px; + height: 22px; +} -- cgit v1.2.3 From 9b4cb4bb11ade21b68cdc3dabb3e24be4e9d0fe2 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Sat, 12 Dec 2015 14:30:38 +0000 Subject: Remove local debug sprite url and replace with relative path to sprite --- css/sprite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css/sprite.css') diff --git a/css/sprite.css b/css/sprite.css index 28f0ce0..51f007e 100644 --- a/css/sprite.css +++ b/css/sprite.css @@ -2,7 +2,7 @@ .icon { display: inline-block; - background: url('http://localhost:9991/images/sprite.gif') no-repeat; + background: url('images/sprite.gif') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; -- cgit v1.2.3 From 5dcbc23baba2b7133439bba27f333f6003d75c3f Mon Sep 17 00:00:00 2001 From: Phil Burton Date: Sat, 12 Dec 2015 14:41:02 +0000 Subject: Fix missing / in css --- css/sprite.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css/sprite.css') diff --git a/css/sprite.css b/css/sprite.css index 51f007e..c594663 100644 --- a/css/sprite.css +++ b/css/sprite.css @@ -2,7 +2,7 @@ .icon { display: inline-block; - background: url('images/sprite.gif') no-repeat; + background: url('/images/sprite.gif') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; -- cgit v1.2.3