summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2016-02-06 06:21:35 -0500
committerShaun McCance <shaunm@gnome.org>2016-02-06 06:21:35 -0500
commit151fbbb8d0e354bcfbf352814e20bd6dd3dd25a9 (patch)
tree4c5f2dffb389d7b33b827a4b303fc5adc1a7a5dd
parentab55b7bd401df4a395afa0a464b60a2e2d7a2c5c (diff)
downloadyelp-xsl-151fbbb8d0e354bcfbf352814e20bd6dd3dd25a9.tar.gz
html.xsl: Styling on media seeker range
-rw-r--r--xslt/common/html.xsl33
1 files changed, 29 insertions, 4 deletions
diff --git a/xslt/common/html.xsl b/xslt/common/html.xsl
index bd51f4e8..9faaf9b6 100644
--- a/xslt/common/html.xsl
+++ b/xslt/common/html.xsl
@@ -1437,16 +1437,41 @@ div.media-controls > * {
div.media-controls > input.media-range {
flex: 1 0 auto;
background-color: </xsl:text><xsl:value-of select="$color.fg.dark"/><xsl:text>;
- color: </xsl:text><xsl:value-of select="$color.blue"/><xsl:text>;
margin: 0 10px;
--webkit-appearance: none;
+ -webkit-appearance: none;
}
input.media-range::-webkit-slider-runnable-track {
- height: 8px;
+ height: 4px;
+ background: </xsl:text><xsl:value-of select="$color.fg.gray"/><xsl:text>;
+ border-radius: 2px;
+}
+input.media-range::-webkit-slider-thumb {
+ -webkit-appearance: none;
+ height: 16px;
+ width: 16px;
+ border-radius: 8px;
+ background: </xsl:text><xsl:value-of select="$color.bg.dark"/><xsl:text>;
+ border: solid 1px </xsl:text><xsl:value-of select="$color.fg.dark"/><xsl:text>;
+ margin-top: -6px;
+}
+input.media-range::-webkit-slider-thumb:hover,
+input.media-range::-webkit-slider-thumb:focus {
background: </xsl:text><xsl:value-of select="$color.bg.gray"/><xsl:text>;
- border: solid 1px </xsl:text><xsl:value-of select="$color.bg"/><xsl:text>;
+}
+input.media-range::-moz-range-track {
+ height: 4px;
+ background: </xsl:text><xsl:value-of select="$color.fg.gray"/><xsl:text>;
border-radius: 2px;
}
+input.media-range::-moz-range-thumb {
+ -webkit-appearance: none;
+ height: 16px;
+ width: 16px;
+ border-radius: 8px;
+ background: </xsl:text><xsl:value-of select="$color.bg.dark"/><xsl:text>;
+ border: solid 1px </xsl:text><xsl:value-of select="$color.fg.dark"/><xsl:text>;
+ margin-top: -6px;
+}
div.media-controls-audio {
border-top: solid 1px </xsl:text><xsl:value-of select="$color.fg"/><xsl:text>;;
border-radius: 4px;