お気に入りエフェクト favorites-effect
ビューアには、ユーザーが最初に追加した場所に、メインビュー上にお気に入りアイコンが表示されます。
お気に入りアイコンの外観は、次のCSS クラスセレクターで制御されます。
.s7ecatalogsearchviewer .s7favoriteseffect .s7icon
お気に入りアイコンのCSS プロパティ
例 – 36 x 36 ピクセルのお気に入りアイコンを設定します。
.s7ecatalogsearchviewer .s7favoriteseffect .s7icon {
height: 36px;
width: 36px;
background-image: url(images/v2/FavoriteEffect_dark_up.png);
}
デスクトップシステムでは、コンポーネントは.s7favoriteseffect クラスに適用できるcursortype属性セレクターをサポートし、選択したユーザーアクションに基づいてカーソルの種類を制御します。 次のcursortype値がサポートされています:
例 – コンポーネントの状態のタイプごとに異なるマウスカーソルを使用します。
.s7ecatalogsearchviewer .s7favoriteseffect[cursortype="mode_add"] {
cursor: crosshair;
}
.s7ecatalogsearchviewer .s7favoriteseffect[cursortype="mode_remove"] {
cursor: not-allowed;
}
.s7ecatalogsearchviewer .s7favoriteseffect[cursortype="mode_view"] {
cursor: auto;
}
recommendation-more-help
dynamic-media-developer-resources-help-aem-viewers-ref