From a6bab4e6493e33a9ce03a6f6fb0afc602d096280 Mon Sep 17 00:00:00 2001 From: Dave Cranwell Date: Thu, 15 Jan 2015 15:00:21 +0000 Subject: [PATCH] preliminary styling of streamblock fields --- .../templates/wagtailstyleguide/base.html | 12 ++- wagtail/wagtailadmin/blocks.py | 6 +- wagtail/wagtailadmin/edit_handlers.py | 14 ++++ .../wagtailadmin/scss/components/forms.scss | 54 +++++++------- .../scss/layouts/page-editor.scss | 74 +++++++++++++++++++ .../wagtailadmin/block_forms/field.html | 2 +- .../wagtailadmin/block_forms/list_member.html | 2 +- .../wagtailadmin/block_forms/sequence.html | 24 +++--- .../block_forms/sequence_member.html | 12 ++- .../block_forms/stream_member.html | 2 +- .../edit_handlers/inline_panel_child.html | 6 +- .../includes/editorspicks_form.html | 6 +- 12 files changed, 162 insertions(+), 52 deletions(-) diff --git a/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html b/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html index 53697e82d..358bc71bd 100644 --- a/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html +++ b/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html @@ -230,6 +230,8 @@

Buttons

+

Buttons must have interaction possible (i.e be an input or button element) to get a suitable hover cursor

+ button button-secondary @@ -250,8 +252,6 @@
button on a div
-

Buttons must have interaction possible (i.e be an input or button element) to get a suitable hover cursor

- @@ -261,6 +261,14 @@ + + + A link button + A non-link button + + + A link button + A non-link button