forked from networkupstools/nut
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image and CSS resources used in new Jenkins CI [networkupstools#869]
- Loading branch information
Showing
14 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/* CSS originally based on ideas from | ||
* https://medium.com/@elhayefrat/replace-jenkins-logo-and-text-to-your-choice-in-jenkinsui-f7d35daed25b | ||
* | ||
* Customized Jenkins+NUT logo derived from NUT resources and | ||
* https://www.jenkins.io/images/logos/hyderabad/hyderabad256.png | ||
* as published at https://www.jenkins.io/artwork/ collection | ||
* under https://creativecommons.org/licenses/by-sa/3.0/ license | ||
* | ||
* Fosshost logo derived (resized to readable height in banner line) | ||
* from https://fosshost.org/media/ | ||
*/ | ||
|
||
/* Custom style for Jenkins */ | ||
.logo img { | ||
content:url("/userContent/layout/jenkins-nut-transparent-bg.png"); | ||
/* | ||
height: 40px; | ||
width: auto; | ||
*/ | ||
object-fit: contain; | ||
} | ||
|
||
#jenkins-head-icon { | ||
display: none; | ||
width: 0px; | ||
} | ||
|
||
#jenkins-name-icon { | ||
display: none; | ||
width: 0px; | ||
} | ||
|
||
#jenkins-home-link { | ||
padding: 1px; | ||
background: url("/userContent/layout/jenkins-nut-transparent-bg-40px.png") no-repeat; | ||
height: 40px; | ||
width: 54px; | ||
object-fit: contain; | ||
} | ||
|
||
.logo:after { | ||
content: "CI for NUT"; | ||
font-weight: bold; | ||
font-size: 40px; | ||
/* font-family: "Brush Script MT", cursive; */ | ||
margin-left: 20px; | ||
margin-right: 200px; | ||
color: Gold; | ||
line-height: 40px; | ||
} | ||
|
||
.logo { | ||
background: url("/userContent/layout/fosshost.org_Host_Dark_56px.png"); | ||
background-repeat: no-repeat; | ||
/* background-attachment: fixed; */ | ||
background-position: right; | ||
background-origin: content-box; | ||
padding-right: 4px; | ||
/* Glue to the search box, to hide FH logo plank color gap with background on the right side */ | ||
} | ||
|
||
/* Match color of fosshost logo */ | ||
.page-header { | ||
background-color: #2a2a2a; | ||
} | ||
|
||
/* | ||
.page-footer__footer-id-placeholder { | ||
background: url("/userContent/layout/fosshost.org_Host_Dark_56px.png") no-repeat; | ||
} | ||
*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The jenkins-nut resources (images and CSS) were prepared for | ||
deployment of https://ci.networkupstools.org | ||
(C) 2021 by Jim Klimov <jimklimov@gmail.com> | ||
|
||
Customized Jenkins+NUT logo derived from NUT resources and | ||
https://www.jenkins.io/images/logos/hyderabad/hyderabad256.png | ||
as published at https://www.jenkins.io/artwork/ collection | ||
under https://creativecommons.org/licenses/by-sa/3.0/ license | ||
|
||
The resulting image comes in a few versions as was needed by | ||
different design consumers (Jenkins banner, Github Auth, etc.) | ||
and include the base image on white background trimmed to the | ||
rectangle it occupies, same on transparent background, also same | ||
with padding to be a square canvas (as used in avatars), and a | ||
downscaled image for the Jenkins dashboard banner. There are | ||
variants in several resolutions available, and options with a | ||
larger or smaller NUT logo served on the Jenkins butler's plate. | ||
|
||
The fosshost.org_Host_Dark_56px.png was downscaled from resources | ||
at https://fosshost.org/media/ to fit into the Jenkins dashboard | ||
banner and remain readable. Thanks to Fosshost for providing the | ||
machines involved in the new NUT CI farm! |