some small styling fixes

This commit is contained in:
Gordon Pedersen 2024-06-24 12:23:28 +10:00
parent d438c7c3cc
commit 2fcb6e1fae
2 changed files with 21 additions and 7 deletions

View file

@ -13,14 +13,19 @@
</div> </div>
<nav> <nav>
<label class="checkbox"> <label class="checkbox" disabled="@loading">
<InputCheckbox @bind-Value="listed"></InputCheckbox> <InputCheckbox @bind-Value="listed" disabled="@loading"></InputCheckbox>
<span>Include my page in the Now Garden</span> <span>Include my page in the Now Garden</span>
</label> </label>
<div class="max"></div> <div class="max"></div>
<button class="transparent link" onclick="history.back();">Cancel</button> <button class="transparent link" onclick="history.back();" disabled="@loading">Cancel</button>
<button @onclick="Save"> <button @onclick="Save" disabled="@loading">
<i class="fa-solid fa-floppy-disk"></i> <span>Save</span> @if (loading) {
<span>Saving...</span>
}
else {
<i class="fa-solid fa-floppy-disk"></i> <span>Save</span>
}
</button> </button>
</nav> </nav>

View file

@ -238,9 +238,13 @@ dialog {
position:absolute; position:absolute;
left:0; right:0; left:0; right:0;
top:0; bottom:0; top:0; bottom:0;
background-color: var(--gray-8); background-color: var(--surface-container-low);
background-image: var(--prami-svg); /*background-image: var(--prami-svg);*/
background-size: contain; background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
border-radius: 50%;
border: 1px dashed var(--gray-4);
z-index:1; z-index:1;
} }
@ -456,3 +460,8 @@ article#directory ul{
article { article {
overflow-wrap: anywhere; overflow-wrap: anywhere;
} }
nav label {
white-space: break-spaces;
flex: 1 1 100%;
}