Styling for publish button

merge-requests/8/head
Bob Mottram 2020-10-16 13:55:38 +01:00
parent 3b430d6780
commit 6210b53fcb
2 changed files with 33 additions and 1 deletions

View File

@ -1234,6 +1234,22 @@ aside .toggle-inside li {
cursor: pointer;
margin: 5px;
}
.publishbtn {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
border: none;
color: var(--button-text);
text-align: center;
font-size: var(--font-size-header);
font-family: Arial, Helvetica, sans-serif;
padding: var(--button-height-padding);
width: 10%;
max-width: 200px;
min-width: var(--button-width-chars);
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}
.buttonhighlighted {
border-radius: var(--button-corner-radius);
background-color: var(--button-highlighted);
@ -1801,6 +1817,22 @@ aside .toggle-inside li {
cursor: pointer;
margin: 15px;
}
.publishbtn {
border-radius: var(--button-corner-radius);
background-color: var(--button-background);
border: none;
color: var(--button-text);
text-align: center;
font-size: var(--font-size-button-mobile);
font-family: Arial, Helvetica, sans-serif;
padding: var(--button-height-padding-mobile);
width: 20%;
max-width: 400px;
min-width: var(--button-width-chars);
transition: all 0.5s;
cursor: pointer;
margin: 15px;
}
.buttonhighlighted {
border-radius: var(--button-corner-radius);
background-color: var(--button-highlighted);

View File

@ -5708,7 +5708,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str,
htmlStr += \
' <a href="' + \
'/users/' + nickname + '/newblog">' + \
'<button class="button">' + \
'<button class="publishbtn">' + \
translate['Publish'] + '</button></a>\n'
if editor: