diff options
-rw-r--r-- | view/theme/redbasic/css/style.css | 12 | ||||
-rw-r--r-- | 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 @@ <div class="position-absolute bottom-0 end-0 m-2"> <a class="profile-edit-side-link text-white" href="{{$editmenu.edit.0}}" ><i class="fa fa-pencil" title="{{$editmenu.edit.1}}"></i></a> </div> + {{else}} + <div class="position-absolute bottom-0 end-0 m-2"> + <a class="profile-edit-side-link text-white" href="profile/{{$profile.channel_address}}" ><i class="fa fa-external-link" title="{{$editmenu.edit.1}}"></i></a> + </div> {{/if}} </div> <div class="d-flex"> |