Use default cursor for disabled primary buttons

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>
This commit is contained in:
Daniel Calviño Sánchez 2018-12-11 10:25:48 +01:00 committed by Backportbot
parent 2c09c05f13
commit 2a06ca4dae

View file

@ -110,6 +110,7 @@ div[contenteditable=true],
// opacity is already defined to .5 if disabled
background-color: var(--color-primary-element);
color: var(--color-primary-text-dark);
cursor: default;
}
}
}