diff --git a/gdpr-content-blocker/assets/admin.js b/gdpr-content-blocker/assets/admin.js index 213529e..a4f3213 100644 --- a/gdpr-content-blocker/assets/admin.js +++ b/gdpr-content-blocker/assets/admin.js @@ -28,7 +28,7 @@ function setExpanded( box, open ) { $( '.cb-service-grid', box ).toggle( open ); const $btn = $( '.cb-service-toggle', box ); - $btn.attr( 'aria-expanded', open ? 'true' : 'false' ).text( open ? '−' : '+' ); + $btn.attr( 'aria-expanded', open ? 'true' : 'false' ).text( open ? '▾' : '▸' ); } function bindToggle( box ) { $( '.cb-service-toggle', box ).on( 'click', function () { diff --git a/gdpr-content-blocker/includes/class-settings.php b/gdpr-content-blocker/includes/class-settings.php index 9501d72..30eea00 100644 --- a/gdpr-content-blocker/includes/class-settings.php +++ b/gdpr-content-blocker/includes/class-settings.php @@ -254,6 +254,9 @@ class CB_Settings { + + + @@ -321,8 +324,11 @@ class CB_Settings { submit_button( __( 'Darstellung speichern', 'gdpr-content-blocker' ) ); ?> + - + + @@ -409,21 +415,21 @@ class CB_Settings { .cb-admin-wrap .cb-switch input:checked + .cb-switch__slider::before { transform: translateX(18px); } - /* expand/collapse +/- icon */ + /* expand/collapse arrow (black, no box) */ .cb-admin-wrap .cb-service-toggle { - width: 30px; - height: 30px; - font-size: 22px; + width: 24px; + height: 24px; + font-size: 16px; line-height: 1; font-weight: 400; - color: #2043B7; - background: #f0f3fc; - border: 1px solid #c7d2f5; - border-radius: 6px; + color: #1d2327; + background: none; + border: none; padding: 0; + cursor: pointer; } .cb-admin-wrap .cb-service-toggle:hover { - background: #e3e9fb; + color: #000; } /* trash remove button */ .cb-admin-wrap .cb-remove-service { @@ -503,7 +509,7 @@ class CB_Settings { ?>
- +