From ac5d0c8cc3ebb947d58b66aa65958883a7c61117 Mon Sep 17 00:00:00 2001 From: Alex Turchyn Date: Thu, 22 Jun 2023 22:50:47 +0300 Subject: [PATCH] update daisyui, fix UI --- app/javascript/application.scss | 14 +++++++++++++- app/javascript/form.scss | 12 ++++++++++++ app/views/shared/_navbar.html.erb | 2 +- app/views/shared/_settings_nav.html.erb | 6 +++--- app/views/shared/_turbo_modal.html.erb | 4 ++-- app/views/storage_settings/_aws_form.html.erb | 2 +- app/views/storage_settings/index.html.erb | 18 ++++++++++-------- app/views/users/index.html.erb | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 10 files changed, 48 insertions(+), 22 deletions(-) diff --git a/app/javascript/application.scss b/app/javascript/application.scss index fd0c7b42..c0c8fd69 100644 --- a/app/javascript/application.scss +++ b/app/javascript/application.scss @@ -31,6 +31,18 @@ button[disabled] .enabled { display: none; } +.input-bordered { + @apply border-base-content/20; +} + +.select-bordered { + @apply border-base-content/20; +} + +.textarea-bordered { + @apply border-base-content/20; +} + .btn { @apply no-animation; } @@ -56,5 +68,5 @@ button[disabled] .enabled { } .base-radio { - @apply radio bg-white radio-sm; + @apply radio bg-white radio-sm no-animation; } diff --git a/app/javascript/form.scss b/app/javascript/form.scss index 3e61ae78..a9bac997 100644 --- a/app/javascript/form.scss +++ b/app/javascript/form.scss @@ -35,6 +35,18 @@ select:required:invalid { @apply text-gray-300; } +.input-bordered { + @apply border-base-content/20; +} + +.select-bordered { + @apply border-base-content/20; +} + +.textarea-bordered { + @apply border-base-content/20; +} + .btn { @apply no-animation; } diff --git a/app/views/shared/_navbar.html.erb b/app/views/shared/_navbar.html.erb index ccf06d7f..6760a156 100644 --- a/app/views/shared/_navbar.html.erb +++ b/app/views/shared/_navbar.html.erb @@ -10,7 +10,7 @@ -