aboutsummaryrefslogtreecommitdiff
path: root/static/css/blueprint/plugins/link-icons/screen.css
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-02-20 23:38:47 -0500
committerMike Crute <mcrute@gmail.com>2010-02-20 23:38:47 -0500
commite6e1b94472a03b9e9e390fc707ea297963104bd2 (patch)
treec61607fa2899d95f03ff91ab90d5005f40bd8afe /static/css/blueprint/plugins/link-icons/screen.css
parent9300a50f28514cc29e226ec19ab38f52358fc901 (diff)
downloadsnakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.tar.bz2
snakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.tar.xz
snakeplan-e6e1b94472a03b9e9e390fc707ea297963104bd2.zip
Starting to tidy up the views
Diffstat (limited to 'static/css/blueprint/plugins/link-icons/screen.css')
-rw-r--r--static/css/blueprint/plugins/link-icons/screen.css40
1 files changed, 40 insertions, 0 deletions
diff --git a/static/css/blueprint/plugins/link-icons/screen.css b/static/css/blueprint/plugins/link-icons/screen.css
new file mode 100644
index 0000000..7b4bef9
--- /dev/null
+++ b/static/css/blueprint/plugins/link-icons/screen.css
@@ -0,0 +1,40 @@
1/* --------------------------------------------------------------
2
3 link-icons.css
4 * Icons for links based on protocol or file type.
5
6 See the Readme file in this folder for additional instructions.
7
8-------------------------------------------------------------- */
9
10/* Use this class if a link gets an icon when it shouldn't. */
11body a.noicon {
12 background:transparent none !important;
13 padding:0 !important;
14 margin:0 !important;
15}
16
17/* Make sure the icons are not cut */
18a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited,
19a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"],
20a[href$=".rdf"], a[href^="aim:"] {
21 padding:2px 22px 2px 0;
22 margin:-2px 0;
23 background-repeat: no-repeat;
24 background-position: right center;
25}
26
27/* External links */
28a[href^="http:"] { background-image: url(icons/external.png); }
29a[href^="mailto:"] { background-image: url(icons/email.png); }
30a[href^="http:"]:visited { background-image: url(icons/visited.png); }
31
32/* Files */
33a[href$=".pdf"] { background-image: url(icons/pdf.png); }
34a[href$=".doc"] { background-image: url(icons/doc.png); }
35a[href$=".xls"] { background-image: url(icons/xls.png); }
36
37/* Misc */
38a[href$=".rss"],
39a[href$=".rdf"] { background-image: url(icons/feed.png); }
40a[href^="aim:"] { background-image: url(icons/im.png); }