From 128fac86acb07bb9eab4382c22aa36e5a3c05ada Mon Sep 17 00:00:00 2001 From: yash Date: Wed, 24 Jul 2024 11:43:50 +0530 Subject: [PATCH] UI Changes --- public/css/app.css | 4 ++++ public/js/script.js | 6 +++--- resources/views/forms/create.blade.php | 8 ++++---- resources/views/forms/show.blade.php | 14 +++++++------- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 860fa64..e801b13 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -6,6 +6,10 @@ background-color: #fff; } +input:focus, textarea:focus, select:focus{ + outline: none; +} + #moveableDiv { transition: transform 1s ease; } diff --git a/public/js/script.js b/public/js/script.js index 80820f8..adfe5b5 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -55,15 +55,15 @@ document.addEventListener("DOMContentLoaded", function () { const newQuestionDiv = document.createElement("div"); // newQuestionDiv.className = "question"; newQuestionDiv.innerHTML = ` -
+
- +
diff --git a/resources/views/forms/create.blade.php b/resources/views/forms/create.blade.php index e35b611..9d82daa 100644 --- a/resources/views/forms/create.blade.php +++ b/resources/views/forms/create.blade.php @@ -48,21 +48,21 @@
- - + +
- +
diff --git a/resources/views/forms/show.blade.php b/resources/views/forms/show.blade.php index 2538e60..424b9c2 100644 --- a/resources/views/forms/show.blade.php +++ b/resources/views/forms/show.blade.php @@ -39,26 +39,26 @@
- - + +
-
+
@foreach ($form->questions as $index => $question) -
- - + @if ($question->options)
@foreach (json_decode($question->options) as $optionIndex => $option)
- +
@endforeach