From 2a1fd99723712dfd4a7963b1128377c0c4af09c0 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 27 Sep 2017 18:24:54 +0800 Subject: Update Icons example --- docs/components.html | 6 +++--- docs/css/docs.css | 29 +++++++++++++++++------------ docs/elements.html | 8 ++++---- docs/src/docs.scss | 30 ++++++++++++++++++------------ 4 files changed, 42 insertions(+), 31 deletions(-) (limited to 'docs') diff --git a/docs/components.html b/docs/components.html index f322baf..4b6a3e9 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1127,7 +1127,7 @@
- +

You have no new messages

Click the button to start a conversation

@@ -1139,7 +1139,7 @@
- +

You've successfully signed up

Click the button to invite your friends

@@ -1154,7 +1154,7 @@
- +

You are not following anyone

Start to meet new friends

diff --git a/docs/css/docs.css b/docs/css/docs.css index ee00b12..53425ff 100644 --- a/docs/css/docs.css +++ b/docs/css/docs.css @@ -191,18 +191,6 @@ opacity: .75; } -.s-content .panel { - height: 75vh; -} - -.s-content .panel .tile { - margin: .75rem 0; -} - -.s-content .parallax { - margin: 2rem auto; -} - .s-content .code { color: #667189; } @@ -231,6 +219,18 @@ user-select: none; } +.s-content .panel { + height: 75vh; +} + +.s-content .panel .tile { + margin: .75rem 0; +} + +.s-content .parallax { + margin: 2rem auto; +} + .s-content .form-autocomplete .menu { position: static; } @@ -317,6 +317,11 @@ color: #727e96; } +.btn .feather { + height: 1rem; + vertical-align: middle; +} + /* Spectre Homepage style */ .section-hero { padding: 1rem .5rem; diff --git a/docs/elements.html b/docs/elements.html index 21a4509..1707c36 100644 --- a/docs/elements.html +++ b/docs/elements.html @@ -1732,20 +1732,20 @@

Icon sizes

-

You can use icon-2x, icon-3x and icon-4x classes to increase icon sizes.

+

Use icon-2x, icon-3x and icon-4x classes to increase icon sizes. You can set font-size to have different icon sizes.

-

icon-2x

+

icon-2x (32px)

-

icon-3x

+

icon-3x (48px)

-

icon-4x

+

icon-4x (64px)

diff --git a/docs/src/docs.scss b/docs/src/docs.scss index a49d71e..c8e7f87 100644 --- a/docs/src/docs.scss +++ b/docs/src/docs.scss @@ -195,18 +195,6 @@ } } - .panel { - height: 75vh; - - .tile { - margin: .75rem 0; - } - } - - .parallax { - margin: 2rem auto; - } - .code { color: lighten($body-font-color, 10%); @@ -231,6 +219,17 @@ } } + .panel { + height: 75vh; + + .tile { + margin: .75rem 0; + } + } + + .parallax { + margin: 2rem auto; + } .form-autocomplete .menu { position: static; @@ -313,6 +312,13 @@ } } +.btn { + .feather { + height: 1rem; + vertical-align: middle; + } +} + /* Spectre Homepage style */ .section-hero { padding: 1rem .5rem; -- cgit v1.3.1-23-gd82d