clean
This commit is contained in:
parent
e4ac456c11
commit
aa59f81115
106 changed files with 13 additions and 9222 deletions
|
@ -11,6 +11,8 @@
|
|||
|
||||
const events = ['priority'];
|
||||
|
||||
$: setup_height = 100 / $surfersCount - 2.2 / $surfersCount;
|
||||
|
||||
window.document.body.oncontextmenu = function () {
|
||||
return false;
|
||||
};
|
||||
|
@ -59,13 +61,17 @@
|
|||
|
||||
<ul>
|
||||
{#each Array($surfersCount) as _, id}
|
||||
<li>
|
||||
<li style="--height:{setup_height}vh">
|
||||
{#if $surfers[id].priority == 'P'}
|
||||
<div class="priority" id="p">{$surfers[id].priority}</div>
|
||||
<div class="priority" id="p">
|
||||
{$surfers[id].priority}
|
||||
</div>
|
||||
{:else}
|
||||
<div class="priority" id="n">{$surfers[id].priority}</div>
|
||||
<div class="priority" id="n">
|
||||
{$surfers[id].priority}
|
||||
</div>
|
||||
{/if}
|
||||
<div class="color" style="background-color: {$surfers[id].color}"></div>
|
||||
<div class="color" style:background-color={$surfers[id].color}></div>
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
@ -87,9 +93,6 @@
|
|||
li {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
/* border: 2px solid black; */
|
||||
/* min-height: 18.8vh; */
|
||||
/* width: 99.4vw; */
|
||||
margin-top: 0.2vh;
|
||||
margin-bottom: 0.2vh;
|
||||
overflow: hidden;
|
||||
|
@ -100,7 +103,6 @@
|
|||
align-self: center;
|
||||
min-height: 19vh;
|
||||
min-width: 19vh;
|
||||
/* border-right: 2px solid gray; */
|
||||
margin-right: 0.2vw;
|
||||
background-color: gray;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue