TimOetting / kirby-v3-builder

17 stars 2 forks source link

Style homogenization #8

Closed sylvainjule closed 5 years ago

sylvainjule commented 5 years ago

This PR adds a closed | preview | edit class to each builder block, and some custom styling in order to make every state clearer (in my opinion).

It also mimics the structure field edit box and align some other details (padding inside structure edit box, box-shadow) to the panel styling, for consistency with the rest of the panel.

Do what you wish with this :)

(I don't know stylus, so syntax could probably be improved)

(edit: oh, and it also makes the "Add" button a little bit shorter. Didn't necessarily mean to PR it, I forgot I changed this. Can remove it if needed.)

builder-styles