From b73dc91898ab1ab62fe78c78cd25cf3d5bd307c2 Mon Sep 17 00:00:00 2001 From: Dave Cranwell Date: Fri, 27 Jun 2014 09:24:53 +0100 Subject: [PATCH] fixing buttons (incomplete) --- .../templates/wagtailstyleguide/base.html | 24 +++++---- .../wagtailadmin/scss/components/forms.scss | 50 +++++++++++++++---- 2 files changed, 53 insertions(+), 21 deletions(-) diff --git a/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html b/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html index e7bd88606..49b47f0b0 100644 --- a/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html +++ b/wagtail/contrib/wagtailstyleguide/templates/wagtailstyleguide/base.html @@ -149,29 +149,33 @@

Buttons

-
button
+ button -
button-secondary
+ button-secondary -
yes
+ yes -
no / serious
+ no / serious -
bicolor with icon
+ bicolor with icon -
button-small
+ button-small -
bicolo button-small
+ bicolo button-small -
mixed 1
+ mixed 1 -
mixed 2
+ mixed 2 + +
button on a div

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

+ +