Skip to content

Commit e696ef6

Browse files
author
Scott Bommarito
authored
Merge pull request #6992 from NuGet/dev
[2019.03.12] FI NuGetGallery DEV into MASTER
2 parents 5276638 + e7a623b commit e696ef6

111 files changed

Lines changed: 7733 additions & 843 deletions

File tree

Some content is hidden

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

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

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

src/Bootstrap/less/theme/all.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
@import "common-high-contrast.less";
55
@import "common-licenses.less";
66
@import "common-list-packages.less";
7+
@import "common-multi-select-dropdown.less";
78
@import "common-user-package-list.less";
89
@import "page-about.less";
910
@import "page-account-settings.less";
@@ -17,6 +18,7 @@
1718
@import "page-forgot-password.less";
1819
@import "page-home.less";
1920
@import "page-list-packages.less";
21+
@import "page-manage-deprecation.less";
2022
@import "page-manage-organizations.less";
2123
@import "page-manage-owners.less";
2224
@import "page-manage-packages.less";

src/Bootstrap/less/theme/base.less

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,20 @@ h2, h3 {
273273
}
274274

275275
@media screen and (max-width: @screen-sm) {
276+
.container {
277+
// Bootstrap doesn't set the container width when the screen is xs.
278+
// This works fine when there are no elements in the container that are wider than the viewport,
279+
// however, if there are elements in the container that are wider than the viewport,
280+
// their overflow properties will not work properly because they are not bound by the size of the container.
281+
// To fix this, we need to set the container width to be the width of the viewport minus the row margin on xs screens.
282+
// This way, those elements that are larger than the viewport are properly bound by the size of the container and overflow properly.
283+
width: calc(100vw - 15px);
284+
}
285+
286+
.navbar-toggle {
287+
margin-right: 0;
288+
}
289+
276290
img.package-icon {
277291
max-width: 60px;
278292
max-height: 60px;
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
.multi-select-dropdown {
2+
position: relative;
3+
display: block;
4+
5+
.dropdown-btn {
6+
width: 100%;
7+
display: flex;
8+
justify-content: space-between;
9+
align-items: center;
10+
padding: 5px;
11+
margin-bottom: 0px;
12+
background-color: white;
13+
border-style: inset;
14+
border: 1px solid #7f7f7f;
15+
16+
span {
17+
white-space: nowrap;
18+
overflow: hidden;
19+
text-overflow: ellipsis;
20+
}
21+
}
22+
23+
.dropdown-content {
24+
position: absolute;
25+
z-index: 1;
26+
width: 100%;
27+
border-top: 0px;
28+
29+
.dropdown-selector {
30+
height: 300px;
31+
overflow: auto;
32+
33+
.dropdown-filter {
34+
display: flex;
35+
margin-bottom: 5px;
36+
37+
input {
38+
border: 0;
39+
margin-left: 10px;
40+
width: 100%;
41+
}
42+
}
43+
}
44+
}
45+
}

0 commit comments

Comments
 (0)