summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-16 22:09:17 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-17 22:23:31 +0100
commit99fb4d387fbcddc56292b788a84b1e62d27765dd (patch)
tree6a0bd9ec2624e6f8761965cb5fc5d259f7eac227
parentab65be7a2f5d46a681d882f4f90d1f0438c64b02 (diff)
downloadgitlab-ce-99fb4d387fbcddc56292b788a84b1e62d27765dd.tar.gz
Add paperclip icon to links to uploads in notes.
-rw-r--r--app/assets/stylesheets/sections/notes.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/sections/notes.scss b/app/assets/stylesheets/sections/notes.scss
index 5494845eb8c..40adc8b3ba7 100644
--- a/app/assets/stylesheets/sections/notes.scss
+++ b/app/assets/stylesheets/sections/notes.scss
@@ -66,6 +66,22 @@ ul.notes {
overflow: auto;
word-wrap: break-word;
@include md-typography;
+
+ a[href*="/uploads/"] {
+ &:before {
+ margin-right: 4px;
+
+ font: normal normal normal 14px/1 FontAwesome;
+ font-size: inherit;
+ text-rendering: auto;
+ -webkit-font-smoothing: antialiased;
+ content: "\f0c6";
+ }
+
+ &:hover:before {
+ text-decoration: none;
+ }
+ }
}
}
.note-header {