mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-10 00:34:58 +00:00
#258 add scss asset to manage suggestions lists (add/remove)
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
// Chill buttons
|
||||
@import './scss/buttons';
|
||||
|
||||
// Chill badges
|
||||
@import './scss/badge';
|
||||
|
||||
// Chill forms
|
||||
@import './scss/forms';
|
||||
|
||||
|
@@ -0,0 +1,34 @@
|
||||
|
||||
///
|
||||
/// A specific list of badges used to manage suggestions
|
||||
/// use bootstrap badge styles, cfr. src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/_custom.scss
|
||||
///
|
||||
ul.list-suggest {
|
||||
list-style-type: none;
|
||||
padding-left: 0;
|
||||
&.add-items {
|
||||
li {
|
||||
cursor: pointer;
|
||||
& > span:before {
|
||||
font: normal normal normal 14px/1 ForkAwesome;
|
||||
margin-right: 0.5em;
|
||||
content: "\f067"; // fa-plus
|
||||
color: var(--bs-success);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.remove-items {
|
||||
li {
|
||||
a {
|
||||
cursor: pointer;
|
||||
&:before {
|
||||
font: normal normal normal 14px/1 ForkAwesome;
|
||||
margin-left: 0.5em;
|
||||
content: "\f00d"; // fa-times
|
||||
color: var(--bs-danger);
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user