Skip to content

Changement de couleurs sur acteur "Manual Period" pour le composite planning #807

Answered by Raphwit
Synfactory asked this question in Q&A
Discussion options

You must be logged in to vote

Ok je comprend mieux, alors je vous propose de rajouter cet acteur HTML qui va styliser le background et le :hover des boutons :

SYNAPPS-STUDIO-ACTOR|{"type":"display/html","key":"btn-style","properties":{"content":"<style>\n \n .actor-manual-periods .btn-secondary{\n   background-color: red;\n }\n\n .actor-manual-periods .btn-secondary:hover{\n   background-color: yellow;\n }\n\n .actor-manual-periods .btn-outline-secondary{\n   background-color: blue;\n }\n\n .actor-manual-periods .btn-outline-secondary:hover{\n   background-color: purple !important;\n }\n \n</style>"}}

Il y a 4 états à différencier, le bouton "actif" (btn-secondary), le bouton au passage de la souris (btn-secondary:h…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@Synfactory
Comment options

Comment options

You must be logged in to vote
6 replies
@Synfactory
Comment options

@Raphwit
Comment options

Raphwit Jan 28, 2025
Collaborator

@Synfactory
Comment options

@Raphwit
Comment options

Raphwit Jan 28, 2025
Collaborator

Answer selected by Raphwit
@Synfactory
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants