Skip to content

Fix controls background - #10054

Merged
MorrisJobke merged 1 commit into
masterfrom
controls-bg
Jun 29, 2018
Merged

MorrisJobke merged 1 commit into
masterfrom
controls-bg

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Fix #9993

@nextcloud/designers

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added design Design, UI, UX, etc. 3. to review Waiting for reviews regression labels Jun 29, 2018
@skjnldsv skjnldsv added this to the Nextcloud 14 milestone Jun 29, 2018
@skjnldsv skjnldsv self-assigned this Jun 29, 2018

@MorrisJobke MorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this the background is now completely intransparent. It was slightly transparent before.

@skjnldsv

Copy link
Copy Markdown
Member Author

With this the background is now completely intransparent. It was slightly transparent before.

You mean opaque? :D
Yes, to be fair I'm not sure anyone saw the difference with a .5 opacity.
Opacity is incompatible with rgba sass calculation :)

@MorrisJobke

Copy link
Copy Markdown
Member

You mean opaque? :D

Yes. I'm also fine with an rgba background, because the buttons should stay like they are.

@MorrisJobke

Copy link
Copy Markdown
Member

After some discussion about possibilities the current approach is fine. Maybe we can check later how to make the background slightly opaque. CSS variables do not support separate opacity for now.

@MorrisJobke
MorrisJobke merged commit 501ee33 into master Jun 29, 2018
@MorrisJobke
MorrisJobke deleted the controls-bg branch June 29, 2018 13:24
@jancborchardt

Copy link
Copy Markdown
Member

Hm, that's unfortunate as we basically had rgba(255, 255, 255, .9) before and it was nice to slightly see the file list scroll below the bar as it felt less cramped. Really no way to do thos again?

@skjnldsv

skjnldsv commented Jul 3, 2018

Copy link
Copy Markdown
Member Author

Not with css variables though.
It was set to 0.95 I actually never noticed the transparency before looking at this issue :)

@juliusknorr

Copy link
Copy Markdown
Member

@skjnldsv Couldn't we use something like this:

variables.scss
$color-main-background-translucent: rgba($color-main-backgorund, 0.95);

css-variables.scss
--color-main-background-translucent: $color-main-background-translucent;

The only downside would then be, that the accessibility app could not set the opacity there.

@skjnldsv

skjnldsv commented Jul 3, 2018 •

Copy link
Copy Markdown
Member Author

Yes we could, but we need to be careful not to use 100000 variables ^^

The only downside would then be, that the accessibility app could not set the opacity there.

Yes, we can do that :)

@juliusknorr

juliusknorr commented Jul 3, 2018 •

Copy link
Copy Markdown
Member

Actually I don't think it is worth here, since I also kind of never recognized the opacity there. 😉

@jancborchardt

Copy link
Copy Markdown
Member

@juliushaertl @skjnldsv well, it was intended there. ;) Just like there’s slight transparency in the headers on https://apple.com and https://medium.com :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc. regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants