From 574b6d1fd848be15dfda527a52796e84003844e1 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 8 Apr 2017 22:29:23 +0800 Subject: Cleanup code and add input readonly style --- src/icons.less | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'src/icons.less') 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, -- cgit v1.3.1-26-gb76a