「テーマ」の版間の差分

提供:MoodleDocs
移動先:案内検索
編集の要約なし
編集の要約なし
6行目: 6行目:


* テーマは、サイトレベル、コースレベルおよびユーザレベルで[[テーマ設定|設定]]設定することができます。
* テーマは、サイトレベル、コースレベルおよびユーザレベルで[[テーマ設定|設定]]設定することができます。
* Each page is individually-addressable via CSS, allowing you to pinpoint exact items.
* 各ページは、CSSを経由して個々にアドレス可能で、アイテムをピンポイントで修飾することができます。
* Our CSS class naming system uses simple English, is consistent and easily understood.
* CSSクラスのネーミング方式は、簡単な英語を使用し、一貫性があり簡単に理解することができます。
* New modules can tell Moodle what styles they need and automatically include these in the stylesheet.
* New modules can tell Moodle what styles they need and automatically include these in the stylesheet.
* Themes can be based on the ''standard'' theme, which is very plain but functional.  You simply override styles you want to change by adding to the stylesheet in your own theme.  This means that if you upgrade Moodle later and new styles are needed, your custom theme will still work without any changes, because the new classes will be defined in the ''standard'' theme.
* Themes can be based on the ''standard'' theme, which is very plain but functional.  You simply override styles you want to change by adding to the stylesheet in your own theme.  This means that if you upgrade Moodle later and new styles are needed, your custom theme will still work without any changes, because the new classes will be defined in the ''standard'' theme.

2006年8月2日 (水) 21:10時点における版

翻訳中です - Mitsuhiro Yoshida 2006年8月2日 (水) 12:05 (WST)

Moodleには、XHTMLおよびCSSを使用して多様な効果を出すことができるパワフルなテーマシステムがあります。

  • テーマは、サイトレベル、コースレベルおよびユーザレベルで設定設定することができます。
  • 各ページは、CSSを経由して個々にアドレス可能で、アイテムをピンポイントで修飾することができます。
  • CSSクラスのネーミング方式は、簡単な英語を使用し、一貫性があり簡単に理解することができます。
  • New modules can tell Moodle what styles they need and automatically include these in the stylesheet.
  • Themes can be based on the standard theme, which is very plain but functional. You simply override styles you want to change by adding to the stylesheet in your own theme. This means that if you upgrade Moodle later and new styles are needed, your custom theme will still work without any changes, because the new classes will be defined in the standard theme.
  • Themes can also be based on any other theme. This allows you to easily create families of themes, or variations on a theme. For example you might create a spectrum of pastel shades for use in different courses, but with the same basic layout and logos. You may also want to create a family of differently-coloured themes for accessibility purposes.

独自のテーマを作成する

If you plan to work on your own theme please create a new one (with its own named subfolder) and use Moodle's feature to base your theme on an existing theme such as standard. If you just modify one of the delivered themes it will be overwritten by the next Moodle update.

Theme system changes across Moodle versions

Moodle 1.5 themes are quite different from previous versions and so a theme upgrade is required. A theme upgrade is also required for the transition from 1.5 to 1.6, since the XHTML structure has been reworked for improved accessibility.