aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/spotifyControls/hoverOnly.css
blob: 8051cc42cfd473819dce2dd64cbce3acd00d6aa4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.vc-spotify-button-row {
    height: 0;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    transition-property: height;
}

#vc-spotify-player:hover .vc-spotify-button-row {
    opacity: 1;
    height: 32px;
    pointer-events: auto;

    /* only transition opacity on show to prevent clipping */
    transition-property: height, opacity;
}