jenkins-material-theme icon indicating copy to clipboard operation
jenkins-material-theme copied to clipboard

the in-progress icon float layer out

Open marslo opened this issue 3 years ago • 15 comments

Jenkins version: 2.284/2.283 simple theme plugin version: 0.6 material theme: 0.3.2

The running icon shows up:

after using Jenkins default theme:

marslo avatar Mar 23 '21 11:03 marslo

Second that, same here.

starwarsfan avatar Mar 23 '21 18:03 starwarsfan

@starwarsfan I thought it was a feature 🤣

Smasherr avatar Mar 23 '21 18:03 Smasherr

Metoo, maybe problem is jenkins

mit4ever avatar Mar 24 '21 08:03 mit4ever

Metoo, maybe problem is jenkins

Jenkins default theme works well with the "in progress" status icon. So that quite unlikely is the issue of Jenkins.

marslo avatar Mar 25 '21 09:03 marslo

Metoo, có thể vấn đề là jenkins

Chủ đề mặc định của Jenkins hoạt động tốt với biểu tượng đang chạy. Vì vậy, điều đó khá khó xảy ra là vấn đề của Jenkins.

I agree. Used to be fine but when I recently updated jenkins there was a problem with icon

mit4ever avatar Mar 25 '21 09:03 mit4ever

well... I've using workaround bypass the issue :

svg[class*=anime] { visibility: collapse }

btw, using hidden as the same as the collapse.

Details:

it can be setup in Jenkins via: simple-theme-7

marslo avatar Mar 25 '21 10:03 marslo

Nice job @marslo! Would be cool to see a PR for this

Smasherr avatar Mar 25 '21 10:03 Smasherr

Nice job @marslo! Would be cool to see a PR for this

this is actually the workaround, just hidden the overlayer svg image...

marslo avatar Mar 25 '21 11:03 marslo

Still happening with Jenkins 2.293 and jenkins-material-theme.css v.1.3.3, any news on that matter? Thanks

fguillotpro avatar May 17 '21 13:05 fguillotpro

Implemented the workaround (thanks @marslo !) but it would be great if @afonsof or somebody could fix the underlying issue.

eplodn avatar Jun 08 '21 08:06 eplodn

Related Jenkins Issue: JENKINS-65808

offa avatar Jun 15 '21 11:06 offa

The issue has hit other themes too: https://github.com/TobiX/jenkins-neo2-theme/issues/40

offa avatar Jun 15 '21 11:06 offa

Hello, thank you for the workaround.

If anyone want to set up it using groovy script, here is the script I use

import jenkins.model.Jenkins
import org.jenkinsci.plugins.simpletheme.CssUrlThemeElement
import org.jenkinsci.plugins.simpletheme.CssTextThemeElement

Jenkins jenkins = Jenkins.get()

def themeDecorator = jenkins.getExtensionList(org.codefirst.SimpleThemeDecorator.class).first()

themeDecorator.setElements([
        new CssUrlThemeElement('https://cdn.rawgit.com/afonsof/jenkins-material-theme/gh-pages/dist/material-indigo.css'),
        // fix jenkins theme issue https://github.com/afonsof/jenkins-material-theme/issues/183#issuecomment-806518351
        new CssTextThemeElement('svg[class*=anime] { visibility: collapse }')
])

jenkins.save()

pboiseau avatar Oct 29 '21 08:10 pboiseau

well... I've using workaround bypass the issue :

svg[class*=anime] { visibility: collapse }

btw, using hidden as the same as the collapse.

Details:

it can be setup in Jenkins via: simple-theme-7

Thanks, it do the job

abstract-entity avatar Feb 01 '22 14:02 abstract-entity

ths

jiuhuche120 avatar Feb 15 '22 14:02 jiuhuche120