I tested it, but I couldn't replicate. Less folders create theme.css after build project. (If you don't have less compiler in your project, Installation -> http://lesscss.org/)
Please try with our sample project. I attached screenshot of folders.
(links; http://i65.tinypic.com/24wvyqa.png)
After change;
(links; http://i67.tinypic.com/30j32g1.png)
Globally changing default size
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Github Profile: https://github.com/mertsincan
Shouldn't font-size be using em units instead of px? If using em units, then there would be only one place that needs to be overridden to change the font-size and that is the body. Using em units is also recommended by W3C.
This also allows for an opportunity to change the font-size dynamically based on user preference. This currently cannot be done.
Thoughts?
This also allows for an opportunity to change the font-size dynamically based on user preference. This currently cannot be done.
Thoughts?
Justin Wesley
PF 5.3
JSF 2.0
JBoss EAP 6.3
PF 5.3
JSF 2.0
JBoss EAP 6.3
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks for the suggestion. I will talk about your suggestion with our designer and get back to you.
Github Profile: https://github.com/mertsincan
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
px vs em is an ongoing debate each having different pros and cons, we've chosen px but it is possible to change font-size globally to some point using .ui-widget style class as all components have it.
Here is an article about this;
https://benfrain.com/just-use-pixels/
Here is an article about this;
https://benfrain.com/just-use-pixels/
as i know, you shouldn't font-size be using em units instead of px.
This also allows for an opportunity to change the font-size dynamically based on user preference.
This also allows for an opportunity to change the font-size dynamically based on user preference.
[url-http://www.splaygame.net/shooting-games-free-online/]shooting games free online[/url] , car racing games free download
sports games free online
sports games free online
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests