Link preview templates - Fluid Topics - Latest

Fluid Topics Designer Guide

Category
Reference Guides
Audience
public
Version
Latest

Use Link preview templates to style the modal that appears when users select a cross-document link in the Content component of the Reader page.

To show these templates, activate Preview cross-documents links in the Content component of the Reader page, and select a Link preview template.

A modal dialog box titled "Cross-document link". The dialog contains a block of Lorem Ipsum placeholder text in black. In the bottom-right corner, a "GO TO DOCUMENT →" link with an arrow icon provides navigation to the referenced document. An "X" close button is positioned in the top-right corner of the modal.

Cross-document links have the ft-internal-xlink HTML class. To differentiate them from other types of links, add the following code snippet to the portal's Content styles:

.ft-internal-xlink:after {
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    speak: none;
    line-height: 1;
    text-shadow: 1px 1px 1px rgba(0,0,0,.004);
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "ft-icons";
    content: "\f06e";
    display: inline-block;
    margin-left: .2em;
}

The example above uses the EYE icon, or f06e, which is a Fluid Topics icon.