[TASK] Move overlay icons to IconFactory using SVG 61/43261/4
authorStephan Großberndt <stephan@grossberndt.de>
Sun, 13 Sep 2015 10:07:06 +0000 (12:07 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Sun, 13 Sep 2015 20:37:22 +0000 (22:37 +0200)
Move icons for overlays to the IconFactory and use SVG.

Resolves: #69745
Releases: master
Change-Id: I551deb481ad61f747a267b6c1d1edc52af4d0111
Reviewed-on: http://review.typo3.org/43261
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
23 files changed:
Build/Gruntfile.js
Build/Resources/Private/Icons/Overlay/overlay-deleted.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-hidden.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-includes-subpages.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-locked.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-read-only.svg [deleted file]
Build/Resources/Private/Icons/Overlay/overlay-readonly.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-restricted.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-scheduled.svg [new file with mode: 0644]
Build/Resources/Private/Icons/Overlay/overlay-translated.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-deleted.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-hidden.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-includes-subpages.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-locked.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-read-only.svg [deleted file]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-readonly.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-restricted.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-scheduled.svg [new file with mode: 0644]
typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-translated.svg [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/core/Tests/Unit/Imaging/IconFactoryTest.php
typo3/sysext/core/Tests/Unit/Imaging/IconTest.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php

index 989b1e3..5dc2994 100644 (file)
@@ -216,7 +216,14 @@ module.exports = function(grunt) {
                        // Overlay Icons
                        icons_overlay: {
                                files: {
-                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-read-only.svg': '<%= paths.icons %>Overlay/overlay-read-only.svg'
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-deleted.svg': '<%= paths.icons %>Overlay/overlay-deleted.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-hidden.svg': '<%= paths.icons %>Overlay/overlay-hidden.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-includes-subpages.svg': '<%= paths.icons %>Overlay/overlay-includes-subpages.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-locked.svg': '<%= paths.icons %>Overlay/overlay-locked.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-readonly.svg': '<%= paths.icons %>Overlay/overlay-readonly.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-restricted.svg': '<%= paths.icons %>Overlay/overlay-restricted.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-scheduled.svg': '<%= paths.icons %>Overlay/overlay-scheduled.svg',
+                                       '<%= paths.backend %>Public/Icons/Overlay/overlay-translated.svg': '<%= paths.icons %>Overlay/overlay-translated.svg'
                                }
                        }
                }
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-deleted.svg b/Build/Resources/Private/Icons/Overlay/overlay-deleted.svg
new file mode 100644 (file)
index 0000000..1c61a37
--- /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="overlay-deleted">
+       <rect x="5.38" fill="#8C8C8C" width="5.25" height="3"/>
+       <path fill="#B9B9B9" d="M2.75,16h10.5l0.88-11H1.88L2.75,16z"/>
+       <rect x="1" y="2" fill="#B9B9B9" width="14" height="4"/>
+       <rect x="1" y="5" fill="#8C8C8C" width="14" height="1"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-hidden.svg b/Build/Resources/Private/Icons/Overlay/overlay-hidden.svg
new file mode 100644 (file)
index 0000000..cf47d88
--- /dev/null
@@ -0,0 +1,10 @@
+<?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-hidden">
+       <circle fill="#C83C3C" cx="8" cy="8" r="7"/>
+       <path fill="#FFFFFF" d="M12,9H4C3.72,9,3.5,8.78,3.5,8.5v-1C3.5,7.22,3.72,7,4,7h8c0.28,0,0.5,0.22,0.5,0.5v1
+               C12.5,8.78,12.28,9,12,9z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-includes-subpages.svg b/Build/Resources/Private/Icons/Overlay/overlay-includes-subpages.svg
new file mode 100644 (file)
index 0000000..8a8e709
--- /dev/null
@@ -0,0 +1,10 @@
+<?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-includes-subpages">
+       <circle fill="#5599FF" cx="8" cy="8" r="7"/>
+       <polygon fill="#FFFFFF" points="9,8 5,11 5,5    "/>
+       <polygon fill="#FFFFFF" points="13,8 9,11 9,5   "/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-locked.svg b/Build/Resources/Private/Icons/Overlay/overlay-locked.svg
new file mode 100644 (file)
index 0000000..a1e5b12
--- /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="overlay-locked">
+       <path fill="#AAAAAA" d="M8.05,1c-2.75,0-5,2.25-5,5h0v1h2V6h0c0-1.67,1.33-3,3-3s3,1.33,3,3h0v1h2V6h0C13.05,3.25,10.8,1,8.05,1z"
+               />
+       <rect x="2" y="7" fill="#FFC857" width="12" height="8"/>
+       <path fill="#CD9232" d="M10,10c0-1.1-0.9-2-2-2s-2,0.9-2,2c0,0.74,0.4,1.38,1,1.72V14h2v-2.28C9.6,11.38,10,10.74,10,10z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-read-only.svg b/Build/Resources/Private/Icons/Overlay/overlay-read-only.svg
deleted file mode 100644 (file)
index d4245a1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<?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>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-readonly.svg b/Build/Resources/Private/Icons/Overlay/overlay-readonly.svg
new file mode 100644 (file)
index 0000000..5779e9a
--- /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 fill="#C83C3C" cx="8" cy="8" r="7"/>
+       <path 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.71l5.66-5.66
+               c0.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 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,0l5.66,5.66
+               c0.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>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-restricted.svg b/Build/Resources/Private/Icons/Overlay/overlay-restricted.svg
new file mode 100644 (file)
index 0000000..de26776
--- /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="overlay-restricted">
+       <path fill="#5599FF" d="M16,16H8H0c0.1-3.16,1.52-3.95,1.52-3.95C4.33,11.25,5.72,10,8,10c2.28,0,3.67,1.25,6.48,2.05
+               C14.48,12.05,15.9,12.84,16,16z"/>
+       <path fill="#FFC857" d="M8,9L8,9C6.35,9,4.6,6.71,4.6,5.1V2.92C4.6,1.32,5.95,0,7.6,0H8.4c1.65,0,3,1.32,3,2.92V5.1
+               C11.4,6.71,9.65,9,8,9"/>
+       <path fill="#FFC857" d="M6,7.33c-0.03-0.92,4.01-0.93,4,0c-0.04,3.06,0.8,3.28,0.4,3.71c-1.16,1.26-3.74,1.2-4.8,0
+               C5.21,10.6,6.08,10.38,6,7.33z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-scheduled.svg b/Build/Resources/Private/Icons/Overlay/overlay-scheduled.svg
new file mode 100644 (file)
index 0000000..46a80a3
--- /dev/null
@@ -0,0 +1,21 @@
+<?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-scheduled">
+       <circle fill="#FFFFFF" cx="8" cy="8" r="7"/>
+       <path d="M8,1C4.13,1,1,4.13,1,8c0,3.87,3.13,7,7,7s7-3.13,7-7C15,4.13,11.87,1,8,1z M13.31,10.78l-0.43-0.25
+               c-0.08,0.15-0.16,0.29-0.25,0.43l0.43,0.25c-0.47,0.74-1.11,1.38-1.85,1.85l-0.25-0.43c-0.14,0.09-0.28,0.17-0.43,0.25l0.25,0.43
+               c-0.69,0.36-1.46,0.59-2.28,0.66v-1.02C8.33,12.97,8.17,13,8,13s-0.33-0.03-0.5-0.05v1.02c-0.82-0.07-1.59-0.29-2.28-0.66
+               l0.25-0.43c-0.15-0.08-0.29-0.16-0.43-0.25l-0.25,0.43c-0.74-0.47-1.38-1.11-1.85-1.85l0.43-0.25c-0.09-0.14-0.17-0.28-0.25-0.43
+               l-0.43,0.25C2.32,10.09,2.1,9.32,2.03,8.5h1.02C3.03,8.33,3,8.17,3,8s0.03-0.33,0.05-0.5H2.03C2.1,6.68,2.32,5.91,2.69,5.22
+               l0.43,0.25C3.2,5.32,3.28,5.18,3.37,5.04L2.94,4.79c0.47-0.74,1.11-1.38,1.85-1.85l0.25,0.43C5.18,3.28,5.32,3.2,5.47,3.12
+               L5.22,2.69C5.91,2.32,6.68,2.1,7.5,2.03v1.02C7.67,3.03,7.83,3,8,3s0.33,0.03,0.5,0.05V2.03c0.82,0.07,1.59,0.29,2.28,0.66
+               l-0.25,0.43c0.15,0.08,0.29,0.16,0.43,0.25l0.25-0.43c0.74,0.47,1.38,1.11,1.85,1.85l-0.43,0.25c0.09,0.14,0.17,0.28,0.25,0.43
+               l0.43-0.25c0.36,0.69,0.59,1.46,0.66,2.28h-1.02C12.97,7.67,13,7.83,13,8s-0.03,0.33-0.05,0.5h1.02
+               C13.9,9.32,13.68,10.09,13.31,10.78z"/>
+       <path fill="#CC2220" d="M11.75,7.5H8.5V4.25C8.5,4.11,8.39,4,8.25,4h-0.5C7.61,4,7.5,4.11,7.5,4.25V7.5H7.25
+               C7.11,7.5,7,7.61,7,7.75v0.5C7,8.39,7.11,8.5,7.25,8.5H7.5v0.25C7.5,8.89,7.61,9,7.75,9h0.5C8.39,9,8.5,8.89,8.5,8.75V8.5h3.25
+               C11.89,8.5,12,8.39,12,8.25v-0.5C12,7.61,11.89,7.5,11.75,7.5z"/>
+</g>
+</svg>
diff --git a/Build/Resources/Private/Icons/Overlay/overlay-translated.svg b/Build/Resources/Private/Icons/Overlay/overlay-translated.svg
new file mode 100644 (file)
index 0000000..3c20aff
--- /dev/null
@@ -0,0 +1,30 @@
+<?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-translated">
+       <circle fill="#5599FF" cx="8" cy="8" r="8"/>
+       <path fill="#AAD400" d="M15,7.76c-0.28-2.33-1.66-4.36-3.51-5.53c-0.09,0.1-0.18,0.1-0.18,0.19
+               c-0.28,0.1-0.65-0.1-0.92-0.19c-0.74-0.29-1.48-0.29-2.12-0.1c-0.28,0.1-0.92,0.19-0.65,0.78C7.8,3.2,8.27,3.49,8.73,3.11
+               C8.91,2.91,9.1,2.62,9.37,2.91c0.09,0.1,0.09,0.19,0.09,0.29C9.37,3.49,9.1,3.59,8.82,3.59c-0.37,0.1-0.74,0-1.11,0.1
+               c-0.37,0.1-0.92,0.19-0.92,0.68c0,0.58-0.18,0.68-0.65,0.78c-0.37,0-0.55,0.19-0.37,0.58c0.09,0.29,0.37,0.29,0.55,0.19
+               c0.74-0.39,1.38-1.36,2.21-0.19l0.18-0.1c0.18-0.78,0.37-0.29,0.55,0c0.09,0.1,0.28,0.29,0.28,0.29c1.11-1.07,0.83,0.48,1.2,0.78
+               c-0.74-0.19-1.57,0.58-2.21,0.1C7.43,5.92,6.7,6.31,5.68,7.18C4.85,7.86,4.67,8.73,4.85,9.51c0.28,0.97,1.29,1.07,2.12,0.87
+               c0.28-0.1,0.83-0.1,0.83,0.1c-0.18,0.87,0.83,1.45,0.46,2.42c-0.28,0.78,0.18,1.75,0.83,2.04c0.65,0.29,1.2-0.48,1.48-1.16
+               c0.09-0.1,0-0.29,0.09-0.39c0.74-0.97,0.65-2.42,1.57-3.39c0.28-0.29,1.2-1.36,0.46-2.23c1.75-0.48,1.11,1.26,1.48,2.04
+               c0.28-0.58,0.46-1.16,0.65-1.65C14.91,7.86,15,7.86,15,7.76L15,7.76z"/>
+       <path fill="#AAD400" d="M4.95,2.21C5.24,1.9,5.43,1.6,5.72,1.19C5.34,1.39,5.05,1.49,4.75,1.7
+               l0,0C4.46,1.9,4.17,2.11,3.88,2.31c-0.1,0-0.1,0.1-0.19,0.1l0,0c0,0-0.1,0-0.1,0.1c0.1,0.1,0.1,0.1,0.19,0.2l0,0l0,0h0.1h0.1
+               c0,0,0,0,0.1,0c0,0,0,0,0.1,0c0,0,0,0,0.1,0h0.1c0,0,0,0,0.1,0h0.1c0,0,0,0,0.1,0c0,0,0.1,0,0.1-0.1c0,0,0,0,0.1-0.1
+               c0,0,0.1,0,0.1-0.1c0,0,0,0,0.1-0.1l0.1-0.1C4.85,2.41,4.85,2.31,4.95,2.21C4.95,2.31,4.95,2.31,4.95,2.21
+               C4.95,2.31,4.95,2.21,4.95,2.21L4.95,2.21z"/>
+       <path fill="#AAD400" d="M3.67,11.65L3.67,11.65C3.67,11.65,3.57,11.56,3.67,11.65
+               C3.57,11.56,3.57,11.56,3.67,11.65c0-0.09,0-0.09,0-0.09l0,0c0,0,0,0,0-0.09l0,0c0,0,0,0,0-0.09l-0.1-0.09l0,0
+               c-0.1,0-0.1-0.09-0.19-0.09l0,0l0,0c-0.1,0-0.19-0.09-0.29-0.09c0,0,0,0-0.1,0c0,0,0,0-0.1,0c0,0-0.1,0-0.1-0.09
+               c-0.67-0.37-0.95-1.01-1.14-1.75c0-0.18-0.1-0.37-0.1-0.55c-0.1-0.09-0.1-0.18-0.19-0.28c-0.19-0.18-0.1-0.55,0.1-0.92
+               c0-0.09,0-0.09,0-0.18c0-0.09,0-0.09,0.1-0.18l0,0c0-0.09,0-0.09,0.1-0.18C1.86,6.58,2.24,6.3,2.43,6.02
+               c0.1-0.09,0.1-0.09,0.1-0.18c0,0,0,0,0-0.09c0.1-0.09,0.1-0.28,0.19-0.37l0,0c0-0.09,0.1-0.28,0.1-0.37l0,0c0-0.18,0-0.28-0.1-0.46
+               l0,0C2.62,4.27,2.52,4,2.33,3.81C1.48,5.01,1,6.39,1,7.96c0,2.12,0.95,4.06,2.38,5.35c0,0,0.1,0,0.1-0.09c0,0,0,0,0-0.09l0,0
+               c0-0.09,0.1-0.09,0.1-0.18l0,0l0,0C3.67,12.57,3.67,12.02,3.67,11.65L3.67,11.65z"/>
+</g>
+</svg>
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-deleted.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-deleted.svg
new file mode 100644 (file)
index 0000000..d802a22
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#8C8C8C" d="M5.38 0h5.25v3H5.38z"/><path fill="#B9B9B9" d="M2.75 16h10.5l.88-11H1.88l.87 11z"/><path fill="#B9B9B9" d="M1 2h14v4H1z"/><path fill="#8C8C8C" d="M1 5h14v1H1z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-hidden.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-hidden.svg
new file mode 100644 (file)
index 0000000..9608b42
--- /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="M12 9H4c-.28 0-.5-.22-.5-.5v-1c0-.28.22-.5.5-.5h8c.28 0 .5.22.5.5v1c0 .28-.22.5-.5.5z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-includes-subpages.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-includes-subpages.svg
new file mode 100644 (file)
index 0000000..66cc137
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle fill="#59F" cx="8" cy="8" r="7"/><path fill="#FFF" d="M9 8l-4 3V5M13 8l-4 3V5"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-locked.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-locked.svg
new file mode 100644 (file)
index 0000000..1663559
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#AAA" d="M8.05 1c-2.75 0-5 2.25-5 5v1h2V6c0-1.67 1.33-3 3-3s3 1.33 3 3v1h2V6c0-2.75-2.25-5-5-5z"/><path fill="#FFC857" d="M2 7h12v8H2z"/><path fill="#CD9232" d="M10 10c0-1.1-.9-2-2-2s-2 .9-2 2c0 .74.4 1.38 1 1.72V14h2v-2.28c.6-.34 1-.98 1-1.72z"/></svg>
\ No newline at end of file
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
deleted file mode 100644 (file)
index 82ef5fe..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<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
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-readonly.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-readonly.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
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-restricted.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-restricted.svg
new file mode 100644 (file)
index 0000000..49d8885
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#59F" d="M16 16H0c.1-3.16 1.52-3.95 1.52-3.95C4.33 11.25 5.72 10 8 10c2.28 0 3.67 1.25 6.48 2.05 0 0 1.42.79 1.52 3.95z"/><path fill="#FFC857" d="M8 9C6.35 9 4.6 6.71 4.6 5.1V2.92C4.6 1.32 5.95 0 7.6 0h.8c1.65 0 3 1.32 3 2.92V5.1C11.4 6.71 9.65 9 8 9"/><path fill="#FFC857" d="M6 7.33c-.03-.92 4.01-.93 4 0-.04 3.06.8 3.28.4 3.71-1.16 1.26-3.74 1.2-4.8 0-.39-.44.48-.66.4-3.71z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-scheduled.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-scheduled.svg
new file mode 100644 (file)
index 0000000..f15273b
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle fill="#FFF" cx="8" cy="8" r="7"/><path d="M8 1C4.13 1 1 4.13 1 8s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7zm5.31 9.78l-.43-.25c-.08.15-.16.29-.25.43l.43.25c-.47.74-1.11 1.38-1.85 1.85l-.25-.43c-.14.09-.28.17-.43.25l.25.43c-.69.36-1.46.59-2.28.66v-1.02c-.17.02-.33.05-.5.05s-.33-.03-.5-.05v1.02c-.82-.07-1.59-.29-2.28-.66l.25-.43c-.15-.08-.29-.16-.43-.25l-.25.43c-.74-.47-1.38-1.11-1.85-1.85l.43-.25c-.09-.14-.17-.28-.25-.43l-.43.25c-.37-.69-.59-1.46-.66-2.28h1.02C3.03 8.33 3 8.17 3 8s.03-.33.05-.5H2.03c.07-.82.29-1.59.66-2.28l.43.25c.08-.15.16-.29.25-.43l-.43-.25c.47-.74 1.11-1.38 1.85-1.85l.25.43c.14-.09.28-.17.43-.25l-.25-.43c.69-.37 1.46-.59 2.28-.66v1.02c.17-.02.33-.05.5-.05s.33.03.5.05V2.03c.82.07 1.59.29 2.28.66l-.25.43c.15.08.29.16.43.25l.25-.43c.74.47 1.38 1.11 1.85 1.85l-.43.25c.09.14.17.28.25.43l.43-.25c.36.69.59 1.46.66 2.28h-1.02c.02.17.05.33.05.5s-.03.33-.05.5h1.02c-.07.82-.29 1.59-.66 2.28z"/><path fill="#CC2220" d="M11.75 7.5H8.5V4.25c0-.14-.11-.25-.25-.25h-.5c-.14 0-.25.11-.25.25V7.5h-.25c-.14 0-.25.11-.25.25v.5c0 .14.11.25.25.25h.25v.25c0 .14.11.25.25.25h.5c.14 0 .25-.11.25-.25V8.5h3.25c.14 0 .25-.11.25-.25v-.5c0-.14-.11-.25-.25-.25z"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-translated.svg b/typo3/sysext/backend/Resources/Public/Icons/Overlay/overlay-translated.svg
new file mode 100644 (file)
index 0000000..ce23941
--- /dev/null
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle fill="#59F" cx="8" cy="8" r="8"/><path fill="#AAD400" d="M15 7.76c-.28-2.33-1.66-4.36-3.51-5.53-.09.1-.18.1-.18.19-.28.1-.65-.1-.92-.19-.74-.29-1.48-.29-2.12-.1-.28.1-.92.19-.65.78.18.29.65.58 1.11.2.18-.2.37-.49.64-.2.09.1.09.19.09.29-.09.29-.36.39-.64.39-.37.1-.74 0-1.11.1-.37.1-.92.19-.92.68 0 .58-.18.68-.65.78-.37 0-.55.19-.37.58.09.29.37.29.55.19.74-.39 1.38-1.36 2.21-.19l.18-.1c.18-.78.37-.29.55 0 .09.1.28.29.28.29 1.11-1.07.83.48 1.2.78-.74-.19-1.57.58-2.21.1-1.1-.88-1.83-.49-2.85.38-.83.68-1.01 1.55-.83 2.33.28.97 1.29 1.07 2.12.87.28-.1.83-.1.83.1-.18.87.83 1.45.46 2.42-.28.78.18 1.75.83 2.04.65.29 1.2-.48 1.48-1.16.09-.1 0-.29.09-.39.74-.97.65-2.42 1.57-3.39.28-.29 1.2-1.36.46-2.23 1.75-.48 1.11 1.26 1.48 2.04.28-.58.46-1.16.65-1.65.09-.3.18-.3.18-.4zM4.95 2.21c.29-.31.48-.61.77-1.02-.38.2-.67.3-.97.51-.29.2-.58.41-.87.61-.1 0-.1.1-.19.1 0 0-.1 0-.1.1.1.1.1.1.19.2H4.68s.1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1.1-.1c-.33.2-.33.1-.23 0 0 .1 0 .1 0 0 0 .1 0 0 0 0zM3.67 11.65s-.1-.09 0 0c-.1-.09-.1-.09 0 0v-.09-.09-.09l-.1-.09c-.1 0-.1-.09-.19-.09-.1 0-.19-.09-.29-.09h-.1-.1s-.1 0-.1-.09c-.67-.37-.95-1.01-1.14-1.75 0-.18-.1-.37-.1-.55-.1-.09-.1-.18-.19-.28-.19-.18-.1-.55.1-.92v-.18c0-.09 0-.09.1-.18 0-.09 0-.09.1-.18.2-.4.58-.68.77-.96.1-.09.1-.09.1-.18v-.09c.1-.09.1-.28.19-.37 0-.09.1-.28.1-.37 0-.18 0-.28-.1-.46-.1-.28-.2-.55-.39-.74C1.48 5.01 1 6.39 1 7.96c0 2.12.95 4.06 2.38 5.35 0 0 .1 0 .1-.09v-.09c0-.09.1-.09.1-.18.09-.38.09-.93.09-1.3z"/></svg>
\ No newline at end of file
index 3947de4..e770f90 100644 (file)
@@ -861,10 +861,52 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
                ),
 
                // Overlays
-               'overlay-read-only' => array(
+               'overlay-deleted' => array(
                        'provider' => SvgIconProvider::class,
                        'options' => array(
-                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-read-only.svg',
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-deleted.svg'
+                       )
+               ),
+               'overlay-hidden' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-hidden.svg'
+                       )
+               ),
+               'overlay-includes-subpages' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-includes-subpages.svg'
+                       )
+               ),
+               'overlay-locked' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-locked.svg'
+                       )
+               ),
+               'overlay-readonly' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-readonly.svg',
+                       )
+               ),
+               'overlay-restricted' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-restricted.svg'
+                       )
+               ),
+               'overlay-scheduled' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-scheduled.svg'
+                       )
+               ),
+               'overlay-translated' => array(
+                       'provider' => SvgIconProvider::class,
+                       'options' => array(
+                               'source' => 'EXT:backend/Resources/Public/Icons/Overlay/overlay-translated.svg'
                        )
                )
        );
