From 83ff781b55776fa9cc227be0fa8143a901a7ed71 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 12 Jul 2018 09:06:08 +0000 Subject: [PATCH] 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 --- public/images/transparent.png | Bin 0 -> 150 bytes public/stylesheets/application.css | 2 ++ 2 files changed, 2 insertions(+) create mode 100644 public/images/transparent.png diff --git a/public/images/transparent.png b/public/images/transparent.png new file mode 100644 index 0000000000000000000000000000000000000000..221fc86fd7155264d87d1b1fd0116a6d111611d5 GIT binary patch literal 150 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!fowg8_H*SmM`{{R1fosw4rP=u)@$S?Rm!_(~sUO=9Nr;B4q s#jT`-1|~O+1PO)4#%=Ok3`{%>t^y2=s&jTv0IFf|boFyt=akR{03>NC*8l(j literal 0 HcmV?d00001 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;}