diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 17:32:53 +0000 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 17:32:53 +0000 |
| commit | de708ce3efec2ab70b6b77781957766ae47f9068 (patch) | |
| tree | 6b2b3b43caea782d894ce9874e9b6632f14ef7ff /budget/static/blueprint/plugins/link-icons/screen.css | |
| parent | fc569241bea388de32b38aa907bf2e527cd5039b (diff) | |
| download | ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.zip ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.tar.gz ihatemoney-mirror-de708ce3efec2ab70b6b77781957766ae47f9068.tar.bz2 | |
reshape the folder structure. Add conf files
Diffstat (limited to 'budget/static/blueprint/plugins/link-icons/screen.css')
| -rw-r--r-- | budget/static/blueprint/plugins/link-icons/screen.css | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/budget/static/blueprint/plugins/link-icons/screen.css b/budget/static/blueprint/plugins/link-icons/screen.css new file mode 100644 index 0000000..7b4bef9 --- /dev/null +++ b/budget/static/blueprint/plugins/link-icons/screen.css @@ -0,0 +1,40 @@ +/* -------------------------------------------------------------- + + link-icons.css + * Icons for links based on protocol or file type. + + See the Readme file in this folder for additional instructions. + +-------------------------------------------------------------- */ + +/* Use this class if a link gets an icon when it shouldn't. */ +body a.noicon { + background:transparent none !important; + padding:0 !important; + margin:0 !important; +} + +/* Make sure the icons are not cut */ +a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, +a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], +a[href$=".rdf"], a[href^="aim:"] { + padding:2px 22px 2px 0; + margin:-2px 0; + background-repeat: no-repeat; + background-position: right center; +} + +/* External links */ +a[href^="http:"] { background-image: url(icons/external.png); } +a[href^="mailto:"] { background-image: url(icons/email.png); } +a[href^="http:"]:visited { background-image: url(icons/visited.png); } + +/* Files */ +a[href$=".pdf"] { background-image: url(icons/pdf.png); } +a[href$=".doc"] { background-image: url(icons/doc.png); } +a[href$=".xls"] { background-image: url(icons/xls.png); } + +/* Misc */ +a[href$=".rss"], +a[href$=".rdf"] { background-image: url(icons/feed.png); } +a[href^="aim:"] { background-image: url(icons/im.png); } |
