Use bootstrap text-muted in place of custom deemphasze class

This avoids changing anything related to forms, since they will be
switched over to bootstrap separately.
This commit is contained in:
Andy Allan 2020-07-08 15:34:50 +02:00
parent 9f993fe8c8
commit 1977e66ace
15 changed files with 32 additions and 35 deletions

View file

@ -116,7 +116,7 @@ L.OSM.layers = function (options) {
$("<p>")
.text(I18n.t("javascripts.map.layers.overlays"))
.attr("class", "deemphasize")
.attr("class", "text-muted")
.appendTo(overlaySection);
var overlays = $("<ul class='list-unstyled'>")

View file

@ -116,7 +116,7 @@ L.OSM.share = function (options) {
.on("click", select))
.append(
$("<p>")
.attr("class", "deemphasize")
.attr("class", "text-muted")
.text(I18n.t("javascripts.share.paste_html"))
.appendTo($linkSection));
@ -147,7 +147,7 @@ L.OSM.share = function (options) {
$("<div>")
.attr("id", "export-warning")
.attr("class", "deemphasize")
.attr("class", "text-muted")
.text(I18n.t("javascripts.share.only_standard_layer"))
.appendTo($imageSection);
@ -223,7 +223,7 @@ L.OSM.share = function (options) {
.appendTo($form);
$("<p>")
.attr("class", "deemphasize")
.attr("class", "text-muted")
.html(I18n.t("javascripts.share.image_size") + " <span id=\"mapnik_image_width\"></span> x <span id=\"mapnik_image_height\"></span>")
.appendTo($form);

View file

@ -101,6 +101,10 @@ a {
}
}
.text-muted a {
color: $blue;
}
/* Rules for the header */
#menu-icon {
@ -1417,7 +1421,7 @@ tr.turn:hover {
margin-top: $lineheight/2;
}
&.deemphasize {
&.deleted {
background-color: #fee;
}
@ -1472,7 +1476,7 @@ tr.turn:hover {
padding-top: $lineheight;
border-top: 1px solid $grey;
}
&.deemphasize {
&.deleted {
background-color: #fee;
}
p {

View file

@ -142,13 +142,6 @@ body.small {
height: 300px !important;
}
#userinformation .deemphasize {
position: relative;
right: auto; left: auto;
margin-top: 10px;
top: auto;
}
&.site-about #content .attr h1 {
font-size: 28px;
}