Favorites menu favorites-menu

The Favorites menu drop-down list appears in the control bar. It consists of a button and a panel that expands when a user clicks or taps on a button. The panel contains individual Favorites tools.

The position and size of the Favorites menu in the viewer user interface is controlled with the following CSS class selector:

.s7ecatalogsearchviewer .s7favoritesmenu

CSS properties of the Favorites menu button

margin-top
The offset from the top of the control bar.
margin-left
The distance to the next button on the left, or the left side of the control bar if this button is the first in a row.
width
Width of the button.
height
Height of the button.

Example - set up a Favorites menu that is positioned four pixels from the top of the control bar and ten pixels from the closest button to the left and sized 28 x 28 pixels.

.s7ecatalogsearchviewer .s7favoritesmenu {
margin-top: 4px;
margin-left: 10px;
 width:28px;
 height:28px;
}

The appearance of the Favorites menu button is controlled with the following CSS class selector:

.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesbutton

CSS properties of the Favorites button

background-image
The image that is displayed for a given button state.
background-position

Position inside artwork sprite, if CSS sprites are used.

See also CSS Sprites.

NOTE
This button supports the state attribute selector, which can be used to apply different skins to different button states.

The button tool tip can be localized. See Localization of user interface elements for more information.

Example - set up a Favorites menu button that displays a different image for each of the four different button states.

.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesbutton[state='up'] {
background-image:url(images/v2/FavoritesMenu dark_up.png);
}
.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesbutton[state='over'] {
background-image:url(images/v2/FavoritesMenu_dark_over.png);
}
.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesbutton[state='down'] {
background-image:url(images/v2/FavoritesMenu_dark_down.png);
}
.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesbutton[state='disabled'] {
background-image:url(images/v2/FavoritesMenu_dark_disabled.png);
}

The appearance of the panel that contains individual Favorites icons is controlled with the following CSS class selector:

.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesmenupanel

CSS properties of the Favorites menu panel

background-color
The background color of the panel.

Example - set up a panel to have a transparent color.

.s7ecatalogsearchviewer .s7favoritesmenu .s7favoritesmenupanel {
 background-color: transparent;
}
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8