|
1.
|
|
|
Style Properties
|
|
|
|
スタイルのプロパティー
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:8
|
|
2.
|
|
|
The style properties associated with :ref:`styles <styles>` control how Displayables are shown. Style properties can be either given without a prefix, in which case they apply to all states of the displayable, or with a prefix that limits the property to a limited number of states.
|
|
|
|
スタイルプロパティーは、 :ref:`styles <styles>` による displayable の表示方法の制御に関係しています。スタイルプロパティーは、接頭辞を付けずに displayable のすべての状態に対して適用することもできますし、接頭辞を付けてプロパティーを特定の状態だけに限定することもできます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:10
|
|
3.
|
|
|
Style Property Prefixes
|
|
|
|
スタイルプロパティーの接頭辞
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:17
|
|
4.
|
|
|
Applying a prefix to a style property indicates allows a displayable to change it's look in response to its focus or selection status. For example, a button can change its color when the mouse hovers above it, or to indicate when the choice represented by the button is the currently selected one.
|
|
|
|
スタイルプロパティーに接頭辞を使うことで、フォーカスや選択肢の状態に応じた displayable の見た目の変更を示すことができます。例えば、ボタンの上にマウスが置かれた時に色を変更したり、ボタンによって現在選択されているものを表すことができます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:19
|
|
5.
|
|
|
There are five states a displayable can be it.
|
|
|
|
displayable がなりうる状態は5つあります。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:24
|
|
6.
|
|
|
:dfn:`insensitive`
|
|
|
|
:dfn:`insensitive`
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:27
|
|
7.
|
|
|
Used when the user cannot interact with the displayable.
|
|
|
|
ユーザーが displayable を操作できない時に使用されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:27
|
|
8.
|
|
|
:dfn:`idle`
|
|
|
|
:dfn:`idle`
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:30
|
|
9.
|
|
|
Used when the displayable is neither focused nor selected.
|
|
|
|
displayable がフォーカスも選択もされていない時に使用されます。
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:30
|
|
10.
|
|
|
:dfn:`hover`
|
|
|
|
:dfn:`hover`
|
|
Translated and reviewed by
Koichi Akabe
|
|
|
|
Located in
../../source/style_properties.rst:33
|