summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-07-12 09:06:08 +0000
committerGo MAEDA <maeda@farend.jp>2018-07-12 09:06:08 +0000
commit83ff781b55776fa9cc227be0fa8143a901a7ed71 (patch)
tree2f5cc2521387974fbaeed82038362d3b30b1b8c5
parent87a671ce75fd2b1d402b96df4fb92f55e6009fd4 (diff)
downloadredmine-83ff781b55776fa9cc227be0fa8143a901a7ed71.tar.gz
redmine-83ff781b55776fa9cc227be0fa8143a901a7ed71.zip
Show transparency grid when previewing images (#26648).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17444 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--public/images/transparent.pngbin0 -> 150 bytes
-rw-r--r--public/stylesheets/application.css2
2 files changed, 2 insertions, 0 deletions
diff --git a/public/images/transparent.png b/public/images/transparent.png
new file mode 100644
index 000000000..221fc86fd
--- /dev/null
+++ b/public/images/transparent.png
Binary files differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 1a46ac16d..6abf7788c 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1390,6 +1390,8 @@ color: #555; text-shadow: 1px 1px 0 #fff;
.repository-graph {width:75%; margin-bottom:2em;}
+img.filecontent.image {background-image: url(../images/transparent.png);}
+
/* Custom JQuery styles */
.ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}