Jump to content

Help with the revision of the CSS file


artem_niko

Recommended Posts

Good afternoon!

I have such a request to everyone.
I'm trying to finish one topic for myself. I have done in it practically what suits me, in terms of colors, except for some moments.

In the attachment is my CSS theme file.
At the moment, I can't add to it, and, accordingly, manage the settings of some elements. It's not that I don't know how to change the color, etc.
It's just that, in principle, I can't find a theme in the CSS file that I bought from @GerhardV, but that doesn't respond to my messages.

Here's what I can't do:
1. Change the background color of the MessageDlg message:

image.png.c0cb1e7f60ed61854e795245dea556de.png
2. Change the background color in UniDBGrid (general background, line color, selected cell color):

image.png.0b9f0f7f8727515a8b6c200ad37d4e1c.png

3. Change color of scrollbar in UniDBGrid:

image.png.954224eacaf385c712d79a0c706d2ecd.png

These are 3 main points. I just can't find the right settings in the file.

Please help me with the revision of the file. The file is in the attachment.

uni-xtheme-uni_charcoal-sky-x30.css

Link to comment
Share on other sites

1 hour ago, Sherzod said:

Better with him then...

I asked him a question. He doesn't respond to my messages anymore for some reason.

 

1 hour ago, Sherzod said:

Google it.

But, the rest changes in UniDBGrid...

What about the other two questions? There's probably something you can do there.

Link to comment
Share on other sites

1 minute ago, Sherzod said:

Did you search on the forum? This has been discussed many times.

Of course I was looking.
Before creating a topic, I search the forum. But, more often, or there are not those topics or topics in which there seems to be the same question, but topics without answers.

Link to comment
Share on other sites

On 12/11/2022 at 4:20 PM, Sherzod said:

You can't change that, I guess.

@Sherzod, I found a solution on the Internet, it seems to me. Works in any browser and changes the appearance of the scrollbar.
I've done a little bit of code, in terms of colors, for myself:

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_custom_scrollbar2

image.png.51d272bebf3f85f41dce00ac9717ddca.png
Please tell me how to apply it in the project?
Where and how to place it so that it works?

Link to comment
Share on other sites

2 hours ago, Sherzod said:

Hello, 

Try including only CSS rules in CustomCSS.

This:

/* width */
::-webkit-scrollbar {
  width: 20px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}

in UniServerModule.CustomCSS?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...