diff options
author | gitlabhq <m@gitlabhq.com> | 2011-10-09 00:36:38 +0300 |
---|---|---|
committer | gitlabhq <m@gitlabhq.com> | 2011-10-09 00:36:38 +0300 |
commit | 9ba1224867665844b117fa037e1465bb706b3685 (patch) | |
tree | 52fbfc1cdb55df21843965479c97be0c91121a9a /vendor/assets/stylesheets/blueprint/plugins/link-icons | |
parent | 93efff945215a4407afcaf0cba15ac601b56df0d (diff) | |
download | gitlab-ce-9ba1224867665844b117fa037e1465bb706b3685.tar.gz |
init commit
Diffstat (limited to 'vendor/assets/stylesheets/blueprint/plugins/link-icons')
11 files changed, 60 insertions, 0 deletions
diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/doc.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/doc.png Binary files differnew file mode 100644 index 00000000000..834cdfaf48a --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/doc.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/email.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/email.png Binary files differnew file mode 100644 index 00000000000..7348aed77fe --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/email.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/external.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/external.png Binary files differnew file mode 100644 index 00000000000..cf1cfb42687 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/external.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/feed.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/feed.png Binary files differnew file mode 100644 index 00000000000..315c4f4fa62 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/feed.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/im.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/im.png Binary files differnew file mode 100644 index 00000000000..79f35ccbdad --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/im.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/lock.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/lock.png Binary files differnew file mode 100644 index 00000000000..2ebc4f6f966 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/lock.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/pdf.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/pdf.png Binary files differnew file mode 100644 index 00000000000..8f8095e46fa --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/pdf.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/visited.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/visited.png Binary files differnew file mode 100644 index 00000000000..ebf206def27 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/visited.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/xls.png b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/xls.png Binary files differnew file mode 100644 index 00000000000..b977d7e52e2 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/icons/xls.png diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/readme.txt b/vendor/assets/stylesheets/blueprint/plugins/link-icons/readme.txt new file mode 100644 index 00000000000..fc4dc649002 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/readme.txt @@ -0,0 +1,18 @@ +Link Icons +* Icons for links based on protocol or file type. + +This is not supported in IE versions < 7. + + +Credits +---------------------------------------------------------------- + +* Marc Morgan +* Olav Bjorkoy [bjorkoy.com] + + +Usage +---------------------------------------------------------------- + +1) Add this line to your HTML: + <link rel="stylesheet" href="css/blueprint/plugins/link-icons/screen.css" type="text/css" media="screen, projection"> diff --git a/vendor/assets/stylesheets/blueprint/plugins/link-icons/screen.css b/vendor/assets/stylesheets/blueprint/plugins/link-icons/screen.css new file mode 100644 index 00000000000..0cefc774250 --- /dev/null +++ b/vendor/assets/stylesheets/blueprint/plugins/link-icons/screen.css @@ -0,0 +1,42 @@ +/* -------------------------------------------------------------- + + 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^="https:"], +a[href^="http:"]:visited, a[href^="https:"]:visited, +a[href^="mailto:"], 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^="https:"] { background-image: url(icons/lock.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); } |