@import "zmienne";

.generate-type-labels {
    font-size: 14px;

    .generate-type-label {
        margin-bottom: 5px;

        .generate-type {
            font-size: 12px;
        }
    }
}

.generate-type {
    display: inline-block;
    padding: 4px 8px;

    // Ręcznie
    &.type-1 {
        background-color: #43ac6a;
        color: #fff;
    }

    // Dynamiczne
    &.type-2 {
        background-color: #a0d3e8;
        color: #333;
    }

    // Domyślne
    &.type-3 {
        background-color: #ff5500;
        color: #fff;
    }

    // Puste
    &.type-4 {
        background-color: #e7e7e7;
        color: #333;
    }
}

.generate-length {
    &.gen-length-1 {
        color: #a0d3e8;
    }

    &.gen-length-2 {
        color: #ff5500;
    }

    &.gen-length-3 {
        color: #43ac6a;
    }
}

.seo-tabs {
    .tabs {
        border: {
            bottom: 1px solid #ddd;
            left: 0;
            right: 0;
            top: 0;
        }

        .tabs-title {
            > a {
                border: {
                    left: 1px solid #fff;
                    right: 1px solid #fff;
                    top: 2px solid #fff;
                }
                color: #bbb;
                font: {
                    family: "Montserrat Light", sans-serif;
                    size: 12px;
                    weight: bold;
                }
                margin-bottom: -1px;

                &:hover {
                    color: #888;
                }

                &:focus,
                &[aria-selected=true] {
                    border: {
                        left: 1px solid #ddd;
                        right: 1px solid #ddd;
                        top: 2px solid #1976d2;
                        bottom: 1px solid #fff;
                    }
                    background: none;
                    color: #555;
                    outline: 0;
                }
            }
        }
    }

    .tabs-content {
        border: none;

        .tabs-panel {
            padding: {
                left: 0;
                right: 0;
            }
        }
    }
}

.seo-og-image {
    max-height: 100px;
    max-width: 180px;
}

.table-seo {
    width: auto;

    thead th,
    tbody td {
        padding: 4px 10px;
        max-width: 600px;

        &.edit-hover {
            padding: {
                right: 25px;
            }
            position: relative;

            &:hover {
                .edit-button {
                    display: block;
                }
            }

            .edit-button {
                display: none;
                font-size: 16px;
                height: 25px;
                line-height: 25px;
                position: absolute;
                right: 0;
                text-align: center;
                top: 0;
                width: 25px;
            }
        }

        &.length-attr {
            padding: {
                left: 25px;
            }
            position: relative;

            .length-attr-inner {
                height: 25px;
                left: 0;
                line-height: 25px;
                position: absolute;
                text-align: left;
                top: 0;
                width: 25px;
            }
        }
    }
}

.og-link-small {
    font-size: 9px;
}
