File tree Expand file tree Collapse file tree
regulations3k/jinja2/regulations3k
unprocessed/apps/regulations3k/css Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,15 +27,18 @@ <h4>{{ value.heading or 'Table of contents' }}</h4>
2727 {{ regulation.title }}
2828 </ a >
2929 {% if regulation.regulation.future_versions %}
30- < ul class ="m-list m-list--links ">
31- {% for version in regulation.regulation.future_versions %}
32- < li class ="m-list__item new-version "> New amendments effective
33- < a class ="a-link a-link--jump " href ="{{ regulation.url }}{{ version.effective_date|string }}/ ">
34- {{ ap_date(version.effective_date) }}
35- </ a >
36- </ li >
37- {% endfor %}
38- </ ul >
30+ < div class ="new-version ">
31+ < h5 > New amendments effective</ h5 >
32+ < ul class ="m-list m-list--links ">
33+ {% for version in regulation.regulation.future_versions %}
34+ < li class ="m-list__item ">
35+ < a class ="a-link a-link--jump " href ="{{ regulation.url }}{{ version.effective_date|string }}/ ">
36+ {{ ap_date(version.effective_date) }}
37+ </ a >
38+ </ li >
39+ {% endfor %}
40+ </ ul >
41+ </ div >
3942 {% endif %}
4043
4144 </ li >
Original file line number Diff line number Diff line change 77 ========================================================================== */
88
99#regulations-listing {
10- > ul {
11- .new-version {
10+ // TODO - Standardize a nested list link pattern.
11+ .new-version {
12+ h5 {
13+ margin-top : math .div (10px , $base-font-size-px ) + rem;
14+ margin-bottom : math .div (10px , $base-font-size-px ) + rem;
15+ }
16+
17+ a {
18+ margin-left : math .div (-30px , $base-font-size-px ) + rem;
19+ padding-left : math .div (30px , $base-font-size-px ) + rem;
20+
21+ & :hover :before {
22+ border : none ;
23+ }
24+ }
25+
26+ li {
1227 font-size : math .div ($size-v , $base-font-size-px ) + em;
1328 font-weight : normal ;
1429 list-style-type : square ;
30+ margin-left : math .div (30px , $base-font-size-px ) + rem;
1531 }
1632 }
1733}
You can’t perform that action at this time.
0 commit comments