From ca25b45600d1bd0b8b84ba43bcbc1355efc1f654 Mon Sep 17 00:00:00 2001 From: sanjay7178 Date: Sun, 1 Sep 2024 17:22:49 +0000 Subject: [PATCH 1/8] new revamped uiux for null chapter listing with search chapters --- app/assets/stylesheets/application.css.erb | 10 +++++++++- app/views/chapters/index.html.erb | 9 +++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css.erb b/app/assets/stylesheets/application.css.erb index 7e80878..c9f8269 100644 --- a/app/assets/stylesheets/application.css.erb +++ b/app/assets/stylesheets/application.css.erb @@ -63,7 +63,7 @@ body { text-justify: inter-word; } -#chapter-map { +<%# #chapter-map { height: 400px; width: 100%; margin-bottom:4rem!important; @@ -191,10 +191,16 @@ body { .chapter-inactive { background-image: radial-gradient(circle, rgba(255,102,102,0.1), rgba(255,102,102,0.6)); } +.chapter-active .chapter-status { + background-color: #2ecc71; + color: white; .chapter-active .chapter-status { background-color: #2ecc71; color: white; } +.chapter-inactive .chapter-status { + background-color: #e74c3c; + color: white; .chapter-inactive .chapter-status { background-color: #e74c3c; color: white; @@ -248,6 +254,8 @@ body { + + /* Autocomplete JS */ .autocomplete-suggestions { border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); } .autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; } diff --git a/app/views/chapters/index.html.erb b/app/views/chapters/index.html.erb index f36b1b5..5272f74 100644 --- a/app/views/chapters/index.html.erb +++ b/app/views/chapters/index.html.erb @@ -1,6 +1,15 @@

Chapters

+ +
+
+ 🔍 + +
+
+ +
From 3e81ca6a178538622d2bc7ed19de3fafb5212282 Mon Sep 17 00:00:00 2001 From: sanjay7178 Date: Sun, 1 Sep 2024 17:38:59 +0000 Subject: [PATCH 2/8] google map css addition --- app/assets/stylesheets/application.css.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/application.css.erb b/app/assets/stylesheets/application.css.erb index c9f8269..ba856ab 100644 --- a/app/assets/stylesheets/application.css.erb +++ b/app/assets/stylesheets/application.css.erb @@ -63,7 +63,7 @@ body { text-justify: inter-word; } -<%# #chapter-map { +#chapter-map { height: 400px; width: 100%; margin-bottom:4rem!important; From 320c1651b6a757f8a582c4b08452f200d3719209 Mon Sep 17 00:00:00 2001 From: sanjay7178 Date: Mon, 2 Sep 2024 13:21:05 +0000 Subject: [PATCH 3/8] temporary placement of razorpay form under mobile view --- app/views/layouts/_header.html.erb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 08be835..86de77e 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -9,6 +9,12 @@ n|u
+ + +
+
+
+
From a67a0a68995988621062049f4bc4c641ae8bab15 Mon Sep 17 00:00:00 2001 From: sanjay7178 Date: Mon, 2 Sep 2024 13:27:10 +0000 Subject: [PATCH 4/8] razorpay pay form to right align near to toggle --- app/views/layouts/_header.html.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 86de77e..8d827ae 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -1,19 +1,19 @@