More style changes for Novi site.
This commit is contained in:
@@ -348,7 +348,12 @@ $effect(() => {
|
|||||||
|
|
||||||
|
|
||||||
<section
|
<section
|
||||||
class="svelte_component ae_edit archive_content_obj"
|
class="
|
||||||
|
svelte_component ae_section ae_edit archive_content_obj edit__archive_content_obj
|
||||||
|
space-y-2 p-2
|
||||||
|
rounded-md
|
||||||
|
preset-filled-surface-50-950 preset-outlined-warning-400-600
|
||||||
|
"
|
||||||
class:ae_create={!$idaa_slct.archive_content_id}
|
class:ae_create={!$idaa_slct.archive_content_id}
|
||||||
>
|
>
|
||||||
<!-- bind:clientHeight={ae_iframe_height} -->
|
<!-- bind:clientHeight={ae_iframe_height} -->
|
||||||
@@ -719,9 +724,8 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
ae_section archive_content__admin_options
|
ae_section archive_content__admin_options
|
||||||
space-y-1 p-2
|
space-y-1 p-2
|
||||||
border rounded
|
rounded
|
||||||
preset-filled-warning-100-900
|
preset-filled-surface-100-900 preset-outlined-error-400-600
|
||||||
preset-outlined-warning-400-600
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
class:hidden={!$idaa_loc.archives.show__admin_options}
|
class:hidden={!$idaa_loc.archives.show__admin_options}
|
||||||
@@ -873,9 +877,8 @@ $effect(() => {
|
|||||||
type="submit"
|
type="submit"
|
||||||
disabled={disable_submit_btn}
|
disabled={disable_submit_btn}
|
||||||
class="
|
class="
|
||||||
novi_btn btn-warning
|
novi_btn
|
||||||
btn
|
btn btn-md preset-tonal-primary preset-outlined-primary-800-200 hover:preset-filled-primary-200-800
|
||||||
preset-tonal-success hover:preset-filled-success-200-800
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -280,7 +280,12 @@ async function handle_delete_archive_obj(
|
|||||||
|
|
||||||
|
|
||||||
<section
|
<section
|
||||||
class="svelte_component ae_edit archive_obj"
|
class="
|
||||||
|
svelte_component ae_section ae_edit archive_obj edit__archive_obj
|
||||||
|
space-y-2 p-2
|
||||||
|
rounded-md
|
||||||
|
preset-filled-surface-50-950 preset-outlined-warning-400-600
|
||||||
|
"
|
||||||
class:ae_create={!$idaa_slct.archive_id}
|
class:ae_create={!$idaa_slct.archive_id}
|
||||||
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
||||||
>
|
>
|
||||||
@@ -486,9 +491,8 @@ async function handle_delete_archive_obj(
|
|||||||
class="
|
class="
|
||||||
ae_section archive__admin_options
|
ae_section archive__admin_options
|
||||||
space-y-1 p-2
|
space-y-1 p-2
|
||||||
border rounded
|
rounded
|
||||||
preset-filled-warning-100-900
|
preset-filled-surface-100-900 preset-outlined-error-400-600
|
||||||
preset-outlined-warning-400-600
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
class:hidden={!$idaa_loc.archives.show__admin_options}
|
class:hidden={!$idaa_loc.archives.show__admin_options}
|
||||||
@@ -632,7 +636,11 @@ async function handle_delete_archive_obj(
|
|||||||
<div class="ae_section ae_options flex flex-row gap-1 items-center justify-center">
|
<div class="ae_section ae_options flex flex-row gap-1 items-center justify-center">
|
||||||
<button
|
<button
|
||||||
type="submit"
|
type="submit"
|
||||||
class="novi_btn btn btn-md preset-tonal-primary border border-primary-500 hover:preset-filled-primary-500 transition"
|
class="
|
||||||
|
novi_btn
|
||||||
|
btn btn-md preset-tonal-primary preset-outlined-primary-800-200 hover:preset-filled-primary-200-800
|
||||||
|
transition
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<span class="fas fa-check m-1"></span>
|
<span class="fas fa-check m-1"></span>
|
||||||
Save Archive
|
Save Archive
|
||||||
|
|||||||
@@ -320,8 +320,9 @@ function send_poster_notification_email() {
|
|||||||
<section
|
<section
|
||||||
class="
|
class="
|
||||||
svelte_component ae_section ae_edit post_comment_obj edit__post_comment_obj
|
svelte_component ae_section ae_edit post_comment_obj edit__post_comment_obj
|
||||||
space-y-2 p-2 border rounded
|
space-y-2 p-2
|
||||||
preset-outlined-warning-200-800 preset-tonal-warning
|
rounded-md
|
||||||
|
preset-filled-surface-100-900 preset-outlined-warning-400-600
|
||||||
"
|
"
|
||||||
class:ae_create={!$idaa_slct.post_id}
|
class:ae_create={!$idaa_slct.post_id}
|
||||||
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
||||||
@@ -523,9 +524,8 @@ function send_poster_notification_email() {
|
|||||||
class="
|
class="
|
||||||
ae_section post_comment__admin_options
|
ae_section post_comment__admin_options
|
||||||
space-y-1 p-2
|
space-y-1 p-2
|
||||||
border rounded
|
rounded
|
||||||
preset-filled-warning-100-900
|
preset-filled-surface-100-900 preset-outlined-error-400-600
|
||||||
preset-outlined-warning-400-600
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
class:hidden={!$idaa_loc.bb.show__admin_options}
|
class:hidden={!$idaa_loc.bb.show__admin_options}
|
||||||
@@ -669,9 +669,9 @@ function send_poster_notification_email() {
|
|||||||
type="submit"
|
type="submit"
|
||||||
disabled={(disable_submit_btn)}
|
disabled={(disable_submit_btn)}
|
||||||
class="
|
class="
|
||||||
novi_btn btn-warning
|
novi_btn
|
||||||
btn preset-tonal-success
|
btn btn-md preset-tonal-primary preset-outlined-primary-800-200 hover:preset-filled-primary-200-800
|
||||||
hover:preset-filled-success-200-800 transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{#await prom_api__post_comment_obj}
|
{#await prom_api__post_comment_obj}
|
||||||
@@ -689,9 +689,9 @@ function send_poster_notification_email() {
|
|||||||
// handle_save_post_comment_obj({post_id: $idaa_slct.post_id, method: 'create'});
|
// handle_save_post_comment_obj({post_id: $idaa_slct.post_id, method: 'create'});
|
||||||
}}
|
}}
|
||||||
class="
|
class="
|
||||||
novi_btn btn-warning
|
novi_btn
|
||||||
btn preset-tonal-warning
|
btn btn-md preset-tonal-warning preset-outlined-warning-800-200 hover:preset-filled-warning-200-800
|
||||||
hover:preset-filled-warning-200-800 transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{#await prom_api__post_comment_obj}
|
{#await prom_api__post_comment_obj}
|
||||||
|
|||||||
@@ -382,8 +382,9 @@ $effect(() => {
|
|||||||
<section
|
<section
|
||||||
class="
|
class="
|
||||||
svelte_component ae_section ae_edit post_obj edit__post_obj
|
svelte_component ae_section ae_edit post_obj edit__post_obj
|
||||||
space-y-2 p-2 border rounded
|
space-y-2 p-2
|
||||||
preset-outlined-warning-200-800 preset-tonal-warning
|
rounded-md
|
||||||
|
preset-filled-surface-50-950 preset-outlined-warning-400-600
|
||||||
"
|
"
|
||||||
class:ae_create={!$idaa_slct.post_id}
|
class:ae_create={!$idaa_slct.post_id}
|
||||||
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
||||||
@@ -881,9 +882,8 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
ae_section post__admin_options
|
ae_section post__admin_options
|
||||||
space-y-1 p-2
|
space-y-1 p-2
|
||||||
border rounded
|
rounded
|
||||||
preset-filled-warning-100-900
|
preset-filled-surface-100-900 preset-outlined-error-400-600
|
||||||
preset-outlined-warning-400-600
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
class:hidden={!$idaa_loc.bb.show__admin_options}
|
class:hidden={!$idaa_loc.bb.show__admin_options}
|
||||||
@@ -1035,9 +1035,8 @@ $effect(() => {
|
|||||||
type="submit"
|
type="submit"
|
||||||
disabled={(disable_submit_btn || !obj_changed)}
|
disabled={(disable_submit_btn || !obj_changed)}
|
||||||
class="
|
class="
|
||||||
novi_btn btn-warning
|
novi_btn
|
||||||
btn
|
btn btn-md preset-tonal-primary preset-outlined-primary-800-200 hover:preset-filled-primary-200-800
|
||||||
preset-tonal-success hover:preset-filled-success-200-800
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -170,7 +170,7 @@ onDestroy(() => {
|
|||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<span class="fas fa-arrow-left m-1"></span> Back to Meeting List
|
<span class="fas fa-arrow-left m-1 text-neutral-800/80"></span> Back to Meeting List
|
||||||
<!-- <span class="fas fa-times m-1"></span> View Other Meetings -->
|
<!-- <span class="fas fa-times m-1"></span> View Other Meetings -->
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
@@ -193,7 +193,7 @@ onDestroy(() => {
|
|||||||
title="View this Recovery Meeting"
|
title="View this Recovery Meeting"
|
||||||
>
|
>
|
||||||
<!-- <span class="far fa-window-close m-1"></span> -->
|
<!-- <span class="far fa-window-close m-1"></span> -->
|
||||||
<span class="fas fa-times m-1"></span>
|
<span class="fas fa-times m-1 text-neutral-800/80"></span>
|
||||||
Cancel Edit
|
Cancel Edit
|
||||||
</button>
|
</button>
|
||||||
{:else}
|
{:else}
|
||||||
@@ -201,8 +201,11 @@ onDestroy(() => {
|
|||||||
{#if ($ae_loc.trusted_access && $ae_loc.edit_mode) || $lq__event_obj?.external_person_id === $idaa_loc.novi_uuid || $lq__event_obj?.contact_li_json[0].email === $idaa_loc.novi_email}
|
{#if ($ae_loc.trusted_access && $ae_loc.edit_mode) || $lq__event_obj?.external_person_id === $idaa_loc.novi_uuid || $lq__event_obj?.contact_li_json[0].email === $idaa_loc.novi_email}
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="novi_btn btn btn-warning btn-sm preset-tonal-warning border border-warning-500
|
class="
|
||||||
hover:preset-filled-warning-500 transition"
|
novi_btn
|
||||||
|
btn btn-sm preset-tonal-warning
|
||||||
|
hover:preset-filled-warning-500 transition
|
||||||
|
"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
$idaa_sess.recovery_meetings.edit__event_obj = $idaa_slct.event_id;
|
$idaa_sess.recovery_meetings.edit__event_obj = $idaa_slct.event_id;
|
||||||
if (log_lvl) {
|
if (log_lvl) {
|
||||||
@@ -211,7 +214,7 @@ onDestroy(() => {
|
|||||||
}}
|
}}
|
||||||
title="Edit this Recovery Meeting"
|
title="Edit this Recovery Meeting"
|
||||||
>
|
>
|
||||||
<span class="fas fa-edit m-1"></span>
|
<span class="fas fa-edit m-1 text-neutral-800/80"></span>
|
||||||
Edit Meeting
|
Edit Meeting
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -668,8 +668,9 @@ $effect(() => {
|
|||||||
<section
|
<section
|
||||||
class="
|
class="
|
||||||
svelte_component ae_section ae_edit event_obj edit__event_obj
|
svelte_component ae_section ae_edit event_obj edit__event_obj
|
||||||
space-y-2 p-2 border rounded
|
space-y-2 p-2
|
||||||
preset-outlined-warning-200-800 preset-tonal-warning
|
rounded-md
|
||||||
|
preset-filled-surface-50-950 preset-outlined-warning-400-600
|
||||||
"
|
"
|
||||||
class:ae_create={!$idaa_slct.event_id}
|
class:ae_create={!$idaa_slct.event_id}
|
||||||
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
bind:clientHeight={$ae_loc.iframe_height_modal_body}
|
||||||
@@ -1506,9 +1507,8 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
ae_section event__admin_options
|
ae_section event__admin_options
|
||||||
space-y-1 p-2
|
space-y-1 p-2
|
||||||
border rounded
|
rounded
|
||||||
preset-filled-warning-100-900
|
preset-filled-surface-100-900 preset-outlined-error-400-600
|
||||||
preset-outlined-warning-400-600
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
class:hidden={!$idaa_loc.recovery_meetings.show__admin_options}
|
class:hidden={!$idaa_loc.recovery_meetings.show__admin_options}
|
||||||
@@ -1676,9 +1676,8 @@ $effect(() => {
|
|||||||
type="submit"
|
type="submit"
|
||||||
disabled={(disable_submit_btn)}
|
disabled={(disable_submit_btn)}
|
||||||
class="
|
class="
|
||||||
novi_btn btn_primary btn-warning
|
novi_btn
|
||||||
btn
|
btn btn-md preset-tonal-primary preset-outlined-primary-800-200 hover:preset-filled-primary-200-800
|
||||||
preset-tonal-success hover:preset-filled-success-200-800
|
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
@@ -1722,7 +1721,8 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
novi_btn
|
novi_btn
|
||||||
btn btn-sm
|
btn btn-sm
|
||||||
preset-filled-warning-400-600 hover:preset-filled-error-200-800
|
preset-tonal-warning preset-outlined-error-800-200 hover:preset-filled-error-200-800
|
||||||
|
transition
|
||||||
"
|
"
|
||||||
title="Delete record permanently"
|
title="Delete record permanently"
|
||||||
>
|
>
|
||||||
@@ -1738,7 +1738,7 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
novi_btn
|
novi_btn
|
||||||
btn btn-sm
|
btn btn-sm
|
||||||
preset-filled-warning-200-800 hover:preset-filled-error-200-800
|
preset-tonal-warning preset-outlined-warning-800-200 hover:preset-filled-warning-200-800
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
title="Disable record to delete"
|
title="Disable record to delete"
|
||||||
@@ -1755,7 +1755,7 @@ $effect(() => {
|
|||||||
class="
|
class="
|
||||||
novi_btn
|
novi_btn
|
||||||
btn btn-sm
|
btn btn-sm
|
||||||
preset-filled-warning-200-800 hover:preset-filled-error-200-800
|
preset-tonal-warning preset-outlined-warning-800-200 hover:preset-filled-warning-200-800
|
||||||
transition
|
transition
|
||||||
"
|
"
|
||||||
title="Hide record to delete"
|
title="Hide record to delete"
|
||||||
|
|||||||
Reference in New Issue
Block a user