mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
adding twig helper for routing and more
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
@import 'custom/address';
|
||||
@import 'custom/record_actions';
|
||||
@import 'custom/flash_messages';
|
||||
@import 'custom/box';
|
||||
|
||||
|
||||
html,body {
|
||||
|
24
Resources/public/sass/custom/_box.scss
Normal file
24
Resources/public/sass/custom/_box.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
.chill__box {
|
||||
font-variant: small-caps;
|
||||
display: inline;
|
||||
padding: .2em .6em .3em;
|
||||
font-size: 0.88rem;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: baseline;
|
||||
border-radius: .25em;
|
||||
color: white;
|
||||
|
||||
&.green {
|
||||
background-color: var(--chill-green);
|
||||
color: white;
|
||||
}
|
||||
|
||||
&.red {
|
||||
background-color: var(--chill-red);
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user