Skip to content

Commit

Permalink
Plugin manager categories themeable
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed May 29, 2020
1 parent cbfc042 commit fbdd4d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/main/resources/hudson/PluginManager/_table.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ time {
.plugin-manager__category-label:visited {
display: inline-block;
border: 1px solid #ccc;
border: 1px solid var(--input-border);
background-color: #fbfbfb;
background-color: var(--plugin-manager-category-link-bg-color);
color: #333;
color: var(--plugin-manager-category-text-color);
border-radius: 4px;
font-size: 0.75rem;
font-weight: 500;
Expand All @@ -36,7 +39,11 @@ time {
.plugin-manager__category-label:focus,
.plugin-manager__category-label:active {
background-color: #f2f2f2;
background-color: var(--plugin-manager-category-link-bg-color--hover);
border-color: #333;
border-color: var(--plugin-manager-category-link-border-color--hover);
color: #333;
color: var(--plugin-manager-category-link-color--hover);
}

.plugin-manager__search-input {
Expand Down
5 changes: 5 additions & 0 deletions war/src/main/less/abstracts/colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,11 @@

// Plugin manager
--plugin-manager-bg-color-already-upgraded: #e8eeee;
--plugin-manager-category-link-bg-color: #fbfbfb;
--plugin-manager-category-link-bg-color--hover: #f2f2f2;
--plugin-manager-category-link-border-color--hover: var(--black);
--plugin-manager-category-text-color: var(--text-color);
--plugin-manager-category-link-color--hover: var(--text-color);

// Auto complete
--auto-complete-bg-color--prehighlight: #b3d4ff;
Expand Down

0 comments on commit fbdd4d7

Please sign in to comment.