2008
4月
29
(火)
- Ver 3.71.23 (trust側 main.css を読み込まないスキンに対応)
- 概要
- trust側の main.css を読み込まないスキン
- CVS 更新内容
- 一行コメント
Ver 3.71.23 (trust側 main.css を読み込まないスキンに対応) [4]
[5]
Tag: スキン[6] CSS[7] html側更新[8]
- trust側の main.css を読み込まないスキンに対応できるようにした。
- html側にサンプルスキン "plain" を追加した。
- html側の更新は必須ではないため、あえてメジャーバージョン番号は上げていません。
trust側の main.css を読み込まないスキン [11]
[12]
スキンディレクトリ内に css.conf を置き適切な内容を記述することで、trust側の同名ファイルを読み込まないようにしました。これにより上書き方式を完全入れ替え方式に変更することができます。
css.conf の書式は次の通りです。
[cssファイル名(.cssを除く)]
パラメータ = 値
現状ではパラメータは、完全入れ替え方式にする "replace" のみです。
例えば、main.css を完全入れ替え方式にする場合は、css.conf に次のように記述します。
この新機能を利用して、できる限り装飾のないスキン "plain" をサンプルとして作ってみましたので、html側のCVSリポジトリに追加しておきました。
plain スキンは、ここをクリック[15]すると、どんな感じか確認できます。(defaultに戻す[16])
+
| | 今回の更新分 | - 2008-04-29 20:37 nao-pon[19]
- * xoops_version.php (1.338):
- 2008-04-29 20:36 nao-pon[19]
- * loader.php (1.42):
- The option to replace CSS (It is not overwrite) is added.
css.conf is written in the skin directory on the html side for
that.
Example ( css.conf ):
"main.css of skin directory on the html side doesn't read main.css
on the trust side."
|