File "style.scss"

Full Path: /home/warrior1/public_html/wp-content/plugins/astra-sites/inc/lib/onboarding/assets/src/components/font-selector/style.scss
File size: 2.12 KB
MIME-type: text/plain
Charset: utf-8

.ist-font {
    border-radius: var(--st-border-radius-4);
    margin-bottom: 0;
    cursor: pointer;
    background: var(--st-background-primary);
    border: 1px solid var(--st-border-color);
    transition: all 200ms ease-in-out;
}

.ist-font:hover,
.ist-font:focus {
    border: 1px solid var(--st-color-accent);
    outline: none;

    svg {
        path {
            fill: var(--st-color-heading);
        }
    }
}

.ist-font.active {
    border: 1px solid var(--st-color-accent);
}

.ist-sep {
    border: 1px solid var(--st-border-color);
}

.ist-font-selector {
    margin: 0;
    padding: 0;
}

.ist-default-fonts,
.ist-other-fonts {
    .ist-font {
        padding: 12px;
        line-height: 1;
        text-align: left;
    }
    .font-separator {
        margin: 0 5px;
    }
}

.ist-other-fonts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    font-size: var(--st-font-size-m);

    .ist-font {
        text-align: left;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: baseline;
        color: var( --st-color-heading );
    }

    svg {
        vertical-align: middle;
        fill: var(--st-color-heading);
        margin: 13px;
        width: auto;
    }

    .active svg {
        path {
            border: 1px solid var(--st-color-accent)
        }
    }
    .stc-tooltip:nth-child(odd) .stc-tooltip-content {
        left: 0;
    }
    .stc-tooltip:nth-child(even) .stc-tooltip-content{
        right: 0;
    }
    .stc-tooltip-content {
        top: 3.5rem;
    }
}

.customize-site-typography {
    .ist-default-fonts-heading {
        margin: 0px 0px 17px 0;
    }
}

.ist-default-fonts {
    margin-top: 25px;
    margin-bottom: 15px;

    .heading-font-preview {
        font-size: var(--st-font-size-m);
        color: var( --st-color-heading );
    }
    .body-font-preview {
        color: var( --st-color-body );
        font-size: var( --st-font-size-m );
    }
}
.ist-other-fonts {
    .heading-font-preview {
        font-size: var(--st-font-size-xl);
    }
    .body-font-preview {
        font-size: var( --st-font-size-xl );
    }
}