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
parent 866c42a164
commit 7dad6d8f5b
1 changed files with 1 additions and 0 deletions

View File

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