diff --git a/.wordpress-org/screenshot-4.png b/.wordpress-org/screenshot-4.png index e692b92..a594d61 100644 Binary files a/.wordpress-org/screenshot-4.png and b/.wordpress-org/screenshot-4.png differ diff --git a/.wordpress-org/screenshot-8.png b/.wordpress-org/screenshot-8.png index 4f23784..ad1d2ff 100644 Binary files a/.wordpress-org/screenshot-8.png and b/.wordpress-org/screenshot-8.png differ diff --git a/admin/css/webdecoy-admin.css b/admin/css/webdecoy-admin.css index dce636f..02eb3d0 100644 --- a/admin/css/webdecoy-admin.css +++ b/admin/css/webdecoy-admin.css @@ -1214,3 +1214,42 @@ .wd-analytics .notice-info p { display: inline-block; margin: 8px 8px 8px 0; } .wd-table-scroll { overflow-x: auto; margin-bottom: 24px; } + +/* Keep technical columns readable; scroll the table instead of crushing User Agent. */ +.wd-detections-scroll { width: 100%; overflow-x: auto; } +.wd-detections-table { min-width: 1440px; } +.wd-detections-table .column-ua { width: 180px; display: table-cell; overflow-wrap: anywhere; } +.wd-detections-table .column-what { width: 210px; } +.wd-detections-table .column-intel { width: 130px; } +.wd-detections-table .column-date { width: 125px; } +.wd-detections-table .column-source { width: 105px; } +.wd-detections-table td { vertical-align: top; } + +/* Dashboard overview stays useful at the native WordPress widget width. */ +#webdecoy_dashboard_widget .wd-widget-brand { display:flex; align-items:center; gap:8px; padding:8px 0 14px; border-bottom:2px solid #f90289; } +#webdecoy_dashboard_widget .wd-widget-brand a { margin-left:auto; font-size:12px; } +#webdecoy_dashboard_widget .webdecoy-widget-stats { gap:8px; padding:14px 0; } +#webdecoy_dashboard_widget .webdecoy-stat { flex:1; min-width:0; } +#webdecoy_dashboard_widget .webdecoy-stat-value { font-size:25px; } +#webdecoy_dashboard_widget .webdecoy-stat-label { font-size:11px; line-height:1.3; display:block; margin-top:4px; } +#webdecoy_dashboard_widget .webdecoy-widget-crawlers h4 { margin-top:12px; } +#webdecoy_dashboard_widget .webdecoy-widget-agents { margin:10px 0; } +#webdecoy_dashboard_widget .wd-widget-bar-row { position:relative; isolation:isolate; padding:6px 9px; margin-bottom:4px; gap:8px; } +#webdecoy_dashboard_widget .wd-widget-bar { position:absolute; z-index:-1; inset:0 auto 0 0; background:#fce4f1; border-radius:3px; } +#webdecoy_dashboard_widget .webdecoy-widget-ai-referrals .wd-widget-bar { background:#eeebfa; } +#webdecoy_dashboard_widget .webdecoy-count { font-variant-numeric:tabular-nums; font-weight:600; } +#webdecoy_dashboard_widget .webdecoy-widget-footnote { margin-bottom:0; } +#webdecoy_dashboard_widget .wd-widget-details { padding:12px 0; border-bottom:1px solid #eee; } +#webdecoy_dashboard_widget .wd-widget-details summary { cursor:pointer; font-weight:600; } +#webdecoy_dashboard_widget .webdecoy-widget-upsell { margin-top:12px; padding:8px 10px; background:#faf7fb; border-left:3px solid #f90289; } +@media (max-width:480px) { + #webdecoy_dashboard_widget .wd-widget-brand { flex-wrap:wrap; } + #webdecoy_dashboard_widget .wd-widget-brand a { margin-left:40px; } +} +@media (max-width:782px) { + .webdecoy-date-buttons { flex-wrap:wrap; margin-right:0; } + .webdecoy-filters { min-width:0; max-width:100%; } +} +@media (max-width:782px) { + .webdecoy-stat-box { box-sizing:border-box; min-width:0; } +} diff --git a/admin/partials/dashboard-widget.php b/admin/partials/dashboard-widget.php index 8d735b5..1d353e3 100644 --- a/admin/partials/dashboard-widget.php +++ b/admin/partials/dashboard-widget.php @@ -61,6 +61,11 @@ ?>
+
+ + + +
+
+

@@ -226,6 +235,8 @@
+
+

- + diff --git a/admin/partials/detections-page.php b/admin/partials/detections-page.php index 87a17a6..99cff4b 100644 --- a/admin/partials/detections-page.php +++ b/admin/partials/detections-page.php @@ -285,7 +285,8 @@ class="button ">

- +
+
@@ -527,6 +528,7 @@ class="button button-small">
+ 1) : ?>