From 7136f1a2cfb9d2b1a9407689a07c82514ed35750 Mon Sep 17 00:00:00 2001 From: Maxim Olefirenko Date: Fri, 19 Aug 2022 12:03:07 +0300 Subject: [PATCH] added styles for dashboard payments --- css/sell_media-admin.css | 77 +++++++++++++++++++++++++++++++++++++++- inc/admin-payments.php | 37 +++++++++++-------- 2 files changed, 99 insertions(+), 15 deletions(-) diff --git a/css/sell_media-admin.css b/css/sell_media-admin.css index 468d4f9a..6d5bd323 100755 --- a/css/sell_media-admin.css +++ b/css/sell_media-admin.css @@ -919,4 +919,79 @@ div#sell-media-main-container .main-container-tabs-contents { margin: 0; margin-top: 20px; } -/* End: Admin Payment refund section */ \ No newline at end of file +/* End: Admin Payment refund section */ + +/* Start: Admin Payment Prodigi section */ +.sell-media-status-table { + width: 100%; + text-align: left; + margin-bottom: 30px; + border: 1px solid #eeeeef; +} + +.sell-media-status-table.wpm-stats-table { + margin-bottom: 10px !important; +} + +.sell-media-status-table.no-margin { + margin: 0; +} + +.sell-media-status-table:nth-last-of-type(1) { + margin-bottom: 0; +} + +.sell-media-status-table thead { + background: #2b2a29; + color: #fff; +} + +.sell-media-status-table.collections thead { + background: #404040; +} + +.sell-media-status-table.collections thead th { + padding: 20px 20px; +} + +.sell-media-status-table thead th { + padding: 17px 20px; + font-size: 16px; +} + +.sell-media-status-table.five-column thead th { + width: 20%; +} + +.sell-media-status-table.two-column thead th { + width: 50%; +} + +.sell-media-status-table tbody tr { + background: #eeeeef; + padding: 10px; +} + +.sell-media-status-table tbody tr:nth-child(even) { + background: white; +} + +.sell-media-status-table tbody td { + padding: 10px 20px; + width: 50%; + overflow-wrap: anywhere; +} + +.sell-media-status-table.two-column tbody td { + width: 50%; +} + +.sell-media-status-table.five-column tbody td { + width: 20%; +} + +.sell-media-status-table.collections tbody td { + width: 33%; + padding: 10px 20px; +} +/* End: Admin Payment Prodigi section */ \ No newline at end of file diff --git a/inc/admin-payments.php b/inc/admin-payments.php index 125d5618..954ac55b 100755 --- a/inc/admin-payments.php +++ b/inc/admin-payments.php @@ -223,20 +223,29 @@ function sell_media_payment_gateway_details( $post ){ do_action('sell_media_payment_before_gateway_details', $post); ?> -

- -

- + + + + + + + + + + $value ): ?> + + + + + + + +
+ +
+