Summary Files Commits Branches @commit @diff @stats
path: root / src / icons.less
diff options
context:
space:
mode:
Commit574b6d1fd848be15dfda527a52796e84003844e1 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-08 22:29:23 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-04-08 22:29:23 +0800
Files1a27da4fee8c1bef4e682cfcfa187522ce7e2875 /src/icons.less
Spectre-Dark-Gruvbox-574b6d1fd848be15dfda527a52796e84003844e1.tar
Spectre-Dark-Gruvbox-574b6d1fd848be15dfda527a52796e84003844e1.tar.gz
Spectre-Dark-Gruvbox-574b6d1fd848be15dfda527a52796e84003844e1.zip
Parent2dccd2d77a0daa36a51a0bc687b185cf3ddfcd58 (diff)
Cleanup code and add input readonly style
1 files changed, 43 insertions, 0 deletions
-rw-r--r--src/icons.less43
diff --git a/src/icons.less b/src/icons.less
index edcc159..ce13756 100644
--- a/src/icons.less
+++ b/src/icons.less
@@ -554,6 +554,49 @@
}
}
+// Icon location
+.icon-location {
+ &::before {
+ border: @icon-border-width solid currentColor;
+ border-radius: 50% 50% 50% 0;
+ content: "";
+ height: .8em;
+ transform: translate(-50%, -60%) rotate(-45deg);
+ width: .8em;
+ }
+ &::after {
+ border: @icon-border-width solid currentColor;
+ border-radius: 50%;
+ content: "";
+ height: .2em;
+ transform: translate(-50%, -80%);
+ width: .2em;
+ }
+}
+
+// Icon emoji
+.icon-emoji {
+ border: @icon-border-width solid currentColor;
+ border-radius: 50%;
+ &::before {
+ border-radius: 50%;
+ box-shadow: -.17em -.15em, .17em -.15em;
+ content: "";
+ height: .1em;
+ width: .1em;
+ }
+ &::after {
+ border: @icon-border-width solid currentColor;
+ border-bottom-color: transparent;
+ border-radius: 50%;
+ border-right-color: transparent;
+ content: "";
+ height: .5em;
+ transform: translate(-50%, -40%) rotate(-135deg);
+ width: .5em;
+ }
+}
+
// Component icon support
.btn,
.toast,