@import 'setup';

#quickSearchNotes {
    @include transition(opacity linear 0.4s);
    opacity: 0;
}

a#whatsnew:hover {
    cursor: default;

    &+ div#quickSearchNotes {
        opacity: 1;
    }

}

.results-facets {

    li {
        display: inline-block;
        margin-right: 6px;

        .active {
            background: $bluejay;
            color: $white;
            padding: 4px 6px 4px 4px;

            &:hover {
                text-decoration: none;
            }

            em {
                font-size: 14px;
                vertical-align: top;
            }

        }

    }

}

.releases-by-search {
    align-items: stretch;
    -webkit-align-items: stretch;
    display: -webkit-box;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-flow: wrap;
    -webkit-flex-flow: wrap;
}

.releaseResult {
    margin-bottom: 36px;
    max-width: 300px;

    li:not(.release-name) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
    }

    .releaseImageLink {
        display: block;
        width: 80%;
    }

    .release-name {
        background-position: 0 -7px;
        background-repeat: no-repeat;
        display: block;
        font-size: $font-size-base;
        margin-bottom: 4px;
        padding-left: 15px;
    }

    .release-track-player-img {
        height: 16px;
        margin-bottom: 0px;
    }

    em {
        background-color: $bluejay;
        color: $white;
        font-style: normal;
        padding: 0 3px;
    }

    img {
        height: auto;
        margin-bottom: 12px;
    }

}

.results-facets,
.releaseResult {

    ul {
        list-style: none;
        margin-top: 0;
        padding: 0;
    }

    li {
        line-height: 18px;
    }

}

@media (min-width: $screen-sm-min) {

    .results-facets {

        .content-box {
            margin-bottom: 12px;
            padding: 10px 0;
        }

        span {
            display: block;
            margin-bottom: 6px;
        }

        li {
            display: block;
            margin-right: 0;
        }

    }

}

.msg-alert {
    background: $parrot-light;
    padding: 4px 6px;
}

.msg-qs-app {
    font-size: 12px;

    li {
        line-height: 18px;
    }

}

.release-meta {
    max-width: 90%;
}

@media (max-width: $screen-xs-max) {
    .releases-by-search.row {
        margin-left: 0;
        margin-right: 0;
    }
}

table.label-search-results.data td {
    vertical-align: middle;
}

.sub-label-name a {
    margin-left: 13px;
    position: relative;

    &:before {
        transform: rotateY(180deg);
        color: $gorilla;
        content: "\21b5";
        left: -14px;
        position: absolute;
    }

}

ul.content-box {
    list-style: outside none;
    padding-left: 0;
}
