FreeTubeApp / FreeTube

An Open Source YouTube app for privacy
https://freetubeapp.io/
GNU Affero General Public License v3.0
13.37k stars 825 forks source link

[Feature Request]: Restyle floatingRefreshSection #5893

Open pkrasicki opened 3 days ago

pkrasicki commented 3 days ago

Guidelines

Problem Description

The floating refresh section in FreeTube 0.23 (modified in #4380) obscures some of the content while scrolling.

image

Proposed Solution

Remove most of the background and reposition the text, so that it obscures less content.

refresh-section-light

refresh-section.webm

Alternatives Considered

None.

Issue Labels

visual improvement

Additional Information

CSS code (needs testing on mobile):

.floatingRefreshSection
{
    background-color: transparent;
    box-shadow: none;
    border-inline-start: none;

    .lastRefreshTimestamp
    {
        background-color: var(--card-bg-color);
        position: relative;
        top: -12px;
    }
}
pkrasicki commented 3 days ago

I forgot that unlike my design FreeTube has different background color for the card and for the page background, so this change won't look as good as on my screenshots. But maybe it's still worth trying?

Edit: Here is what it would actually look like in FreeTube. I think it looks good: refresh-section-ft

refresh-section-ft2