wagtail / wagtail

A Django content management system focused on flexibility and user experience
https://wagtail.org
BSD 3-Clause "New" or "Revised" License
18.21k stars 3.85k forks source link

General styling improvements #11065

Open benenright opened 1 year ago

benenright commented 1 year ago

Here I am collating various stying updates/issues. Hopefully one day a kind soul can whizz through these.


Image


Image


Image

See design:

Image


Image

...So that it appears more like this to the right of the '+' :

Vertically align trigger button with search field within the flyout menu

Image


Image

Image Image

image


Image


Image

...it is still present in the unpinned toolbar actually: Image So I suggest we mimick the same style in the white pinned version - use a sublter border and a light grey background


Build: Image

Design: Image

Issue with space to the side of the 'pin' button on the unpinned toolbar: Image


Build: Image

Design update: Image


Image

meli-imelda commented 1 year ago

@benenright @thibaudcolas I will start working on a PR to solve this.

Increase space between primary label and child field label

By how much should I increase it ?

Increase top/bottom padding a bit in block-chooser buttons

By how much should I increase ?

Thanks

benenright commented 1 year ago

Hi, thats great!

Increase space between primary label and child field label By how much should I increase it ?

I suggest 1.5 rem - see screenshot. I suspect this is the incorrect element to add the extra bottom-margin too though, as it will cause the margin elsewhere to become too big.

Image

For example, here the same element is used as a streamfield title, with the '+' below it, so we wouldn't need to increase it;'s bottom margin here:

Image

And the same here:

Image

And here: (we dont want to push help text away from it)

Image

So perhaps in the instance I have flagged we need to find a custom way to increase the space:

Image

benenright commented 1 year ago

And this one:

Increase top/bottom padding a bit in block-chooser buttons By how much should I increase ?

I would increase to 0.5rem padding (top, right, bottom and left):

Image

meli-imelda commented 1 year ago

And this one:

Increase top/bottom padding a bit in block-chooser buttons By how much should I increase ?

I would increase to 0.5rem padding (top, right, bottom and left):

Image

Thanks @benenright , very helpful

meli-imelda commented 1 year ago

Hello @benenright Please check out my pull request if it solves the initial set of issues created?

Planning on preparing another PR to address the next issues once that has been merged since I don't think it would be great to have all in one PR

lb- commented 11 months ago

Partial progress on this has been merged via #11097

  1. Listing background/border changes
  2. Combobox (block chooser) padding
  3. Accounts settings panels padding
benenright commented 2 months ago

I see we fixed the space here between the section title and first field title on the account page (as mentioned above):

image

But we still have this problem elsewhere eg in the promote tab (under 'For search engines' and 'For site menus') and poss elsewhere? :

image

@helenb could you investigate this?