]> git.openstreetmap.org Git - rails.git/commitdiff
Use secondary body color in search/direction forms
authorAnton Khorev <tony29@yandex.ru>
Mon, 8 Apr 2024 15:13:48 +0000 (18:13 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 8 Apr 2024 15:13:48 +0000 (18:13 +0300)
app/assets/stylesheets/common.scss
app/views/layouts/_search.html.erb

index ba976ff2b8996e352ae43ca2a8e1fa31a7433b4c..82908ddc4a1203a2b42f97920cb72e81afb41140 100644 (file)
@@ -847,8 +847,6 @@ tr.turn:hover {
 }
 
 .search_form {
 }
 
 .search_form {
-  background-color: $lightgrey;
-
   #query {
     z-index: 0;
   }
   #query {
     z-index: 0;
   }
@@ -858,10 +856,6 @@ tr.turn:hover {
   }
 }
 
   }
 }
 
-.directions_form {
-  background-color: $lightgrey;
-}
-
 /* Rules for user images */
 
 img.user_image {
 /* Rules for user images */
 
 img.user_image {
index 397fdb8289b16fe3b4249d47ae787c4806685af3..c7939aa01c955975688a24a7b37ed851bfbbf83d 100644 (file)
@@ -1,5 +1,5 @@
 <div class="search_forms">
 <div class="search_forms">
-  <form method="GET" action="<%= search_path %>" class="search_form px-1 py-2">
+  <form method="GET" action="<%= search_path %>" class="search_form bg-body-secondary px-1 py-2">
     <div class="row gx-2 mx-0">
       <div class="col">
         <div class="input-group flex-nowrap">
     <div class="row gx-2 mx-0">
       <div class="col">
         <div class="input-group flex-nowrap">
@@ -16,7 +16,7 @@
     </div>
   </form>
 
     </div>
   </form>
 
-  <form method="GET" action="<%= directions_path %>" class="directions_form pb-3">
+  <form method="GET" action="<%= directions_path %>" class="directions_form bg-body-secondary pb-3">
     <div class="d-flex flex-row-reverse px-3 py-3"><button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button></div>
 
     <div class="row gx-2 m-1">
     <div class="d-flex flex-row-reverse px-3 py-3"><button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button></div>
 
     <div class="row gx-2 m-1">