[geeklog-devel] Non table layout (was Geeklog 1.9.0 or Geeklog 2.0.0?)
Yoshinori Tahara
taharaxp at gmail.com
Mon Apr 16 08:27:08 EDT 2012
> Rouslan wrote:
> This is done in newpro theme as well, although in a different way [0].
> The stylesheets are still kept in separate files (easier to work with
> for developers), but they are assembled on the server side and then
> cached on the client side. This also allows a really easy way to
> implement RTL display by using placeholders. See the implementation for
> RTL here [1] and sample usage here [2].
For this matter, I have a different opinion with you.
Your solution is not common.
I think that you cope with complicated techniques to complex situations.
Indeed, separate the stylesheets properly, readability is increasing.
However, the number of stylesheets of professional_css is too many.
If you bring them all into one, the problem is easier.
For display of RTL, there is an easier way.
If you select a stylesheet depending on the value of a variable $
LANG_DIRECTION in a theme's function.php, the matter is resolved.
$cssfile = ($LANG_DIRECTION == 'rtl') ? '/style_rtl.css' : '/style.css';
$_SCRIPTS->setCSSFile('theme', '/layout/' . $_CONF['theme'] . $cssfile);
--
Yoshinori Tahara - dengen
2012年4月16日4:27 Rouslan Placella <rouslan at placella.com>:
> On 15/04/12 20:11, Yoshinori Tahara wrote:
>> Hi, Tom
>>
>> Thanks for your looking into my work.
>> I want to add a little explanation.
>>
>> I have dropped the table layout from the configuration. Changes to
>> config.class.php is relatively large.
>> I have dropped the table layout from the templates of the default plugins.
>> I have modified style.css of the Professional theme in order to adapt
>> to the classes for the CSS layout.
>> I have modified the fckeditor for Responsive Web design.
>>
>> The Denim theme has been created based on the professional_css theme.
>> I have improved some of the professional_css theme.
>> To reduce the number of HTTP requests, merged into single style sheet.
>
> This is done in newpro theme as well, although in a different way [0].
> The stylesheets are still kept in separate files (easier to work with
> for developers), but they are assembled on the server side and then
> cached on the client side. This also allows a really easy way to
> implement RTL display by using placeholders. See the implementation for
> RTL here [1] and sample usage here [2].
>
> Bye,
> Rouslan
>
> [0]:
> http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/f4c599db456f
> [1]:
> http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/26812a66e857
> [2]:
> http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/810c7e4b9dec
>
>> I've optimized the CSS. Take a look at the next page.
>>
>> Writing efficient CSS
>> https://developer.mozilla.org/en/Writing_Efficient_CSS
>>
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
More information about the geeklog-devel
mailing list