mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-27 20:46:14 +00:00
Add css layout for badges for accompanying period work, activity and calendar
This commit is contained in:
parent
5858e05a42
commit
d58acff541
6
.changes/unreleased/DX-20250410-153426.yaml
Normal file
6
.changes/unreleased/DX-20250410-153426.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
kind: DX
|
||||
body: Add new chill-col style for displaying title and aside in a flex table
|
||||
time: 2025-04-10T15:34:26.052138894+02:00
|
||||
custom:
|
||||
Issue: ""
|
||||
SchemaChange: No schema change
|
@ -120,3 +120,34 @@ li.document-list-item {
|
||||
vertical-align: baseline;
|
||||
}
|
||||
}
|
||||
|
||||
.badge-activity-type-simple {
|
||||
@extend .badge;
|
||||
display: inline-block;
|
||||
margin: 0.2rem 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0.5rem;
|
||||
|
||||
border-left: 20px groove #9acd32;
|
||||
border-radius: $badge-border-radius;
|
||||
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
font-size: unset;
|
||||
max-width: 100%;
|
||||
background-color: $gray-100;
|
||||
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-indent: 5px hanging;
|
||||
text-align: left;
|
||||
|
||||
&::before {
|
||||
margin-right: 3px;
|
||||
position: relative;
|
||||
left: -0.5px;
|
||||
font-family: ForkAwesome;
|
||||
content: '\f04b';
|
||||
color: #9acd32;
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
@import '~ChillPersonAssets/chill/scss/mixins.scss';
|
||||
@import '~ChillMainAssets/module/bootstrap/shared';
|
||||
@import '~ChillPersonAssets/chill/scss/mixins.scss';
|
||||
@import 'bootstrap/scss/_badge.scss';
|
||||
|
||||
.badge-calendar {
|
||||
display: inline-block;
|
||||
@ -23,3 +24,35 @@
|
||||
}
|
||||
}
|
||||
|
||||
.badge-calendar-simple {
|
||||
@extend .badge;
|
||||
display: inline-block;
|
||||
margin: 0.2rem 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0.5rem;
|
||||
|
||||
border-left: 20px groove $chill-l-gray;
|
||||
border-radius: $badge-border-radius;
|
||||
|
||||
max-width: 100%;
|
||||
background-color: $gray-100;
|
||||
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
font-weight: normal;
|
||||
font-size: unset;
|
||||
text-overflow: ellipsis;
|
||||
text-indent: 5px hanging;
|
||||
text-align: left;
|
||||
|
||||
&::before {
|
||||
margin-right: 3px;
|
||||
position: relative;
|
||||
left: -0.5px;
|
||||
font-family: ForkAwesome;
|
||||
content: '\f04b';
|
||||
color: $chill-l-gray;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ div.calendar-list {
|
||||
}
|
||||
|
||||
& > a.calendar-list__global {
|
||||
display: inline-block;;
|
||||
display: inline-block;
|
||||
padding: 0.2rem;
|
||||
min-width: 2rem;
|
||||
border: 1px solid var(--bs-chill-blue);
|
||||
|
@ -392,4 +392,12 @@ Toutes les classes btn-* de bootstrap sont fonctionnelles
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<h1>Badges</h1>
|
||||
|
||||
<span class="badge-accompanying-work-type-simple">Action d'accompagnement</span>
|
||||
<span class="badge-activity-type-simple">Type d'échange</span>
|
||||
<span class="badge-calendar-simple">Rendez-vous</span>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -20,6 +20,36 @@
|
||||
}
|
||||
}
|
||||
|
||||
.badge-accompanying-work-type-simple {
|
||||
@extend .badge;
|
||||
display: inline-block;
|
||||
margin: 0.2rem 0;
|
||||
padding-left: 0;
|
||||
padding-right: 0.5rem;
|
||||
|
||||
border-left: 20px groove $orange;
|
||||
border-radius: $badge-border-radius;
|
||||
|
||||
max-width: 100%;
|
||||
background-color: $gray-100;
|
||||
|
||||
color: black;
|
||||
font-weight: normal;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-indent: 5px hanging;
|
||||
text-align: left;
|
||||
|
||||
&::before {
|
||||
margin-right: 3px;
|
||||
position: relative;
|
||||
left: -0.5px;
|
||||
font-family: ForkAwesome;
|
||||
content: '\f04b';
|
||||
color: #e2793d;
|
||||
}
|
||||
}
|
||||
|
||||
/// AccompanyingCourse Work Pages
|
||||
div.accompanying-course-work {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user