]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4698'
authorTom Hughes <tom@compton.nu>
Sun, 14 Apr 2024 17:53:38 +0000 (18:53 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 14 Apr 2024 17:53:38 +0000 (18:53 +0100)
app/assets/images/browse/byway.20.png [deleted file]
app/assets/stylesheets/browse.scss
app/assets/stylesheets/common.scss
app/assets/stylesheets/parameters.scss
app/views/site/export.html.erb
yarn.lock

diff --git a/app/assets/images/browse/byway.20.png b/app/assets/images/browse/byway.20.png
deleted file mode 100644 (file)
index ee682e3..0000000
Binary files a/app/assets/images/browse/byway.20.png and /dev/null differ
index fe398bc5abf1d8c883811c6ff5bb78ca91e7de37..7c0fbd2c005136052b41449362a9664fdb6fd99b 100644 (file)
   .building::before { content: image-url('browse/building.png'); }
 
   .highway.bridleway::before { content: image-url('browse/bridleway.20.png'); }
-  .highway.byway::before { content: image-url('browse/byway.20.png'); }
   .highway.cycleway::before { content: image-url('browse/cycleway.20.png'); }
   .highway.footway::before { content: image-url('browse/footway.20.png'); }
   .highway.motorway::before { content: image-url('browse/motorway.20.png'); }
index 629d26a814be9bf633c582fbdd8dec12c99d47b4..3f7c0b48f92eb00c179932e42d46d6e0fe27b30b 100644 (file)
@@ -513,6 +513,12 @@ header .search_forms,
   display: none;
 }
 
+.search_form {
+  .describe_location {
+    font-size: 10px;
+  }
+}
+
 /* Rules for search sidebar */
 
 #sidebar .search_results_entry {
@@ -645,16 +651,9 @@ tr.turn:hover {
 /* Rules for export sidebar */
 
 .export_form {
-  .export_area_inputs,
-  .export_button {
-    text-align: center;
-  }
-
   .export_area_inputs {
-    margin-bottom: $spacer;
     input[type="text"] {
       width: 100px;
-      text-align: center;
     }
   }
 
@@ -802,21 +801,11 @@ tr.turn:hover {
 /* Rules for messages pages */
 
 .messages {
-  .inbox-row {
-    background: $offwhite;
-  }
-
   .inbox-row-unread td {
     background: #CBEEA7;
   }
 }
 
-.search_form {
-  .describe_location {
-    font-size: 10px;
-  }
-}
-
 /* Rules for user images */
 
 img.user_image {
@@ -865,8 +854,7 @@ div.secondary-actions {
 
 /* Rules for rich text */
 
-.richtext,
-.prose {
+.richtext {
   code {
     background: var(--bs-secondary-bg);
     padding: 2px 3px;
index e6c15a92014f8afc10fd25b7e61a2b202ee39dd7..3d66db5fbe65cb013289a6b61d6d60978794386f 100644 (file)
@@ -2,7 +2,6 @@
 $lineheight: 20px;
 $typeheight: 14px;
 
-$offwhite: #f8f8ff;
 $blue: #7092FF;
 $secondary: #888;
 $lightblue: #B8C5F0;
index 7f97f9c640b7836dd5138cae3d66080277144c5e..d277f344e4530a3a3f6dd467ff35fd5d192daeb3 100644 (file)
@@ -5,14 +5,14 @@
 <%= form_tag({ :controller => "export", :action => "finish" }, { :class => "export_form" }) do %>
   <%= hidden_field_tag "format", "osm", :autocomplete => "off" %>
 
-  <div class='export_area_inputs'>
+  <div class='export_area_inputs text-center mb-3'>
     <div class='export_boxy border border-secondary-subtle rounded bg-body-secondary' dir='ltr'>
-      <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
+      <%= text_field_tag("maxlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
       <div class="clearfix">
-        <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
-        <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control my-2") %>
+        <%= text_field_tag("minlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
+        <%= text_field_tag("maxlon", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center my-2") %>
       </div>
-      <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "export_bound form-control mx-auto") %>
+      <%= text_field_tag("minlat", nil, :size => 10, :autocomplete => "off", :class => "form-control text-center mx-auto") %>
       </div>
     <a id='drag_box' href="#"><%= t ".manually_select" %></a>
   </div>
index 1493b7305e384f96ea71d895c6bbb2f0ba736c10..487e5554212d2e9d1e58bf814b9d068b382fcf6b 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
@@ -629,9 +629,9 @@ punycode@^2.1.0:
   integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
 
 qs@^6.9.4:
-  version "6.12.0"
-  resolved "https://registry.yarnpkg.com/qs/-/qs-6.12.0.tgz#edd40c3b823995946a8a0b1f208669c7a200db77"
-  integrity sha512-trVZiI6RMOkO476zLGaBIzszOdFPnCCXHPG9kn0yuS1uz6xdVxPfZdB3vUig9pxPFDM9BRAgz/YUIVQ1/vuiUg==
+  version "6.12.1"
+  resolved "https://registry.yarnpkg.com/qs/-/qs-6.12.1.tgz#39422111ca7cbdb70425541cba20c7d7b216599a"
+  integrity sha512-zWmv4RSuB9r2mYQw3zxQuHWeU+42aKi1wWig/j4ele4ygELZ7PEO6MM7rim9oAQH2A5MWfsAVf/jPvTPgCbvUQ==
   dependencies:
     side-channel "^1.0.6"