Calendar Text Colour
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
We added Less feature for Volt, Olympos, Rio, Modena, Adamantium, Atlas, Titan; (Less Detail: http://lesscss.org/ ) You can easily change font-size, all colors (background-color, color, border-color etc.), transition of components ...
If you want to change cell color, background-color, font size etc. of calendar in Volt, you can change this value theme-variables.less;
To change style of components -> theme-variables.less
To change style of Layout-> layout-variables.less
Exp;
If you want to change cell color, background-color, font size etc. of calendar in Volt, you can change this value theme-variables.less;
Code: Select all
/* Other components*/
...
@calendar-day-cell-link-color-hover: #FFFFFF;
@calendar-day-cell-link-color:rgba(41,80,107,0.8);
...
To change style of Layout-> layout-variables.less
Exp;
Code: Select all
@calendar-day-cell-link-color: red;
Github Profile: https://github.com/mertsincan
Thanks aragorn
I tried the same but it does not work. Here is the changes that i did
I edited the volt-theme-2.0.jar file and changed the entry
@calendar-day-cell-link-color:rgba(210, 243, 127, 0.9);
I also have the theme-variables.less in /resources/less/variables
@calendar-day-cell-link-color:rgba(210, 243, 127, 0.9);
I did a clean and build, redeployed my project,
In My web.xml
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>volt</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-volt.taglib.xml</param-value>
</context-param>
primefaces-volt.taglib.xml has the default values
Do i have to change anything.
I tried the same but it does not work. Here is the changes that i did
I edited the volt-theme-2.0.jar file and changed the entry
@calendar-day-cell-link-color:rgba(210, 243, 127, 0.9);
I also have the theme-variables.less in /resources/less/variables
@calendar-day-cell-link-color:rgba(210, 243, 127, 0.9);
I did a clean and build, redeployed my project,
In My web.xml
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>volt</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/primefaces-volt.taglib.xml</param-value>
</context-param>
primefaces-volt.taglib.xml has the default values
Do i have to change anything.
V.P.
Primeface 5.3
Primeface 5.3
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Do you have Volt Layout + Volt Theme ? I think you have only Volt Theme. Right?
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear! Thanks for the update;)
Customization Theme and Layout with Less;
https://www.dropbox.com/s/gnfiq39hfx37r ... s.avi?dl=0
Customization Theme and Layout with Less;
https://www.dropbox.com/s/gnfiq39hfx37r ... s.avi?dl=0
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests