From 3254e90bfa55e3f55850db9bdc33e55ca6e96640 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 25 Mar 2017 10:21:57 +0800 Subject: Add pure CSS Icons --- docs/elements.html | 78 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 58 insertions(+), 20 deletions(-) (limited to 'docs/elements.html') diff --git a/docs/elements.html b/docs/elements.html index d1545b0..ed56767 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -9,7 +9,6 @@ Elements - Spectre.css -
@@ -49,6 +48,9 @@ + @@ -408,14 +410,14 @@
- - - + + +
- - - + + +
@@ -429,15 +431,18 @@ <button class="btn btn-block">block button</button> -<button class="btn btn-action"><i class="icon icon-markunread"></i></button> -<button class="btn btn-action circle"><i class="icon icon-markunread"></i></button> +<button class="btn btn-action"><i class="icon icon-arrow-left"></i></button> +<button class="btn btn-action circle"><i class="icon icon-arrow-left"></i></button>
- - - + + + + + +
@@ -445,9 +450,9 @@
-
<button class="btn btn-primary btn-lg"><i class="icon icon-markunread"></i> large</button>
-<button class="btn btn-primary"><i class="icon icon-markunread"></i> normal</button>
-<button class="btn btn-primary btn-sm"><i class="icon icon-markunread"></i> small</button>
+
<button class="btn btn-primary btn-lg"><i class="icon icon-arrow-left"></i> large</button>
+<button class="btn btn-primary"><i class="icon icon-arrow-left"></i> normal</button>
+<button class="btn btn-primary btn-sm"><i class="icon icon-arrow-left"></i> small</button>
 

Button groups

@@ -1005,6 +1010,40 @@
+
+

Icons

+
+

Icons are pure CSS icons.

+
+
+
+
+ +
+

icon-arrow-up

+
+
+
+ +
+

icon-arrow-right

+
+
+
+ +
+

icon-arrow-down

+
+
+
+ +
+

icon-arrow-left

+
+
+ +
+

Labels

@@ -1034,8 +1073,7 @@

Codes

Codes are inline and multiline code snippets.

-

For inline code, you can use the element <code>.

-

For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. The data-lang attribute is rendered as the language name in the top right.

+

For inline code, you can use the element <code>. For multiline code snippet blocks, you can use <pre> with the code class as a container, and add <code> inside it. The data-lang attribute is rendered as the language name in the top right.

@@ -1055,7 +1093,7 @@

Add the img-responsive class to <img> elements. The images will scale with the parent sizes.

-
+
macOS El Capitan Wallpaper
@@ -1067,7 +1105,7 @@

You can use the element <figure> for an image with a caption. Add the figure class to <figure> element. The images with the img-responsive class will be responsive. And the included class figure-caption will provide basic style for caption. Also, you can use text-left, text-center and text-right for caption alignment.

-
+
macOS Yosemite Wallpaper
macOS Yosemite wallpaper
@@ -1085,7 +1123,7 @@

For responsive video, add a container with the video-responsive class. Insert any YouTube, Youku or other iframe/embed video inside the container. The ratio is 16:9 by default. You may add video-responsive-4-3 for 4:3 ratio video container or video-responsive-1-1 for 1:1 ratio.

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