Jenkins console output gray backgorund after update - jenkins

We have just updated our jenkins (2.337) and the python console output has gone weird:
I've searched the jenkins settings (ANSI plugin etc) and I can change the inner colours but the gray background and line breaks remain. Does anyone know the settings to get it back to the plain old black and white it used to be?

We had a similar problem ... we had an almost Black Background with Black Text
We found that the Extra CSS in the Theme section of the Jenkins Configuration has changed.
After putting it through a code formatter (there are no new lines or whitespace in the field) we had the following for the console-output:
.console-output .error-inline{
color:#f44336
}
.console-output,.console-output *{
position:relative;
font-family:Roboto Mono,monospace!important;
font-size:14px;
background:#263238;
color:#e9eded;
cursor:text
}
.console-output{
padding:10px 20px
}
The "background:#263238;" was giving the Dark Gray background, while the output didn't specify a colour for the text.
Once I updated the '.console-output' CSS to be:
.console-output{
color:#fff!important;
padding:10px 20px
}
it was all resolved.
Looking at your picture, your console output is going to have a lighter gray background while the text block will be a type specified in your CSS, and will have a darker grey background.
Changing both the have the same colour background will resolve your issue. You could use the HTML Code Examiner (F12 in Chrome) to examine the page setup, and track down exactly which items are giving the look you don't like

When you have broken console colors (black font on black screen) after jenkins update,
Go to Manage Jenkins -> configure system
scroll to theme
click add -> extra CSS
put this in the new field:
.console-output{
color:#fff!important;
}
You can also add any other CSS to please your eye.

Related

is it possible to change font build by svg images color in iOS?

I have font build by group of images to save writing shape, so this font is unicode and each unicode character presents a single word, until now every thing working fine with font coloring in the application.
after we update the font to contain static colors (inside the font ttf) the issue appear that I cannot change the uncolored parts of the glyph.
please see the attached image that contain four characters the first two was colored correctly (blue) but the others were not.
is there any suggestion to replace the black color only in the character with white color to be used in the Dark mode ?

Is there a way to hide the chart borders while converting Google Sheets into PDFs?

The grey chart borders show up, no matter what you do in Google sheets, when converted into PDF. Is there any other way or script to make it hide while PDF conversion?
For anyone still struggling with this issue, there is a workaround where you can set the border colour to white instead of choosing no border. With this change, PDF export won't show any border lines.
There is a quick hack to solve this issue instead of setting the border color to full white set the border color to another white color in custom border colors.
There's a little hack you can use, use a light color as the border color anything but white as it didn't work, you can use a very light grey color something like #fcfcfc. Worked for me perfectly.
Lads,
in case anyone stil struggles with this - dont save as .pdf directly but use the Print -> print to pdf function.
Hope it helps.

How would I change the color of an emoji?

I have an emoji, and I want it to be white, but when I run the program it appears red. How do I change it to white?
rating.text = "\(♥♥♥♥♥)"
rating.textColor = UIColorRGB("ffffff")
The following answer explains why you can't change the color of Emoji characters. The glyphs are essentially images.
If you want to be able to use a heart symbol that you can color, try using one of the non-Emoji heart characters like ♥︎.
Or ensure the label's font isn't using the Apple Color Emoji font.
I needed to do this for a project and found a couple of ways to go about it. Each has its limitations, but still, usefull tricks to know.
First, you could append the unicode text presentation selector after the emoji to get it to render as text, then use your font color.
Limitations:
Text representation of that emoji might not be available and you get unknown character representation instead.
The detail of the text representation is often less
Alternatively, you can use CSS filters on the emoji itself to change its hue (plus saturation, contrast, grayscale, etc)
Limitations:
Requires access to the page's css (Works fine for your own webpage, but you couldn't, for instance, use this within an instagram post)
The emoji graphic is application-dependent, so the outcome
could be unpredictable. For instance, the folder icon on firefox is
(presently) an ugly blue color. I filter it to a yellow tint, but on
other browsers (which render it yellow to start with) the code below will cause the very problem I was trying to fix!
Anyway, here are some examples with both css and html variations of the approaches:
.folderitem_normal:before {
content:'\1f4c2';
margin-right:4px;
}
.folderitem_presentation_selector:before {
color: magenta;
content:'\1f4c2\FE0E';
margin-right:4px;
}
.folderitem_css_filter:before {
content:'\1f4c2';
filter: hue-rotate(180deg) brightness(1.5);
margin-right:4px;
}
<div class="folderitem_normal">Normal appearance of emoji for comparison (HTML 📂)</div>
<div class="folderitem_presentation_selector">Presentation selector. Notice how it has been colored like normal text. (HTML 📂︎)</div>
<div class="folderitem_css_filter">Css filter looks nice, but results are application-dependent. (HTML = N/A)</div>

Remove black border from TcolorButton

Is there anyway to remove the black border from a TColorbutton ? Delphi xe5, developing for iOSdelp
There are actually three black or gray borders.
First, add a custom stylebook to your app. The docwiki tells how to do this:
http://docwiki.embarcadero.com/RADStudio/XE5/en/Customizing_the_Design_of_a_FireMonkey_Application
Follow step #2 (Step 3 doesn't work for mobile applications.)
Open the style editor and locate ColorButtonStyle.
Expand the tree node and click on "background" in the structure.
In the object inspector locate Fill and expand that node.
Change the fill Kind to bkNone.
That removes the wide gray bordered, leaving two dark gray 1px borders.
Further down the list of properties just below Sides is Stroke.
Change it's Kind to bkNone. That removes the outer gray line.
Depending on your app you may need to also edit the color animations below the background rectangle. I did this by erasing (blanking out) the triggers since I was unable to delete the animations.
Next go the Fill component and set the stroke kind to bkNone. That removes the inner gray line.
You may also also want to set the Fill Margins to 0 so the color extends to the outside of the object. (i.e no padding now that the gray is not there.)
Gary

Colors applied via Imagemagick are off from what is expected

I'm trying to set the background of part of an image, to match the colors of other things in a web browser. Somehow the colorspace is different, and the colors don't match when using the same hex or rgb colors.
Example: I use this imagemagick command
convert frog.png -gravity North -background "#83c422" -extent 307x300 newfrog.png
to add a green (#83c422) rectangle to the bottom of an image.
Then I put it in a html page with the background given the same color value:
<html>
<body style="background-color: #83c422">
<img src="newfrog.png">
</body>
</html>
And I get this, where the background color of the page doesn't match the color added to the bottom of the image:
What do I need to do to get the colors to match? Is there some setting for imagemagick to do the colors in the more standard way? (note also that Gimp and various other things all say that the color given to the bottom of the image is not #83c422, but is #93cb2c)
Assuming you have a non-sRGB monitor profile, the problem is that CSS colors still aren't managed in Chrome. Safari has the same issue, AFAIK. Only Firefox (with gfx.color_management.mode = 1) and Opera get it right.

Resources