gui improvements
This commit is contained in:
@@ -26,7 +26,6 @@
|
|||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: rgba(0,0,0,0.9);
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
@@ -37,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div>
|
<div class="position_selector">
|
||||||
<span class="tabs">
|
<span class="tabs">
|
||||||
<button onclick={() => select=0}>{t('document.items')}</button>
|
<button onclick={() => select=0}>{t('document.items')}</button>
|
||||||
<button onclick={() => select=1}>{t('document.estimated_times')}</button>
|
<button onclick={() => select=1}>{t('document.estimated_times')}</button>
|
||||||
|
|||||||
@@ -179,7 +179,9 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>
|
<legend>
|
||||||
{t('document.positions')}
|
{t('document.positions')}
|
||||||
|
{#if editable}
|
||||||
<button onclick={() => position_select = true}>{t('document.add_position')}</button>
|
<button onclick={() => position_select = true}>{t('document.add_position')}</button>
|
||||||
|
{/if}
|
||||||
</legend>
|
</legend>
|
||||||
<PositionList bind:document={doc} {submit} />
|
<PositionList bind:document={doc} {submit} />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|||||||
@@ -72,3 +72,7 @@ td, tr{
|
|||||||
.clear{
|
.clear{
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
.position_selector{
|
||||||
|
background: rgba(0,0,0,0.7);
|
||||||
|
backdrop-filter: blur(3px);
|
||||||
|
}
|
||||||
@@ -46,3 +46,8 @@ footer {
|
|||||||
border-style: dashed;
|
border-style: dashed;
|
||||||
border-width: 1px 0 0;
|
border-width: 1px 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.position_selector{
|
||||||
|
background: rgba(255,255,255,0.8);
|
||||||
|
backdrop-filter: blur(3px);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user