index 36953c6..3fccdae 100644 (file)
@@ -112,8 +112,8 @@ class IconFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @dataProvider differentSizesDataProvider
         */
        public function getIconByIdentifierAndSizeAndWithOverlayReturnsIconWithCorrectOverlayMarkupIfRegisteredIconIdentifierIsUsed($size) {
-               $this->assertContains('<span class="icon-overlay icon-overlay-read-only">',
-                       $this->subject->getIcon($this->registeredIconIdentifier, $size['input'], 'overlay-read-only')->render());
+               $this->assertContains('<span class="icon-overlay icon-overlay-readonly">',
+                       $this->subject->getIcon($this->registeredIconIdentifier, $size['input'], 'overlay-readonly')->render());
        }
 
        /**
@@ -173,8 +173,8 @@ class IconFactoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
         * @param string $size
         */
        public function getIconByIdentifierAndSizeAndOverlayReturnsNotFoundIconWithCorrectMarkupIfUnregisteredIdentifierIsUsed($size) {
-               $this->assertContains('<span class="icon-overlay icon-overlay-read-only">',
-                       $this->subject->getIcon($this->notRegisteredIconIdentifier, $size['input'], 'overlay-read-only')->render());
+               $this->assertContains('<span class="icon-overlay icon-overlay-readonly">',
+                       $this->subject->getIcon($this->notRegisteredIconIdentifier, $size['input'], 'overlay-readonly')->render());
        }
 
        /**
index a915955..c44995c 100644 (file)
@@ -36,7 +36,7 @@ class IconTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
        /**
         * @var string
         */
-       protected $overlayIdentifier = 'overlay-read-only';
+       protected $overlayIdentifier = 'overlay-readonly';
 
        /**
         * Set up
index 043b84f..b17727d 100644 (file)
@@ -1243,7 +1243,7 @@ class DatabaseRecordList extends AbstractDatabaseRecordList {
                if ($permsEdit) {
                        $params = '&edit[' . $table . '][' . $row['uid'] . ']=edit';
                        $iconIdentifier = 'actions-document-open';
-                       $overlayIdentifier = !$this->isEditable($table) ? 'overlay-read-only' : NULL;
+                       $overlayIdentifier = !$this->isEditable($table) ? 'overlay-readonly' : NULL;
                        $editAction = '<a class="btn btn-default" href="#" onclick="' . htmlspecialchars(BackendUtility::editOnClick($params, '', -1))
                                . '" title="' . $this->getLanguageService()->getLL('edit', TRUE) . '">' . $this->iconFactory->getIcon($iconIdentifier, Icon::SIZE_SMALL, $overlayIdentifier) . '</a>';
                } else {