mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
[UI] add improvement to display entities with boxes
This commit is contained in:
15
Resources/public/sass/custom/mixins/entity.scss
Normal file
15
Resources/public/sass/custom/mixins/entity.scss
Normal file
@@ -0,0 +1,15 @@
|
||||
@mixin entity($background-color, $color: white) {
|
||||
font-variant: small-caps;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 88%;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
color: $color;
|
||||
background-color: $background-color;
|
||||
}
|
||||
|
Reference in New Issue
Block a user