-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dark mode, flat UI, alignment fixes #4121
Conversation
Thanks for opening this pull request! |
Pedro, excellent work on these changes. I know how hard it is to work with Bisq CSS and you did a great job. I just tested your PR and it looks great, but I think removing the lines from text input fields might not be a good idea because now I can't easily tell which text field is focused for text input, and also there are many lines still remaining in other text input fields in other places in the app. Was your intention to only remove them for pull-down combo boxes? |
Also, here are the CSS errors from the log
|
#4019 is a css issue, if you have time to look into it. |
@wiz Thanks for the comments and review. I'll resolve the issues on the error log! Should be easy. Regarding the fields. Let me see if I can create an alternative that maybe adds a border around the whole field when focused and when invalid. I think it's a more elegant design. Will address it ASAP. @jmacxx I'll try to resolve this one too! thanks for the heads up!! |
There's something strange overriding the definition of the color on darkmode. Need a little longer to fix this. |
See also #3957 (comment) when you get the chance. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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.
Is there a reason for that blank lines?
@@ -65,8 +65,8 @@ | |||
} | |||
|
|||
.headline-label { | |||
-fx-font-weight: bold; | |||
-fx-font-size: 1.692em; | |||
/*-fx-font-weight: bold;*/ |
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.
Just delete if if not needed anymore
@@ -154,7 +155,7 @@ | |||
-fx-pref-height: 32; | |||
-fx-min-height: -fx-pref-height; | |||
-fx-padding: 0 40 0 40; | |||
-fx-effect: dropshadow(gaussian, -bs-text-color-transparent, 2, 0, 0, 0, 1); | |||
/*-fx-effect: dropshadow(gaussian, -bs-text-color-transparent, 2, 0, 0, 0, 1);*/ |
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.
Same here - just delete it if not required anymore
.jfx-combo-box { | ||
-jfx-focus-color: -bs-color-primary; | ||
-jfx-unfocus-color: -bs-color-gray-line; | ||
-fx-background-color: -bs-background-color; | ||
/*-jfx-disable-animation: true;*/ |
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.
Do you want to disable animations only for the combobox?
|
||
|
||
|
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.
Are those empy lines by intent?
|
||
|
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.
Are those empy lines by intent?
-fx-padding: 0.333333em 0.333333em 0.333333em 0.333333em; | ||
/*-jfx-disable-animation: true;*/ |
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.
Didn't it work doing it like that?
|
||
|
||
|
||
|
||
|
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.
Are those empy lines by intent?
|
||
|
||
|
||
|
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.
Are those empy lines by intent?
@@ -347,10 +420,15 @@ tree-table-view:focused { | |||
-fx-font-size: 1em; | |||
} | |||
|
|||
|
|||
.field-label { | |||
/*-fx-text-fill: red;*/ |
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 guess that was still for testing, based on our last call?
@@ -430,6 +508,9 @@ tree-table-view:focused { | |||
.jfx-toggle-button:focused:selected { | |||
-jfx-toggle-color: -bs-color-primary-dark; | |||
-jfx-size: 8; | |||
-jfx-disable-visual-focus: true; | |||
/*-jfx-disable-animation: true;*/ |
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.
Didn't it work as expected?
Maybe lets have a chat where I can point you in the right direction for the last few issues and I'm happy to try out this new style adaption. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
hey @pedromvpg wanna talk about this |
Hm... looks like this was an accidental addition; correct, @pedromvpg? |
I screwed up this pull request. Most likely will have to start over and break it down into smaller scopes. |
I got you bro. See PR #4334 |
* Increase overall darkness * Clean up tables and increase background contrasts * Add background color to disabled buttons * Remove large padding on read only fields to fix Create Offer scroll * Darken color of dark theme grey speech bubble * Remove negative padding from toggle switches * Add background to password field * Closes bisq-network#4121 Author: pedromvpg <[email protected]> Co-Authored-By: wiz <[email protected]>
UI improvements and consistency pass: