-1

トリニダード スキニング セレクターのドキュメントを見ると、末尾が で終わるセレクター:aliasとそうでないセレクターがあることに気付きました。例えば:

.AFLabelDisabled:alias  Aliased style class that is included in the label selector for all the form components when they are disabled. It is a quick way to style disabled form components' labels the same, instead of for each component: .AFLabelDisabled:alias instead of e.g., "af|inputText:disabled af|inputText::label".
.AFErrorIconStyle   Style class that styles the .AFErrorIcon:alias icons.

の有無にかかわらず、このセレクターもあります:alias

.AFRequiredIconStyle    Style class that styles the .AFRequiredIcon icon.
.AFRequiredIconStyle:alias  Alias style class that styles the required icon for form components. It is included in the ::required-icon-style pseudo-element for the form components (e.g. af|inputText::required-icon-style)

alias skinning に関する devguideを読みましたが、役に立ちませんでした。

正確には何の:aliasためですか?

4

1 に答える 1

0

ドキュメントから直接

font-family をすべて Arial に変更したい場合は、すべての Tahoma を Arial に置き換える必要があります。まあ、スキニングではこれを行う必要はありません。:alias 機能を使用できます。:alias で終わるスキンセレクターは、生成された CSS-2 スタイルシートに書き出されません。代わりに、他のスキン セレクターに含まれており、CSS プロパティを数十または数百の場所ではなく、1 か所で変更できるという点で便利です。

于 2013-10-21T15:00:25.453 に答える