Contact button style

main
Bob Mottram 2021-09-19 18:17:38 +01:00
parent adfb7e6e5d
commit 27bc72c417
2 changed files with 40 additions and 1 deletions

View File

@ -1383,6 +1383,26 @@ div.container {
margin-bottom: var(--button-bottom-margin);
margin-left: var(--button-left-margin);
}
.contactbutton {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
color: var(--button-text);
text-align: center;
font-size: var(--font-size-header);
font-family: var(--header-font);
padding: var(--button-height-padding);
width: 20%;
margin: var(--button-margin);
min-width: var(--button-width-chars);
transition: all 0.5s;
cursor: pointer;
border-top: var(--tab-border-width) solid var(--tab-border-color);
border-bottom: none;
border-left: var(--tab-border-width) solid var(--tab-border-color);
border-right: var(--tab-border-width) solid var(--tab-border-color);
margin-bottom: var(--button-bottom-margin);
margin-left: var(--button-left-margin);
}
.buttonDesktop {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
@ -2017,6 +2037,25 @@ div.container {
border-right: var(--tab-border-width) solid var(--tab-border-color);
margin-bottom: var(--button-bottom-margin);
}
.contactbutton {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
color: var(--button-text);
text-align: center;
font-size: var(--font-size-button-mobile);
font-family: var(--header-font);
padding: var(--button-height-padding-mobile);
width: 30%;
min-width: var(--button-width-chars);
transition: all 0.5s;
cursor: pointer;
margin: var(--button-margin);
border-top: var(--tab-border-width) solid var(--tab-border-color);
border-bottom: none;
border-left: var(--tab-border-width) solid var(--tab-border-color);
border-right: var(--tab-border-width) solid var(--tab-border-color);
margin-bottom: var(--button-bottom-margin);
}
.frontPageMobileButtons{
display: block;
border: var(--border-width-header) solid var(--border-color);

View File

@ -1341,7 +1341,7 @@ def htmlSearchResultShare(baseDir: str, sharedItem: {}, translate: {},
'<a href="' + actor + '?replydm=sharedesc:' + \
sharedItem['displayName'] + ';mention=' + contactActor + \
';category=' + category + \
'"><button class="button">' + contactTitleStr + \
'"><button class="contactbutton">' + contactTitleStr + \
'</button></a>\n' + \
'<a href="' + contactActor + '"><button class="button">' + \
translate['Profile'] + '</button></a>\n'