3,731 questions
-3
votes
0
answers
83
views
Form Input Not Responding to CSS Color or Border [closed]
On my website I've set up a form for people to be able to email me, and I'm trying to adjust the CSS so it visually meshes with the rest of my website better, and while the css I've implemented to ...
Best practices
0
votes
4
replies
41
views
How to make text readable on dark backgrounds while keeping links distinguishable? (restriction: text and hyperlinks share same inline CSS code)
use case
I am using the Firefox add-on WebScrapBook to mark text portions on web pages.
The addon offers 12 different text markers which can be styled individually with CSS code:
The CSS code is then ...
0
votes
0
answers
76
views
How to highlight a named color (e.g., "red") in editor in Positron for Python?
How to highlight a named color (e.g., "red") in editor for Python codes, just like in RStudio?
I notice that the extension "Color Highlight" is able to highlight "#FF0000"...
0
votes
2
answers
107
views
How can I change the background color for all pages using additional css in my wordpress site?
I am trying to change the global background color of a wordpress website.
It's a wordpress theme that does not seem to have an option to change background color?
Is there a way to do this for all ...
0
votes
2
answers
147
views
Is there a bug in the container-type property when it is set to "size" on the <body> tag?
I am working on a web design for a personal blog, and I seem to have run into some kind of bug, or maybe I am overlooking something.
body {
background-color: red;
/** Comment/uncomment the next ...
-3
votes
1
answer
106
views
Changing CellA bgcolor will auto change CellB bgcolor
Basically when I change the background or Fill color of CellA, CellB will auto change to same bgcolor.
I thought I can use Worksheet_Change but this event does not seem to be able to detect such ...
1
vote
0
answers
63
views
Box shadow appears muted when the header is colored
I have simple HTML and CSS to display a widget with a container, a header, and a body. I have a box-shadow on the widget container which looks great, until I add a background-color to the header ...
4
votes
1
answer
63
views
How can I change the background color of an action button?
I have a Shiny for Python app with some buttons. I want to change the color of a button. How can I do this?
from shiny.express import ui
with ui.layout_columns():
ui.input_action_button("...
1
vote
0
answers
42
views
Under what conditions do views and subviews render background colors?
I notice that sometimes I will need to set a view's .wantsLayer property to true and then set the view's .layer property's background color to a CGColor to have the view render a background color in ...
0
votes
1
answer
190
views
Background Gradients + Noise Combo
I’m trying to replicate the gradient + noise in the image below.
Gradient + Noise:
So far I think I roughly got the 2 gradients covered but really struggle with the noise here. I tried loads of ...
0
votes
1
answer
53
views
Background color of the QuillEditor
I'm using react-native-cn-quill lib and nee to change background color of the QuillEditor.
I've tried this way, but red background color only shows before editor rendered:
<QuillEditor
style={{ ...
1
vote
0
answers
34
views
How to add a background color on top of an img tag? [duplicate]
I want to add a color #0B224A as background to an img tag, Iv done it without img, using the backgroung-image
The reason I want to do it this way is to use Angular NgOptimizedImage.
My HTML goes like ...
0
votes
0
answers
106
views
My video background is transparent, but it keeps displaying a black background. How do I get the video to display a transparent background?
My app is supposed to display a video of a garden with working fans. The video works fine but the video keeps showing a black background, I've tried changing the color to transparent but it does not ...
0
votes
2
answers
288
views
Transition a CSS background-color to a gradient
I have some tiles that have an ordinary background-color and show a CSS gradient on hover, and I want to add a transition between these. I've seen this solution, but as far as I can tell the only way ...
0
votes
1
answer
141
views
How to change background color of “Show History” block?
Where can I to change background color of “Show History” utility in PhpStorm 2024 :
?
As some colors are hardly to distinguish...
I tried to search under Settings, but did not find such options...
...
1
vote
2
answers
219
views
How do I fix my Eclipse's background that turned black
My Eclipse's background turned black except for the code part. Everything works just fine but I just can't see the parts that turned black and it hurts my eyes.
What my eclipse looks like
While I was ...
1
vote
2
answers
153
views
Remove default white background color SwiftUI
So here is the deal. I'm making a button component that will have two styles. One of the style has any backgroundColor defined by the dev and the other style has no backgroundColor but does have a ...
0
votes
1
answer
134
views
.NET9 MAUI Background Color
I want to set the colour of the whole background of my app.
I tried to use a ResourceDictionary Theme and use it in App.xaml like:
<ResourceDictionary.MergedDictionaries>
<...
1
vote
0
answers
394
views
Why does the status bar in my React Native app still appear black even after using SafeAreaView and expo-status-bar?
I’m building a React Native app using Expo and have been trying to customize the status bar color, but it still shows as black on the top and bottom of the screen.
I am testing the app through the ...
0
votes
0
answers
44
views
Dynamic Status Bar Icon Brightness on iOS Flutter
status bar icons' brightness changes depending on background color of status bar on iOS (18.2) Facebook app(v. 496.0.0). It changes dynamicly while scrolling and also background color changing on ...
2
votes
3
answers
83
views
Add alternating background to each row in display grid with grid of posts
I have a full width div which contains a dynamic grid of posts. The number of columns depends on the screen width, the number of rows depends on the number of posts.
I would like to have an ...
1
vote
1
answer
72
views
How to avoid mismatched background colors during CSS transitions with transparency? [closed]
Scenario
I recently made an interesting observation in my CSS that took me a little while to understand exactly what was happening.
For example, consider the following code snippet, in which the ...
0
votes
0
answers
63
views
How to change the background color of a specific area in Jetpack Compose?
I'm working on a Jetpack Compose project, and I need to change the background color of a specific area within a screen. Here's what I have so far:
@Composable
fun Bgcolor() {
Column(
modifier = ...
2
votes
5
answers
104
views
Can I set the background-color of two spans on adjacent lines, so the color also fills the space between the lines?
I have two spans on adjacent lines, with their background-color set. Unfortunately this leaves a gap between the two lines:
html {
line-height: 1.5;
}
span {
background-color: red;
}
<pre&...
0
votes
1
answer
86
views
Change the strip text background color based on a grouping variable that's not used in facet_wrap (ggplot2)?
I am wondering if there are any ways to change the background colour of strip text by the grouping variable (group2) which is not in the faceting variable (group1) in ggplot. For example, in the plot ...
0
votes
2
answers
248
views
SwiftUI How do I go about getting the BackgroundColor under text / view so I can invert the foreground color
Been trying to find a solution to dynamically detect the Background Color / the color underneath the View you want to modify, since I may want to have readable text over a Image without resorting to ...
2
votes
1
answer
72
views
Colouring rows breaks after 23 lines
I have the below code which is supposed colour the rows based on the colour of the row above it. However, when I run the code, the result is as expected for around 15 lines and then it stops working ...
1
vote
1
answer
217
views
How do I set foreground and background colors permanently in a script that opens several new PowerShell terminals?
I have a script that opens several PowerShell terminals and runs some commands in each. In order to make it easy for the user to distinguish between the terminals, I'd like to set the background and ...
1
vote
0
answers
38
views
How can I remove a black/gray border from a black & white image without compromising the inside details? Code or workflow would be helpful
How can I remove a black/gray border from a black-and-white image without compromising the inside details? Code or workflow would be helpful.
Expected result: I want to remove the black or gray border ...
1
vote
1
answer
91
views
javafx row selected checkbox background color
I'm developing a JavaFX application in which I have a TableView which contains some text and checkbox.
.table-row-cell:selected {
-fx-background-color: rgb(180, 228, 156);
}
.table-row-cell:...
2
votes
0
answers
151
views
How to change the whole background color of a context menu?
I created a context menu in a class, which is derived from CView. I want the background of the popup to appear yellow. I tried the following:
CMenu menu;
menu.CreatePopupMenu();
InsertMenu(menu, 0, ...
0
votes
2
answers
746
views
React native web app not changing background color even after app.json web change
I'm building my app with react native. I want the same code and UI for all three platforms. Web, Android, and, IOS. This is my app.json file
{
"expo": {
"name": "game-...
0
votes
1
answer
75
views
How to Set Background Color on QTableView Cell
I'm trying to set the background color on a cell in QTableView. Below I'm including the code that I'm using to set the color. When I click in column 5, the color dialog pops up and I can select a ...
0
votes
1
answer
48
views
Compiling three columns off of ten sheet into ten columns on one summary
I am trying to put together a schedule in Excel for a work project. (yes, there are better ways to do this, but I was told use Excel and I want to avoid doing it manually)
We have 10 people, each ...
1
vote
1
answer
74
views
VBA Coloring Bar Charts Based on Cell Color - multiple bars
Can someone help to check why cell color is not applying to all bars? I am including 2 months data in the chart, but color is applying only for one month, not both
I am expecting the cell color to a ...
0
votes
0
answers
40
views
Using a variable within a variable for style property in React [duplicate]
Currently, I'm working on a Pokémon application. Therefore, I want to create a dynamic background colour depending on a variable that changes via useState (The pokémon's type). Depending on the type ...
1
vote
1
answer
148
views
How do I change the background color of mat-mdc-form-field appearance="outline"
For some reason cant find a working example of how to override the background color when form field is outlined, all the examples work for filled
0
votes
1
answer
427
views
How to change alert style in .Net MAUI Android?
I am porting an application from Xamarin to .Net MAUI, In Xamarin I was using a light theme in Android, so the alerts had a white background but in MAUI the alerts have a gray background.
How can I ...
0
votes
1
answer
51
views
Need help adding a transparent background to a group of layer elements
I have a site I'm working on that's designed on a template. The homepage slider content that's in the center of the slide are divided into layers. This is how the template designed it. I need to give ...
0
votes
0
answers
80
views
How to change apps color via ContentView() and @MainView using ZStack inside TabView()?
this is my ContentView()
struct ContentView: View {
@State private var selectedTab: Tab = .view1
var body: some View {
NavigationView{
ZStack{
Color(.green)
...
-1
votes
1
answer
79
views
Why is the font color not visible in this inline CSS formatting? [closed]
I expected to see a white font, but everything is blue. Why does this happen?
<p style="color:rgba(0, 0, 255, 0.0); background-color: rgba(0, 0, 255, 1.0);">
Hello, World!
</p>...
1
vote
2
answers
242
views
Dynamically change colours with CSS so background and text colour aren't clashing
I'm facing the problem that users can change background colours for HTML components which sometimes conflict with text colours they can't change (or more generally, background and text colour are ...
0
votes
1
answer
101
views
How to code a Material-UI TextField component so the background-color does not overflow the border?
I have been attempting to style a Material-UI TextField to have a background-color when a user hovers or the component is focused.
My component code is:
import React from "react";
import ...
2
votes
1
answer
52
views
How do I change the background colour of a class at midnight everyday rather than by a user event
Currently I have a piece of code that changes the background colour of a class every 24 hours. However if a user refreshes the page, the 24 hour cycle starts from the beginning – so they would only ...
0
votes
1
answer
59
views
background-color and borders in combination for nested lists in CSS [closed]
I have a nested list with borders. Now I want to put a background-color to the items/elements of the list the border disappears. Anyone knowing a solution for this?
Here is my CSS:
.menu-level-0 {
...
2
votes
1
answer
86
views
How can I change Card View background color on click and keep the color change persistent?
When I click on Card, the color changes sometimes and sometimes it doesn't. Many a time it happens that the changed color does not retain. I want to create something like Facebook Notifications page ...
0
votes
1
answer
258
views
How to change DataGrid Cell background color in WinUi 3
How to change DataGrid cell background color in WinUi 3 based on binding value?
0
votes
1
answer
416
views
Set a cell background color based on a HEX value from another cell
From this question:
Set the background color to a cell based on a hex value
I'm looking for a formula that I can write down in a cell then in an adjacent cell appears the HEX color I wrote down. And ...
-3
votes
1
answer
582
views
How to assign color to a Table cell in Pine Script [closed]
The table.cell_set_text(table_id, column, row, text) command does not contain the color attribute.
How can I assign color, text_color, text_size and other different attributes to a table cell?
0
votes
1
answer
43
views
Color conditional formating with two parameters in Pine Script
Tried to create bgcolor formating with two parameters, but getting error. Would someone fix the problem.
Further, wish to know How to do color formating when table.cell_set_text() is used.
//Delta ...