TeamDesk Knowledge Base & Support

   Home      FAQ      Forum      Idea Exchange      Ask a Question      My Stuff      Help   
  
Custom Styles specific to Buttons
It would be great to be able to add custom styles to specific "action" or "print" buttons at the Setup/Edit level.

Is somewhat possible with CSS but in some cases, where the [title="something"] isn't available, it's impossible to drill down to the exact/correct button.
Also, if buttons are used at both Preview and Table level, they appear different and the css styles it according to the view.


ID
1203
Category
Customization
Author

basenine
Date Created
6/6/2018 12:03:56 AM
Date Updated
12/17/2018 8:20:36 AM
Status
Implemented
Score
30
Promoted By
Patricio BustosDale Oliverbasenine
Comments
Kirill Bondar  Staff  12/14/2018 10:27:05 AM
Buttons now feature ui-action-<action-name> CSS class (ui-action-view, ui-action-edit, ui-action-print etc.

If button appears on a table it has a smaller size controlled with "small" class.

Add composite selector .ui-action-view.small to apply styles to table buttons only.

basenine 12/16/2018 10:52:56 PM
Thank you Kirill,

It'd be great if there was a simple css editor within the button setup that allowed for adding in css
Also to have live preview with changes...

😀

Kirill Bondar  Staff  12/17/2018 8:20:36 AM
@basenine -- we do not want to support styling "officially" -- once we add support for, say, Border Radius, we'll have to live with rounded buttons forever . Dbstyles.css approach however allows you to do it on your own risk and frees our hands -- will we change the design radically, we'll simply drop dbstyles.css and add dbstyles-v2.css 😀
Feedback
 
Back to Search Results