@import "variables";
@import "base";

.componentsNavList {
    display: flex;
    flex-direction: column;

    .darkBlueLink;

    a {
        padding: 0 20px;
    }

    .components-header {
        font-size: 12px;
        color: #777;
        padding: 0 20px;
    }

    .experimental {
        color: @experimental-color;
    }

    .newFeature {
        color: @new-feature-color;
    }
}

.index-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;

    .components {
        margin-right: 10px;
        flex-grow: 1;
    }

    .ease-to-use {
        margin-right: 10px;
        flex-grow: 1;
        width: 300px;
    }

    .why-butterfaces {
        margin-right: 10px;
        flex-grow: 1;
        width: 300px;
    }
}

.socialNetwork {
    margin-top: 15px;
}

.socialNetwork .googleplus,
.socialNetwork .twitter,
.socialNetwork .github {
    float: left;
    margin-right: 20px;
}

.maven-example,
.maven-example pre {
    font-size: 80%;
    margin-left: 18px;
    margin-bottom: 0;
    margin-top: 10px;
}

.maven-example {
    small {
        font-size: 12px;
    }

    .prettyprint {
        margin: 0;
    }
}

.transparent-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    .btn {
        margin: 4px;

        &.btn-success {
            &.transparent {
                color: rgba(255, 255, 255, 0.8);
                background-color: rgba(92, 184, 92, 0.5);
                border-color: rgba(255, 255, 255, 0.3);

                &:hover {
                    color: rgba(255, 255, 255, 1);
                    background-color: rgba(92, 184, 92, 1);
                    border-color: rgba(255, 255, 255, 1);
                }
            }
        }

        &.btn-primary {
            &.transparent {
                color: rgba(255, 255, 255, 0.8);
                background-color: rgba(51, 122, 183, 0.5);
                border-color: rgba(255, 255, 255, 0.3);

                &:hover {
                    color: rgba(255, 255, 255, 1);
                    background-color: rgba(51, 122, 183, 1);
                    border-color: rgba(255, 255, 255, 1);
                }
            }
        }
    }
}