From b376244d17bd81a215ef412d0d5903808f0fefa5 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sun, 9 Apr 2017 20:33:28 +0800 Subject: Add warning toast style --- docs/components.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 7d7aca1..bff66af 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1734,21 +1734,27 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+
+ + Lorem ipsum dolor sit amet, consectetur adipiscing elit. +
+

Add a container element with the toast class. You can add any text within the container, and even icons. You may also add a close button with the btn-clear class if you need.

-
+
- Toast primary + Toast success
-
+
- Toast success + Toast warning
@@ -1759,18 +1765,16 @@
-

And you can add the toast-primary, toast-success or toast-error class for additional toast colors.

+

And you can add the toast-primary, toast-success, toast-warning or toast-error class for additional toast colors.

<div class="toast">
-  <button class="btn btn-clear float-right"></button>
   Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 </div>
 
 <div class="toast toast-primary">
   <button class="btn btn-clear float-right"></button>
-  <i class="icon icon-error_outline"></i>
   Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 </div>
 
-- cgit v1.3.1-23-gd82d