[TASK] Replace icon with SVG: overlay-read-only 42/43242/3
authorBenjamin Kott <benjamin.kott@outlook.com>
Sat, 12 Sep 2015 13:39:39 +0000 (15:39 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 12 Sep 2015 14:53:43 +0000 (16:53 +0200)
Resolves: #69733
Releases: master
Change-Id: Ibca023c68f548d55a04bbebc4c4fcc7f7108cf7e
Reviewed-on: http://review.typo3.org/43242
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/Gruntfile.js
Build/Resources/Private/Icons/Overlay/overlay-read-only.svg [new file with mode: 0644]
Build/Resources/Public/Less/Component/icon.less
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-read-only.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 4500779..e3c8db9 100644 (file)
@@ -205,6 +205,12 @@ module.exports = function(grunt) {
                                        '<%= paths.sysext %>backend/Resources/Public/Icons/Spinner/spinner-circle-dark.svg': '<%= paths.icons %>Spinner/spinner-circle-dark.svg',
                                        '<%= paths.sysext %>backend/Resources/Public/Icons/Spinner/spinner-circle-light.svg': '<%= paths.icons %>Spinner/spinner-circle-light.svg'
                                }
+                       },
+                       // Overlay Icons
+                       icons_overlay: {
+                               files: {
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-read-only.svg': '<%= paths.icons %>Overlay/overlay-read-only.svg'
+                               }
                        }
                }
        });
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-read-only.svg b/Build/Resources/Private/Icons/Overlay/overlay-read-only.svg
new file mode 100644 (file)
index 0000000..d4245a1
--- /dev/null
@@ -0,0 +1,12 @@
+<?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="overlay-read-only">
+       <circle display="inline" fill="#C83C3C" cx="8" cy="8" r="7"/>
+       <path display="inline" fill="#FFFFFF" d="M11.54,5.88l-5.66,5.66c-0.2,0.2-0.51,0.2-0.71,0l-0.71-0.71c-0.2-0.2-0.2-0.51,0-0.71
+               l5.66-5.66c0.2-0.2,0.51-0.2,0.71,0l0.71,0.71C11.73,5.37,11.73,5.68,11.54,5.88z"/>
+       <path display="inline" fill="#FFFFFF" d="M10.12,11.54L4.46,5.88c-0.2-0.2-0.2-0.51,0-0.71l0.71-0.71c0.2-0.2,0.51-0.2,0.71,0
+               l5.66,5.66c0.2,0.2,0.2,0.51,0,0.71l-0.71,0.71C10.63,11.73,10.32,11.73,10.12,11.54z"/>
+</g>
+</svg>
index bc28872..72806f9 100644 (file)
 .icon-default-not-found,
 .icon-actions-edit-copy-release,
 .icon-actions-edit-cut-release,
-.icon-overlay-read-only,
 .icon-status-status-current,
 .icon-status-dialog-error,
 .icon-status-status-permission-denied {
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-read-only.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-read-only.svg
new file mode 100644 (file)
index 0000000..82ef5fe
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle fill="#C83C3C" cx="8" cy="8" r="7"/><path fill="#FFF" d="M11.54 5.88l-5.66 5.66c-.2.2-.51.2-.71 0l-.71-.71c-.2-.2-.2-.51 0-.71l5.66-5.66c.2-.2.51-.2.71 0l.71.71c.19.2.19.51 0 .71z"/><path fill="#FFF" d="M10.12 11.54L4.46 5.88c-.2-.2-.2-.51 0-.71l.71-.71c.2-.2.51-.2.71 0l5.66 5.66c.2.2.2.51 0 .71l-.71.71c-.2.19-.51.19-.71 0z"/></svg>
\ No newline at end of file
index bf9ac0a..6b28617 100644 (file)
@@ -843,11 +843,11 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
 
                // Overlays
                'overlay-read-only' => array(
-                       'provider' => FontawesomeIconProvider::class,
+                       'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'name' => 'times-circle',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-read-only.svg',
                        )
-               ),
+               )
        );
 
        /**
index 178130d..2105725 100644 (file)
@@ -7855,7 +7855,6 @@ button.close {
 .icon-default-not-found,
 .icon-actions-edit-copy-release,
 .icon-actions-edit-cut-release,
-.icon-overlay-read-only,
 .icon-status-status-current,
 .icon-status-dialog-error,
 .icon-status-status-permission-denied {