Display of activity types

This commit is contained in:
LenaertsJ 2022-01-16 22:18:16 +00:00 committed by Julien Fastré
parent 46c6d0e293
commit 3f5a6c6b15
3 changed files with 21 additions and 20 deletions

View File

@ -11,7 +11,7 @@ and this project adheres to
## Unreleased ## Unreleased
<!-- write down unreleased development here --> <!-- write down unreleased development here -->
* rewrite page which allow to select activity
## Test releases ## Test releases

View File

@ -9,8 +9,9 @@ div.new-activity-select-type {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: flex-start;
gap: 12px; gap: 12px;
margin-bottom: 30px;
div.bloc { div.bloc {
width: 200px; width: 200px;
@ -27,26 +28,26 @@ div.new-activity-select-type {
// precise dashboard specific details // precise dashboard specific details
p.date-label { p.date-label {
display: inline-block; display: inline-block;
margin: 0 0.5em 0 0; margin: 0 0.5em 0 0;
font-weight: 700; font-weight: 700;
font-size: 18pt; font-size: 18pt;
} }
div.dashboard, div.dashboard,
h2.badge-title { h2.badge-title {
ul.list-content { ul.list-content {
font-size: 70%; font-size: 70%;
list-style-type: none; list-style-type: none;
padding-left: 0; padding-left: 0;
margin: 0; margin: 0;
li { li {
margin-bottom: 0.2em; margin-bottom: 0.2em;
// exception: change bg color for action badges above dashboard // exception: change bg color for action badges above dashboard
.bg-light { .bg-light {
background-color: $chill-light-gray !important; background-color: $chill-light-gray !important;
} }
} }
} }
} }
//// ACTIVITY SHOW AND FORM PAGES //// ACTIVITY SHOW AND FORM PAGES

View File

@ -25,7 +25,7 @@
'activityData': activityData 'activityData': activityData
}) }}"> }) }}">
<div class="bloc btn btn-primary btn-lg btn-block"> <div class="btn btn-primary">
{{ activityType.name|localize_translatable_string }} {{ activityType.name|localize_translatable_string }}
</div> </div>
</a> </a>