@import "compass";
@import "_variable";
@import "components/_button";

$live-primary-color: #f08706;

.M--products {
    .product {
        .product__edit-overlay {
            z-index: 3;
            background: rgba(0,0,0,.6);
        }
        .product__edit {
            z-index: 4;
            .button--edit {
                background: $live-primary-color;
                border-color: $live-primary-color;
            }
        }
    }
}

.M--articles,
.M--side-articles {
    .article {
        .post__edit-overlay {
            z-index: 3;
            background: rgba(0,0,0,.6);
        }
        .post__edit {
            z-index: 4;
            .button--edit {
                background: $live-primary-color;
                border-color: $live-primary-color;
            }
        }
    }
}

.M--events,
.M--side-events {
    .event {
        .post__edit-overlay {
            z-index: 3;
            background: rgba(0,0,0,.6);
        }
        .post__edit {
            z-index: 4;
            .button--edit {
                background: $live-primary-color;
                border-color: $live-primary-color;
            }
        }
    }
}

.M--testimonials {
    .testimonial {
        .post__edit-overlay {
            z-index: 3;
            background: rgba(0,0,0,.6);
        }
        .post__edit {
            z-index: 4;
            .button--edit {
                background: $live-primary-color;
                border-color: $live-primary-color;
            }
        }
    }
}

.M--clients {
    .button--edit {
        display: block;
        position: relative;
        z-index: 3;
        margin-left: 16px;
        padding: 3px 0;
        font-size: 1.45rem;
        line-height: 1.55;
        &:hover {
            text-decoration: underline;
        }
    }
}

.M--faq {
    .button--edit {
        display: block;
        position: relative;
        z-index: 3;
        margin-left: 16px;
        padding: 3px 0;
        font-size: 1.45rem;
        line-height: 1.55;
        &:hover {
            text-decoration: underline;
        }
    }
}