diff options
author | Yan Zhu <picturepan2@hotmail.com> | 2018-11-15 07:17:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 07:17:26 +0300 |
commit | 0f74e8586f1fcd384df9bccd8ffc6099c3c1739d (patch) | |
tree | 169bc39d71e08c206f49b98f6899a070fa485b0a | |
parent | 399678ca36318e62af0c37a1958243fbc34ce7ab (diff) | |
parent | c2c839eb351501031f44158386b37639bdcb42b8 (diff) |
Merge pull request #528 from devmount/master
Add copy icon
-rw-r--r-- | docs/elements/icons.html | 4 | ||||
-rw-r--r-- | src/icons/_icons-action.scss | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/docs/elements/icons.html b/docs/elements/icons.html index b0b7bf3..14a3378 100644 --- a/docs/elements/icons.html +++ b/docs/elements/icons.html @@ -330,6 +330,10 @@ <button class="btn btn-primary btn-action btn-lg"><i class="icon icon-upload"></i></button> <p>icon-upload</p> </div> + <div class="column col-3 col-md-6"> + <button class="btn btn-primary btn-action btn-lg"><i class="icon icon-copy"></i></button> + <p>icon-copy</p> + </div> </div> <h4 class="s-subtitle" id="icons-object">Object icons<a class="anchor" href="#icons-object" aria-hidden="true">#</a></h4> <div class="columns"> diff --git a/src/icons/_icons-action.scss b/src/icons/_icons-action.scss index 807f05e..5bac36e 100644 --- a/src/icons/_icons-action.scss +++ b/src/icons/_icons-action.scss @@ -314,3 +314,27 @@ top: 50%; } } + +// Icon copy +.icon-copy { + &::before { + border: $icon-border-width solid currentColor; + border-radius: $border-radius; + border-right: 0; + border-bottom: 0; + content: ""; + height: .8em; + left: 35%; + top: 30%; + width: .8em; + } + &::after { + border: $icon-border-width solid currentColor; + border-radius: $border-radius; + content: ""; + height: .8em; + left: 65%; + top: 60%; + width: .8em; + } +}
\ No newline at end of file |