Skip to content

Commit 630c8af

Browse files
authored
Add learn more link to Framework legend (#10389)
1 parent 6228e70 commit 630c8af

5 files changed

Lines changed: 26 additions & 26 deletions

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/dist/js/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*!
22
* Bootstrap v3.4.1 (https://getbootstrap.com/)
3-
* Copyright 2011-2024 Twitter, Inc.
3+
* Copyright 2011-2025 Twitter, Inc.
44
* Licensed under the MIT license
55
*/
66

src/Bootstrap/less/theme/page-list-packages.less

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
margin: 0 !important;
1212
}
1313

14-
.frameworkfilters-info {
15-
color: var(--neutralForeground1Rest);
16-
text-decoration: none;
17-
}
18-
1914
@media (max-width: @screen-md) {
2015
.btn-filter {
2116
text-align: left;
@@ -56,22 +51,22 @@
5651
.framework-filter-info-icon {
5752
margin-bottom: -6px;
5853
overflow: hidden;
54+
font-size: small;
5955
}
6056

61-
.frameworkGroup{
57+
.frameworkGroup {
6258
display: flex;
6359
flex-direction: column;
6460
align-items: center;
6561
}
6662

67-
.frameworkGroupRow{
63+
.frameworkGroupRow {
6864
display: flex;
6965
width: 100%;
7066
}
7167

7268
.advanced-search-panel {
7369
border-radius: var(--X-Large, 8px);
74-
7570
box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px 0px rgba(0, 0, 0, 0.14);
7671
background-color: var(--neutralBackground1Rest);
7772
margin-right: 0px;
@@ -93,6 +88,11 @@
9388
font-weight: 500;
9489
font-size: medium;
9590
white-space: nowrap;
91+
92+
.frameworkfilters-info {
93+
font-weight: normal;
94+
font-size: small;
95+
}
9696
}
9797

9898
.btn {
@@ -112,7 +112,7 @@
112112
margin-right: 10px;
113113
}
114114

115-
label{
115+
label {
116116
margin: auto 0
117117
}
118118

@@ -190,7 +190,7 @@
190190
width: 0px;
191191
margin: 0px;
192192
}
193-
193+
194194
input:not(:checked):hover + label {
195195
border-color: var(--brandBackground1Hover);
196196
}
@@ -244,7 +244,7 @@
244244
}
245245
}
246246

247-
.prerel-option{
247+
.prerel-option {
248248
display: flex;
249249
}
250250
}
@@ -280,13 +280,13 @@
280280
border: none;
281281
padding-left: 19px;
282282

283-
span{
283+
span {
284284
margin: auto 0;
285285
}
286286
}
287287

288288
@media (max-width: 992px) {
289-
.toggle-advanced-search-panel{
289+
.toggle-advanced-search-panel {
290290
display: flex;
291291
justify-content: space-between;
292292
}
@@ -296,4 +296,3 @@
296296
}
297297
}
298298
}
299-

src/NuGetGallery/Content/gallery/css/bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/NuGetGallery/Views/Shared/ListPackages.cshtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,8 @@
9191
{
9292
<div>
9393
<fieldset id="frameworkfilters">
94-
<legend style="display: flex; gap: 6px;">
95-
<a href="@(Model.FrameworksFilteringInformationLink)" class="frameworkfilters-info"
96-
data-content="@NuGetGallery.Strings.FrameworkFilters_Tooltip"
97-
aria-label="@NuGetGallery.Strings.FrameworkFilters_Tooltip">
98-
Frameworks
99-
</a>
94+
<legend>
95+
Frameworks
10096
<a class="tooltip-target" href="javascript:void(0)" role="button" aria-labelledby="frameworksfiltersid">
10197
<i class="framework-filter-info-icon ms-Icon ms-Icon--Info"></i>
10298
<span class="tooltip-block" role="tooltip" id="frameworksfiltersid">
@@ -108,6 +104,10 @@
108104
</span>
109105
</span>
110106
</a>
107+
<a href="@(Model.FrameworksFilteringInformationLink)" class="frameworkfilters-info"
108+
aria-label="Learn more about advanced filtering and sorting">
109+
Learn more
110+
</a>
111111
</legend>
112112
@if (Model.IsAdvancedFrameworkFilteringEnabled)
113113
{

0 commit comments

Comments
 (0)