[TASK] Add SVG Icons for document paste actions 63/43063/2
authorBenjamin Kott <benjamin.kott@outlook.com>
Sat, 5 Sep 2015 23:57:34 +0000 (01:57 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 6 Sep 2015 13:20:10 +0000 (15:20 +0200)
Resolves: #69557
Releases: master
Change-Id: I656ca487527a4c3c77401ac0da1bc7554567fe44
Reviewed-on: http://review.typo3.org/43063
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Build/Gruntfile.js
Build/Resources/Private/Icons/Action/actions-document-paste-after.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Action/actions-document-paste-before.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Action/actions-document-paste-into.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Action/actions-document-paste.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-after.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-before.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-into.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/t3skin/Classes/Slot/IconStyleModifier.php

index 459c4a3..5904dc8 100644 (file)
@@ -130,6 +130,10 @@ module.exports = function(grunt) {
                        // Action Icons
                        icons_action: {
                                files: {
+                                       '<%= paths.backend %>Public/Icons/Action/actions-document-paste-after.svg': '<%= paths.icons %>Action/actions-document-paste-after.svg',
+                                       '<%= paths.backend %>Public/Icons/Action/actions-document-paste-before.svg': '<%= paths.icons %>Action/actions-document-paste-before.svg',
+                                       '<%= paths.backend %>Public/Icons/Action/actions-document-paste-into.svg': '<%= paths.icons %>Action/actions-document-paste-into.svg',
+                                       '<%= paths.backend %>Public/Icons/Action/actions-document-paste.svg': '<%= paths.icons %>Action/actions-document-paste.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save-cleartranslationcache.svg': '<%= paths.icons %>Action/actions-document-save-cleartranslationcache.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save-close.svg': '<%= paths.icons %>Action/actions-document-save-close.svg',
                                        '<%= paths.backend %>Public/Icons/Action/actions-document-save-new.svg': '<%= paths.icons %>Action/actions-document-save-new.svg',
diff --git a/Build/Resources/Private/Icons/Action/actions-document-paste-after.svg b/Build/Resources/Private/Icons/Action/actions-document-paste-after.svg
new file mode 100644 (file)
index 0000000..6fd649f
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<g id="actions-document-paste-after">
+       <path d="M14.62,5.2l-1.89-1.89C12.49,3.06,12.1,3,11.75,3H11V1.5C11,1.22,10.78,1,10.5,1h-9C1.22,1,1,1.22,1,1.5
+               v11C1,12.78,1.22,13,1.5,13H5v1.5C5,14.77,5.22,15,5.5,15h9c0.28,0,0.5-0.23,0.5-0.5V6.25C15,5.9,14.86,5.45,14.62,5.2z M3.25,3
+               C3.11,3,3,2.89,3,2.75v-0.5C3,2.11,3.11,2,3.25,2h5.5C8.89,2,9,2.11,9,2.25v0.5C9,2.89,8.88,3,8.75,3H3.25z M14,14H6V4h5v2.75
+               C11,6.89,11.11,7,11.25,7H14V14z M12,6V4l2,2H12z"/>
+       <path d="M9.86,12.93l-2.31-2.56c-0.06-0.07-0.07-0.15-0.04-0.23C7.55,10.07,7.62,10,7.71,10H9V8h2v2h1.29
+               c0.08,0,0.16,0.07,0.19,0.14c0.03,0.08,0.02,0.17-0.03,0.23l-2.28,2.56C10.13,12.97,10.08,13,10.02,13
+               C9.96,13,9.9,12.97,9.86,12.93z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Action/actions-document-paste-before.svg b/Build/Resources/Private/Icons/Action/actions-document-paste-before.svg
new file mode 100644 (file)
index 0000000..6d23413
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<g id="actions-document-paste-before">
+       <path d="M14.62,5.2l-1.89-1.89C12.49,3.06,12.1,3,11.75,3H11V1.5C11,1.22,10.78,1,10.5,1h-9C1.22,1,1,1.22,1,1.5v11
+               C1,12.78,1.22,13,1.5,13H5v1.5C5,14.77,5.22,15,5.5,15h9c0.28,0,0.5-0.23,0.5-0.5V6.25C15,5.9,14.86,5.45,14.62,5.2z M3.25,3
+               C3.11,3,3,2.89,3,2.75v-0.5C3,2.11,3.11,2,3.25,2h5.5C8.89,2,9,2.11,9,2.25v0.5C9,2.89,8.88,3,8.75,3H3.25z M14,14H6V4h5v2.75
+               C11,6.89,11.11,7,11.25,7H14V14z M12,6V4l2,2H12z"/>
+       <path d="M10.14,8.07l2.31,2.56c0.06,0.07,0.07,0.15,0.04,0.23c-0.03,0.07-0.1,0.14-0.19,0.14H11v2H9v-2H7.71
+               c-0.08,0-0.16-0.07-0.19-0.14c-0.03-0.08-0.02-0.17,0.03-0.23l2.28-2.56C9.87,8.03,9.92,8,9.98,8C10.04,8,10.1,8.03,10.14,8.07z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Action/actions-document-paste-into.svg b/Build/Resources/Private/Icons/Action/actions-document-paste-into.svg
new file mode 100644 (file)
index 0000000..61b0993
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<g id="actions-document-paste-into">
+       <path d="M14.62,5.2l-1.89-1.89C12.49,3.06,12.1,3,11.75,3H11V1.5C11,1.22,10.78,1,10.5,1h-9C1.22,1,1,1.22,1,1.5v11
+               C1,12.78,1.22,13,1.5,13H5v1.5C5,14.77,5.22,15,5.5,15h9c0.28,0,0.5-0.23,0.5-0.5V6.25C15,5.9,14.86,5.45,14.62,5.2z M3.25,3
+               C3.11,3,3,2.89,3,2.75v-0.5C3,2.11,3.11,2,3.25,2h5.5C8.89,2,9,2.11,9,2.25v0.5C9,2.89,8.88,3,8.75,3H3.25z M14,14H6V4h5v2.75
+               C11,6.89,11.11,7,11.25,7H14V14z M12,6V4l2,2H12z"/>
+       <path d="M12.93,10.14l-2.56,2.31c-0.07,0.06-0.15,0.07-0.23,0.04c-0.07-0.03-0.14-0.1-0.14-0.19V11H7V9h3V7.71
+               c0-0.08,0.07-0.16,0.14-0.19c0.08-0.03,0.17-0.02,0.23,0.03l2.56,2.28C12.97,9.87,13,9.92,13,9.98C13,10.04,12.97,10.1,12.93,10.14
+               z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Action/actions-document-paste.svg b/Build/Resources/Private/Icons/Action/actions-document-paste.svg
new file mode 100644 (file)
index 0000000..6a8b94b
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+        viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
+<g id="actions-document-paste">
+       <path d="M14.62,5.2l-1.89-1.89C12.49,3.06,12.1,3,11.75,3H11V1.5C11,1.22,10.78,1,10.5,1h-9C1.22,1,1,1.22,1,1.5
+               v11C1,12.78,1.22,13,1.5,13H5v1.5C5,14.77,5.22,15,5.5,15h9c0.28,0,0.5-0.23,0.5-0.5V6.25C15,5.9,14.86,5.45,14.62,5.2z M3.25,3
+               C3.11,3,3,2.89,3,2.75v-0.5C3,2.11,3.11,2,3.25,2h5.5C8.89,2,9,2.11,9,2.25v0.5C9,2.89,8.88,3,8.75,3H3.25z M14,14H6V4h5v2.75
+               C11,6.89,11.11,7,11.25,7H14V14z M12,6V4l2,2H12z"/>
+</g>
+</svg>
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-after.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-after.svg
new file mode 100644 (file)
index 0000000..d99d632
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.62 5.2l-1.89-1.89c-.24-.25-.63-.31-.98-.31H11V1.5c0-.28-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5v11c0 .28.22.5.5.5H5v1.5c0 .27.22.5.5.5h9c.28 0 .5-.23.5-.5V6.25c0-.35-.14-.8-.38-1.05zM3.25 3C3.11 3 3 2.89 3 2.75v-.5c0-.14.11-.25.25-.25h5.5c.14 0 .25.11.25.25v.5c0 .14-.12.25-.25.25h-5.5zM14 14H6V4h5v2.75c0 .14.11.25.25.25H14v7zm-2-8V4l2 2h-2z"/><path d="M9.86 12.93l-2.31-2.56c-.06-.07-.07-.15-.04-.23.04-.07.11-.14.2-.14H9V8h2v2h1.29c.08 0 .16.07.19.14.03.08.02.17-.03.23l-2.28 2.56c-.04.04-.09.07-.15.07s-.12-.03-.16-.07z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-before.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-before.svg
new file mode 100644 (file)
index 0000000..83a355f
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.62 5.2l-1.89-1.89c-.24-.25-.63-.31-.98-.31H11V1.5c0-.28-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5v11c0 .28.22.5.5.5H5v1.5c0 .27.22.5.5.5h9c.28 0 .5-.23.5-.5V6.25c0-.35-.14-.8-.38-1.05zM3.25 3C3.11 3 3 2.89 3 2.75v-.5c0-.14.11-.25.25-.25h5.5c.14 0 .25.11.25.25v.5c0 .14-.12.25-.25.25h-5.5zM14 14H6V4h5v2.75c0 .14.11.25.25.25H14v7zm-2-8V4l2 2h-2z"/><path d="M10.14 8.07l2.31 2.56c.06.07.07.15.04.23-.03.07-.1.14-.19.14H11v2H9v-2H7.71c-.08 0-.16-.07-.19-.14-.03-.08-.02-.17.03-.23l2.28-2.56c.04-.04.09-.07.15-.07s.12.03.16.07z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-into.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste-into.svg
new file mode 100644 (file)
index 0000000..d11c9c2
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.62 5.2l-1.89-1.89c-.24-.25-.63-.31-.98-.31H11V1.5c0-.28-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5v11c0 .28.22.5.5.5H5v1.5c0 .27.22.5.5.5h9c.28 0 .5-.23.5-.5V6.25c0-.35-.14-.8-.38-1.05zM3.25 3C3.11 3 3 2.89 3 2.75v-.5c0-.14.11-.25.25-.25h5.5c.14 0 .25.11.25.25v.5c0 .14-.12.25-.25.25h-5.5zM14 14H6V4h5v2.75c0 .14.11.25.25.25H14v7zm-2-8V4l2 2h-2z"/><path d="M12.93 10.14l-2.56 2.31c-.07.06-.15.07-.23.04-.07-.03-.14-.1-.14-.19V11H7V9h3V7.71c0-.08.07-.16.14-.19.08-.03.17-.02.23.03l2.56 2.28c.04.04.07.09.07.15s-.03.12-.07.16z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste.svg b/typo3/sysext/backend/Resources/Public/Icons/Action/actions-document-paste.svg
new file mode 100644 (file)
index 0000000..30577a5
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.62 5.2l-1.89-1.89c-.24-.25-.63-.31-.98-.31H11V1.5c0-.28-.22-.5-.5-.5h-9c-.28 0-.5.22-.5.5v11c0 .28.22.5.5.5H5v1.5c0 .27.22.5.5.5h9c.28 0 .5-.23.5-.5V6.25c0-.35-.14-.8-.38-1.05zM3.25 3C3.11 3 3 2.89 3 2.75v-.5c0-.14.11-.25.25-.25h5.5c.14 0 .25.11.25.25v.5c0 .14-.12.25-.25.25h-5.5zM14 14H6V4h5v2.75c0 .14.11.25.25.25H14v7zm-2-8V4l2 2h-2z"/></svg>
\ No newline at end of file
index 77ef1d2..6162ee0 100644 (file)
@@ -118,22 +118,34 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                                'name' => 'pencil',
                        )
                ),
+               'actions-document-paste' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-document-paste.svg',
+                       )
+               ),
                'actions-document-paste-after' => array(
-                       'provider' => FontawesomeIconProvider::class,
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'name' => 'clipboard',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-document-paste-after.svg',
                        )
                ),
