georgie
Member
Hi
In Calendar viz we have a "Status element", which allow for example to set different colors with CSS class. It is great, for example I can do:
But to change my element CSS in Calendar, I would not use adding layer in the Calendar admin, I would prefer display different colors in my Calendar using an id field in the "Status element" ; in order to display colors according creation of new records.
Indeed I would never have more than 100 records max in this table, which will be added by front-users, so I can create 100 CSS classes with a variation of colors. This is DIY, but I will look after how to do better.
For the moment I notice that I can note use an id field in CSS class (from this "Status element" so). This for example, does not work:
Please, is it about CSS or about Fabrik? Can it be improved? I would understand if this is not possible.
Or maybe there is a better way upstream?
And also, I do not find where duplicate the correct file/repertory to override a Calendar template (in "Options", "Bootstrap" by default). I have do many tests with files I saw, without success.
For the moment I do Calendar CSS changes in Protostar CSS.
Can you help me?
Thank you
In Calendar viz we have a "Status element", which allow for example to set different colors with CSS class. It is great, for example I can do:
Code:
#visualization_1_com_fabrik_1 .Pending{
background-color: red!important ;
}
But to change my element CSS in Calendar, I would not use adding layer in the Calendar admin, I would prefer display different colors in my Calendar using an id field in the "Status element" ; in order to display colors according creation of new records.
Indeed I would never have more than 100 records max in this table, which will be added by front-users, so I can create 100 CSS classes with a variation of colors. This is DIY, but I will look after how to do better.
For the moment I notice that I can note use an id field in CSS class (from this "Status element" so). This for example, does not work:
Code:
#visualization_1_com_fabrik_1 .1{
background-color: red!important ;
}
Please, is it about CSS or about Fabrik? Can it be improved? I would understand if this is not possible.
Or maybe there is a better way upstream?
And also, I do not find where duplicate the correct file/repertory to override a Calendar template (in "Options", "Bootstrap" by default). I have do many tests with files I saw, without success.
For the moment I do Calendar CSS changes in Protostar CSS.
Can you help me?
Thank you