aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-11-15 22:11:20 +0000
committerMario <mario@mariovavti.com>2023-11-15 22:11:20 +0000
commit3c20231aadab1c8a687469f8f5d67248a2798e1a (patch)
treef935fa587eff851154afc3c08db4e1f3dbd4dd85 /view
parent402bf395d1befa22d690c0ce7a1371d839bfcdf3 (diff)
downloadvolse-hubzilla-3c20231aadab1c8a687469f8f5d67248a2798e1a.tar.gz
volse-hubzilla-3c20231aadab1c8a687469f8f5d67248a2798e1a.tar.bz2
volse-hubzilla-3c20231aadab1c8a687469f8f5d67248a2798e1a.zip
add backlink to profile to profile vcard and adjust switch colors for better visibility
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css12
-rw-r--r--view/tpl/profile_vcard.tpl4
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">