Skip to content

Commit

Permalink
less cleanup to reduce warnings by stylelint (#4800)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSpieker committed Jul 20, 2020
1 parent e347e88 commit 4c13f21
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 80 deletions.
2 changes: 1 addition & 1 deletion war/src/main/less/abstracts/theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
--menu-text-color: black;
--menu-bg-color: var(--white);
--menu-selected-color: #b3d4ff;
--menu-box-shadow: 0px 3px 10px #bbb;
--menu-box-shadow: 0 3px 10px #bbb;

// Manage component
--manage-option-bg-color--hover: #f8f8f8;
Expand Down
3 changes: 2 additions & 1 deletion war/src/main/less/base/layout-commons.less
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ html {
align-items: stretch;
flex: 1 0 auto;
}

#page-body.clear:after {
clear: both;
content: "";
Expand All @@ -91,7 +92,7 @@ body.two-column #main-panel {
}

body.two-column #main-panel {
display:block;
display: block;
}

body.full-screen {
Expand Down
14 changes: 9 additions & 5 deletions war/src/main/less/base/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
max-width: 75%;
}
}

@media (min-width: 2000px) {
body#jenkins.j-hide-left #main-panel {
max-width: 85%;
Expand Down Expand Up @@ -85,6 +86,7 @@ dt {
height: 34px;
background: url(../../images/topbar.png) repeat-x;
}

#top-panel a {
text-decoration: none;
}
Expand Down Expand Up @@ -271,13 +273,15 @@ pre.console {
margin-top: 0.25rem;
width: 100%; /* try to make this column as big as possible. */
}

.setting-help {
margin-left: 0.5rem;
margin-right: 0.5rem;
width: 16px;
vertical-align: middle;
float: right;
}

.setting-no-help {
width: 16px;
}
Expand Down Expand Up @@ -478,7 +482,7 @@ div.behavior-loading {
width:100%;
right: 0;
top: 15px;
bottom: 0px;
bottom: 0;
height: 100%;
width: auto;
min-height: 100%;
Expand Down Expand Up @@ -664,12 +668,12 @@ img.icon-help {
/* ====================== project view tab bar ===================================== */
#viewList {
border: none;
margin-bottom: 0px;
margin-bottom: 0;
width: 100%;
white-space: nowrap;
}
#viewList td {
padding: 0px;
padding: 0;
}
#viewList td.inactive {
border: solid 1px #ccc;
Expand Down Expand Up @@ -824,7 +828,7 @@ table.parameters > tbody:hover {
}
#buildHistoryPage .build-search-row .clear {
position: absolute;
padding: 0px 4px;
padding: 0 4px;
cursor: pointer;
top: 4px;
right: 6px;
Expand Down Expand Up @@ -1330,7 +1334,7 @@ table.progress-bar.red td.progress-bar-done {
width:100%;
position:fixed;
text-align:center;
left:0px;
left:0;
font-size: 1.75rem;
z-index:1000;
border-bottom: 1px solid black;
Expand Down

0 comments on commit 4c13f21

Please sign in to comment.