Skip to content

Commit 4885674

Browse files
JavierMatosDSreenivas-KalluruJavier Matos
authored
Detailed package pages (New layout) (#151)
* generate detailed package - base code * unused file * exclude package folder * check differences fix for detailed packages * Detected changes when regenerating website - fix * check differences for detailed package-fix * check differences error fix * check differences fix * check differences error fix * check differences fix * check differences fix * check differences fix * check differences error * check differences error -fix * check difference error fix * check differences fix * exclude package folder * add limited files * exclude package folder * create package directory * check differences error * exclude package folder from check diff task * exclude package folder from git diff * exclude package folder from git diff * detailed page with review comments * 1. Ensured that package details don't render in new tab * wip * lots of changes, see comment * changed how features are presented * rebuild site * adjust workflow * sync and rebuild * modify workflow * reset the validate workflow to original. There should be no changes between runs * print out git config (temp) * print the actual diff * print the actual diff * print the actual diff * check commit hashes * check hashes * check hashes * sync metadata * update vcpkg instance * respond to Robert's review feedback * sync with main * initial commit for new layout * remove bogus comment * wip * sidebar done * dependency cards added-incomplete * tabs work * version content and port content added * feature tab content added (ugly) * Feature section * features tab completed * setup mobile friendly work: incomplete * fixed supports expression * remove pre tag from dep features * fixed inconsistent padding and reduced tab border * mobile friendly for small phones * sync with main * remove unused code * Add .DS_Store to .gitignore * Remove .DS_Store files from the repository * Revert validate.yml to match version in main branch * oops, removed wrong css * add hover affect on packages to show its clickable * fix supports expression * versions don't get cut off * fix icon alignment * use MS icons * modify supports --------- Co-authored-by: Sreenivas-Kalluru <[email protected]> Co-authored-by: Javier Matos <[email protected]>
1 parent 518b948 commit 4885674

File tree

2,449 files changed

+1029775
-479
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,449 files changed

+1029775
-479
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
vcpkg
3+
.DS_Store

assets/package-pages/book-solid.svg

+3
Loading

assets/package-pages/check-solid.svg

+3
Loading

assets/package-pages/house-solid.svg

+3
Loading
Loading

assets/package-pages/wrench-solid.svg

+3
Loading

css/common.css

+45-16
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
margin-top: -350px;
1010
}
1111
}
12+
1213
@media screen and (min-width: 500px) and (max-width: 999px) {
1314
.logo-footer {
1415
position: absolute;
@@ -20,6 +21,7 @@
2021
margin-top: -25px;
2122
}
2223
}
24+
2325
@media screen and (min-width: 1000px) and (max-width: 1499px) {
2426
.logo-footer {
2527
position: absolute;
@@ -74,9 +76,11 @@
7476
z-index: 10;
7577
color: #ffffff;
7678
}
79+
7780
.navbar-toggler {
7881
z-index: 10;
7982
}
83+
8084
.vcpkg-nav-color {
8185
color: #f3f3f3;
8286
}
@@ -148,15 +152,18 @@
148152
margin-top: 200px;
149153
width: 100%;
150154
}
155+
151156
.footer-right {
152157
display: flex;
153158
margin-right: 0%;
154159
flex-direction: row-reverse;
155160
flex-wrap: wrap;
156161
}
162+
157163
.footer-group-logo {
158164
display: none;
159165
}
166+
160167
.mobile-margin {
161168
margin-top: 15%;
162169
margin-bottom: 10%;
@@ -183,9 +190,11 @@
183190
z-index: 10;
184191
color: #ffffff;
185192
}
193+
186194
.navbar-toggler {
187195
z-index: 10;
188196
}
197+
189198
.vcpkg-nav-color {
190199
color: #f3f3f3;
191200
}
@@ -257,12 +266,14 @@
257266
margin-top: 550px;
258267
width: 100%;
259268
}
269+
260270
.footer-right {
261271
display: flex;
262272
margin-right: 7%;
263273
width: 40%;
264274
flex-direction: row-reverse;
265275
}
276+
266277
.footer-group-logo {
267278
margin-right: 5px;
268279
}
@@ -292,9 +303,11 @@
292303
margin-left: 6.5%;
293304
z-index: 10;
294305
}
306+
295307
.navbar-toggler {
296308
z-index: 0;
297309
}
310+
298311
.vcpkg-nav-color {
299312
color: normal;
300313
}
@@ -330,12 +343,14 @@
330343
margin-top: 550px;
331344
width: 100%;
332345
}
346+
333347
.footer-right {
334348
display: flex;
335349
margin-right: 7%;
336350
width: 40%;
337351
flex-direction: row-reverse;
338352
}
353+
339354
.footer-group-logo {
340355
margin-right: 5px;
341356
}
@@ -350,11 +365,11 @@
350365

