From 55cf3304d19423d1f2d426f924217e6a4693ff06 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 8 Mar 2017 12:31:13 +0800 Subject: Update disabled state for forms --- docs/elements.html | 63 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 5 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index b3a5003..0520c4f 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -4,7 +4,7 @@ - + Elements - Spectre.css @@ -705,6 +705,7 @@ </form> +

Input types

@@ -783,19 +784,21 @@
+ +

Form validation styles

To use form validation styles, add is-success and is-danger to the controls or add has-success and has-danger to parent elements. You can use the class form-input-hint to provide form validation success and error messages.

- - + +

The name is invaild.

- - + +

The email is available.

@@ -841,6 +844,7 @@ </form> +

Form sizes

For smaller or larger input and select controls, you could add input-sm/input-lg and select-sm/select-lg to the elements.

@@ -870,6 +874,7 @@
+

Input groups

@@ -941,6 +946,54 @@ </div> +

Form disabled styles

+
+
+
+
+
+ + +
+
+ + + +
+
+ +
+
+ +
+
+ + +
+
+ +
+
+
+
+
-- cgit v1.3.1-23-gd82d