Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 8ad7409

Browse files
committed
Fixed styles, updated template with icon support, updated data to include a type property for icons.
1 parent 1654eee commit 8ad7409

File tree

2 files changed

+45
-24
lines changed

2 files changed

+45
-24
lines changed

src/_data/roadmap.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,14 @@ roadmap:
1515
status: inProgress
1616
- name: PayPal and Braintree updates
1717
status: inProgress
18+
type: Extension
1819
- name: PHP 8.1 support
20+
status: inProgress
1921
- name: PWA - Global theming/styling
2022
status: inProgress
2123
- name: PWA - Custom product attributes
2224
status: inProgress
25+
type: Extension
2326
- name: PWA - Performance optimizations
2427
status: inProgress
2528
- name: PWA - Shopping and cart improvements
@@ -28,9 +31,12 @@ roadmap:
2831
status: inProgress
2932
- name: Vendor Bundled Extensions (VBEs) – Updates
3033
status: inProgress
34+
type: Extension
3135
- name: Planned
3236
features:
3337
- name: Accelerated checkout powered by Bolt (extension)
38+
status: Planned
39+
type: Extension
3440
- name: Accessibility improvements for storefront/admin
3541
status: Planned
3642
- name: Framework updates (e.g. KnockoutJS, RequireJS, etc.)

src/_includes/roadmap.md

Lines changed: 39 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
{% assign roadmap = include.data.roadmap | where: "name", include.roadmap %}
44
{% endif %}
55

6-
![Extension icon]({{ site.baseurl }}/common/images/Smock_Extension_18_N.svg) Indicates extensions available on the Commerce Marketplace.
6+
![Extension icon]({{ site.baseurl }}/common/images/Smock_Extension_18_N.svg) Indicates extensions available on the Commerce Marketplace.
77

88
<table class="roadmap-table">
99
<tr class="roadmap-header">
10-
{% for roadmap in roadmap %}
11-
<th>{{roadmap.name}}</th>
12-
{% endfor %}
10+
{% for roadmap in roadmap %}
11+
<th>{{roadmap.name}}</th>
12+
{% endfor %}
1313
</tr>
1414
<tr>
1515
{% for roadmap in roadmap %}
1616
<td class="table-container">
1717
<table class="inner-table">
1818
{% for roadmapFeature in roadmap.features %}
19-
<tr class="inner-row"><td class="inner-cell">{{ roadmapFeature.name }}</td></tr>
19+
<tr class="inner-row"><td class="inner-cell">{{ roadmapFeature.name }}<span class="icon {{ roadmapFeature.type }}"></span></td></tr>
2020
{% endfor %}
2121
</table>
2222
</td>
@@ -34,18 +34,18 @@
3434
* Main Table
3535
*/
3636
table.roadmap-table {
37-
padding: 0.5em;
37+
padding: 1rem;
3838
margin: 0;
39-
border: 1 solid #ddd;
39+
border: 1px solid #ddd;
4040
}
4141

4242
/**
4343
* Inner Tables
4444
*/
4545
table.roadmap-table tr td.table-container table.inner-table {
46-
padding: 0.5em;
46+
padding: 0.5rem;
4747
margin: 0;
48-
border: 0 solid #ddd;
48+
border: none;
4949
}
5050

5151
/*****************/
@@ -58,9 +58,9 @@ table.roadmap-table tr td.table-container table.inner-table {
5858
table.roadmap-table tr.roadmap-header th {
5959
padding: .7rem;
6060
margin: 0;
61-
border: 1 solid #ddd;
61+
border-bottom: 1px solid #ddd;
6262
text-align: left;
63-
background-color: #f5f5f5;
63+
background-color: #f1f1f1;
6464
font-weight: bold;
6565
color: #333;
6666
font-size: 1rem;
@@ -76,18 +76,19 @@ table.roadmap-table tr.roadmap-header th {
7676
table.roadmap-table tr {
7777
padding: 0.7rem;
7878
margin-left: 1rem;
79-
border: 0 solid #ddd;
8079
border-collapse: collapse;
8180
}
81+
table.roadmap-table tr:hover {
82+
background-color: #fff;
83+
}
8284

8385
/**
8486
* Inner Table Rows
8587
*/
8688
table.roadmap-table tr td.table-container table.inner-table tr.inner-row {
8789
padding: 0.7rem;
8890
margin: 0;
89-
border-bottom: 1 solid #ddd;
90-
border-collapse: collapse;
91+
border-bottom: 1px solid #ddd;
9192
}
9293

9394
/***************/
@@ -100,32 +101,46 @@ table.roadmap-table tr td.table-container table.inner-table tr.inner-row {
100101
table.roadmap-table tr td.table-container {
101102
padding: 0;
102103
margin: 0;
103-
border: 0 solid #ddd;
104+
border: none;
104105
border-collapse: collapse;
106+
min-height: 100%;
107+
}
108+
109+
table.roadmap-table tr td.table-container {
110+
border-right: 1px solid #ddd;
105111
}
106112

107113
/**
108114
* Inner Table Cell
109115
*/
110116
table.roadmap-table tr td.table-container table.inner-table tr.inner-row td.inner-cell {
111-
padding: 0.7rem;
112117
margin: 0;
113-
border: 0 solid #ddd;
118+
padding: 0.8rem;
114119
border-collapse: collapse;
115-
font-size: .9rem;
120+
font-size: 1.1rem;
121+
border: none;
116122
}
117123

118124
/***************/
119125
/***— Icons —***/
120126
/***************/
121127

122-
.extension::before {
123-
content: '';
128+
.icon {
129+
height: 18px;
130+
font-size: 14px;
131+
font-weight: 400;
132+
padding: 5px 0;
133+
}
134+
135+
.icon.Extension::before {
124136
display: inline-block;
125-
width: 8px;
126-
height: 8px;
127-
border-radius: 50%;
128-
margin: 0 12px;
137+
content: '';
138+
background-image: url({{ site.baseurl }}/common/images/Smock_Extension_18_N.svg);
139+
background-size: 16px 16px;
140+
height: 16px;
141+
width: 16px;
142+
margin-left: 5px;
143+
margin-bottom: -2px;
129144
}
130145

131146
</style>

0 commit comments

Comments
 (0)