Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/delibero.git

Renamed policies to policy in preparation to apply a consistent handler for custom JavaScript. Minor spacing changes to CSS for title page.

AuthorDave Jarvis <email>
Date2014-12-05 18:26:15 GMT-0800
Commit5a1f820e9fe22d748a5359c0f9132cbb1797ea7f
Parenta3d0ea9
xml/common.xsl
<xsl:include href="xsl/chart.xsl"/>
<xsl:include href="xsl/tags.xsl"/>
+<xsl:include href="xsl/support.xsl"/>
<xsl:output
xml/css/index.css
-.policies {
+.policy {
display: flex;
flex-direction: column;
}
-.policy {
+.overview {
display: flex;
flex-direction: row;
- margin-bottom: 1em;
+ padding-bottom: 1em;
}
font-size: 0.8em;
padding-right: 0.5em;
+ padding-top: 0.5em;
}
.statistics {
width: 9%;
}
.activation {
width: 10%;
+}
+
+.activation > .time, .statistics > .views {
+ padding-top: 0.25em;
}
.title {
font-size: 1em;
font-weight: normal;
+ padding-top: 0.3em;
}
xml/index.xml
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="common.xsl"?>
-<policies>
- <policy>
+<policy>
+ <overview>
<summary>
<title id="1">Digital Freedom Act</title>
<time>3:15pm</time>
</activation>
- </policy>
- <policy>
+ </overview>
+ <overview>
<summary>
<title id="2">Water Sustainability Act</title>
<time>11:30am</time>
</activation>
- </policy>
- <policy>
+ </overview>
+ <overview>
<summary>
<title id="3">Omnibus Crime Bill</title>
<time>1:45pm</time>
</activation>
- </policy>
- <policy>
+ </overview>
+ <overview>
<summary>
<title id="4">Marijuana Legalization Act</title>
<time>4:20pm</time>
</activation>
- </policy>
- <policy>
+ </overview>
+ <overview>
<summary>
<title id="5">First Nations Land Use Bill</title>
<time>12:25pm</time>
</activation>
- </policy>
-</policies>
+ </overview>
+</policy>
Delta22 lines added, 15 lines removed, 7-line increase