#258 apply assets to lists of suggestion, adapt item-title case

This commit is contained in:
2021-11-25 16:21:33 +01:00
parent 33c7a495c7
commit d274ba3823
7 changed files with 101 additions and 79 deletions

View File

@@ -1,8 +1,19 @@
///
/// A specific list of badges used to manage suggestions
/// A specific list of badges used to manage suggestions (with add/remove link)
/// use bootstrap badge styles, cfr. src/Bundle/ChillMainBundle/Resources/public/module/bootstrap/_custom.scss
///
@mixin remove_link {
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;
}
}
ul.list-suggest {
list-style-type: none;
padding-left: 0;
@@ -20,15 +31,16 @@ ul.list-suggest {
&.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;
}
@include remove_link;
}
}
}
}
/// manage remove link if it isn't a list but a title
/// (cfr. in Vue AccompanyingCourseWorkEdit)
div.item-title {
a {
@include remove_link;
}
}