From cd6a38f384fa764e6107d891196cb5de733a91cb Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 16 Oct 2024 17:09:23 +0200 Subject: [PATCH] [WIP][TASK] Fix context awareness for action icons TODO: * fluid core:icon viewhelper can not be made context aware (to current color), as the SVG is rendered as tag. * does not set a `fill` for `.icon-color` --- .../Private/Templates/Backend/Comments.html | 16 ++++++++-------- Resources/Public/Css/backend.min.css | 2 +- Resources/Public/Icons/actions-approve.svg | 2 +- Resources/Public/Icons/actions-decline.svg | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Resources/Private/Templates/Backend/Comments.html b/Resources/Private/Templates/Backend/Comments.html index 341ffd93..c596d8e2 100644 --- a/Resources/Private/Templates/Backend/Comments.html +++ b/Resources/Private/Templates/Backend/Comments.html @@ -35,23 +35,23 @@

Status: pending - - + + Status: approved - - + + Status: declined - - + + Status: deleted - - + + diff --git a/Resources/Public/Css/backend.min.css b/Resources/Public/Css/backend.min.css index 2a25b20e..1a26d2b2 100644 --- a/Resources/Public/Css/backend.min.css +++ b/Resources/Public/Css/backend.min.css @@ -1 +1 @@ -.intro{margin-bottom:1.5rem}.intro h1{margin-bottom:.5rem}.intro p{margin-bottom:0}.input-group-addon{padding:0 !important}.table-fit{margin-top:1rem}.list-filter{padding-left:0;margin-top:1.5rem}.list-filter a,.list-filter a:hover{color:light-dark(var(--token-color-orange-60, #e3612a), var(--token-color-orange-40, #e3612a))}.list-filter li{display:inline;list-style-type:none}.list-filter li:after{content:" | "}.list-filter li:last-child:after{content:""}.dataTables_wrapper{margin-top:1.5rem}.btn-group-actions{min-width:126px}table.dataTable thead th{position:relative;background-image:none !important}table.dataTable thead th.sorting:after,table.dataTable thead th.sorting_asc:after,table.dataTable thead th.sorting_desc:after{position:absolute;top:12px;right:8px;display:block;font-family:FontAwesome}table.dataTable thead th.sorting:after{content:"";color:#ddd;font-size:.8em;padding-top:.12em}table.dataTable thead th.sorting_asc:after{content:""}table.dataTable thead th.sorting_desc:after{content:""}table.table-comments .actions{white-space:nowrap}.dataTables_length{padding-top:5px;padding-left:5px}.dataTables_filter{padding-top:5px;padding-right:5px} +.intro{margin-bottom:1.5rem}.intro h1{margin-bottom:.5rem}.intro p{margin-bottom:0}.input-group-addon{padding:0 !important}.table-fit{margin-top:1rem}.list-filter{padding-left:0;margin-top:1.5rem}.list-filter a,.list-filter a:hover{color:light-dark(var(--token-color-orange-60, #e3612a), var(--token-color-orange-40, #e3612a))}.list-filter li{display:inline;list-style-type:none}.list-filter li:after{content:" | "}.list-filter li:last-child:after{content:""}.dataTables_wrapper{margin-top:1.5rem}.btn-group-actions{min-width:126px}table.dataTable thead th{position:relative;background-image:none !important}table.dataTable thead th.sorting:after,table.dataTable thead th.sorting_asc:after,table.dataTable thead th.sorting_desc:after{position:absolute;top:12px;right:8px;display:block;font-family:FontAwesome}table.dataTable thead th.sorting:after{content:"";color:#ddd;font-size:.8em;padding-top:.12em}table.dataTable thead th.sorting_asc:after{content:""}table.dataTable thead th.sorting_desc:after{content:""}table.table-comments .actions{white-space:nowrap}.dataTables_length{padding-top:5px;padding-left:5px}.dataTables_filter{padding-top:5px;padding-right:5px}[data-module-name=blog_BlogBlogComments] typo3-backend-icon .icon-color{fill:currentColor} diff --git a/Resources/Public/Icons/actions-approve.svg b/Resources/Public/Icons/actions-approve.svg index 15b4d7d0..ecfc6798 100644 --- a/Resources/Public/Icons/actions-approve.svg +++ b/Resources/Public/Icons/actions-approve.svg @@ -1 +1 @@ - + diff --git a/Resources/Public/Icons/actions-decline.svg b/Resources/Public/Icons/actions-decline.svg index 92be04dc..169ec4fe 100644 --- a/Resources/Public/Icons/actions-decline.svg +++ b/Resources/Public/Icons/actions-decline.svg @@ -1 +1 @@ - \ No newline at end of file +