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 2020{% if regulations.exists() %}
2121< div id ="regulations-listing ">
2222 < h4 > {{ value.heading or 'Table of contents' }}</ h4 >
23- < ul >
23+ < ul class =" m-list m-list--links " >
2424 {% for regulation in regulations %}
25- < li class ="h4 ">
26- < a href ="{{ regulation.url }} ">
27- < span class =" title-num " > {{ regulation.title }}</ span >
25+ < li class ="m-list__item ">
26+ < a class =" a-link a-link--jump " href ="{{ regulation.url }} ">
27+ {{ regulation.title }}
2828 </ a >
2929 {% if regulation.regulation.future_versions %}
30- < ul >
30+ < ul class =" m-list m-list--links " >
3131 {% for version in regulation.regulation.future_versions %}
32- < li class ="new-version "> New amendments effective
33- < a href ="{{ regulation.url }}{{ version.effective_date|string }}/ ">
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 }}/ ">
3434 {{ ap_date(version.effective_date) }}
3535 </ a >
3636 </ li >
Original file line number Diff line number Diff line change 77 ========================================================================== */
88
99#regulations-listing {
10- margin : (math .div (45px , $base-font-size-px ) + em) 0
11- (math .div (60px , $base-font-size-px ) + em);
12-
1310 > ul {
14- margin-bottom : math .div (30px , $base-font-size-px ) + em;
15- padding-left : 0 ;
16-
17- > li {
18- border-bottom : 1px solid var (--gray );
19- list-style-type : none ;
20- padding-bottom : math .div (15px , $base-font-size-px ) + em;
21-
22- & :first-child {
23- border-top : 1px solid var (--gray );
24- padding-top : math .div (15px , $base-font-size-px ) + em;
25- }
26- }
27-
2811 .new-version {
2912 font-size : math .div ($size-v , $base-font-size-px ) + em;
3013 font-weight : normal ;
3114 list-style-type : square ;
3215 }
3316 }
34-
35- a {
36- border : 0 ;
37- }
3817}
You can’t perform that action at this time.
0 commit comments