From 3684a0c508886830b79a5422e6497bd8071c272f Mon Sep 17 00:00:00 2001 From: "Soare Robert Daniel (Mac 2023)" Date: Thu, 11 Jul 2024 12:14:45 +0300 Subject: [PATCH 1/3] feat: improve sidebar --- assets/css/rop_core.css | 44 +++----- vue/src/vue-elements/main-page-panel.vue | 21 ++-- vue/src/vue-elements/reusables/countdown.vue | 11 +- vue/src/vue-elements/reusables/status-box.vue | 100 ++++++++++++++++++ 4 files changed, 135 insertions(+), 41 deletions(-) create mode 100644 vue/src/vue-elements/reusables/status-box.vue diff --git a/assets/css/rop_core.css b/assets/css/rop_core.css index dee7daf73..135745019 100644 --- a/assets/css/rop_core.css +++ b/assets/css/rop_core.css @@ -4410,7 +4410,7 @@ a.active { #rop_core .btn-danger { border-color: #b71c1c; color: #fff; - background-color: #c62828; + background-color: #B7151F; } #rop_core .btn-danger:hover, @@ -4429,7 +4429,7 @@ a.active { #rop_core .btn-success { border-color: #33691e; color: #fff; - background-color: #8bc34a; + background-color: #2E8726; } #rop_core .btn-success:hover, @@ -4445,6 +4445,17 @@ a.active { background-color: #33691e; } +#rop_core :is( .btn-success, .btn-warning, .btn-danger, .sharing-status-sharing, .rop-next-share-time, .sharing-status-notsharing ) { + display: flex; + align-items: center; + gap: 10px; + } + +#rop_core :is( .btn-success, .btn-warning, .btn-danger, .sharing-status-sharing, .rop-next-share-time, .rop-sidebar-action-btns, .sharing-status-notsharing ) { + padding: 12px 16px 12px 16px; + height: fit-content; +} + .rop-queue-post i.service { background: none; } @@ -4567,32 +4578,11 @@ a.active { pointer-events: auto; } -#rop_core .toast.rop-next-share-time{ - background: #8bc34a; +#rop_core .toast.rop-next-share-time { + background: #E8EDFE; + color: #384C94; border: none; - margin-bottom: 0; -} - -.sharing-box{ - padding: 15px 10px; - font-size: 0.75rem; - margin: 10px 0 0; - text-align: center; -} - -.sharing-status-sharing { - color: #fff; - background-color: #46bd55; -} - -.sharing-status-notsharing { - color: #fff; - background-color: #e65100; -} - -.sharing-status-error { - color: #fff; - background-color: #c62828; + margin: 0 0 10px 0; } #rop_vid_tuts span{ diff --git a/vue/src/vue-elements/main-page-panel.vue b/vue/src/vue-elements/main-page-panel.vue index 67ef59ae5..5c732549c 100644 --- a/vue/src/vue-elements/main-page-panel.vue +++ b/vue/src/vue-elements/main-page-panel.vue @@ -13,7 +13,6 @@

Revive Social

- @@ -96,6 +95,13 @@ :class="'rop-license-plan-'+license" >
+ + + +