Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / elements
diff options
context:
space:
mode:
Commite1a3e09f6bfee6826408050c193519a8ef7d7f4d (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-12-22 16:44:44 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-12-22 16:44:44 +0800
Files1b92402c6f5a3c6606048c0aaf7678b06e847f1c /docs/src/elements
Spectre-Dark-Gruvbox-e1a3e09f6bfee6826408050c193519a8ef7d7f4d.tar
Spectre-Dark-Gruvbox-e1a3e09f6bfee6826408050c193519a8ef7d7f4d.tar.gz
Spectre-Dark-Gruvbox-e1a3e09f6bfee6826408050c193519a8ef7d7f4d.zip
Parent9c71e809f5f09ff8865f120c9a9cb252fdafabd8 (diff)
Update Docs
2 files changed, 15 insertions, 9 deletions
-rw-r--r--docs/src/elements/forms.pug4
-rw-r--r--docs/src/elements/icons.pug20
diff --git a/docs/src/elements/forms.pug b/docs/src/elements/forms.pug
index 5db1d95..274101b 100644
--- a/docs/src/elements/forms.pug
+++ b/docs/src/elements/forms.pug
@@ -331,8 +331,8 @@ block docs-content
+docs-subheading('forms-icons', 'Form icons')
p
- | Spectre Form components has
- a(href="#icons") Spectre Icons
+ | Spectre Forms components has
+ a(href="icons.html") Spectre Icons
| support.
p
| Add a wrapper with the #[code has-icon-left]/#[code has-icon-right] class to #{'<input>'} element.
diff --git a/docs/src/elements/icons.pug b/docs/src/elements/icons.pug
index 5c53bc1..70aa96e 100644
--- a/docs/src/elements/icons.pug
+++ b/docs/src/elements/icons.pug
@@ -7,19 +7,25 @@ block variables
- var description = 'Icons are single-element, responsive and pure CSS icons. Spectre.css CSS Framework is a lightweight, responsive and modern CSS framework for faster and extensible development.'
block docs-content
- +docs-heading('icons', 'Icons')
+ +docs-heading('icons', 'Icons.css')
p
- small.label.label-primary.mr-2 CSS ONLY
+ small.label.label-secondary CSS ONLY
include ../_layout/_ad-g.pug
+ .docs-demo.columns
+ .column
+ .toast.toast-primary
+ | Spectre.css Icons will be moved to a new
+ a(href="https://github.com/picturepan2/icons.css" target="_blank") GitHub Repo
+ | .
p
- | Icons are single-element, responsive and pure CSS icons.
+ | Icons.css are single-element, responsive and pure CSS icons.
| You can include #[code spectre-icons.css] located in the #[code dist] folder to your web #{'<head>'} to have these CSS icons.
+docs-subheading('icons-navigation', 'Navigation icons')
- .columns
+ .docs-demo.columns
.column.col-3.col-md-6
button.btn.btn-primary.btn-action.btn-lg
i.icon.icon-arrow-up
@@ -75,7 +81,7 @@ block docs-content
+docs-subheading('icons-action', 'Action icons')
- .columns
+ .docs-demo.columns
.column.col-3.col-md-6
button.btn.btn-primary.btn-action.btn-lg
i.icon.icon-resize-horiz
@@ -151,7 +157,7 @@ block docs-content
+docs-subheading('icons-object', 'Object icons')
- .columns
+ .docs-demo.columns
.column.col-3.col-md-6
button.btn.btn-primary.btn-action.btn-lg
i.icon.icon-mail
@@ -196,7 +202,7 @@ block docs-content
| Use #[code icon-2x], #[code icon-3x] and #[code icon-4x] classes to increase icon sizes.
| You can set #[code font-size] to have different icon sizes.
- .columns
+ .docs-demo.columns
.column.col-3.col-md-6
p
i.icon.icon-2x.icon-mail