Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented Dec 11, 2018

Disabled buttons use the default cursor, but as the cursor property for primary buttons is set after the cursor property for disabled buttons the latter is always overridden, even if the primary button is also
disabled. Due to this it is necessary to explicitly set the default cursor for disabled primary buttons.

@nextcloud/designers

Before:
button-disabled-cursor-before

After:
button-disabled-cursor-after

I would backport this at least to stable15.

Disabled buttons use the default cursor, but as the cursor property for
primary buttons is set after the cursor property for disabled buttons
the latter is always overridden, even if the primary button is also
disabled. Due to this it is necessary to explicitly set the default
cursor for disabled primary buttons.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu added bug design Design, UI, UX, etc. 3. to review Waiting for reviews labels Dec 11, 2018
@danxuliu danxuliu added this to the Nextcloud 16 milestone Dec 11, 2018
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Good detail fix! :)

Not sure it needs a backport, but it seems very low-risk. So your call.

@danxuliu
Copy link
Member Author

Not sure it needs a backport, but it seems very low-risk. So your call.

In general I would not backport something like that, but in this specific case I would make an exception given that Nextcloud 15 was just released, it is related to one of the new features in Nextcloud 15 (the Talk sidebar) and it is very low-risk. So... I will summon backport-bot ;-)

@danxuliu
Copy link
Member Author

/backport to stable15

@jancborchardt jancborchardt merged commit 4830fb7 into master Dec 11, 2018
@jancborchardt jancborchardt deleted the use-default-cursor-for-disabled-primary-buttons branch December 11, 2018 13:48
@backportbot-nextcloud
Copy link

backport to stable15 in #13007

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 bug design Design, UI, UX, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants