Making things looks nicer. Various fixes.

This commit is contained in:
Scott Idem
2024-11-04 16:59:30 -05:00
parent ee7f981e2e
commit 63f5168015
5 changed files with 59 additions and 46 deletions

View File

@@ -1313,14 +1313,9 @@ async function handle_delete_event_obj({event_id, method='disable'}) {
<style>
.ae_section .ae_options {
/* align-self: center; */
}
textarea.event__description {
/* width: 100%; */
/* max-width: 100%; */
}
/* .ae_section .ae_options {
align-self: center;
} */
.event__physical_virtual .ae_group {
display: flex;
@@ -1354,21 +1349,4 @@ textarea.event__description {
align-items: center;
}
/* .ae_edit.event_obj {
border: dashed thin hsla(0,0%,70%,1);
margin: .5em .25em;
padding: .5em .25em;
background-color: hsla(0,0%,90%,1);
} */
/* .ae_d_none, .d-none {
display: none;
} */
:global(.tox .tox-promotion, .tox .tox-statusbar__branding) {
display: none !important;
/* visibility: hidden !important; */
}
</style>

View File

@@ -343,10 +343,10 @@ onMount(() => {
font-style: italic;
}
.event_obj .ae_meta {
/* flex-direction: column; */
/* justify-content: space-between; */
}
/* .event_obj .ae_meta {
flex-direction: column;
justify-content: space-between;
} */
.event_obj .ae_meta .ae_group {
flex-direction: row;

View File

@@ -49,9 +49,10 @@ onMount(() => {
>
<header class="ae_header event__header">
<h3>
<h3
class="flex flex-row gap-2 items-center">
<span class="event__name">{idaa_event_obj?.name}</span>
<span class="badge badge-info bg-info">
<span class="badge badge-info variant-glass-tertiary">
{#if idaa_event_obj?.physical && idaa_event_obj?.virtual}
<span class="fas fa-home m-1"></span> F2F and <span class="fas fa-laptop m-1"></span> Virtual
{:else if idaa_event_obj?.physical}
@@ -61,7 +62,7 @@ onMount(() => {
{/if}
</span>
{#if idaa_event_obj?.type}
<span class="badge badge-info bg-info"><span class="fas fa-user-md m-1"></span> {idaa_event_obj?.type}</span>
<span class="badge badge-info variant-glass-secondary"><span class="fas fa-user-md m-1"></span> {idaa_event_obj?.type}</span>
{/if}
{#if $ae_loc.trusted_access && idaa_event_obj?.hide}
<span class="badge badge-warning"><span class="fas fa-exclamation-triangle m-1"></span> Hidden</span>

View File

@@ -247,7 +247,7 @@ async function handle_qry__event(
</button>
</div>
<fieldset class="flex flex-row gap-1 w-full items-center justify-center">
<fieldset class="flex flex-row flex-wrap gap-4 w-full items-center justify-center">
<div class="legend inline-block">
Location?</div>
<!-- <div class="ae_row ae_flex_justify_around ae_width_md"> -->
@@ -274,7 +274,7 @@ async function handle_qry__event(
<!-- </div> -->
</fieldset>
<fieldset class="flex flex-row gap-1 w-full items-center justify-center">
<fieldset class="flex flex-row flex-wrap gap-4 w-full items-center justify-center">
<div class="legend inline-block">
Type?
</div>
@@ -350,7 +350,7 @@ async function handle_qry__event(
<div>Error: {error.message}</div>
{/await} -->
<div class="ae_group ae_row flex flex-row gap-1 w-full items-center justify-center">
<div class="ae_group ae_row flex flex-row flex-wrap gap-1 w-full items-center justify-center">
<!-- Max events select options -->
<span