From 3c20231aadab1c8a687469f8f5d67248a2798e1a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Nov 2023 22:11:20 +0000 Subject: add backlink to profile to profile vcard and adjust switch colors for better visibility --- view/theme/redbasic/css/style.css | 12 ++++-------- view/tpl/profile_vcard.tpl | 4 ++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 6fbcf5077..3bf5d5f20 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1481,10 +1481,6 @@ dl.bb-dl > dd > li { font-weight: normal; } -.onoffswitch.checkbox:hover label { - color: var(--bs-link-color); -} - .onoffswitch.checkbox:hover > div label { border-color: var(--bs-link-color); } @@ -1502,21 +1498,21 @@ dl.bb-dl > dd > li { .onoffswitch-inner:before { content: attr(data-on); padding-right: 21px; - background-color: rgba(var(--bs-body-color-rgb), 0); + background-color: var(--bs-secondary-bg); text-align: right; } .onoffswitch-inner:after { content: attr(data-off); padding-left: 21px; - background-color: rgba(var(--bs-body-color-rgb), 0); - color: var(--bs-border-color); + background-color: var(--bs-secondary-bg); text-align: left; } .onoffswitch-switch { display: block; width: 15px; margin:4px; - background: var(--bs-secondary-bg); + background: var(--bs-tertiary-color); + color: var(--bs-secondary-color); border-radius: 10px; position: absolute; top: 0; bottom: 0; right: 36px; transition: right 0.2s ease-in-out; diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index df0550273..dd372beac 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -33,6 +33,10 @@
+ {{else}} +
+ +
{{/if}}
-- cgit v1.2.3