Update Project view: add .cards wrapper and .flex-1 class on kanban sections
This commit is contained in:
parent
1989b8ca30
commit
5cc48ff9d2
1 changed files with 103 additions and 89 deletions
|
|
@ -6,122 +6,130 @@
|
||||||
</header>
|
</header>
|
||||||
<div class="kanban">
|
<div class="kanban">
|
||||||
<section
|
<section
|
||||||
class="flow"
|
class="flex-1"
|
||||||
aria-labelledby="votre-brief-label"
|
aria-labelledby="votre-brief-label"
|
||||||
data-status="done"
|
data-status="done"
|
||||||
>
|
>
|
||||||
<h2 id="votre-brief-label">
|
<h2 id="votre-brief-label">
|
||||||
<span data-icon="votre-brief">Votre brief</span>
|
<span data-icon="votre-brief">Votre brief</span>
|
||||||
</h2>
|
</h2>
|
||||||
<article class="card">
|
<div class="cards | flow">
|
||||||
<hgroup class="order-last">
|
<article class="card">
|
||||||
<h3 class="card__title | font-serif | text-lg">Votre Brief</h3>
|
<hgroup class="order-last">
|
||||||
</hgroup>
|
<h3 class="card__title | font-serif | text-lg">Votre Brief</h3>
|
||||||
<div class="card__meta | flex">
|
</hgroup>
|
||||||
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
<div class="card__meta | flex">
|
||||||
</div>
|
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
||||||
<figure class="card__images" data-count="13">
|
</div>
|
||||||
<img
|
<figure class="card__images" data-count="13">
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
||||||
/>
|
alt=""
|
||||||
<img
|
/>
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
||||||
/>
|
alt=""
|
||||||
<img
|
/>
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
||||||
/>
|
alt=""
|
||||||
</figure>
|
/>
|
||||||
</article>
|
</figure>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section
|
<section
|
||||||
class="flow"
|
class="flex-1"
|
||||||
aria-labelledby="offre-commerciale-label"
|
aria-labelledby="offre-commerciale-label"
|
||||||
data-status="done"
|
data-status="done"
|
||||||
>
|
>
|
||||||
<h2 id="offre-commerciale-label">
|
<h2 id="offre-commerciale-label">
|
||||||
<span data-icon="offre-commerciale">Offre Commerciale</span>
|
<span data-icon="offre-commerciale">Offre Commerciale</span>
|
||||||
</h2>
|
</h2>
|
||||||
<article class="card">
|
<div class="cards | flow">
|
||||||
<hgroup class="order-last">
|
<article class="card">
|
||||||
<h3 class="card__title | font-serif | text-lg">Offre - 2</h3>
|
<hgroup class="order-last">
|
||||||
<p class="text-primary | font-medium">4 commentaires</p>
|
<h3 class="card__title | font-serif | text-lg">Offre - 2</h3>
|
||||||
</hgroup>
|
<p class="text-primary | font-medium">4 commentaires</p>
|
||||||
<div class="card__meta | flex">
|
</hgroup>
|
||||||
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
<div class="card__meta | flex">
|
||||||
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
||||||
</div>
|
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
||||||
<figure class="card__images">
|
</div>
|
||||||
<img
|
<figure class="card__images">
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
||||||
/>
|
alt=""
|
||||||
</figure>
|
/>
|
||||||
</article>
|
</figure>
|
||||||
<article class="card">
|
</article>
|
||||||
<hgroup class="order-last">
|
<article class="card">
|
||||||
<h3 class="card__title | font-serif | text-lg">Offre - 3</h3>
|
<hgroup class="order-last">
|
||||||
<p class="text-primary | font-medium">4 commentaires</p>
|
<h3 class="card__title | font-serif | text-lg">Offre - 3</h3>
|
||||||
</hgroup>
|
<p class="text-primary | font-medium">4 commentaires</p>
|
||||||
<div class="card__meta | flex">
|
</hgroup>
|
||||||
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
<div class="card__meta | flex">
|
||||||
</div>
|
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
||||||
</article>
|
</div>
|
||||||
<article class="card">
|
</article>
|
||||||
<hgroup class="order-last">
|
<article class="card">
|
||||||
<h3 class="card__title | font-serif | text-lg">Offre Initiale</h3>
|
<hgroup class="order-last">
|
||||||
<p class="text-primary | font-medium">4 commentaires</p>
|
<h3 class="card__title | font-serif | text-lg">Offre Initiale</h3>
|
||||||
</hgroup>
|
<p class="text-primary | font-medium">4 commentaires</p>
|
||||||
<div class="card__meta | flex">
|
</hgroup>
|
||||||
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
<div class="card__meta | flex">
|
||||||
</div>
|
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
||||||
</article>
|
</div>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section
|
<section
|
||||||
class="flow"
|
class="flex-1"
|
||||||
aria-labelledby="brief-enrichi-label"
|
aria-labelledby="brief-enrichi-label"
|
||||||
data-status="in-progress"
|
data-status="in-progress"
|
||||||
>
|
>
|
||||||
<h2 id="brief-enrichi-label">
|
<h2 id="brief-enrichi-label">
|
||||||
<span data-icon="brief-enrichi">Brief Enrichi</span>
|
<span data-icon="brief-enrichi">Brief Enrichi</span>
|
||||||
</h2>
|
</h2>
|
||||||
<article class="card">
|
<div class="cards | flow">
|
||||||
<hgroup class="order-last">
|
<article class="card">
|
||||||
<h3 class="card__title | font-serif | text-lg">Brief enrichi</h3>
|
<hgroup class="order-last">
|
||||||
<p class="text-primary | font-medium">4 commentaires</p>
|
<h3 class="card__title | font-serif | text-lg">Brief enrichi</h3>
|
||||||
</hgroup>
|
<p class="text-primary | font-medium">4 commentaires</p>
|
||||||
<div class="card__meta | flex">
|
</hgroup>
|
||||||
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
<div class="card__meta | flex">
|
||||||
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
<time class="card__date | text-grey-700" datetime="2024-06-12">12 juin 2024</time>
|
||||||
</div>
|
<span class="text-primary | font-medium | ml-auto">Validé</span>
|
||||||
<figure class="card__images" data-count="15">
|
</div>
|
||||||
<img
|
<figure class="card__images" data-count="15">
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/6ed93d6950-1725442486/d82f18573c439d6edd434ffca62471a7.png"
|
||||||
/>
|
alt=""
|
||||||
<img
|
/>
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/7b0fcc5012-1725442486/37a038883c87973036232aa0e43f6da2.png"
|
||||||
/>
|
alt=""
|
||||||
<img
|
/>
|
||||||
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
<img
|
||||||
alt=""
|
src="http://localhost:8888/media/pages/inspirations/shape-of-the-nature/1bbe051c5a-1725442486/0c41d3266e9ce2872f30608cceb28239.png"
|
||||||
/>
|
alt=""
|
||||||
</figure>
|
/>
|
||||||
</article>
|
</figure>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section
|
<section
|
||||||
class="flow"
|
class="flex-1"
|
||||||
aria-labelledby="echantillon-virtuel-label"
|
aria-labelledby="echantillon-virtuel-label"
|
||||||
data-status="uncompleted"
|
data-status="uncompleted"
|
||||||
>
|
>
|
||||||
<h2 id="echantillon-virtuel-label">
|
<h2 id="echantillon-virtuel-label">
|
||||||
<span data-icon="echantillon-virtuel">Échantillon Virtuel</span>
|
<span data-icon="echantillon-virtuel">Échantillon Virtuel</span>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="flex flex-col justify-center | rounded-2xl | bg-grey-200 text-grey-700">
|
<div class="cards | flow">
|
||||||
<p>Prochainement disponible</p>
|
<div class="flex flex-col justify-center | rounded-2xl | bg-grey-200 text-grey-700">
|
||||||
|
<p>Prochainement disponible</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -147,12 +155,12 @@ const user = useUserStore().user;
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--gap);
|
gap: var(--gap);
|
||||||
overflow-y: auto;
|
overflow-x: auto;
|
||||||
margin: 0 calc(-1 * var(--gutter));
|
margin: 0 calc(-1 * var(--gutter));
|
||||||
padding: 0 var(--gutter);
|
padding: 0 var(--gutter);
|
||||||
|
height: calc(100vh - var(--gutter) * 2 - var(--header-height) - 2.25rem);
|
||||||
}
|
}
|
||||||
.kanban > section {
|
.kanban > section {
|
||||||
flex-grow: 1;
|
|
||||||
min-width: 20rem;
|
min-width: 20rem;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
@ -253,7 +261,7 @@ const user = useUserStore().user;
|
||||||
.kanban [data-status="uncompleted"] h2 > span {
|
.kanban [data-status="uncompleted"] h2 > span {
|
||||||
border-radius: inherit;
|
border-radius: inherit;
|
||||||
}
|
}
|
||||||
.kanban [data-status="uncompleted"] > div {
|
.kanban [data-status="uncompleted"] .cards > * {
|
||||||
min-height: 10rem;
|
min-height: 10rem;
|
||||||
}
|
}
|
||||||
.kanban [data-status="uncompleted"]::after {
|
.kanban [data-status="uncompleted"]::after {
|
||||||
|
|
@ -268,4 +276,10 @@ const user = useUserStore().user;
|
||||||
line-height: 2.125rem;
|
line-height: 2.125rem;
|
||||||
padding: 0 var(--space-12);
|
padding: 0 var(--space-12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.kanban .cards {
|
||||||
|
padding-top: var(--space-16);
|
||||||
|
max-height: calc(100% - var(--header-height));
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue