From 352b44be0f7b1b74b3349120bf6583a649a52057 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 17 Aug 2023 09:56:21 +0200 Subject: [PATCH] Fixed input styling #344 #1.1.0.rc4 --- .../settings/settings.component.html | 19 ++++++++--- .../components/config/config.component.html | 32 +++++++++++-------- kdb-web/src/styles.scss | 13 ++++++++ .../styles/themes/sh-edraft-dark-theme.scss | 9 ++++-- 4 files changed, 52 insertions(+), 21 deletions(-) diff --git a/kdb-web/src/app/modules/admin/settings/components/settings/settings.component.html b/kdb-web/src/app/modules/admin/settings/components/settings/settings.component.html index 653afc1f..121cdc0f 100644 --- a/kdb-web/src/app/modules/admin/settings/components/settings/settings.component.html +++ b/kdb-web/src/app/modules/admin/settings/components/settings/settings.component.html @@ -135,34 +135,43 @@
{{'admin.settings.bot.help_url' | translate}}:
- +
+ +
{{'admin.settings.bot.wait_for_restart' | translate}}:
- +
+ +
{{'admin.settings.bot.wait_for_shutdown' | translate}}:
- +
+ +
{{'admin.settings.bot.cache_max_messages' | translate}}:
- +
+ +
- +
diff --git a/kdb-web/src/app/modules/view/server/config/components/config/config.component.html b/kdb-web/src/app/modules/view/server/config/components/config/config.component.html index 6094d396..89b1372e 100644 --- a/kdb-web/src/app/modules/view/server/config/components/config/config.component.html +++ b/kdb-web/src/app/modules/view/server/config/components/config/config.component.html @@ -13,68 +13,72 @@
{{'view.server.config.bot.message_delete_timer' | translate}}:
- +
{{'view.server.config.bot.notification_chat_id' | translate}}:
- +
{{'view.server.config.bot.max_voice_state_hours' | translate}}:
- +
{{'view.server.config.bot.xp_per_message' | translate}}:
- +
+
{{'view.server.config.bot.xp_per_reaction' | translate}}:
- +
+
{{'view.server.config.bot.max_message_xp_per_hour' | translate}}:
- +
{{'view.server.config.bot.xp_per_ontime_hour' | translate}}:
- +
{{'view.server.config.bot.xp_per_event_participation' | translate}}:
- +
{{'view.server.config.bot.xp_per_achievement' | translate}}:
- +
diff --git a/kdb-web/src/styles.scss b/kdb-web/src/styles.scss index 3f86883e..2a75ada2 100644 --- a/kdb-web/src/styles.scss +++ b/kdb-web/src/styles.scss @@ -175,6 +175,10 @@ header { align-items: center; font-size: 18px; + + input { + width: 100% !important; + } } .content-data-value-row { @@ -458,6 +462,10 @@ header { align-items: center; font-size: 18px; + + input { + width: 100% !important; + } } .content-divider { @@ -620,3 +628,8 @@ footer { .hidden-column { display: none; } + +p-inputNumber { + padding: 0 !important; + border: none !important; +} diff --git a/kdb-web/src/styles/themes/sh-edraft-dark-theme.scss b/kdb-web/src/styles/themes/sh-edraft-dark-theme.scss index 117949d4..ff205f0f 100644 --- a/kdb-web/src/styles/themes/sh-edraft-dark-theme.scss +++ b/kdb-web/src/styles/themes/sh-edraft-dark-theme.scss @@ -348,9 +348,11 @@ } p-dropdown { + .p-dropdown { - background-color: $primaryBackgroundColor !important; - border-color: $primaryTextColor !important; + border: $default-border; + border-radius: 10px; + background-color: $secondaryBackgroundColor !important; color: $primaryTextColor !important; span { @@ -681,4 +683,7 @@ box-shadow: none !important; } + p-inputNumber { + background-color: $primaryBackgroundColor !important; + } }