aboutsummaryrefslogtreecommitdiff
path: root/public/css/gogs.css
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-07-24 12:47:55 -0400
committer无闻 <joe2010xtmf@163.com>2014-07-24 12:47:55 -0400
commitda0240aacd5646bd73b2e22d92d88578dbafd64b (patch)
tree3c101530bc7f1b9f4677cab0be4e8a3e4175c50b /public/css/gogs.css
parent3db84c889365a559a6ea81ad4e7dd4a5f089d249 (diff)
parent9a7349ce64afdbc528126862283b1068d4c8699a (diff)
Merge pull request #307 from nuss-justin/feature/attachments
Feature: Ability to attach files to issues (attachments)
Diffstat (limited to 'public/css/gogs.css')
-rwxr-xr-xpublic/css/gogs.css42
1 files changed, 42 insertions, 0 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 710d0c20..cc48f211 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1794,4 +1794,46 @@ 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;
+}
+
+#attachments-button {
+ float: left;
+}
+
+#attached {
+ height: 18px;
+ margin: 10px 10px 15px 10px;
+}
+
+#attached-list .label {
+ margin-right: 10px;
+}
+
+#issue-create-form #attached {
+ margin-bottom: 0;
} \ No newline at end of file