From 2a72c22c7b50bded1c49cbaff92b494d86a0c05b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 12 Aug 2020 10:14:20 +0000 Subject: [PATCH] Smaller submit buttons --- epicyon-options.css | 30 ++++++++++++++++++++++++++++++ webinterface.py | 9 +++++---- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/epicyon-options.css b/epicyon-options.css index 3fe023a1..5eeecaa5 100644 --- a/epicyon-options.css +++ b/epicyon-options.css @@ -146,6 +146,21 @@ textarea { cursor: pointer; margin: 30px; } + .buttonsmall { + border-radius: 4px; + background-color: var(--button-background); + font-family: Arial, Helvetica, sans-serif; + border: none; + color: var(--button-text); + text-align: center; + padding: 10px; + font-size: 24px; + width: 10%; + max-width: 200px; + min-width: 100px; + cursor: pointer; + margin: 30px; + } input[type=checkbox] { -ms-transform: scale(2); @@ -186,6 +201,21 @@ textarea { cursor: pointer; margin: 30px; } + .buttonsmall { + border-radius: 4px; + background-color: var(--button-background); + font-family: Arial, Helvetica, sans-serif; + border: none; + color: var(--button-text); + text-align: center; + padding: 10px; + font-size: 40px; + width: 10%; + max-width: 200px; + min-width: 100px; + cursor: pointer; + margin: 30px; + } input[type=checkbox] { -ms-transform: scale(4); diff --git a/webinterface.py b/webinterface.py index 7f94edd5..3a329c8a 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5624,7 +5624,8 @@ def htmlPersonOptions(translate: {}, baseDir: str, translate['Petname'] + ': ' + \ '\n' \ - '
\n' if isFollowingActor(baseDir, nickname, domain, optionsActor): @@ -5634,7 +5635,7 @@ def htmlPersonOptions(translate: {}, baseDir: str, ' ' + \ translate['Receive calendar events from this account'] + \ - '
\n' else: @@ -5642,7 +5643,7 @@ def htmlPersonOptions(translate: {}, baseDir: str, ' ' + \ translate['Receive calendar events from this account'] + \ - '
\n' @@ -5677,7 +5678,7 @@ def htmlPersonOptions(translate: {}, baseDir: str, optionsStr += \ '

' + translate['Notes'] + ': \n' - optionsStr += '
\n' optionsStr += \