Skip to content
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

Redesing - inspired by Lt-Mayonesa's material design #286

Merged
merged 8 commits into from
Sep 5, 2019

Conversation

loro2
Copy link
Contributor

@loro2 loro2 commented Jul 29, 2019

Here is a simple redesign (#252) with support for switching between the new and original styles (in options, via css switching). The design work was basically done by Lt-Mayonesa in #254, but I implemented it in a more simplistic fashion, touching the html and javascript code as little as possible. The layout resembles the original, with the color scheme and some design cues taken from Lt-Mayonesa's work. I didn't use the mui framework, only vanilla css.

I think the whole #254 redesign can be implemented in this manner by building further upon this PR in the future.

@@ -230,23 +231,24 @@ SQL.Row.prototype.load = function() { /* put data to expanded form */
SQL.Row.prototype.redraw = function() {
var color = this.getColor();
this.dom.container.style.backgroundColor = color;
this.dom.container.style.borderColor = color;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only functional change in this file. Sorry about the styling changes, I missed reverting them in this file.

@loro2
Copy link
Contributor Author

loro2 commented Aug 13, 2019

Hello, I'd like to ping this PR. I understand this project is not high priority now, so this is just a friendly reminder of this PR if it got forgotten about unwillingly. The change to legacy code is quite trivial and there is a single new .css file. Thanks.

@ondras
Copy link
Owner

ondras commented Aug 26, 2019

Hi,

ping received. I just returned from a 3-week vacation.

Please give me some time to review the code. I am totally willing to merge this, so checking the code is basically only a formality.

@ondras
Copy link
Owner

ondras commented Sep 5, 2019

@loro2 , thanks a lot for your contribution!

@ondras ondras merged commit c70860e into ondras:master Sep 5, 2019
@loro2 loro2 deleted the redesing branch October 10, 2019 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants