summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-01-28 16:25:10 -0600
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-01-28 16:25:10 -0600
commit622324ec76e54ea1de99d6cea3debc2389049f58 (patch)
tree84f0aa0273b45761e6ccdb04b45593730b9bb6ef /help3xsl
parenta8ab16150bf04fd812dde07bdd7d0bbd9b52f48e (diff)
tdf#121571 Solve cognitive dissonance with note icons and colors
More often than not, the alarmist colors given to note boxes didn’t match their content. Change-Id: I88d7a8e2d07ffba661c218887fd54638506d21c8
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css18
-rw-r--r--help3xsl/online_transform.xsl6
2 files changed, 12 insertions, 12 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 9b7028af4d..2594c5de64 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -86,7 +86,7 @@ h6,
pointer-events: auto;
}
body {
- background-color: #F4F7F7;
+ background-color: #F7F8F7;
margin: 0;
line-height: normal;
}
@@ -159,16 +159,16 @@ pre,
margin-top: 15px;
}
.note {
- border-left: 4px solid #FFDE09;
- background-color: #FFF4D0;
+ border-left: 4px solid #61897C;
+ background-color: #D9E7E2;
}
.tip {
- border-left: 4px solid #38618C;
- background-color: #DAE2EA;
+ border-left: 4px solid #4866AD;
+ background-color: #CDD5E8;
}
.warning {
- border-left: 4px solid #FF5964;
- background-color: #FFE0E2;
+ border-left: 4px solid #D5B177;
+ background-color: #F9EEDC;
}
.noteicon, .notetext {
padding:0.3em;
@@ -260,8 +260,8 @@ h6 {
margin-left: 5px;
}
.howtoget {
- background: #CCF4C6;
- border-left: 4px solid #148603;
+ background: #EBE7E9;
+ border-left: 4px solid #4E4B55;
border-radius: 0 4px 4px 0;
box-shadow: 0 2px 2px -2px rgba(0,0,0,0.2);
padding: 0.3em;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index f52edfa01a..02a166c637 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -94,9 +94,9 @@
<xsl:variable name="linkpostfix" select="''"/>
<!-- images for notes, tips and warnings -->
-<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/help/note.svg')"/>
-<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/help/tip.svg')"/>
-<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/help/warning.svg')"/>
+<xsl:variable name="note_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/note.svg')"/>
+<xsl:variable name="tip_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/tip.svg')"/>
+<xsl:variable name="warning_img" select="concat($img_url_prefix,'icon-themes/res/helpimg/warning.svg')"/>
<!-- Strings for the help UI page -->
<xsl:variable name="tmp_href_ui"><xsl:value-of select="concat($urlpre,'text/shared/help/browserhelp.xhp')"/></xsl:variable>