Jump to content

TRadioGroup CSS color/style


Alexandre Storti

Recommended Posts

 

Searching the forum I found some examples to use in RadioGroup, what I couldn't do is change the color of the radiobutton when it is selected (see image).

customcss:

.meuRadioGroup {
  background: rgb(36, 44, 55);
  border: none;
  padding: 10px;
}
 
.meuRadioGroup input[type="radio"]:checked + label::before {
  background-color: coral;
}
 

function beforeInit(sender, config)
{
   config.fieldDefaults = {
        style: 'padding: 5px; height: 50px;'
    }
}

image.png.0be46cb09dc3ff3016a5947aac61935a.png

Link to comment
Share on other sites

48 minutes ago, Alexandre Storti said:

TUniRadioGroup

21 hours ago, Alexandre Storti said:

TUniRadioGroup

On 4/15/2024 at 11:00 PM, Alexandre Storti said:

TUniRadioGroup

I understood you already, but could not find a solution at the moment.

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...