351366
body {
352367
padding-top: 75px;
353-
font-family: 'Source Sans Pro',var(--font-family-sans-serif);
368+
font-family: 'Source Sans Pro', var(--font-family-sans-serif);
354369
}
355370

356371
code {
357-
font-family: 'Source Code Pro',var(--font-family-monospace);
372+
font-family: 'Source Code Pro', var(--font-family-monospace);
358373
color: rgb(0, 0, 0);
359374
background: #f1f1f2;
360375
word-break: break-all;
@@ -372,13 +387,16 @@ h2 {
372387
font-weight: bold;
373388
}
374389

375-
.docs-anchor::before,h2::before,h3::before,h4::before {
376-
display: block;
377-
content: " ";
378-
margin-top: -62px;
379-
height: 62px;
380-
visibility: hidden;
381-
pointer-events: none;
390+
.docs-anchor::before,
391+
h2::before,
392+
h3::before,
393+
h4::before {
394+
display: block;
395+
content: " ";
396+
margin-top: -62px;
397+
height: 62px;
398+
visibility: hidden;
399+
pointer-events: none;
382400
}
383401

384402
.selected {
@@ -496,7 +514,7 @@ footer p {
496514
margin-right: 10px;
497515
}
498516

499-
.copy:hover > .tip-text {
517+
.copy:hover>.tip-text {
500518
display: inline-block;
501519
}
502520

@@ -549,22 +567,25 @@ footer p {
549567
line-height: 160%;
550568
color: #2A2A2D;
551569
}
552-
.footer-heading img, .footer-group-logo {
553-
-webkit-filter: invert(100%);
554-
filter: invert(100%);
570+
571+
.footer-heading img,
572+
.footer-group-logo {
573+
-webkit-filter: invert(100%);
574+
filter: invert(100%);
555575
}
576+
556577
.footer-description {
557578
font-style: normal;
558579
font-size: 14px;
559580
line-height: 160%;
560581
color: #2A2A2D;
561582
}
562583

563-
ul > ul.collapse {
584+
ul>ul.collapse {
564585
display: none;
565586
}
566587

567-
ul > ul.expand {
588+
ul>ul.expand {
568589
display: block;
569590
}
570591

@@ -620,6 +641,7 @@ a.section-selected:hover {
620641
.bold {
621642
font-weight: bold;
622643
}
644+
623645
.italic {
624646
font-style: italic;
625647
}
@@ -684,6 +706,7 @@ a.section-selected:hover {
684706
.footer-link {
685707
color: #2A2A2D;
686708
}
709+
687710
a.footer-link {
688711
text-decoration: none;
689712
color: #2A2A2D;
@@ -769,6 +792,7 @@ li.docs-col-bold {
769792
.navbar-mobile {
770793
color: #f1f1f2;
771794
}
795+
772796
.navbar-mobile:hover {
773797
color: #f1f1f2;
774798
text-decoration: none;
@@ -812,7 +836,7 @@ span.navbar-close {
812836
background: #f1f1f2;
813837
width: 100%;
814838
padding: 10px;
815-
font-family: 'Source Code Pro',var(--font-family-monospace);
839+
font-family: 'Source Code Pro', var(--font-family-monospace);
816840
margin: 10px;
817841
}
818842

@@ -856,6 +880,7 @@ span.navbar-close {
856880
.doc-outline-link {
857881
color: #222222;
858882
}
883+
859884
.doc-outline-link:hover {
860885
color: #222222;
861886
}
@@ -881,6 +906,10 @@ span.navbar-close {
881906
top: 50px;
882907
}
883908

909+
.badge {
910+
margin: 0 5px;
911+
}
912+
884913
@media screen and (min-width: 310px) and (max-width: 370px) {
885914
.footer-info-group-privacy {
886915
margin-left: 25%;

css/githubBtn.css

+27-35
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,85 @@
11
.github-btn {
22
overflow: hidden;
33
}
4+
45
.gh-btn,
56
.gh-count,
67
.gh-ico {
78
float: left;
89
}
10+
11+
/* Common button and count styles */
912
.gh-btn,
1013
.gh-count {
11-
padding: 0px 5px 0px 5px;
14+
padding: 0 5px;
1215
color: #333;
1316
text-decoration: none;
1417
white-space: nowrap;
1518
cursor: pointer;
1619
border-radius: 3px;
1720
}
21+
22+
/* Button styling with gradient background for cross-browser compatibility */
1823
.gh-btn {
19-
background-color: #eee;
20-
background-image: -webkit-gradient(
21-
linear,
22-
left top,
23-
left bottom,
24-
color-stop(0, #fcfcfc),
25-
to(#eee)
26-
);
27-
background-image: linear-gradient(to bottom, #fcfcfc 0, #eee 100%);
24+
background-color: #eee; /* Fallback color if gradients are not supported */
25+
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#eee)); /* For old WebKit */
26+
background-image: linear-gradient(to bottom, #fcfcfc 0%, #eee 100%); /* Standard syntax */
2827
background-repeat: no-repeat;
2928
border: 1px solid #d5d5d5;
3029
}
30+
3131
.gh-btn:hover,
3232
.gh-btn:focus {
33-
text-decoration: none;
3433
background-color: #ddd;
3534
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #eee), to(#ddd));
3635
background-image: linear-gradient(to bottom, #eee 0, #ddd 100%);
3736
border-color: #ccc;
3837
}
38+
3939
.gh-btn:active {
4040
background-color: #dcdcdc;
4141
background-image: none;
4242
border-color: #b5b5b5;
4343
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
4444
}
45+
4546
.gh-ico {
4647
width: 27px;
4748
height: 27px;
4849
margin-right: 4px;
4950
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='12 12 40 40'%3e%3cpath fill='%23333' d='M32 13.4c-10.5 0-19 8.5-19 19 0 8.4 5.5 15.5 13 18 1 .2 1.3-.4 1.3-.9v-3.2c-5.3 1.1-6.4-2.6-6.4-2.6-.9-2.1-2.1-2.7-2.1-2.7-1.7-1.2.1-1.1.1-1.1 1.9.1 2.9 2 2.9 2 1.7 2.9 4.5 2.1 5.5 1.6.2-1.2.7-2.1 1.2-2.6-4.2-.5-8.7-2.1-8.7-9.4 0-2.1.7-3.7 2-5.1-.2-.5-.8-2.4.2-5 0 0 1.6-.5 5.2 2 1.5-.4 3.1-.7 4.8-.7 1.6 0 3.3.2 4.7.7 3.6-2.4 5.2-2 5.2-2 1 2.6.4 4.6.2 5 1.2 1.3 2 3 2 5.1 0 7.3-4.5 8.9-8.7 9.4.7.6 1.3 1.7 1.3 3.5v5.2c0 .5.4 1.1 1.3.9 7.5-2.6 13-9.7 13-18.1 0-10.5-8.5-19-19-19z'/%3e%3c/svg%3e")
5051
0 0 / 100% 100% no-repeat;
5152
}
53+
5254
.gh-count {
5355
position: relative;
5456
display: none; /* hidden to start */
5557
margin-left: 4px;
5658
background-color: #fafafa;
5759
border: 1px solid #d4d4d4;
5860
}
61+
5962
.gh-count:hover,
6063
.gh-count:focus {
6164
color: #0366d6;
6265
}
63-
.gh-count::before,
64-
.gh-count::after {
65-
position: absolute;
66-
display: inline-block;
67-
width: 0;
68-
height: 0;
69-
content: '';
70-
border-color: transparent;
71-
border-style: solid;
72-
}
66+
67+
/* Little triangle before gh-count pointing at the gh-icon */
7368
.gh-count::before {
74-
content: '';
7569
position: absolute;
70+
display: inline-block;
7671
top: 50%;
72+
left: 0; /* Align the left edge of the pseudo-element with the left edge of .gh-count */
7773
width: 0;
7874
height: 0;
75+
content: '';
7976
border: 5px solid transparent;
80-
margin-top: -5px;
81-
right: 3;
82-
border-right-color: #d4d4d4;
83-
border-left: 0;
84-
margin-left: -10px;
85-
}
86-
.gh-count::after {
87-
top: 50%;
88-
left: -4px;
89-
z-index: -1;
90-
margin-top: -5px;
91-
border-width: 5px 5px 5px 0;
92-
border-right-color: #d4d4d4;
77+
border-right-color: #d4d4d4; /* The color of the triangle */
78+
transform: translate(-10px, -50%); /* Shift left by 10px and center vertically */
9379
}
80+
81+
/* Utility class for block-level display */
82+
.display-block
83+
{
84+
display: block !important;
85+
}

0 commit comments

Comments
 (0)