-
Notifications
You must be signed in to change notification settings - Fork 684
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
feat(UI): Improve split button styling #10027
base: master
Are you sure you want to change the base?
feat(UI): Improve split button styling #10027
Conversation
cea76c8
to
bfb47c3
Compare
Signed-off-by: Maks Wolkowinski <[email protected]> Change-Id: I4f0474e02411ada5547c8c2f23dda22cb4433557
bfb47c3
to
11a8e52
Compare
.jsdialog.unotoolbutton.selected:hover { | ||
background-color: var(--color-background-darker) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We move the responsability of the background-color
to the children since a button could have 2 parts
} | ||
|
||
.unoarrow::after, | ||
.jsdialog .ui-content.unobutton::after { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I extended a little bit the click zone so that the border of the button could be clickable
@@ -37,6 +37,7 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Delete Objects', function( | |||
}); | |||
|
|||
it('Delete Chart' , function() { | |||
cy.cGet('#toolbar-up > .ui-scroll-right').click(); | |||
cy.cGet('#toolbar-up > .ui-scroll-right').click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The menu is a bit wider now, so we need to click twice for the icon to appear.
I see no problem with the JS code thanks! @pedropintosilva will you find a minute to review the new look of split button? |
Change-Id: I4f0474e02411ada5547c8c2f23dda22cb4433557
Summary
This is my proposal for UI splitting the buttons in 2 parts.
I hope I didn't take too much liberty with the design ^^
Checklist
make prettier-write
and formatted the code.make check
make run
and manually verified that everything looks okay