From 627f2493faa77336e7dcb13abb92dc547ee4db9f Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 10 Jun 2020 20:33:18 +0200 Subject: [PATCH] Refactor away from global form control styling This enables forms to be converted one-by-one to bootstrap. Without this refactoring, these global styles interfere with form control styling from bootstrap. The rearrangement of the search and directions styling is to solve CSS selector specitivity issues. --- app/assets/javascripts/leaflet.layers.js | 2 +- app/assets/stylesheets/common.scss | 383 ++++++++++--------- app/views/browse/changeset.html.erb | 6 +- app/views/browse/new_note.html.erb | 2 +- app/views/browse/note.html.erb | 4 +- app/views/diary_entries/show.html.erb | 2 +- app/views/friendships/make_friend.html.erb | 2 +- app/views/friendships/remove_friend.html.erb | 2 +- app/views/issues/_comments.html.erb | 2 +- app/views/issues/index.html.erb | 2 +- app/views/layouts/_search.html.erb | 2 +- app/views/messages/_message_summary.html.erb | 2 +- app/views/oauth_clients/edit.html.erb | 2 +- app/views/oauth_clients/index.html.erb | 2 +- app/views/oauth_clients/show.html.erb | 2 +- app/views/redactions/edit.html.erb | 2 +- app/views/redactions/new.html.erb | 2 +- app/views/site/export.html.erb | 2 +- app/views/traces/edit.html.erb | 5 +- app/views/traces/show.html.erb | 2 +- app/views/user_blocks/edit.html.erb | 2 +- app/views/user_blocks/new.html.erb | 2 +- app/views/user_blocks/revoke.html.erb | 2 +- app/views/users/confirm.html.erb | 2 +- app/views/users/confirm_email.html.erb | 2 +- app/views/users/logout.html.erb | 2 +- 26 files changed, 220 insertions(+), 222 deletions(-) diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 87ff87370..102b02460 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -119,7 +119,7 @@ L.OSM.layers = function (options) { .attr("class", "deemphasize") .appendTo(overlaySection); - var overlays = $("