coderbunker / inventory-server

QR-based CMS for the inventory at coderbunker
https://url.coderbunker.com/search
6 stars 3 forks source link

Styling Tweak #56

Open Spazcool opened 6 years ago

Spazcool commented 6 years ago

Removed forced upper & lower casing, nesting, margin and padding. Increased img size. Added link to img. #48 #39 #19

NEW STYLE: style

OLD STYLE: styleold

lenzai commented 6 years ago

@mattermoran you are the most qualified to review this code. Please follow 2 distinct steps:

mattermoran commented 6 years ago

Good job, @Spazcool . Definitely looks better than before. Here's a little 'sketch' of what I think is not good. Not changing design or anything just tiny fixes that would make the page look better. Especially paddings should the same everywhere. P.S. I personally don't think the grey background looks good. I would just leave it white. wechatimg78

Spazcool commented 6 years ago

Now with more consistent padding! stylenwe

I tried without background colors, it bothered me to my very core.

lenzai commented 6 years ago
  1. padding between similar Items disappeared.
  2. Missing fix on padding below breadcrumbs
  3. double rounding on both the container and the picture is too much.
  4. new grey color is getting heavy and affecting the contrast of the text.
lenzai commented 6 years ago

screen shot 2017-12-21 at 12 43 51 am screen shot 2017-12-21 at 12 43 44 am

  1. huge wrench next to tiny title does not make sens.
  2. similar item, centered when there is only one looks weird, maybe align left?
Spazcool commented 6 years ago

@lenzai @mattermoran I believe I've tackled all the issues you listed above. I'm not sure I like the way the breadcrumbs look with the extra padding, especially on the search page, but I defer to your guys' expertise.

Padding between similar items: simstyle

Wrench & search page: wrenchstyle

lenzai commented 6 years ago

how about something like that for wrench and picture? screen shot 2017-12-22 at 10 30 31 am

Spazcool commented 6 years ago

@lenzai your posted img doesn't look all that different from the old style, minus the margins. Do you want the img to be big or small?

oldimgwrench

lenzai commented 6 years ago

Picture roughly same size as the container box. Text for title on one line

Spazcool commented 6 years ago

It looks cleaner. Side by side your img is nicer, but again its a small img that will be viewed on a mobile. Do we want big imgs or streamlined item cards?

Spazcool commented 6 years ago

My attempts at incorporating Alex's style.

bread search

lenzai commented 6 years ago

I want the image to be roughly the same size as the container.

What you call the "old style" is an image that barely use half the the height of the container. Seems like extremely inefficient use the screen real estate. Once this design/coding issue is solved, we can afford to make the container fit roughly the same height as the text because we have confidence that we won't have 10px height picture as consequence.

I hope Alex can guide you through best practices to achieve that with minimalistic code.

Spazcool commented 6 years ago

Without the background color: whiteitem

whitesearch

lenzai commented 6 years ago

Some kind of background for title area is fine. Main article with white background and low padding looks nice. Video and I frame should also benefit from reduced padding.

lenzai commented 6 years ago

@mattermoran is this what you recommend in term of optimal CSS/class coding? Forget about graphic design for a while and let's focus on code simplicity