Merge remote-tracking branch 'upstream/pull/2696'

This commit is contained in:
Tom Hughes 2020-07-08 19:09:55 +01:00
commit efa2c20bff
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

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

View file

@ -129,13 +129,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;
}