summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAndrew Patton <andrew@acusti.ca>2014-07-25 15:35:47 -0400
committerAndrew Patton <andrew@acusti.ca>2014-07-25 15:35:47 -0400
commitc084a5ba735144576cffbdfe3b193fc9fc8e67f8 (patch)
treed651bcdc6f4445b253da98fcb0f6084dffdfe9b2 /public
parent5ed5912ef52c8f056c66cb896136249faa8904bd (diff)
downloadgitea-c084a5ba735144576cffbdfe3b193fc9fc8e67f8.tar.gz
gitea-c084a5ba735144576cffbdfe3b193fc9fc8e67f8.zip
Style finesse for “Attachments:” list in issues
Make `#attached-list` attachment labels wrap, make spacing more consistent, add hover stats to `.attachment-remove` icon, adjust padding of labels to compensate for `.attachment-remove` icon
Diffstat (limited to 'public')
-rwxr-xr-xpublic/css/gogs.css21
1 files changed, 12 insertions, 9 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 361475bd40..aa6d43894a 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1826,21 +1826,24 @@ body {
}
#attached {
- height: 18px;
- margin: 10px 10px 15px 10px;
+ margin: 10px 0 15px;
}
#attached-list .label {
+ display: inline-block;
+ vertical-align: top;
margin-right: 10px;
+ padding-right: 0;
+}
+
+#attached-list .label .attachment-remove {
+ cursor: pointer;
+}
+
+#attached-list .label .attachment-remove:hover {
+ background: #d8d8d8;
}
#issue-create-form #attached {
margin-bottom: 0;
}
-
-#submit-error {
- display: none;
- padding: 10px 15px 15px 15px;
- font-weight: bold;
- text-align: center;
-} \ No newline at end of file