Skip to content

Commit b0ef0c8

Browse files
author
Daniel Jacinto
authored
Merge pull request #8776 from NuGet/dev
[ReleasePrep][2021.08.30]RI of dev into main
2 parents dd64d52 + 9dd5b06 commit b0ef0c8

33 files changed

Lines changed: 1574 additions & 1095 deletions

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

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

src/Bootstrap/dist/css/bootstrap.css

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

src/Bootstrap/less/buttons.less

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@
8787
.btn-danger {
8888
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
8989
}
90-
// Blue button for installation instructions
91-
.btn-blue {
92-
.button-variant(@btn-default-color; #0078D4; @btn-default-border);
93-
}
94-
9590

9691
// Link buttons
9792
// -------------------------

src/Bootstrap/less/theme/common-licenses.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
word-break: normal;
55
}
66

7-
.custom-license-container {
7+
.custom-license-container, .license-file-html-container{
8+
display: block;
9+
padding: 10.5px;
10+
background-color: @pre-bg;
11+
border: 1px solid #ccc;
12+
word-break: normal;
813
margin-bottom: @default-margin-bottom;
14+
overflow: auto;
15+
max-height: 450px;
916
}
1017
}

src/Bootstrap/less/theme/page-display-package-v2.less

Lines changed: 59 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -160,48 +160,6 @@
160160
margin-bottom: 15px;
161161
}
162162

163-
.installation-instructions {
164-
background-color: #F3F2F1;
165-
166-
.installation-instructions-dropdown {
167-
font-size: 14px;
168-
background-color: #F3F2F1;
169-
height: 31px;
170-
border-left: 0px;
171-
border-top: 0px;
172-
border-right: 0px;
173-
}
174-
175-
.installation-instruction {
176-
background-color: #FAF9F8;
177-
font-size: 14px;
178-
179-
pre {
180-
background-color: #FAF9F8;
181-
border: 0px;
182-
margin-bottom: 0px;
183-
width: 100%;
184-
}
185-
186-
.alert {
187-
margin-top: 0px;
188-
}
189-
}
190-
}
191-
192-
button {
193-
width: 32px;
194-
height: 32px;
195-
float: right;
196-
padding: 0px;
197-
198-
.ms-Icon--Copy {
199-
color: #FFFFFF;
200-
width: 16px;
201-
height: 16px;
202-
}
203-
}
204-
205163
.package-details-main {
206164
.break-word;
207165

@@ -219,8 +177,13 @@
219177
margin-bottom: 18px;
220178
}
221179

180+
.ms-Icon {
181+
top: 1px;
182+
}
183+
222184
img.icon {
223185
position: absolute;
186+
top: 1px;
224187
left: -24px;
225188
width: 16px;
226189
height: 16px;
@@ -415,6 +378,55 @@
415378
font-weight: 600;
416379
text-decoration: underline;
417380
}
381+
382+
.tab-content {
383+
.tab-pane {
384+
> div {
385+
display: table;
386+
height: 1px;
387+
}
388+
389+
.install-script-row {
390+
display: table-row;
391+
height: 100%;
392+
393+
.install-script {
394+
display: table-cell;
395+
background-color: @panel-footer-bg;
396+
font-family: @font-family-monospace;
397+
font-size: 1em;
398+
color: #fff;
399+
width: 100%;
400+
max-width: 1px;
401+
line-height: 1.5;
402+
white-space: pre-wrap;
403+
// Add a border with the same color as the background to support visual callout
404+
// in high contrast mode (since borders are shown).
405+
border-color: @panel-footer-bg;
406+
border-style: solid;
407+
border-width: 1px 0 1px 1px;
408+
user-select: all;
409+
vertical-align: middle;
410+
word-break: break-word;
411+
}
412+
413+
.copy-button {
414+
height: 100%;
415+
416+
button {
417+
height: 100%;
418+
min-height: 42px;
419+
line-height: 1.5;
420+
}
421+
}
422+
}
423+
424+
.alert {
425+
margin: 0;
426+
width: 100%;
427+
}
428+
}
429+
}
418430
}
419431

420432
.body-tabs {
@@ -432,6 +444,11 @@
432444
font-size: 14px;
433445
font-family: @font-family-base;
434446
color: #323130;
447+
448+
.ms-Icon {
449+
position: relative;
450+
top: 2px;
451+
}
435452
}
436453
}
437454

src/NuGetGallery.Core/Auditing/AuditedPackageRegistrationAction.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ public enum AuditedPackageRegistrationAction
99
RemoveOwner,
1010
MarkVerified,
1111
MarkUnverified,
12-
SetRequiredSigner
12+
SetRequiredSigner,
13+
AddOwnershipRequest,
14+
DeleteOwnershipRequest,
1315
}
1416
}

0 commit comments

Comments
 (0)