Social share social-share

The social share tool appears in the upper-right corner by default. It consists of a button and a panel that expands when the user clicks or taps on a button and contains individual sharing tools.

The position and size of the social share tool in the viewer user interface is controlled with the following:

.s7video360viewer .s7socialshare

CSS properties of the social share tool

top
Vertical position of the social sharing tool relative to the viewer container.
left
Horizontal position of the social sharing tool relative to the viewer container.
width
The width of the social sharing tool.
height
The height of the social sharing tool.

Example - To set up a social sharing tool that is positioned four pixels from the top and five pixels from the right of viewer container and is sized 28 x 28 pixels.

.s7interactivevideoviewer .s7socialshare {
 top:4px;
 right:5px;
 width:28px;
 height:28px;
}

The appearance of the social share tool button is controlled with the following CSS class selector:

.s7video360viewer .s7socialshare .s7socialbutton

CSS properties of the social share tool 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 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.

Example - To set up a social sharing tool button that displays a different image for each of the four different button states.

.s7video360viewer .s7socialshare .s7socialbutton[state='up'] {
background-image:url(images/v2/SocialShare_video_dark_up.png);
}
.s7video360viewer .s7socialshare .s7socialbutton[state='over'] {
background-image:url(images/v2/SocialShare_dark_over.png);
}
.s7video360viewer .s7socialshare .s7socialbutton[state='down'] {
background-image:url(images/v2/SocialShare_dark_down.png);
}
.s7video360viewer .s7socialshare .s7socialbutton[state='disabled'] {
background-image:url(images/v2/SocialShare_dark_disabled.png);
}

The appearance of the panel which contains the individual social sharing icons is controlled with the following CSS class selector:

.s7video360viewer .s7socialshare .s7socialsharepanel

CSS properties of the social share panel

background-color
The background color of the panel.

Example - To set up a panel to have transparent color:

.s7video360viewer .s7socialshare .s7socialsharepanel {
 background-color: transparent;
}
recommendation-more-help
b7426f53-aad9-4c00-83fc-664f30f681e8