Working on the styling some more.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="">
|
||||
<html lang="en" class="light">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
|
||||
<title>OSIT's Æ - Dev SvelteKit</title>
|
||||
<title>OSIT's Aether System (Æ) - Built with SvelteKit</title>
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
<body data-sveltekit-preload-data="hover" data-theme="">
|
||||
<body data-sveltekit-preload-data="hover" data-theme="my-custom-theme">
|
||||
<div style="display: contents" class="h-full w-full overflow-hidden">%sveltekit.body%</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -27,13 +27,13 @@ body {
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root [data-theme='modern'] {
|
||||
/* :root [data-theme='modern'] { */
|
||||
/* --theme-rounded-base: 20px;
|
||||
--theme-rounded-container: 4px; */
|
||||
|
||||
/* --theme-font-family-base: 'Liberation Sans', sans-serif; */
|
||||
/* --theme-font-family-heading: 'Liberation Sans', sans-serif; */
|
||||
}
|
||||
/* } */
|
||||
|
||||
.card-footer {
|
||||
border-top: 1px solid hsla(0, 0%, 0%, 0.5);
|
||||
@@ -95,18 +95,18 @@ body {
|
||||
}
|
||||
|
||||
/* Remove the background from the body in all cases */
|
||||
body[data-theme] {
|
||||
/* body[data-theme] { */
|
||||
/* background: none; */
|
||||
/* background-image: none; */
|
||||
}
|
||||
/* } */
|
||||
|
||||
/* Remove the background from the body if using iframes */
|
||||
body[data-theme]:has(#page.iframe) {
|
||||
/* body[data-theme]:has(#page.iframe) { */
|
||||
/* background: none; */
|
||||
/* background-image: none; */
|
||||
/* background-image: url('https://static.oneskyit.com/c/CHOW/images/CHOW_2024_yellow_background.png'); */
|
||||
/* background-size: cover; */
|
||||
}
|
||||
/* } */
|
||||
|
||||
main {
|
||||
/* background: none;
|
||||
|
||||
@@ -199,6 +199,7 @@ let events_local_data_struct: key_val = {
|
||||
show_content__presenter_qr: false,
|
||||
show_content__session_description: false,
|
||||
show_content__session_help: true,
|
||||
show_content__session_search_view: null,
|
||||
show_content__session_search_help: true,
|
||||
show_content__session_view: null,
|
||||
show_content__session_qr: true,
|
||||
|
||||
@@ -110,8 +110,8 @@ export let ae_app_local_data_struct: key_val = {
|
||||
'show_element__cfg': true,
|
||||
'show_element__cfg_detail': false,
|
||||
'show_element__access_type': true,
|
||||
'theme_mode': 'dark',
|
||||
'theme_name': 'wintry',
|
||||
'theme_mode': 'light',
|
||||
'theme_name': 'wintry', // wintry
|
||||
|
||||
'classes__form': 'border border-surface-200 p-4 space-y-4 rounded-container-token',
|
||||
|
||||
|
||||
@@ -18,10 +18,15 @@ string_snippets['classes__core_menu__button_warning'] = 'btn btn-sm mx-1 variant
|
||||
// string_snippets['classes__events_pres_mgmt_menu'] = 'flex flex-col items-center space-y-1 border border-blue-200 rounded-md py-1 px-2 hover:bg-blue-100 transition-all duration-700 hover:duration-300';
|
||||
string_snippets['classes__events_pres_mgmt_menu'] = 'w-full flex flex-col items-center gap-1 border border-gray-200 rounded-md p-1 hover:bg-gray-100 transition-all duration-700 hover:duration-300';
|
||||
|
||||
string_snippets['classes__events_pres_mgmt_menu__button'] = 'btn btn-sm mx-1 variant-soft-tertiary text-info-300 hover:text-info-800 hover:variant-filled-tertiary';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_special'] = 'btn btn-sm mx-1 variant-ghost-tertiary text-info-300 hover:text-info-800 hover:variant-filled-tertiary';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button'] = 'btn btn-sm mx-1 variant-glass-secondary hover:variant-filled-secondary';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_special'] = 'btn btn-sm mx-1 hover:variant-filled-primary';
|
||||
|
||||
// string_snippets['classes__events_pres_mgmt_menu__button'] = 'btn btn-sm mx-1 variant-soft-tertiary text-info-300 hover:text-info-800 hover:variant-filled-tertiary';
|
||||
// string_snippets['classes__events_pres_mgmt_menu__button_special'] = 'btn btn-sm mx-1 variant-ghost-tertiary text-info-300 hover:text-info-800 hover:variant-filled-tertiary';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_highlight'] = 'btn btn-sm mx-1 variant-filled-tertiary text-info-300 hover:text-info-800';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_warning'] = 'btn btn-sm mx-1 variant-soft-warning text-info-300 hover:text-info-800';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_warning_special'] = 'btn btn-sm mx-1 variant-ghost-warning text-info-300 hover:text-info-800';
|
||||
string_snippets['classes__events_pres_mgmt_menu__button_warning_special'] = 'btn btn-sm mx-1 variant-glass-warning';
|
||||
|
||||
|
||||
|
||||
// export string_snippets;
|
||||
@@ -26,24 +26,24 @@ onMount(() => {
|
||||
}
|
||||
});
|
||||
|
||||
$: if ($slct_trigger == 'set_theme_mode' && $ae_loc?.hub?.theme_mode) {
|
||||
console.log(`$ae_loc.hub.theme_mode=${$ae_loc?.hub?.theme_mode}`);
|
||||
$slct_trigger = null;
|
||||
if ($ae_loc.hub.theme_mode == 'light') {
|
||||
document.documentElement.classList.remove('dark');
|
||||
document.documentElement.classList.add('light');
|
||||
} else if ($ae_loc.hub.theme_mode == 'dark') {
|
||||
document.documentElement.classList.remove('light');
|
||||
document.documentElement.classList.add('dark');
|
||||
}
|
||||
}
|
||||
// $: if ($slct_trigger == 'set_theme_mode' && $ae_loc?.hub?.theme_mode) {
|
||||
// console.log(`$ae_loc.hub.theme_mode=${$ae_loc?.hub?.theme_mode}`);
|
||||
// $slct_trigger = null;
|
||||
// if ($ae_loc.hub.theme_mode == 'light') {
|
||||
// document.documentElement.classList.remove('dark');
|
||||
// document.documentElement.classList.add('light');
|
||||
// } else if ($ae_loc.hub.theme_mode == 'dark') {
|
||||
// document.documentElement.classList.remove('light');
|
||||
// document.documentElement.classList.add('dark');
|
||||
// }
|
||||
// }
|
||||
|
||||
$: if ($slct_trigger == 'set_theme_name' && $ae_loc?.hub?.theme_name) {
|
||||
console.log(`$ae_loc?.hub?.theme_name=${$ae_loc?.hub?.theme_name}`);
|
||||
$slct_trigger = null;
|
||||
// Update the body attribute named "data-theme" to the current theme name.
|
||||
document.body.setAttribute('data-theme', $ae_loc?.hub?.theme_name);
|
||||
}
|
||||
// $: if ($slct_trigger == 'set_theme_name' && $ae_loc?.hub?.theme_name) {
|
||||
// console.log(`$ae_loc?.hub?.theme_name=${$ae_loc?.hub?.theme_name}`);
|
||||
// $slct_trigger = null;
|
||||
// // Update the body attribute named "data-theme" to the current theme name.
|
||||
// document.body.setAttribute('data-theme', $ae_loc?.hub?.theme_name);
|
||||
// }
|
||||
|
||||
// $: if (entered_passcode && entered_passcode.length >= 5) {
|
||||
// console.log(`entered_passcode=${entered_passcode}`);
|
||||
|
||||
@@ -26,7 +26,7 @@ export let lq__event_location_obj: any;
|
||||
// export let lq_get__event_presenter_obj_li: any;
|
||||
export let lq__event_session_obj: any;
|
||||
|
||||
// let load_event_session_obj = ({
|
||||
// let load_event_session_obj = events_func.load_ae_obj_id__event_session({
|
||||
// api_cfg: $ae_api,
|
||||
// event_session_id: $events_loc.launcher.slct.event_session_id,
|
||||
// inc_presenter_li: false,
|
||||
|
||||
@@ -54,6 +54,35 @@ let ae_triggers: key_val = {};
|
||||
<span
|
||||
class="ae_menu__object_options flex flex-row items-center justify-around"
|
||||
>
|
||||
<!-- Button to toggle between the regular event session search view and managing event files -->
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
if ($events_loc.pres_mgmt.show_content__session_search_view == 'manage_files') {
|
||||
$events_loc.pres_mgmt.show_content__session_search_view = null;
|
||||
} else {
|
||||
$events_loc.pres_mgmt.show_content__session_search_view = 'manage_files';
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
|
||||
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__session_search_view == 'manage_files'}
|
||||
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__session_search_view != 'manage_files'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Manage files for the session"
|
||||
>
|
||||
{#if $events_loc.pres_mgmt.show_content__session_search_view == 'manage_files'}
|
||||
<span class="fas fa-users m-1"></span>
|
||||
<!-- View Details -->
|
||||
Session Presenters?
|
||||
{:else}
|
||||
<span class="fas fa-file-archive m-1"></span>
|
||||
Session Files?
|
||||
<!-- <span> -->
|
||||
{$lq__event_obj?.file_count ? `(${$lq__event_obj?.file_count})` : ''}
|
||||
<!-- </span> -->
|
||||
{/if}
|
||||
</button>
|
||||
|
||||
<!-- Button to toggle between showing and not showing the extended options menu -->
|
||||
<button
|
||||
type="button"
|
||||
@@ -65,6 +94,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session_search == 'options'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session_search != 'options'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Options for the presenter"
|
||||
>
|
||||
@@ -89,6 +120,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session_search == 'help'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session_search != 'help'}
|
||||
title="Help and information about the session search"
|
||||
>
|
||||
<span class="fas fa-question-circle m-1"></span>
|
||||
|
||||
@@ -54,6 +54,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__event_reports == 'options'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__event_reports != 'options'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Options for the presenter"
|
||||
>
|
||||
@@ -78,6 +80,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__event_reports == 'help'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__event_reports != 'help'}
|
||||
title="Help and information about the reports"
|
||||
>
|
||||
<span class="fas fa-question-circle mx-1"></span>
|
||||
|
||||
@@ -60,16 +60,18 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
|
||||
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__presenter_view == 'manage_files'}
|
||||
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__presenter_view != 'manage_files'}
|
||||
class:hidden={!$ae_loc.authenticated_access}
|
||||
title="Manage files for the presenter"
|
||||
>
|
||||
{#if $events_loc.pres_mgmt.show_content__presenter_view == 'manage_files'}
|
||||
<span class="fas fa-info m-1"></span>
|
||||
<!-- View Details -->
|
||||
Presenter Info
|
||||
Presenter Info?
|
||||
{:else}
|
||||
<span class="fas fa-file-archive m-1"></span>
|
||||
Presenter Files
|
||||
Presenter Files?
|
||||
<!-- <span> -->
|
||||
{$lq__event_presenter_obj?.file_count ? `(${$lq__event_presenter_obj?.file_count})` : ''}
|
||||
<!-- </span> -->
|
||||
@@ -87,6 +89,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__presenter == 'options'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__presenter != 'options'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Options for the presenter"
|
||||
>
|
||||
@@ -111,8 +115,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button} transition-all hover:transition-all *:hover:inline"
|
||||
class:variant-ghost-success={$events_loc.pres_mgmt.show_menu__presenter == 'help'}
|
||||
class:variant-ringed-warning={true}
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__presenter == 'help'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__presenter != 'help'}
|
||||
title="Help and information about the presenter"
|
||||
>
|
||||
<span class="fas fa-question-circle m-1"></span>
|
||||
|
||||
@@ -41,7 +41,7 @@ let ae_triggers: key_val = {};
|
||||
</span>
|
||||
|
||||
<span
|
||||
class="ae_menu__object_options"
|
||||
class="ae_menu__object_options flex flex-row items-center justify-around"
|
||||
>
|
||||
<!-- Button to toggle between the regular session view and managing session files -->
|
||||
<button
|
||||
@@ -54,16 +54,18 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button_special}"
|
||||
class:hidden={!$ae_loc.authenticated_access}
|
||||
class:variant-filled-primary={$events_loc.pres_mgmt.show_content__session_view == 'manage_files'}
|
||||
class:variant-glass-primary={$events_loc.pres_mgmt.show_content__session_view != 'manage_files'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Manage files for the session"
|
||||
>
|
||||
{#if $events_loc.pres_mgmt.show_content__session_view == 'manage_files'}
|
||||
<span class="fas fa-users m-1"></span>
|
||||
<!-- View Details -->
|
||||
Session Presenters
|
||||
Session Presenters?
|
||||
{:else}
|
||||
<span class="fas fa-file-archive m-1"></span>
|
||||
Session Files
|
||||
Session Files?
|
||||
<!-- <span> -->
|
||||
{$lq__event_session_obj?.file_count ? `(${$lq__event_session_obj?.file_count})` : ''}
|
||||
<!-- </span> -->
|
||||
@@ -80,6 +82,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session == 'options'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session != 'options'}
|
||||
class:hidden={!$ae_loc.trusted_access}
|
||||
title="Options for the session"
|
||||
>
|
||||
@@ -102,6 +106,8 @@ let ae_triggers: key_val = {};
|
||||
}
|
||||
}}
|
||||
class="{ae_snip.classes__events_pres_mgmt_menu__button}"
|
||||
class:variant-filled-secondary={$events_loc.pres_mgmt.show_menu__session == 'help'}
|
||||
class:variant-glass-secondary={$events_loc.pres_mgmt.show_menu__session != 'help'}
|
||||
title="Help and information about the session"
|
||||
>
|
||||
<span class="fas fa-question-circle m-1"></span>
|
||||
|
||||
Reference in New Issue
Block a user