Skip to content

Commit

Permalink
World Clock: Background color not displaying on Windows Player
Browse files Browse the repository at this point in the history
  • Loading branch information
maurofmferrao committed Mar 22, 2024
1 parent 49f018f commit a0406f0
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 21 deletions.
14 changes: 7 additions & 7 deletions modules/templates/article-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
{% if css or itemsSideBySide or backgroundColor or textDirection == "rtl" %}
{% if itemsSideBySide %}.text-render-item, .page { float: left; }{% endif %}
{% if textDirection == "rtl" %}#content { direction: rtl; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
{{css|raw}}
{% endif %}
]]></style>
Expand Down Expand Up @@ -207,7 +207,7 @@ $(target).xiboLayoutAnimate(properties);
}
{% if backgroundColor %}
body {
background-color: {{backgroundColor}};
background-color: {{backgroundColor}} !important;
}
{% endif %}
{% if copyright %}
Expand Down Expand Up @@ -382,7 +382,7 @@ html {
{% if backgroundColor %}
body {
background-color: {{backgroundColor}};
background-color: {{backgroundColor}} !important;
}
{% endif %}
Expand Down Expand Up @@ -591,7 +591,7 @@ html {
{% if backgroundColor %}
body {
background-color: {{backgroundColor}};
background-color: {{backgroundColor}} !important;
}
{% endif %}
Expand Down Expand Up @@ -827,7 +827,7 @@ html {
{% if backgroundColor %}
body {
background-color: {{backgroundColor}};
background-color: {{backgroundColor}} !important;
}
{% endif %}
Expand Down Expand Up @@ -1043,7 +1043,7 @@ html {
{% if backgroundColor %}
body {
background-color: {{backgroundColor}};
background-color: {{backgroundColor}} !important;
}
{% endif %}
Expand Down Expand Up @@ -1296,7 +1296,7 @@ $(target).xiboLayoutAnimate(properties);
]]></twig>
<style><![CDATA[
{% if textDirection == "rtl" %}#content { direction: rtl; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
{% if (effect == "marqueeLeft") or (effect == "marqueeRight") %}
{% if gapTags %}.marquee-item { margin-right: {{gapTags}}px; }{% endif %}
{% if gapItems %}.item.text-render-item, .separator { margin-right: {{gapItems}}px; }{% endif %}
Expand Down
6 changes: 3 additions & 3 deletions modules/templates/dataset-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ $datasetTableContainer.find('img').xiboImageRender(properties);
{% if backgroundColor != '' %}
body {
background-color: {{ backgroundColor }};
background-color: {{ backgroundColor }} !important;
}
{% endif %}
Expand Down Expand Up @@ -2979,7 +2979,7 @@ $(target).xiboLayoutAnimate(properties);
{% if backgroundColor != '' %}
body {
background-color: {{ backgroundColor }};
background-color: {{ backgroundColor }} !important;
}
{% endif %}
]]></style>
Expand Down Expand Up @@ -3305,7 +3305,7 @@ $(target).xiboLayoutAnimate(properties);
]]></twig>
<style><![CDATA[
{% if textDirection == "rtl" %}#content { direction: rtl; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
{% if (effect == "marqueeLeft") or (effect == "marqueeRight") %}
{% if gapTags %}.marquee-item { margin-right: {{gapTags}}px; }{% endif %}
{% if gapItems %}.item.text-render-item, .separator { margin-right: {{gapItems}}px; }{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion modules/templates/event-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<style><![CDATA[
{% if itemsSideBySide %}.item, .page { float: left; }{% endif %}
{% if textDirection == "rtl" %}#content { direction: rtl; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
{{styleSheet|raw}}
]]></style>
</stencil>
Expand Down
10 changes: 8 additions & 2 deletions modules/templates/forecast-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5560,7 +5560,6 @@ h1 {
}
body {
background-color: #000;
{% if fontFamily %}
font-family: {{fontFamily}};
{% else %}
Expand All @@ -5569,6 +5568,10 @@ body {
line-height: 1;
}
#content > div {
background-color: #000;
}
.container {
width: 960px !important;
height: 180px !important;
Expand Down Expand Up @@ -5909,7 +5912,6 @@ h1 {
}
body {
background-color: #000;
{% if fontFamily %}
font-family: {{fontFamily}};
{% else %}
Expand All @@ -5918,6 +5920,10 @@ body {
line-height: 1;
}
#content > div {
background-color: #000;
}
.container {
width: 189px !important;
height: 900px !important;
Expand Down
4 changes: 2 additions & 2 deletions modules/templates/stock-static.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ body {
height: 420px !important;
}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
.text-right {
text-align: right;
Expand Down Expand Up @@ -541,7 +541,7 @@ body {
line-height: 1;
}
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
.text-right {
text-align: right;
Expand Down
2 changes: 1 addition & 1 deletion modules/text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
</script>
]]></twig>
<style><![CDATA[
{% if backgroundColor %}body { background-color: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
{{styleSheet|raw}}
]]></style>
</stencil>
Expand Down
2 changes: 1 addition & 1 deletion modules/worldclock-analogue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
<style><![CDATA[
body {
{% if bgColor %}
background: {{bgColor}};
background: {{bgColor}} !important;
{% endif %}
}
Expand Down
6 changes: 3 additions & 3 deletions modules/worldclock-digital-date.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
]]></hbs>
<style><![CDATA[
body {
background: #222;
}
background: #222 !important;
}
.world-clock {
color: #f9f9f9;
Expand Down Expand Up @@ -155,7 +155,7 @@ body {
{% if labelColor %}.world-clock-label { color: {{labelColor}}; }{% endif %}
{% if fontFamily %}.world-clock { font-family: {{fontFamily}}; }{% endif %}
{% if dateTimeColor %}.world-clock { color: {{dateTimeColor}}; }{% endif %}
{% if backgroundColor %}body { background: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background: {{backgroundColor}} !important; }{% endif %}
]]></style>
</stencil>
<onInitialize><![CDATA[
Expand Down
2 changes: 1 addition & 1 deletion modules/worldclock-digital-text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
{% if labelColor %}.world-clock-label { color: {{labelColor}}; }{% endif %}
{% if fontFamily %}.hourText { font-family: {{fontFamily}}; }{% endif %}
{% if dateTimeColor %}.hourText { color: {{dateTimeColor}}; }{% endif %}
{% if backgroundColor %}body { background: {{backgroundColor}}; }{% endif %}
{% if backgroundColor %}body { background-color: {{backgroundColor}} !important; }{% endif %}
]]></style>
</stencil>
<onInitialize><![CDATA[
Expand Down

0 comments on commit a0406f0

Please sign in to comment.