From 1ed916eb74cea0b91650d04d0352946cbb053fb0 Mon Sep 17 00:00:00 2001 From: Tosin Oguntuyi Date: Wed, 14 Feb 2024 17:44:21 +0100 Subject: [PATCH] Remove boxes and prepend draft status to link --- assets/css/translation-events.css | 24 ++---------------------- templates/events-user-created.php | 6 +----- 2 files changed, 3 insertions(+), 27 deletions(-) diff --git a/assets/css/translation-events.css b/assets/css/translation-events.css index 252f780d..a09c8411 100644 --- a/assets/css/translation-events.css +++ b/assets/css/translation-events.css @@ -114,26 +114,6 @@ h2.event_page_title { background-color: var(--gp-color-btn-primary-bg) !important; color: #fff !important; } -span.event-list-status { - font-weight: 500; - float: left; - color: #fff; - font-size: .7em; - margin-right: 0.3em; - width: 6em; - text-align: center; - padding: 0.2em 0.5em; - border-radius: 1em; - text-transform: capitalize; -} -span.event-list-status.draft { - color:#c05621; - border: 1px solid #c05621; -} -span.event-list-status.published { - border: 1px solid #468d11; - color: #468d11 ; -} -.event-list-item div { - margin-bottom: 2px; +a.event-status-draft { + color:#80807f; } diff --git a/templates/events-user-created.php b/templates/events-user-created.php index 84ec8ed8..9f640984 100644 --- a/templates/events-user-created.php +++ b/templates/events-user-created.php @@ -22,11 +22,7 @@ $event_status = ( 'publish' === get_post_status( $event_id ) ) ? 'published' : get_post_status( $event_id ); ?>
  • -
    - - -
    - + Edit