summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-07-08 06:56:29 -0700
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-07-08 06:56:29 -0700
commit8d8f99fbc49b2747895743dc55d9ddf8c3aa842a (patch)
tree7755a62bfff72dad584683405316f62d89b4a829
parent0365d244e0b41785d7853f43d6b60017e9983cae (diff)
parentb9be693305b9723ce4a37bd527da22cf68c78b77 (diff)
downloadnextcloud-server-8d8f99fbc49b2747895743dc55d9ddf8c3aa842a.tar.gz
nextcloud-server-8d8f99fbc49b2747895743dc55d9ddf8c3aa842a.zip
Merge pull request #3757 from owncloud/icon-cleanup
Icon cleanup
-rw-r--r--apps/files_trashbin/js/trash.js6
-rw-r--r--apps/files_trashbin/templates/index.php2
-rw-r--r--core/css/styles.css8
-rw-r--r--core/img/actions/add.pngbin441 -> 184 bytes
-rw-r--r--core/img/actions/add.svg12
-rw-r--r--core/img/actions/delete-hover.pngbin254 -> 0 bytes
-rw-r--r--core/img/actions/delete-hover.svg6
-rw-r--r--core/img/actions/delete.pngbin240 -> 295 bytes
-rw-r--r--core/img/actions/delete.svg14
-rw-r--r--core/img/actions/lock.pngbin182 -> 295 bytes
-rw-r--r--core/img/actions/mail.pngbin405 -> 303 bytes
-rw-r--r--core/img/actions/mail.svg8
-rw-r--r--core/img/actions/undelete.pngbin624 -> 0 bytes
-rw-r--r--core/img/loader.gifbin847 -> 0 bytes
-rw-r--r--core/img/loading-dark.gifbin673 -> 3208 bytes
-rw-r--r--core/img/loading.gifbin1849 -> 3208 bytes
-rw-r--r--core/img/remoteStorage-big.pngbin8372 -> 0 bytes
-rw-r--r--core/img/weather-clear.pngbin21917 -> 0 bytes
18 files changed, 27 insertions, 29 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index 691642811b7..87dfea491e7 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -2,9 +2,9 @@
$(document).ready(function() {
if (typeof FileActions !== 'undefined') {
- FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/undelete.png'), function(filename) {
+ FileActions.register('all', 'Restore', OC.PERMISSION_READ, OC.imagePath('core', 'actions/history'), function(filename) {
var tr=$('tr').filterAttr('data-file', filename);
- var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
+ var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
var undeleteAction = $('tr').filterAttr('data-file',filename).children("td.date");
var files = tr.attr('data-file');
undeleteAction[0].innerHTML = undeleteAction[0].innerHTML+spinner;
@@ -94,7 +94,7 @@ $(document).ready(function() {
$('.undelete').click('click',function(event) {
event.preventDefault();
- var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>';
+ var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
var files=getSelectedFiles('file');
var fileslist = JSON.stringify(files);
var dirlisting=getSelectedFiles('dirlisting')[0];
diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php
index cb5edaa2c91..66ec36df867 100644
--- a/apps/files_trashbin/templates/index.php
+++ b/apps/files_trashbin/templates/index.php
@@ -18,7 +18,7 @@
<span class='selectedActions'>
<a href="" class="undelete">
<img class="svg" alt="<?php p($l->t( 'Restore' )); ?>"
- src="<?php print_unescaped(OCP\image_path("core", "actions/undelete.png")); ?>" />
+ src="<?php print_unescaped(OCP\image_path("core", "actions/history.svg")); ?>" />
<?php p($l->t('Restore'))?>
</a>
</span>
diff --git a/core/css/styles.css b/core/css/styles.css
index 40a17a42876..6c9d00114a0 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -416,7 +416,13 @@ a.bookmarklet { background-color:#ddd; border:1px solid #ccc; padding:5px;paddin
#oc-dialog-filepicker-content .filepicker_element_selected { background-color:lightblue;}
.ui-dialog {position:fixed !important;}
span.ui-icon {float: left; margin: 3px 7px 30px 0;}
+
.loading { background: url('../img/loading.gif') no-repeat center; cursor: wait; }
+.move2trash { /* decrease spinner size */
+ width: 16px;
+ height: 16px;
+}
+
/* ---- CATEGORIES ---- */
#categoryform .scrollarea { position:absolute; left:10px; top:10px; right:10px; bottom:50px; overflow:auto; border:1px solid #ddd; background:#f8f8f8; }
@@ -655,13 +661,13 @@ div.crumb:active {
/* icons */
.folder-icon { background-image: url('../img/places/folder.svg'); }
.delete-icon { background-image: url('../img/actions/delete.svg'); }
-.delete-icon:hover { background-image: url('../img/actions/delete-hover.svg'); }
.edit-icon { background-image: url('../img/actions/rename.svg'); }
/* buttons */
button.loading {
background-image: url('../img/loading.gif');
background-position: right 10px center; background-repeat: no-repeat;
+ background-size: 16px;
padding-right: 30px;
}
diff --git a/core/img/actions/add.png b/core/img/actions/add.png
index 25d472b2dc4..1aac02b8454 100644
--- a/core/img/actions/add.png
+++ b/core/img/actions/add.png
Binary files differ
diff --git a/core/img/actions/add.svg b/core/img/actions/add.svg
index 136d6c4b311..250746e1660 100644
--- a/core/img/actions/add.svg
+++ b/core/img/actions/add.svg
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="22" width="22" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <defs>
- <linearGradient id="a" y2="45.69" gradientUnits="userSpaceOnUse" x2="24.139" gradientTransform="matrix(.53994 0 0 .53668 -1.7557 -1.7859)" y1="6.5317" x1="24.139">
- <stop stop-color="#fff" offset="0"/>
- <stop stop-color="#fff" stop-opacity="0" offset="1"/>
- </linearGradient>
- </defs>
- <path opacity=".4" d="m8.5932 8.2152v-5.9948h5v5.9948h6v5.0052h-6v6h-5v-6h-6v-5.0052h6z" fill-rule="evenodd" stroke="url(#a)"/>
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <g transform="matrix(-.70711 -.70711 .70711 -.70711 -724.85 752.16)">
+ <path d="m1.6361 1040.9 2.8284-2.8284 3.5355 3.5355 3.5355-3.5355 2.8284 2.8284-3.5355 3.5355 3.5356 3.5356-2.8284 2.8284-3.5356-3.5356-3.5357 3.5354-2.8281-2.8281 3.5354-3.5357z"/>
+ </g>
</svg>
diff --git a/core/img/actions/delete-hover.png b/core/img/actions/delete-hover.png
deleted file mode 100644
index 048d91cee51..00000000000
--- a/core/img/actions/delete-hover.png
+++ /dev/null
Binary files differ
diff --git a/core/img/actions/delete-hover.svg b/core/img/actions/delete-hover.svg
deleted file mode 100644
index 3e8d26c9786..00000000000
--- a/core/img/actions/delete-hover.svg
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <g transform="translate(0 -1036.4)">
- <path d="m3 1040.4 1-1 4 3 4-3 1 1-3 4 3 4-1 1-4-3-4 3-1-1 3-4z" fill="#d40000"/>
- </g>
-</svg>
diff --git a/core/img/actions/delete.png b/core/img/actions/delete.png
index fa8e18183ed..99f549faf9b 100644
--- a/core/img/actions/delete.png
+++ b/core/img/actions/delete.png
Binary files differ
diff --git a/core/img/actions/delete.svg b/core/img/actions/delete.svg
index ef564bfd482..568185c5c70 100644
--- a/core/img/actions/delete.svg
+++ b/core/img/actions/delete.svg
@@ -1,6 +1,12 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <g transform="translate(0 -1036.4)">
- <path d="m3 1040.4 1-1 4 3 4-3 1 1-3 4 3 4-1 1-4-3-4 3-1-1 3-4z"/>
- </g>
+ <metadata>
+ <rdf:RDF>
+ <cc:Work rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <dc:title/>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <path fill="#d40000" d="M8,1c-3.866,0-7,3.134-7,7s3.134,7,7,7,7-3.134,7-7-3.134-7-7-7zm-2.8438,2.75l2.8438,2.8438,2.844-2.8438,1.406,1.4062-2.8438,2.8438,2.8438,2.844-1.406,1.406-2.844-2.8438-2.8438,2.8438-1.4062-1.406,2.8438-2.844-2.8438-2.8438,1.4062-1.4062z"/>
</svg>
diff --git a/core/img/actions/lock.png b/core/img/actions/lock.png
index dbcffa3990f..f3121811ea6 100644
--- a/core/img/actions/lock.png
+++ b/core/img/actions/lock.png
Binary files differ
diff --git a/core/img/actions/mail.png b/core/img/actions/mail.png
index 8e884fbc0ea..be6142444ae 100644
--- a/core/img/actions/mail.png
+++ b/core/img/actions/mail.png
Binary files differ
diff --git a/core/img/actions/mail.svg b/core/img/actions/mail.svg
index 2c63daac034..c01f2c113e7 100644
--- a/core/img/actions/mail.svg
+++ b/core/img/actions/mail.svg
@@ -1,8 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <g>
- <rect stroke-linejoin="round" height="10.244" width="15.244" stroke="#000" stroke-linecap="square" y="2.6281" x=".37806" stroke-width=".75613"/>
- <path d="m-0.6 11 8.6-5l8.6 5" stroke="#fff" stroke-width="1px" fill="none"/>
- <path d="m0 2.5 8 6.5 8-6.5" stroke="#fff" stroke-linecap="round" stroke-width="1px"/>
- </g>
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.0" xmlns:cc="http://creativecommons.org/ns#" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <path d="m0.88889 3c-0.49245 0-0.88889 0.3968-0.88889 0.8892v8.2228c0 0.492 0.39644 0.888 0.88889 0.888h14.222c0.493 0 0.889-0.396 0.889-0.888v-8.2228c0-0.4924-0.396-0.8892-0.889-0.8892zm0.75 1.0281 6.0833 6.0833h0.52778l6.1111-6.0833 0.61111 0.61111-3.6389 3.6944 2.75 2.8056-0.61111 0.61111-2.8056-2.8056-2.0278 2.0556h-1.2778l-2.0271-2.0552-2.8055 2.8332-0.6111-0.639 2.7777-2.8054-3.6666-3.6944z"/>
</svg>
diff --git a/core/img/actions/undelete.png b/core/img/actions/undelete.png
deleted file mode 100644
index d712527ef61..00000000000
--- a/core/img/actions/undelete.png
+++ /dev/null
Binary files differ
diff --git a/core/img/loader.gif b/core/img/loader.gif
deleted file mode 100644
index e192ca895cd..00000000000
--- a/core/img/loader.gif
+++ /dev/null
Binary files differ
diff --git a/core/img/loading-dark.gif b/core/img/loading-dark.gif
index 5fe86acabc4..13f0f64eab1 100644
--- a/core/img/loading-dark.gif
+++ b/core/img/loading-dark.gif
Binary files differ
diff --git a/core/img/loading.gif b/core/img/loading.gif
index 5b33f7e54f4..f8f3dff6fb9 100644
--- a/core/img/loading.gif
+++ b/core/img/loading.gif
Binary files differ
diff --git a/core/img/remoteStorage-big.png b/core/img/remoteStorage-big.png
deleted file mode 100644
index 7e76e21209e..00000000000
--- a/core/img/remoteStorage-big.png
+++ /dev/null
Binary files differ
diff --git a/core/img/weather-clear.png b/core/img/weather-clear.png
deleted file mode 100644
index 0acf7a9b2af..00000000000
--- a/core/img/weather-clear.png
+++ /dev/null
Binary files differ