mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-09 08:14:59 +00:00
#258 apply assets to lists of suggestion, adapt item-title case
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user