Comments (7)
It is pretty easy to do in less. Just add below to #header in style.less
background: url('your logo path.png') no-repeat, @color-primary;
background-size: auto 64px, cover;
also need to hide the default image, as jenkins use img tags than background-image. But make sure href that wraps around still works.
#jenkins-home-link img {
opacity: 0;
}
from jenkins-material-theme.
I'll thinking about creating a javascript script builder where you select the image and it's inserted inside the css file. All in front end. Anyone would like to help me?
from jenkins-material-theme.
How would we persist the image, if done in javascript?
You can't modify the actual css file from front-end, and any injected style would be lost on refresh.
from jenkins-material-theme.
Thanks for the answre @aarjithn. However I've no logo anymore due to opacity and do not have my wished logo. Any idea ?
from jenkins-material-theme.
Could you check if the path to logo is correct, and it background is not overwritten by any other styles? I do use this setup for my organisation with custom logo and it works fine.
from jenkins-material-theme.
This is my idea: http://jsfiddle.net/afonsof/s4uuza6u/3/
In that case I'd like to offer the theme only for download. The github hosted installation option would not be available.
from jenkins-material-theme.
@deimosfr I created a tool in the website that allows to set your own logo: http://jenkins-contrib-themes.github.io/jenkins-material-theme/
from jenkins-material-theme.
Related Issues (20)
- Missign icon for "Lockable Resources" HOT 1
- Missign icon for "Full Stage View" HOT 1
- Overlapping text and icon in search bar on home page HOT 4
- Since Jenkins 2.246 - headers became black HOT 4
- Jenkins v. 2.249.1 large left menu icons HOT 5
- Migrate plugin to use theme manager
- Missing logo on build overview page for anonymous view
- Pipeline replay editor is broken HOT 3
- the in-progress icon float layer out HOT 15
- Main Script -- Replay -- the cursor in the editor is out of phase
- Jenkins ver:2.277.2 the image built info covered the left part
- cdn.rawgit.com will shut down HOT 1
- Broken spinning animation since Jenkins release v2.289.1 HOT 4
- BUG - Console font is not Roboto Mono anymore HOT 2
- Duplicate icons when I try to build in Jenkins version 2.321 HOT 2
- console color is gone in Jenkins 2.335
- Jenkins 2.341 - Theme colour and company logo not visible HOT 13
- Jenkins 2.332.1 - In Progress Icon Slightly misaligned HOT 3
- Jenkins 2.332.2 gear Icon false ?
- Console Icon css class should be `icon-sm` instead of `icon-xlg`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jenkins-material-theme.