mirror of
https://github.com/tabler/tabler.git
synced 2026-07-29 14:34:37 +04:00
Flag component
This commit is contained in:
+11
-3
@@ -19,13 +19,14 @@
|
||||
.flag {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 1.3333em;
|
||||
height: 1em;
|
||||
line-height: 1em;
|
||||
width: 2em;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50%;
|
||||
background-size: contain;
|
||||
border-radius: 2px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.flag::before {
|
||||
@@ -39,3 +40,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
@each $avatar-size, $size in $avatar-sizes {
|
||||
.flag-size-#{$avatar-size} {
|
||||
width: $size;
|
||||
height: $size;
|
||||
line-height: $size;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user