Skip to content

Commit 81cdee6

Browse files
khellangjoelverhagen
authored andcommitted
Add development dependency metadata to the database (#7124)
* Add developmentDependency metadata to package * Add filldevdeps tool command * Change VerifyPackageRequest.DevelopmentDependency to bool * Tweaked install command display * Added unit tests for true/false/missing developmentDependency metadata * Updated GalleryTools readme Address #5666
1 parent 4b504f5 commit 81cdee6

24 files changed

Lines changed: 862 additions & 577 deletions

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

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

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

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
position: unset;
3838
top: unset;
3939
}
40-
40+
4141
.deprecation-expander-info-right {
4242
padding-left: 15px;
4343
}
@@ -89,6 +89,7 @@
8989
li {
9090
margin-bottom: 15px;
9191
}
92+
9293
img.icon {
9394
position: absolute;
9495
left: -24px;
@@ -150,39 +151,43 @@
150151
}
151152

152153
.tab-content {
153-
height: 79px;
154-
155154
.tab-pane {
156155
> div {
157156
display: table;
158157
height: 1px;
159158
}
160159

161-
.install-script {
162-
display: table-cell;
163-
background-color: @panel-footer-bg;
164-
font-family: @font-family-monospace;
165-
color: #fff;
166-
padding: 0 10px 8px 10px;
167-
width: 100%;
168-
max-width: 1px;
169-
line-height: 1.5;
170-
// Add a border with the same color as the background to support visual callout
171-
// in high contrast mode (since borders are shown).
172-
border-color: @panel-footer-bg;
173-
border-style: solid;
174-
border-width: 1px 0 1px 1px;
175-
user-select: all;
176-
}
177-
178-
.copy-button {
179-
display: table-cell;
160+
.install-script-row {
161+
display: table-row;
162+
height: 100%;
163+
164+
.install-script {
165+
display: table-cell;
166+
background-color: @panel-footer-bg;
167+
font-family: @font-family-monospace;
168+
font-size: 1em;
169+
color: #fff;
170+
width: 100%;
171+
max-width: 1px;
172+
line-height: 1.5;
173+
white-space: pre-wrap;
174+
// Add a border with the same color as the background to support visual callout
175+
// in high contrast mode (since borders are shown).
176+
border-color: @panel-footer-bg;
177+
border-style: solid;
178+
border-width: 1px 0 1px 1px;
179+
user-select: all;
180+
vertical-align: middle;
181+
}
180182

181-
button {
183+
.copy-button {
182184
height: 100%;
183-
vertical-align: baseline;
184-
min-height: 42px;
185-
line-height: 1.5;
185+
186+
button {
187+
height: 100%;
188+
min-height: 42px;
189+
line-height: 1.5;
190+
}
186191
}
187192
}
188193

0 commit comments

Comments
 (0)