mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-13 02:53:46 +00:00
feat(*): Restyle the estimate groups list component
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{#each Object.keys(estimateGroups) as estimate}
|
{#each Object.keys(estimateGroups) as estimate}
|
||||||
<li>
|
<li>
|
||||||
Estimate: {estimate}
|
<h4>{estimate}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
{#if estimateGroups[estimate].length >= 5}
|
{#if estimateGroups[estimate].length >= 5}
|
||||||
<li>5+ people</li>
|
<li>5+ people</li>
|
||||||
@@ -21,3 +21,53 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#estimate-groups-list {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list h2 {
|
||||||
|
font-size: 24px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list ul {
|
||||||
|
list-style-type: none;
|
||||||
|
padding-left: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list li {
|
||||||
|
background-color: #f4f4f4;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list h4 {
|
||||||
|
font-size: 18px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list ul ul {
|
||||||
|
margin-top: 5px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list ul ul li {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
#estimate-groups-list ul ul li::before {
|
||||||
|
content: '- ';
|
||||||
|
color: #ccc;
|
||||||
|
display: inline;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user