diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-02-02 21:49:09 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-02-02 21:49:09 +0100 |
| commit | c7f34042a2a5574bb6a21b318295466a8078029f (patch) | |
| tree | 065f304902a25c68c8211f4aa3269df7e94d2081 /assets/css | |
| parent | 6c687a3cac231473abe050b51dc076f783e2d685 (diff) | |
| parent | caf9520c865133eb669025f9cd64607546e09a89 (diff) | |
| download | invidious-c7f34042a2a5574bb6a21b318295466a8078029f.tar.gz invidious-c7f34042a2a5574bb6a21b318295466a8078029f.tar.bz2 invidious-c7f34042a2a5574bb6a21b318295466a8078029f.zip | |
Video: Add support for the music description section (#3559)
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/default.css | 42 |
1 files changed, 34 insertions, 8 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 80bf6a20..9788e9f7 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -490,8 +490,9 @@ hr { } /* Description Expansion Styling*/ -#descexpansionbutton { - display: none +#descexpansionbutton, +#music-desc-expansion { + display: none; } #descexpansionbutton ~ div { @@ -509,7 +510,8 @@ hr { margin-top: 20px; } -label[for="descexpansionbutton"]:hover { +label[for="descexpansionbutton"]:hover, +label[for="music-desc-expansion"]:hover { cursor: pointer; } @@ -521,14 +523,38 @@ h4, h5, p, #descriptionWrapper, -#description-box { - unicode-bidi: plaintext; - text-align: start; +#description-box, +#music-description-box { + unicode-bidi: plaintext; + text-align: start; } #descriptionWrapper { - max-width: 600px; - white-space: pre-wrap; + max-width: 600px; + white-space: pre-wrap; +} + +#music-description-box { + display: none; +} + +#music-desc-expansion:checked ~ #music-description-box { + display: block; +} + +#music-desc-expansion ~ label > h3 > .ion-ios-arrow-up, +#music-desc-expansion:checked ~ label > h3 > .ion-ios-arrow-down { + display: none; +} + +#music-desc-expansion:checked ~ label > h3 > .ion-ios-arrow-up, +#music-desc-expansion ~ label > h3 > .ion-ios-arrow-down { + display: inline; +} + +/* Select all the music items except the first one */ +.music-item + .music-item { + border-top: 1px solid #ffffff; } /* Center the "invidious" logo on the search page */ |
