From 823344c19094680e80e2b56449a243e183db8b06 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 14 Dec 2020 23:21:39 -0800 Subject: :star: --- semantic/src/definitions/elements/flag.less | 52 +++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 semantic/src/definitions/elements/flag.less (limited to 'semantic/src/definitions/elements/flag.less') diff --git a/semantic/src/definitions/elements/flag.less b/semantic/src/definitions/elements/flag.less new file mode 100644 index 0000000..b691d18 --- /dev/null +++ b/semantic/src/definitions/elements/flag.less @@ -0,0 +1,52 @@ +/*! + * # Fomantic-UI - Flag + * http://github.com/fomantic/Fomantic-UI/ + * + * + * Released under the MIT license + * http://opensource.org/licenses/MIT + * + */ + + +/******************************* + Theme +*******************************/ + +@type : 'element'; +@element : 'flag'; + +@import (multiple) '../../theme.config'; + + +/******************************* + Flag +*******************************/ + +i.flag:not(.icon) { + display: inline-block; + + width: @width; + height: @height; + + line-height: @height; + vertical-align: @verticalAlign; + margin: 0 @margin 0 0; + + text-decoration: inherit; + + speak: none; + -webkit-font-smoothing: antialiased; + backface-visibility: hidden; +} + +/* Sprite */ +i.flag:not(.icon):before { + display: inline-block; + content: ''; + background: url(@spritePath) no-repeat -108px -1976px; + width: @width; + height: @height; +} + +.loadUIOverrides(); -- cgit v1.2.3