Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Customisation :: Ring Menu & Button Edit  (Read 935 times)
Paul F.
Posts: 1


« on: March 17, 2025, 11:29:09 am »

I am trying to customise the button edit and ring menu components, both appear in a dark blue see attached image.
I've tried style sheets without any joy and cant seem to find how to change it in widget customisation either.
(I do still want to keep the primary palette blue.)
Any advise would be much appreciated...


* themeissues.jpg (6.84 KB, 364x221 - viewed 79 times.)
Reuben B.
Four Js
Posts: 1132


« Reply #1 on: March 19, 2025, 12:54:33 am »

Without knowing what you have tried it is a little hard to comment.

These will be reusing Button widget, so my first instinct is to use the Theme Variable for Button  https://4js.com/online_documentation/fjs-gbc-manual-html/#gbc-topics/r_gbc_theme_vars_ButtonWidget-colors.html

If you did not want all buttons, but only ButtonEdit or only RingMenubuttons, then in .scss, my instincts would be that your selectors would be using the ancestor rules i.e where gbcButtonEditWidget is parent of gbcButtonWidget or similar.

You also have to remember to take into account if button is active vs inactive

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Olivier I.
Four Js
Posts: 4


« Reply #2 on: March 19, 2025, 09:31:47 am »

Always start on the highest level.
If you want to change all buttons background color, touch mt-button-primary-background-color.
If you want to change only buttonedit or ringmenu button, I fear we miss this granularity in theme variables. Please contact your support center to register a new request. In the mean time, you will have to use scss.
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines