From 6210b53fcb6f04aef63f2a10566a4553833cfc7e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 16 Oct 2020 13:55:38 +0100 Subject: [PATCH] Styling for publish button --- epicyon-profile.css | 32 ++++++++++++++++++++++++++++++++ webinterface.py | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/epicyon-profile.css b/epicyon-profile.css index a4a0007b..8693a918 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -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); diff --git a/webinterface.py b/webinterface.py index fb17ff9b..5b44343a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5708,7 +5708,7 @@ def getRightColumnContent(baseDir: str, nickname: str, domainFull: str, htmlStr += \ ' ' + \ - '\n' if editor: