]> git.openstreetmap.org Git - rails.git/commitdiff
Use a warning alert for reporting new issues
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 19 Dec 2019 16:50:22 +0000 (17:50 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 19 Dec 2019 16:50:22 +0000 (17:50 +0100)
This removes custom colouring for the alert. The list overrides
need to stay until we unpick more of our custom styling.

app/assets/stylesheets/_bootstrap-custom.scss
app/assets/stylesheets/common.scss
app/views/reports/new.html.erb

index 0cbec1a2740d14262e2ff2e5d937ed5adc902d17..1c3629aa868b3ba4af46ce8498b87cf04ef2c0c7 100644 (file)
@@ -29,7 +29,7 @@
 // @import "bootstrap/pagination";
 // @import "bootstrap/badge";
 // @import "bootstrap/jumbotron";
-// @import "bootstrap/alert";
+@import "bootstrap/alert";
 // @import "bootstrap/progress";
 // @import "bootstrap/media";
 // @import "bootstrap/list-group";
index 6e73da63b31d0df9b7e7b6e18b0bee2d51948767..afe5324b25bb124872fb8385063e66c3722f1388 100644 (file)
@@ -2890,12 +2890,6 @@ input.richtext_title[type="text"] {
 }
 
 .report-disclaimer {
-  background: #fff1f0;
-  color: #d85030;
-  border-color: rgba(216, 80, 48, 0.3);
-  padding: 10px 20px;
-  margin-bottom: $lineheight;
-
   ul {
     padding-left: $lineheight;
     margin-bottom: 0;
index f152049ef51737d42d7a56ffeacf1bca6e05a7ac..599456db2ed1b37250408f9257a2e946b1068d38 100644 (file)
@@ -2,7 +2,7 @@
   <h1><%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %></h1>
 <% end %>
 
-<div class="report-disclaimer">
+<div class="alert alert-warning report-disclaimer">
   <%= t(".disclaimer.intro") %>
   <ul>
     <li> <%= t(".disclaimer.not_just_mistake") %> </li>