@import "~src/scss/variables";
@import "./styleguide-wrap-colors";
@import "./styleguide-wrap-introduction";

html {
    color: $gray-800;
}

.Styleguide {
    .btn-toolbar {
        >.btn {
            margin-right: .5em;
        }

        margin-bottom: .5em;

        &:last-child {
            margin-bottom: 0;
            margin-right: 0;
        }
    }

    .ButtonsRow {
        margin-bottom: 10px;
    }

    .LeftNav {
        position: static;
        height: 500px;
    }
}

$sidebarwidth: 250px;

// Main Content Section
a[class*="rsg--link"] {

    &:link,
    &:visited {
        color: $blue;
    }
}

[class*="rsg--hasSidebar"] {
    padding-left: $sidebarwidth;
}

//Side Bar
div[class*="rsg--sidebar"] {
    background: $midnight-7;
    border: none;
    width: $sidebarwidth;
    line-height: 1;
    li {
        overflow: visible;
    }

    a[class*="rsg--link"] {

        &:link,
        &:visited {
            color: white;
            opacity: 0.75;
        }

        &:hover {
            opacity: 1;
        }

    }

    li[class*="rsg--isSelected"] {
        font-weight: normal;
    }

    [class*="rsg--logo"] {
        color: white;
        border: none;

        &:hover {
            color: white !important;
        }
    }

    div[class*="rsg--search"] {
        padding-top: 0;
    }

    h1,
    h1 a {
        font-size: 24px !important;
    }

    p[class*="rsg--version"] {
        color: white;
        opacity: 0.5;
    }

}

//Heading Styling
h1,
h1 a {
    font-size: 32px !important;

    &:hover {
        text-decoration: none !important;
        color: $gray-900 !important;
    }
}

h2,
h2 a {
    font-size: 24px !important;
    font-weight: 500 !important;

    &:hover {
        text-decoration: none !important;
        color: $gray-900 !important;
    }
}

h3,
h3 a {
    color: $gray-700 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

h4,
h4 a {
    font-size: 16px !important;
}

//Spacing Syling
div[class*="rsg--wrapper"] {
    margin-bottom: 0;
}

div[class*="rsg--pathline"] {
    color: $gray-500;
}

header[class*="rsg--header"] {
    margin-bottom: 10px;
    margin-top: 50px;
}

div[class*="rsg--tabs"] {
    margin-bottom: 0;
}

p[class*="rsg--para"] {
    margin-bottom: 10px;
}

button[class*="rsg--button"],
a[class*="rsg--button"] {
    font-size: 12px;
    font-weight: bold;
    color: $gray-500;
    letter-spacing: .75px;
    transition: none !important;

    &:hover,
    &:active,
    &:focus {
        color: $gray-600;
    }
}

a[class*="rsg--button"] {
    color: $gray-400;

    &:hover,
    &:active,
    &:focus {
        color: $gray-600;
    }
}

button[class*="rsg--isActive"] {
    border-bottom: 2px solid $gray-600;
    color: $gray-600;
}

div[class*="rsg--root"] {
    margin-bottom: 0;
}

div[class*="rsg--docs"] {
    font-size: inherit;
    color: inherit;
}

code[class*="rsg--code"] {
    background: $gray-100;
    border: 1px solid $gray-300;
    color: $pink;
    padding: 1px 4px;
    border-radius: 2px;
}
