-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blurry buttons #12294
Comments
cc @nextcloud/designers |
You mean the antialiasing? |
Yes. |
@schiessle and me just tested this with Firefox and even IE11 in a Windows-VM. Same design issue/behaviour. Maybe we should go back to the old buttons - better stable, known and looking good than new, fancy and full of issues 🤔 |
No preferences here :) |
👍 I would say that this is a blocker for the beta 1 - we should not change this after beta 1. |
Awesome! I think this would fix this in a nice way ... What do you think @schiessle 🤔 |
I think removing the white border as @juliushaertl said is the best call. We only need these white borders in 2 cases right now: On the log in screen, and when a button is in the header. In other words, when the background is not the default (white). For that we could add an additional class like |
I'll rather not. We need to keep our design simple, instead of adding too many classes ;) |
Ok, then smth like this (quick note, did not test!): /* Apply border to primary button if on log in page (and not in a dark container) or if in header */
#body-login :not(body-login-container) .button-primary,
#header .button-primary {
border: 1px solid #fff;
} |
And we remove the border from buttons completely otherwise, also from non-primary ones. What do you think? |
Though if the primary color is too luminous, we'll need the border again :( |
Or a very slight, very light box-shadow? |
We could trick the border with an inset shadow yes. Could work :) |
Any new here? |
@jancborchardt What to do here? |
I will work on a pull request to remove the border like mentioned at #12294 (comment) |
But then the download button in the header of the public page does not look like a button anymore (it's blue on blue background). 🤔 |
…ontainer) or if in header, fix #12294 Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
It does, as the rule I wrote specifically only sets the border to white for primary buttons on the log in screen or in the header. Pull request at #12558, please review (and help with the theming question …) |
Don't know it is just me, but the buttons look really blurry on my system (both on the internal monitor of the laptop and on the external), some examples:
Password enforce dialog on public links:

Admin security setting "enforce two factor"

Basically all rounded blue buttons are quite blurry on the edges, the gray buttons look good:
The text was updated successfully, but these errors were encountered: