-
Notifications
You must be signed in to change notification settings - Fork 7
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
Added css styling #24
Conversation
Thanks for the pr, I will review it this weekend/maybe more due to some work and non-availability of pc. Which css libraries/ handwritten code have you used? Also can you change checkbox to toggle switch if possible? And make inputs a little larger. Also are you the one who contacted me on matrix for contribution? I will release next version after doing the styling, search engine or maybe more services and maybe updatable lists |
Yes, I am. I didn't use any css libraries. My last commit changed checkbox to toggle switch.
|
Sorry for delay, The changes looks good 👍, It would be better if you made little margins in onboarding css /responsive for firefox android
Yes almost all html files are identical and js files are a little different ( chrome => browser namespace for apis, promise=firefox vs callbacks=chrome, onboarding for firefox due to them not allowing asking for host_permissions on install time I will work on searx service tomorrow, and merge your commit for the next release, if you want to change/polish something, please do |
Hi, I've added padding on the left and right in onboarding. It should work for all screen sizes. Sorry, I realized that Roboto is not really necessary. Arial looks just as good. It is up to you whether to keep the woff or not! In onboarding, I suggest either changing the button's text or showing a gray line like "permission granted" after the user has clicked. I think these make more sense than indicating the status in the paragraph. |
Cool
True, I was also thinking that, a system font stack should be better, like this or little modified- font:px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif; This will ensure Mac's get their system font, windows, android, Linux too
Agree |
Hi, in my last commit:
For the logo, I personally prefer a minimal design. I think using simple arrows are ok because there aren't many extensions that use this approach. The following designs are based on online SVG files. The original files have CC licenses, and attributions may be needed. Some of them are rotated to resemble a P or ]
https://thenounproject.com/icon/u-turn-482102/ https://www.svgrepo.com/svg/86156/curve-arrow https://thenounproject.com/icon/u-turn-5809407/ SVG file with the four artboards (Adobe AI): |
Hi, the logo is changed. The attribution is added to README. I've fixed the scrollbars in popup. Sorry for that. In onboarding, I specified the red and green colors so that they follow a color palette (roughly based on [flexoki(https://stephango.com/flexoki)). Please check if the js works. When hovered, the button's opacity is decreased. |
In terms of design, I highly recommend leaving some white space between elements. They are all just one line apart. I really think the empty space is essential. The padding on the top of the page can be reduced on mobile though. Will do so. For the scrollbar, are you using Chrome? I guess the thin scrollbar CSS doesn't work as intended. Moreover, I think we can investigate how to set a min-width for the extension popup... |
Yes, I also think whitespace is essential, maybe decrease it in some places. |
Hi, please test if the min-width and scrollbar width work. I've reduced padding on the top of the page if the device has a touch screen. |
Hi, sorry for the back-and-forth. I think min-width can still work, just to be reduced. Would you please test and see if 250px (or ever lower) is good? (I can only get a thin scrollbar in both Linux and Windows, Firefox and Chromium. I am not sure why.) Currently, the scrollbar only appears when scrolled. We can remove |
Hi, the css were intended to make a thinner scrollbar. I may have made a mistake. Would you please test the following with the *?
I'm not sure how Firefox/Chrome interprets margin in right side to input or div. But yes, I think we can try that! By opacity, do you mean that of the gray text? |
After adding right margin it looks okay in all browsers,Tell me if any change is needed ,It is ready to merge now.(Removed scrollbar css as I couldn't see what It was doing) |
Thanks, please do merge it. Sorry for taking so long! I may take a stab at the scrollbar in another PR. HNY |
Merged 🎉, Thanks for contribution, other prs open too |
This PR provide basic styling to the extension. It tries to keep everything clean and minimal.
onboarding.html
.onboarding.html
.