summaryrefslogtreecommitdiffstats
path: root/public/css
diff options
context:
space:
mode:
authorJustin Nuß <justin.nuss@hmmh.de>2014-07-24 13:50:03 +0200
committerJustin Nuß <justin.nuss@hmmh.de>2014-07-24 13:50:03 +0200
commit43e5de7f830a098582b519706f9c5da6eecd2c3e (patch)
tree952610e2ae5f3bfc1be7ad0214f55fc1d659b497 /public/css
parentfa1db64ff014d6d06151431a3b1417ebf0104bde (diff)
downloadgitea-43e5de7f830a098582b519706f9c5da6eecd2c3e.tar.gz
gitea-43e5de7f830a098582b519706f9c5da6eecd2c3e.zip
Show attachments in issues/comments and add preview for images
Diffstat (limited to 'public/css')
-rwxr-xr-xpublic/css/gogs.css25
1 files changed, 25 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 710d0c20b1..e78d7f940c 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1794,4 +1794,29 @@ body {
color: #444;
font-weight: bold;
line-height: 30px;
+}
+
+.issue-main .attachments {
+ margin: 0px 10px 10px 10px;
+}
+
+.issue-main .attachments .attachment-label {
+ margin-right: 5px;
+}
+
+.attachment-preview {
+ position: absolute;
+ top: 0px;
+ bottom: 0px;
+
+ margin: 5px;
+ padding: 8px;
+
+ background: #fff;
+ border: 1px solid #d8d8d8;
+ box-shadow: 0 0 5px 1px #d8d8d8;
+}
+
+.attachment-preview-img {
+ border: 1px solid #d8d8d8;
} \ No newline at end of file