-               'actions-document-select' => array(
-                       'provider' => FontawesomeIconProvider::class,
+               'actions-document-paste-before' => array(
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'name' => 'check-square-o',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-document-paste-before.svg',
                        )
                ),
                'actions-document-paste-into' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Action/actions-document-paste-into.svg',
+                       )
+               ),
+               'actions-document-select' => array(
                        'provider' => FontawesomeIconProvider::class,
                        'options' => array(
-                               'name' => 'clipboard',
+                               'name' => 'check-square-o',
                        )
                ),
                'actions-document-save' => array(
index 97fe5cf..bc7ac84 100644 (file)
@@ -43,7 +43,6 @@ class IconStyleModifier {
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-edit' => 'fa-pencil',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-hide' => 'fa-toggle-on',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-paste' => 'fa-paste',
-               't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-paste-after' => 'fa-clipboard',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-pick-date' => 'fa-calendar',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-rename' => 'fa-quote-right',
                't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-replace' => 'fa-retweet',
@@ -124,7 +123,6 @@ class IconStyleModifier {
                't3-icon t3-icon-status t3-icon-status-status t3-icon-status-checked' => 'fa-check',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-move sortableHandle' => 'fa-reorder sortableHandle',
                't3-icon t3-icon-actions t3-icon-actions-move t3-icon-move-move' => 'fa-reorder',
-               't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-paste-into' => 'fa-clipboard',
                't3-icon t3-icon-actions t3-icon-actions-system t3-icon-system-options-view' => 'fa-list-alt',
                't3-icon t3-icon-module t3-icon-module-web t3-icon-web' => 'fa-file-o',
                't3-icon t3-icon-module t3-icon-module-file t3-icon-file' => 'fa-image',