2592 lines
62 KiB
CSS
2592 lines
62 KiB
CSS
/* ==========================================================================
|
||
NAK Intranet – Corporate Design Stylesheet
|
||
Basierend auf dem CD-Manual NAK 2026
|
||
Gemeinde: Berlin-Reinickendorf
|
||
========================================================================== */
|
||
|
||
/* --------------------------------------------------------------------------
|
||
0. FONT FACES – Suisse Int'l (Hausschrift der NAK)
|
||
-------------------------------------------------------------------------- */
|
||
@font-face {
|
||
font-family: 'Suisse Intl';
|
||
src: url('/intranet_repo/projects/_central/fonts/SuisseIntl-Light.woff2') format('woff2');
|
||
font-weight: 300;
|
||
font-style: normal;
|
||
font-display: swap;
|
||
}
|
||
@font-face {
|
||
font-family: 'Suisse Intl';
|
||
src: url('/intranet_repo/projects/_central/fonts/SuisseIntl-LightIt.woff2') format('woff2');
|
||
font-weight: 300;
|
||
font-style: italic;
|
||
font-display: swap;
|
||
}
|
||
@font-face {
|
||
font-family: 'Suisse Intl';
|
||
src: url('/intranet_repo/projects/_central/fonts/SuisseIntl-Medium.woff2') format('woff2');
|
||
font-weight: 500;
|
||
font-style: normal;
|
||
font-display: swap;
|
||
}
|
||
@font-face {
|
||
font-family: 'Suisse Intl';
|
||
src: url('/intranet_repo/projects/_central/fonts/SuisseIntl-Semibold.woff2') format('woff2');
|
||
font-weight: 600;
|
||
font-style: normal;
|
||
font-display: swap;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
1. CSS CUSTOM PROPERTIES (Design Tokens)
|
||
-------------------------------------------------------------------------- */
|
||
:root {
|
||
/* NAK Primärfarben – Digital */
|
||
--nak-blue: #2786cf;
|
||
--nak-blue-90: rgba(39, 134, 207, 0.9);
|
||
--nak-blue-80: rgba(39, 134, 207, 0.8);
|
||
--nak-blue-70: rgba(39, 134, 207, 0.7);
|
||
--nak-blue-60: rgba(39, 134, 207, 0.6);
|
||
--nak-blue-50: rgba(39, 134, 207, 0.5);
|
||
--nak-blue-40: rgba(39, 134, 207, 0.4);
|
||
--nak-blue-30: rgba(39, 134, 207, 0.3);
|
||
--nak-blue-20: rgba(39, 134, 207, 0.2);
|
||
--nak-blue-10: rgba(39, 134, 207, 0.1);
|
||
--nak-blue-light: #e8f4fd;
|
||
--nak-blue-hover: #1e6fad;
|
||
--nak-black: #000000;
|
||
|
||
/* NAK Sekundärfarben – Digital */
|
||
--nak-yellow: #ffdc0f;
|
||
--nak-orange: #f08200;
|
||
--nak-red: #d21400;
|
||
--nak-raspberry: #d73282;
|
||
--nak-purple: #731e7d;
|
||
--nak-darkblue: #1243a0;
|
||
--nak-teal: #00a091;
|
||
--nak-darkgreen: #006e14;
|
||
--nak-lime: #82be23;
|
||
|
||
/* Neutrale Farben */
|
||
--gray-50: #f8f9fa;
|
||
--gray-100: #f1f3f5;
|
||
--gray-200: #e9ecef;
|
||
--gray-300: #dee2e6;
|
||
--gray-400: #ced4da;
|
||
--gray-500: #adb5bd;
|
||
--gray-600: #6c757d;
|
||
--gray-700: #495057;
|
||
--gray-800: #343a40;
|
||
--gray-900: #212529;
|
||
|
||
/* Typografie */
|
||
--font-primary: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
|
||
--font-size-xs: 0.75rem;
|
||
--font-size-sm: 0.875rem;
|
||
--font-size-base: 1rem;
|
||
--font-size-md: 1.125rem;
|
||
--font-size-lg: 1.25rem;
|
||
--font-size-xl: 1.5rem;
|
||
--font-size-2xl: 2rem;
|
||
--font-size-3xl: 2.5rem;
|
||
|
||
/* Abstände */
|
||
--space-xs: 0.25rem;
|
||
--space-sm: 0.5rem;
|
||
--space-md: 1rem;
|
||
--space-lg: 1.5rem;
|
||
--space-xl: 2rem;
|
||
--space-2xl: 3rem;
|
||
--space-3xl: 4rem;
|
||
|
||
/* Radien */
|
||
--radius-sm: 0;
|
||
--radius-md: 0;
|
||
--radius-lg: 0;
|
||
--radius-xl: 0;
|
||
--radius-full: 9999px;
|
||
|
||
/* Schatten */
|
||
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
|
||
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||
--shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
|
||
--shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
|
||
|
||
/* Layout */
|
||
--header-height: 84px;
|
||
--header-title-height: 48px;
|
||
--footer-height: 40px;
|
||
--content-max-width: 1200px;
|
||
--sidebar-width: 280px;
|
||
|
||
/* Transitions */
|
||
--transition-fast: 150ms ease;
|
||
--transition-base: 250ms ease;
|
||
--transition-slow: 400ms ease;
|
||
|
||
--theme-color: var(--nak-blue);
|
||
--theme-hover: var(--nak-blue-hover);
|
||
--theme-shadow: rgba(39, 134, 207, 0.3);
|
||
--theme-focus: rgba(39, 134, 207, 0.2);
|
||
--theme-light: var(--nak-blue-light);
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
2. RESET & BASE
|
||
-------------------------------------------------------------------------- */
|
||
*, *::before, *::after {
|
||
box-sizing: border-box;
|
||
font-family: inherit;
|
||
}
|
||
|
||
html {
|
||
scroll-behavior: smooth;
|
||
-webkit-text-size-adjust: 100%;
|
||
overflow-x: hidden;
|
||
scrollbar-width: none; /* Firefox */
|
||
-ms-overflow-style: none; /* IE/Edge */
|
||
}
|
||
html::-webkit-scrollbar {
|
||
display: none; /* Chrome, Safari, Opera */
|
||
}
|
||
|
||
body, html {
|
||
margin: 0;
|
||
padding: 0;
|
||
min-height: 100vh;
|
||
max-width: 100vw;
|
||
background-color: var(--gray-50);
|
||
}
|
||
|
||
body {
|
||
font-family: var(--font-primary);
|
||
font-size: var(--font-size-base);
|
||
font-weight: 300;
|
||
line-height: 1.6;
|
||
color: var(--gray-900);
|
||
-webkit-font-smoothing: antialiased;
|
||
-moz-osx-font-smoothing: grayscale;
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding-bottom: var(--footer-height);
|
||
overflow: visible;
|
||
}
|
||
|
||
h1, h2, h3, h4, h5, h6 {
|
||
font-weight: 500;
|
||
line-height: 1.3;
|
||
color: var(--gray-900);
|
||
margin-top: 0;
|
||
}
|
||
|
||
h1 { font-size: var(--font-size-3xl); margin-bottom: var(--space-lg); }
|
||
h2 { font-size: var(--font-size-2xl); margin-bottom: var(--space-md); }
|
||
h3 { font-size: var(--font-size-xl); margin-bottom: var(--space-md); }
|
||
h4 { font-size: var(--font-size-lg); margin-bottom: var(--space-sm); color: var(--nak-blue); }
|
||
h5 { font-size: var(--font-size-md); margin-bottom: var(--space-sm); color: var(--gray-600); }
|
||
h6 { font-size: var(--font-size-base); margin-bottom: var(--space-sm); color: var(--gray-700); }
|
||
|
||
a {
|
||
color: var(--theme-color, var(--nak-blue));
|
||
text-decoration: none;
|
||
transition: color var(--transition-fast);
|
||
}
|
||
a:hover {
|
||
color: var(--theme-hover, var(--nak-blue-hover));
|
||
text-decoration: none;
|
||
}
|
||
a:visited {
|
||
color: var(--theme-color, var(--nak-blue));
|
||
}
|
||
|
||
p {
|
||
margin: 0 0 var(--space-md) 0;
|
||
}
|
||
|
||
img {
|
||
max-width: 100%;
|
||
height: auto;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
3. HEADER
|
||
-------------------------------------------------------------------------- */
|
||
header {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
z-index: 1000;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.header_menue {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
height: var(--header-height);
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
background: #ffffff;
|
||
border-bottom: 3px solid var(--nak-blue);
|
||
box-shadow: var(--shadow-md);
|
||
transition: top 0.3s ease-in-out;
|
||
z-index: 1001;
|
||
padding: 0 var(--space-lg);
|
||
}
|
||
|
||
.header_menue .nak-logo-link {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
height: 100%;
|
||
gap: var(--space-md);
|
||
text-decoration: none;
|
||
cursor: pointer;
|
||
padding-bottom: 12px;
|
||
}
|
||
|
||
.header_menue .nak-logo-link:hover {
|
||
text-decoration: none;
|
||
}
|
||
|
||
.header_menue .nak-logo-icon {
|
||
height: 62px;
|
||
width: 62px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.header_menue .nak-logo-text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-end;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.header_menue .nak-logo-text .nak-name {
|
||
font-family: var(--font-primary);
|
||
font-weight: 500;
|
||
font-size: 1rem;
|
||
color: var(--gray-900);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.header_menue .nak-logo-text .nak-gemeinde {
|
||
font-family: var(--font-primary);
|
||
font-weight: 300;
|
||
font-size: var(--font-size-sm);
|
||
color: var(--gray-600);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* Legacy logo support (hide old SVG logo) */
|
||
.header_menue img.intranet {
|
||
display: none;
|
||
}
|
||
|
||
/* Profile Widget in Header */
|
||
.header_profile {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: row-reverse;
|
||
align-items: center;
|
||
height: 56px;
|
||
max-width: 56px;
|
||
border-radius: 9999px;
|
||
overflow: hidden;
|
||
background-color: transparent;
|
||
box-shadow: none;
|
||
transition: max-width var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base), border-radius var(--transition-base), padding var(--transition-base);
|
||
z-index: 1005;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.header_profile img {
|
||
width: 56px;
|
||
min-width: 56px;
|
||
height: 56px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
aspect-ratio: 1/1;
|
||
border: 2px solid var(--gray-200);
|
||
transition: border-color var(--transition-fast);
|
||
cursor: pointer;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.header_profile img:hover {
|
||
border-color: var(--nak-blue);
|
||
}
|
||
|
||
.header_profile_slideLeft {
|
||
max-width: 300px;
|
||
padding-right: 0;
|
||
padding-left: var(--space-md);
|
||
background-color: #ffffff;
|
||
box-shadow: var(--shadow-lg);
|
||
border-radius: 28px;
|
||
border: 1px solid var(--gray-200);
|
||
}
|
||
|
||
/* Desktop: Profile expands on hover */
|
||
@media (min-width: 769px) {
|
||
.header_profile:hover {
|
||
max-width: 300px;
|
||
padding-left: var(--space-md);
|
||
background-color: #ffffff;
|
||
box-shadow: var(--shadow-lg);
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: 28px;
|
||
}
|
||
}
|
||
|
||
.header_profile_bar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 6px;
|
||
padding: 0 var(--space-sm);
|
||
height: 100%;
|
||
white-space: nowrap;
|
||
transition: opacity var(--transition-base), color var(--transition-fast);
|
||
cursor: pointer;
|
||
font-size: var(--font-size-xs);
|
||
font-weight: 500;
|
||
color: var(--gray-600);
|
||
}
|
||
|
||
.header_profile_bar:hover {
|
||
color: var(--nak-blue);
|
||
}
|
||
|
||
.header_profile_bar svg {
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
4. HEADER TITLE BAR (Seitentitel)
|
||
-------------------------------------------------------------------------- */
|
||
.header_title {
|
||
position: fixed;
|
||
top: var(--header-height);
|
||
display: flex;
|
||
align-items: center;
|
||
width: 100%;
|
||
height: var(--header-title-height);
|
||
background: linear-gradient(135deg, var(--nak-blue) 0%, #1e6fad 100%);
|
||
box-shadow: 0 2px 8px rgba(39, 134, 207, 0.3);
|
||
transition: top 0.3s ease-in-out;
|
||
z-index: 999;
|
||
padding: 0 var(--space-lg);
|
||
border: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.header_title_text {
|
||
font-size: var(--font-size-md);
|
||
font-weight: 500;
|
||
color: #ffffff;
|
||
margin: 0;
|
||
}
|
||
|
||
/* Title bar Variants */
|
||
.ht_admin {
|
||
background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%) !important;
|
||
}
|
||
.ht_dev {
|
||
background: linear-gradient(135deg, var(--nak-darkgreen) 0%, #005a10 100%) !important;
|
||
}
|
||
.ht_pastoral {
|
||
background: linear-gradient(135deg, var(--nak-purple) 0%, #5c1865 100%) !important;
|
||
}
|
||
.ht_kalli {
|
||
background: linear-gradient(135deg, var(--nak-blue) 0%, var(--nak-blue-hover) 100%) !important;
|
||
}
|
||
.ht_orange {
|
||
background: linear-gradient(135deg, var(--nak-orange) 0%, #d47200 100%) !important;
|
||
}
|
||
.ht_raspberry {
|
||
background: linear-gradient(135deg, var(--nak-raspberry) 0%, #b8296e 100%) !important;
|
||
}
|
||
.ht_teal {
|
||
background: linear-gradient(135deg, var(--nak-teal) 0%, #008577 100%) !important;
|
||
}
|
||
.ht_darkblue {
|
||
background: linear-gradient(135deg, var(--nak-darkblue) 0%, #0e3580 100%) !important;
|
||
}
|
||
.ht_lime {
|
||
background: linear-gradient(135deg, var(--nak-lime) 0%, #6fa31e 100%) !important;
|
||
}
|
||
|
||
/* Per-project theme color overrides */
|
||
.theme-blue { --theme-color: var(--nak-blue); --theme-hover: #1e6fad; --theme-shadow: rgba(39,134,207,0.3); --theme-focus: rgba(39,134,207,0.2); --theme-light: #e8f4fd; }
|
||
.theme-purple { --theme-color: var(--nak-purple); --theme-hover: #5c1865; --theme-shadow: rgba(115,30,125,0.3); --theme-focus: rgba(115,30,125,0.2); --theme-light: #f3e6f5; }
|
||
.theme-admin { --theme-color: var(--gray-800); --theme-hover: var(--gray-900); --theme-shadow: rgba(0,0,0,0.2); --theme-focus: rgba(0,0,0,0.15); --theme-light: #eceef0; }
|
||
.theme-green { --theme-color: var(--nak-darkgreen); --theme-hover: #005a10; --theme-shadow: rgba(0,110,20,0.3); --theme-focus: rgba(0,110,20,0.2); --theme-light: #e4f5e7; }
|
||
.theme-teal { --theme-color: var(--nak-teal); --theme-hover: #008577; --theme-shadow: rgba(0,160,145,0.3); --theme-focus: rgba(0,160,145,0.2); --theme-light: #e2f5f3; }
|
||
.theme-orange { --theme-color: var(--nak-orange); --theme-hover: #d47200; --theme-shadow: rgba(240,130,0,0.3); --theme-focus: rgba(240,130,0,0.2); --theme-light: #fef0e0; }
|
||
.theme-raspberry { --theme-color: var(--nak-raspberry); --theme-hover: #b8296e; --theme-shadow: rgba(215,50,130,0.3); --theme-focus: rgba(215,50,130,0.2); --theme-light: #fce8f2; }
|
||
.theme-darkblue{ --theme-color: var(--nak-darkblue); --theme-hover: #0e3580; --theme-shadow: rgba(18,67,160,0.3); --theme-focus: rgba(18,67,160,0.2); --theme-light: #e4eaf6; }
|
||
.theme-lime { --theme-color: var(--nak-lime); --theme-hover: #6fa31e; --theme-shadow: rgba(130,190,35,0.3); --theme-focus: rgba(130,190,35,0.2); --theme-light: #f1f8e4; }
|
||
|
||
/* Apply theme color to interactive elements inside themed containers */
|
||
[class*="theme-"] .content input.button,
|
||
[class*="theme-"] .content input.button_fullwidth,
|
||
[class*="theme-"] .button_fullwidth {
|
||
background: var(--theme-color);
|
||
}
|
||
[class*="theme-"] .content input.button:hover,
|
||
[class*="theme-"] .content input.button_fullwidth:hover,
|
||
[class*="theme-"] .button_fullwidth:hover {
|
||
background: var(--theme-hover);
|
||
}
|
||
[class*="theme-"] .content input.field_fullwidth:focus,
|
||
[class*="theme-"] .content input.field:focus,
|
||
[class*="theme-"] .phone-input:focus {
|
||
border-color: var(--theme-color);
|
||
box-shadow: 0 0 0 3px var(--theme-focus);
|
||
}
|
||
[class*="theme-"] .header_title {
|
||
background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-hover) 100%);
|
||
box-shadow: 0 2px 8px var(--theme-shadow);
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
5. CONTENT AREA
|
||
-------------------------------------------------------------------------- */
|
||
.content {
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
#base.content {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: 0;
|
||
padding-bottom: var(--footer-height);
|
||
margin: calc(var(--header-height) + var(--header-title-height)) 0 calc(-1 * var(--footer-height)) 0;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
min-height: calc(100vh - var(--header-height) - var(--header-title-height));
|
||
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
|
||
z-index: unset;
|
||
}
|
||
|
||
#base.content > .content-tab-bar {
|
||
width: 100%;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
/* Pages without tab-bar get padding via their inner wrappers (.profile, .kalli-wizard, .content_flexcontainer) */
|
||
|
||
#fullsize.content {
|
||
position: relative;
|
||
top: 0;
|
||
margin-top: calc(var(--header-height) + var(--header-title-height));
|
||
margin-bottom: calc(-1 * var(--footer-height));
|
||
padding: 0;
|
||
padding-bottom: var(--footer-height);
|
||
min-height: calc(100vh - var(--header-height) - var(--header-title-height));
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
border: none;
|
||
border-radius: 0;
|
||
overflow: visible;
|
||
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
|
||
z-index: unset;
|
||
}
|
||
|
||
#visit.content {
|
||
position: relative;
|
||
top: 0;
|
||
margin-top: calc(var(--header-height) + var(--header-title-height) + var(--header-title-height));
|
||
margin-bottom: calc(-1 * var(--footer-height));
|
||
padding: 0;
|
||
padding-bottom: var(--footer-height);
|
||
min-height: calc(100vh - var(--header-height) - var(--header-title-height) - var(--header-title-height));
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
border: none;
|
||
border-radius: 0;
|
||
overflow: visible;
|
||
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
|
||
z-index: 1;
|
||
}
|
||
|
||
.content_panel {
|
||
position: relative;
|
||
padding: var(--space-xl);
|
||
width: 100%;
|
||
min-height: 100%;
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: 0;
|
||
background: #ffffff;
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
/* Content Tab Bar – einheitliche Reiternavigation im Content-Bereich */
|
||
.content-tab-bar {
|
||
display: flex;
|
||
align-items: stretch;
|
||
gap: 0;
|
||
width: 100%;
|
||
background: #ffffff;
|
||
border-bottom: 1px solid var(--gray-200);
|
||
box-shadow: 0 2px 4px rgba(0,0,0,0.04);
|
||
padding: 0 var(--space-lg);
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
z-index: 90;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
}
|
||
.content-tab-bar__item {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 6px;
|
||
padding: 14px 20px;
|
||
font-family: var(--font-primary);
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
color: var(--gray-500);
|
||
text-decoration: none;
|
||
cursor: pointer;
|
||
border: none;
|
||
background: transparent;
|
||
white-space: nowrap;
|
||
flex-shrink: 0;
|
||
transition: color var(--transition-fast);
|
||
}
|
||
.content-tab-bar__item:hover {
|
||
color: var(--gray-800);
|
||
text-decoration: none;
|
||
}
|
||
.content-tab-bar__item.active {
|
||
color: var(--gray-900);
|
||
font-weight: 600;
|
||
}
|
||
.content-tab-bar__item.active::after {
|
||
content: '';
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 3px;
|
||
background: var(--theme-color, var(--nak-blue));
|
||
}
|
||
.content-tab-bar__badge {
|
||
min-width: 18px;
|
||
height: 18px;
|
||
padding: 0 5px;
|
||
border-radius: 9999px;
|
||
background: var(--nak-red);
|
||
color: #FFF;
|
||
font-size: 0.72em;
|
||
font-weight: 900;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.content-tab-bar {
|
||
padding: 0 var(--space-sm);
|
||
}
|
||
.content-tab-bar__item {
|
||
padding: 12px 14px;
|
||
font-size: var(--font-size-xs);
|
||
}
|
||
.profile-modal-hero {
|
||
grid-template-columns: 72px minmax(0, 1fr);
|
||
gap: 12px;
|
||
padding: 18px 16px;
|
||
}
|
||
.profile-modal-img {
|
||
width: 68px;
|
||
height: 68px;
|
||
}
|
||
.profile-modal-title {
|
||
font-size: 1.1em;
|
||
margin-right: 40px;
|
||
}
|
||
.profile-modal-body {
|
||
padding: 16px;
|
||
}
|
||
}
|
||
|
||
/* Tab content panels (for #base pages like profile) */
|
||
.profile-tab-content {
|
||
display: none;
|
||
width: 100%;
|
||
padding: var(--space-lg);
|
||
box-sizing: border-box;
|
||
}
|
||
.profile-tab-content.active {
|
||
display: block;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
6. FOOTER
|
||
-------------------------------------------------------------------------- */
|
||
footer {
|
||
position: fixed;
|
||
bottom: 0;
|
||
left: 0;
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 100%;
|
||
height: 40px;
|
||
min-height: 40px;
|
||
max-height: 40px;
|
||
padding: 0 var(--space-lg);
|
||
margin-top: auto;
|
||
background: #ffffff;
|
||
border-top: 2px solid var(--nak-blue);
|
||
transition: all var(--transition-base);
|
||
overflow: hidden;
|
||
flex-shrink: 0;
|
||
z-index: 1000;
|
||
}
|
||
|
||
.release {
|
||
position: absolute;
|
||
top: -20px;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 2px 16px;
|
||
height: 20px;
|
||
font-size: var(--font-size-xs);
|
||
font-weight: 300;
|
||
color: #ffffff;
|
||
border-radius: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.legal-links {
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
gap: var(--space-lg);
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.legal-links a {
|
||
color: var(--gray-600);
|
||
text-decoration: none;
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 300;
|
||
transition: color var(--transition-fast);
|
||
}
|
||
|
||
.legal-links a:hover {
|
||
color: var(--theme-color, var(--nak-blue));
|
||
text-decoration: none;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
7. MAIN PAGE (Intranet Hauptmenü)
|
||
-------------------------------------------------------------------------- */
|
||
.mainpage {
|
||
position: relative;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: flex-start;
|
||
padding-top: calc(var(--header-height) + var(--header-title-height) + var(--space-sm));
|
||
padding-bottom: calc(var(--footer-height) + var(--space-lg));
|
||
width: 100%;
|
||
min-height: 100vh;
|
||
margin-bottom: calc(-1 * var(--footer-height));
|
||
overflow-x: hidden;
|
||
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
|
||
}
|
||
|
||
.mainpage_container {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(180px, 1fr));
|
||
grid-auto-rows: auto;
|
||
gap: var(--space-lg);
|
||
padding: var(--space-lg) var(--space-3xl);
|
||
margin: 0 auto;
|
||
max-width: 900px;
|
||
width: 100%;
|
||
justify-items: stretch;
|
||
}
|
||
|
||
/* Meldungen ausschließlich im Hauptmenü */
|
||
.mainpage_notice {
|
||
grid-column: 1 / -1;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
padding: 16px 20px;
|
||
border-left: 4px solid var(--nak-blue);
|
||
background: #ffffff;
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.mainpage_notice_title {
|
||
margin-bottom: 4px;
|
||
font-size: var(--font-size-base);
|
||
font-weight: 700;
|
||
color: var(--gray-900);
|
||
}
|
||
|
||
.mainpage_notice_text {
|
||
font-size: var(--font-size-sm);
|
||
line-height: 1.5;
|
||
color: var(--gray-700);
|
||
}
|
||
|
||
.mainpage_notice--info {
|
||
border-left-color: var(--nak-blue);
|
||
background: hsl(210, 57%, 97%);
|
||
}
|
||
|
||
.mainpage_notice--warning {
|
||
border-left-color: var(--nak-orange);
|
||
background: hsl(34, 90%, 96%);
|
||
}
|
||
|
||
.mainpage_notice--success {
|
||
border-left-color: var(--nak-darkgreen);
|
||
background: hsl(145, 50%, 96%);
|
||
}
|
||
|
||
.mainpage_notice--error {
|
||
border-left-color: var(--nak-red);
|
||
background: hsl(352, 72%, 97%);
|
||
}
|
||
|
||
.button_mainpage {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: var(--space-sm);
|
||
padding: var(--space-xl) var(--space-lg);
|
||
min-height: 120px;
|
||
cursor: pointer;
|
||
color: #ffffff;
|
||
background: var(--nak-blue);
|
||
border: none;
|
||
border-radius: 0;
|
||
box-shadow: var(--shadow-md);
|
||
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
|
||
overflow: hidden;
|
||
width: 100%;
|
||
}
|
||
|
||
.button_mainpage:hover {
|
||
transform: translateY(-4px) scale(1.02);
|
||
box-shadow: var(--shadow-xl);
|
||
}
|
||
|
||
.button_mainpage:active {
|
||
transform: translateY(-1px) scale(0.98);
|
||
}
|
||
|
||
.button_mainpage::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
left: -100%;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
|
||
transition: left 0.5s ease;
|
||
}
|
||
|
||
.button_mainpage:hover::before {
|
||
left: 100%;
|
||
}
|
||
|
||
.button_mainpage .text {
|
||
font-size: var(--font-size-md);
|
||
font-weight: 500;
|
||
text-align: center;
|
||
line-height: 1.3;
|
||
}
|
||
|
||
.button_mainpage svg {
|
||
fill: #ffffff;
|
||
width: 32px;
|
||
height: 32px;
|
||
opacity: 0.9;
|
||
}
|
||
|
||
#spin.button_mainpage:hover svg {
|
||
animation: spin 4s linear infinite;
|
||
}
|
||
|
||
@keyframes spin {
|
||
0% { transform: rotate(0deg); }
|
||
100% { transform: rotate(360deg); }
|
||
}
|
||
|
||
/* Button color variants */
|
||
.bg_blue { background: var(--nak-blue); }
|
||
.bg_blue:hover { background: var(--nak-blue-hover); }
|
||
.bg_darkblue { background: var(--nak-darkblue); }
|
||
.bg_darkblue:hover { background: #0e3580; }
|
||
.bg_purple { background: var(--nak-purple); }
|
||
.bg_purple:hover { background: #5c1865; }
|
||
.bg_orange { background: var(--nak-orange); }
|
||
.bg_orange:hover { background: #d47200; }
|
||
.bg_red { background: var(--nak-red); }
|
||
.bg_red:hover { background: #b01000; }
|
||
.bg_black { background: var(--gray-800); }
|
||
.bg_black:hover { background: var(--gray-900); }
|
||
.bg_green { background: var(--nak-darkgreen); }
|
||
.bg_green:hover { background: #005a10; }
|
||
.bg_teal { background: var(--nak-teal); }
|
||
.bg_teal:hover { background: #008577; }
|
||
.bg_raspberry { background: var(--nak-raspberry); }
|
||
.bg_raspberry:hover { background: #b8296e; }
|
||
.bg_lime { background: var(--nak-lime); }
|
||
.bg_lime:hover { background: #6fa31e; }
|
||
|
||
/* --------------------------------------------------------------------------
|
||
8. PROFILE PAGES
|
||
-------------------------------------------------------------------------- */
|
||
.profile {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
width: 100%;
|
||
max-width: 600px;
|
||
margin: 0 auto;
|
||
padding: var(--space-xl) 0;
|
||
}
|
||
|
||
.profile img {
|
||
display: block;
|
||
margin: 0 auto var(--space-lg) auto;
|
||
width: 160px;
|
||
height: 160px;
|
||
object-fit: cover;
|
||
aspect-ratio: 1/1;
|
||
border-radius: 50%;
|
||
border: 4px solid #ffffff;
|
||
box-shadow: 0 4px 20px rgba(39, 134, 207, 0.2);
|
||
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||
}
|
||
|
||
.profile img:hover {
|
||
transform: scale(1.05);
|
||
box-shadow: 0 8px 30px rgba(39, 134, 207, 0.3);
|
||
}
|
||
|
||
.profile h2 {
|
||
text-align: center;
|
||
font-weight: 600;
|
||
margin-bottom: var(--space-xl);
|
||
color: var(--gray-900);
|
||
}
|
||
|
||
.profile form {
|
||
width: 100%;
|
||
text-align: center;
|
||
}
|
||
|
||
.profile .content_panel {
|
||
text-align: center;
|
||
padding: var(--space-2xl);
|
||
}
|
||
|
||
/* Profile container (overlay) */
|
||
.profile_container {
|
||
display: none;
|
||
position: fixed;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translate(-50%, -50%);
|
||
width: min(520px, calc(100vw - 24px));
|
||
max-height: min(700px, calc(100dvh - 24px));
|
||
overflow: auto;
|
||
padding: 0;
|
||
background: #FFFFFF;
|
||
border-radius: 0;
|
||
box-shadow: 0 24px 70px rgba(0,0,0,0.36);
|
||
z-index: 2000;
|
||
}
|
||
|
||
.profile-modal-card {
|
||
position: relative;
|
||
}
|
||
|
||
.profile-modal-hero {
|
||
position: relative;
|
||
display: grid;
|
||
grid-template-columns: 96px minmax(0, 1fr);
|
||
gap: 16px;
|
||
align-items: center;
|
||
padding: 24px;
|
||
color: #FFFFFF;
|
||
background:
|
||
radial-gradient(circle at 10% 0%, rgba(255,255,255,0.24), transparent 32%),
|
||
linear-gradient(135deg, var(--nak-teal), #008577);
|
||
}
|
||
|
||
.profile-modal-img {
|
||
width: 88px;
|
||
height: 88px;
|
||
object-fit: cover;
|
||
border-radius: 16px;
|
||
box-shadow: 0 12px 28px rgba(0,0,0,0.32), 0 0 0 4px rgba(255,255,255,0.18);
|
||
}
|
||
|
||
.profile-modal-title {
|
||
margin: 0 42px 4px 0;
|
||
font-size: 1.35em;
|
||
font-weight: 850;
|
||
color: #FFFFFF;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.profile-modal-subtitle {
|
||
color: rgba(255,255,255,0.86);
|
||
font-size: 0.88em;
|
||
font-weight: 600;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.profile-modal-body {
|
||
padding: 22px 24px 24px 24px;
|
||
}
|
||
|
||
.profile-modal-field {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.profile-modal-field-label {
|
||
font-size: 0.82em;
|
||
font-weight: 850;
|
||
letter-spacing: 0.04em;
|
||
text-transform: uppercase;
|
||
color: hsl(210, 18%, 36%);
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.profile-modal-field-value {
|
||
font-size: var(--font-size-sm);
|
||
color: var(--gray-800);
|
||
word-break: break-word;
|
||
}
|
||
|
||
.profile-modal-field-value a {
|
||
color: var(--theme-color, var(--nak-blue));
|
||
text-decoration: none;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.profile-modal-field-value a:hover {
|
||
text-decoration: none;
|
||
}
|
||
|
||
.profile-modal-chips {
|
||
display: flex;
|
||
flex-flow: row wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.profile-modal-chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 5px 10px;
|
||
border-radius: 9999px;
|
||
background: hsl(174, 100%, 96%);
|
||
border: 1px solid hsl(174, 50%, 80%);
|
||
color: hsl(174, 60%, 28%);
|
||
font-size: 0.8em;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.profile_container .exit {
|
||
position: absolute;
|
||
top: 14px;
|
||
right: 14px;
|
||
z-index: 1;
|
||
width: 34px;
|
||
height: 34px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 0;
|
||
border: 1px solid rgba(255,255,255,0.25);
|
||
background: rgba(255,255,255,0.16);
|
||
color: #FFFFFF;
|
||
font-size: 1.35em;
|
||
line-height: 1;
|
||
cursor: pointer;
|
||
padding: 0;
|
||
transition: background 0.18s ease;
|
||
}
|
||
|
||
.profile_container .exit:hover {
|
||
background: rgba(255,255,255,0.3);
|
||
}
|
||
|
||
div.profile_container a:link,
|
||
div.profile_container a:visited { color: var(--theme-color, var(--nak-blue)); }
|
||
div.profile_container a:hover,
|
||
div.profile_container a:active { color: var(--theme-hover, var(--nak-blue-hover)); }
|
||
|
||
/* --------------------------------------------------------------------------
|
||
9. FORMS
|
||
-------------------------------------------------------------------------- */
|
||
form {
|
||
position: relative;
|
||
display: flex;
|
||
flex-flow: column nowrap;
|
||
margin: 0;
|
||
padding: 0;
|
||
overflow: visible;
|
||
background-color: transparent;
|
||
}
|
||
|
||
.content label {
|
||
display: block;
|
||
margin: 0;
|
||
padding: 0;
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
color: var(--gray-600);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.03em;
|
||
}
|
||
|
||
.content input.field,
|
||
.content input.field_fullwidth,
|
||
.content input.field_date {
|
||
display: block;
|
||
position: relative;
|
||
margin: var(--space-sm) 0;
|
||
padding: 12px 14px;
|
||
width: 100%;
|
||
font-size: var(--font-size-base);
|
||
font-family: var(--font-primary);
|
||
font-weight: 300;
|
||
border: 1px solid var(--gray-300);
|
||
border-radius: 0;
|
||
background: var(--gray-50);
|
||
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
||
outline: none;
|
||
}
|
||
|
||
.content input.field:focus,
|
||
.content input.field_fullwidth:focus,
|
||
.content input.field_date:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 3px var(--nak-blue-20);
|
||
background: #ffffff;
|
||
}
|
||
|
||
.content input.button,
|
||
.content input.button_fullwidth,
|
||
input.button_long {
|
||
position: relative;
|
||
margin: var(--space-md) 0;
|
||
padding: 14px 24px;
|
||
width: 100%;
|
||
height: auto;
|
||
font-size: var(--font-size-base);
|
||
font-weight: 500;
|
||
font-family: var(--font-primary);
|
||
color: #ffffff;
|
||
background: var(--nak-blue);
|
||
border: none;
|
||
border-radius: 0;
|
||
box-shadow: var(--shadow-sm);
|
||
cursor: pointer;
|
||
line-height: 1.4;
|
||
transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
||
}
|
||
|
||
.content input.button:hover,
|
||
.content input.button_fullwidth:hover,
|
||
input.button_long:hover {
|
||
background: var(--nak-blue-hover);
|
||
transform: translateY(-1px);
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.content input[type="checkbox"] {
|
||
margin: var(--space-sm) var(--space-sm) var(--space-sm) 0;
|
||
width: 20px;
|
||
height: 20px;
|
||
accent-color: var(--nak-blue);
|
||
}
|
||
|
||
.content textarea {
|
||
margin: var(--space-sm) 0;
|
||
padding: 12px 14px;
|
||
width: 100%;
|
||
resize: vertical;
|
||
font-size: var(--font-size-base);
|
||
font-family: var(--font-primary);
|
||
font-weight: 300;
|
||
border: 1px solid var(--gray-300);
|
||
border-radius: 0;
|
||
background: var(--gray-50);
|
||
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
||
outline: none;
|
||
}
|
||
|
||
.content textarea:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 3px var(--nak-blue-20);
|
||
background: #ffffff;
|
||
}
|
||
|
||
/* Eventbox (Form-Container) */
|
||
.eventbox_mini {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-self: center;
|
||
margin: var(--space-lg) 0;
|
||
padding: var(--space-lg);
|
||
width: 100%;
|
||
max-width: 400px;
|
||
background: var(--gray-50);
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: 0;
|
||
}
|
||
|
||
.eventbox_mini input.field {
|
||
margin: var(--space-sm) 0;
|
||
padding: 10px 14px;
|
||
width: 100%;
|
||
font-size: var(--font-size-base);
|
||
border: 1px solid var(--gray-300);
|
||
border-radius: 0;
|
||
outline: none;
|
||
transition: border-color var(--transition-fast);
|
||
}
|
||
|
||
.eventbox_mini input.field:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 3px var(--nak-blue-20);
|
||
}
|
||
|
||
.eventbox_mini input.button {
|
||
margin: var(--space-md) 0 0 0;
|
||
padding: 12px;
|
||
width: 100%;
|
||
color: #ffffff;
|
||
font-weight: 500;
|
||
background: var(--nak-blue);
|
||
border: none;
|
||
border-radius: 0;
|
||
cursor: pointer;
|
||
transition: background var(--transition-fast);
|
||
}
|
||
|
||
.eventbox_mini input.button:hover {
|
||
background: var(--nak-blue-hover);
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
10. LOGIN
|
||
-------------------------------------------------------------------------- */
|
||
.login_panel {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 100vh;
|
||
margin-bottom: calc(-1 * var(--footer-height));
|
||
padding: var(--space-xl);
|
||
background: linear-gradient(135deg, var(--gray-50) 0%, var(--theme-light, var(--nak-blue-light)) 100%);
|
||
}
|
||
|
||
.login_content {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
padding: var(--space-2xl);
|
||
width: 100%;
|
||
max-width: 420px;
|
||
background: #ffffff;
|
||
border-radius: 0;
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
.login_content h1 {
|
||
font-size: var(--font-size-xl);
|
||
font-weight: 600;
|
||
color: var(--gray-900);
|
||
text-align: center;
|
||
margin-bottom: var(--space-sm);
|
||
}
|
||
|
||
.login_content h2 {
|
||
font-size: var(--font-size-lg);
|
||
font-weight: 500;
|
||
color: var(--gray-600);
|
||
text-align: center;
|
||
margin-bottom: var(--space-sm);
|
||
}
|
||
|
||
/* Logo/Wordmark auf Authorization-Seiten */
|
||
.login_content .auth-logo {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
align-self: flex-start;
|
||
gap: 14px;
|
||
width: 100%;
|
||
margin: 0 0 var(--space-lg) 0;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.login_content .auth-logo__icon {
|
||
width: 64px;
|
||
height: 64px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.login_content .auth-logo__text {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: flex-end;
|
||
line-height: 1.2;
|
||
padding-bottom: 2px;
|
||
}
|
||
|
||
.login_content .auth-logo__name {
|
||
font-family: var(--font-primary);
|
||
font-weight: 500;
|
||
font-size: 1rem;
|
||
color: var(--gray-900);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.login_content .auth-logo__gemeinde {
|
||
font-family: var(--font-primary);
|
||
font-weight: 300;
|
||
font-size: 0.875rem;
|
||
color: var(--gray-600);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.login_content .auth-logo {
|
||
gap: 10px;
|
||
}
|
||
|
||
.login_content .auth-logo__icon {
|
||
width: 48px;
|
||
height: 48px;
|
||
}
|
||
|
||
.login_content .auth-logo__name {
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
.login_content .auth-logo__gemeinde {
|
||
font-size: 0.75rem;
|
||
}
|
||
}
|
||
|
||
.login_panel form {
|
||
width: 100%;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.login_panel .item {
|
||
position: relative;
|
||
display: flex;
|
||
flex-flow: column-reverse wrap;
|
||
justify-content: center;
|
||
align-items: flex-start;
|
||
width: 100%;
|
||
}
|
||
|
||
.login_panel label {
|
||
display: block;
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
color: var(--gray-600);
|
||
margin-bottom: var(--space-xs);
|
||
}
|
||
|
||
.login_field {
|
||
margin: 0 0 var(--space-md) 0;
|
||
padding: 14px 16px;
|
||
width: 100%;
|
||
font-size: var(--font-size-base);
|
||
font-family: var(--font-primary);
|
||
font-weight: 300;
|
||
border: 1px solid var(--gray-300);
|
||
border-radius: 0;
|
||
background: var(--gray-50);
|
||
outline: none;
|
||
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
|
||
box-shadow: none;
|
||
}
|
||
|
||
.login_field:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 3px var(--nak-blue-20);
|
||
background: #ffffff;
|
||
}
|
||
|
||
.login_button {
|
||
margin: var(--space-md) 0 0 0;
|
||
padding: 14px;
|
||
width: 100%;
|
||
font-size: var(--font-size-base);
|
||
font-weight: 500;
|
||
font-family: var(--font-primary);
|
||
color: #ffffff;
|
||
background: var(--nak-blue);
|
||
border: none;
|
||
border-radius: 0;
|
||
cursor: pointer;
|
||
box-shadow: var(--shadow-sm);
|
||
transition: background var(--transition-fast), transform var(--transition-fast);
|
||
}
|
||
|
||
.login_button:hover {
|
||
background: var(--nak-blue-hover);
|
||
transform: translateY(-1px);
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
.login_panel .just-validate-error-label {
|
||
color: var(--nak-red) !important;
|
||
font-size: var(--font-size-xs);
|
||
font-weight: 500;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
11. MESSAGES
|
||
-------------------------------------------------------------------------- */
|
||
.messagebox {
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
margin: var(--space-md);
|
||
padding: var(--space-sm) var(--space-lg);
|
||
min-height: 36px;
|
||
width: fit-content;
|
||
color: #ffffff;
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
text-align: center;
|
||
border-radius: var(--radius-full);
|
||
}
|
||
|
||
.messagebox_short {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: var(--space-xs) var(--space-md);
|
||
height: 28px;
|
||
color: #ffffff;
|
||
font-size: var(--font-size-xs);
|
||
font-weight: 500;
|
||
border-radius: var(--radius-full);
|
||
}
|
||
|
||
/* Message Colors */
|
||
.bg_red { background-color: var(--nak-red); }
|
||
.bg_green { background-color: var(--nak-darkgreen); }
|
||
.bg_black { background-color: var(--gray-800); }
|
||
.bg_blue { background-color: var(--nak-blue); }
|
||
.bg_purple { background-color: var(--nak-purple); }
|
||
.text_white { color: #ffffff; }
|
||
.text_black { color: var(--gray-900); }
|
||
.text_red { color: var(--nak-red); }
|
||
|
||
/* Toast Notifications */
|
||
.nak-toast {
|
||
position: fixed;
|
||
top: 18px;
|
||
left: 50%;
|
||
transform: translateX(-50%) translateY(-120%);
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 14px 20px;
|
||
min-width: 280px;
|
||
max-width: 520px;
|
||
background: #ffffff;
|
||
border: 1px solid var(--gray-200);
|
||
box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
|
||
z-index: 10000;
|
||
opacity: 0;
|
||
pointer-events: none;
|
||
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
|
||
opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
|
||
font-family: var(--font-primary);
|
||
}
|
||
.nak-toast--visible {
|
||
transform: translateX(-50%) translateY(0);
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
}
|
||
.nak-toast--hiding {
|
||
transform: translateX(-50%) translateY(-120%);
|
||
opacity: 0;
|
||
}
|
||
.nak-toast__icon {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 32px;
|
||
height: 32px;
|
||
border-radius: 0;
|
||
}
|
||
.nak-toast__icon svg {
|
||
width: 20px;
|
||
height: 20px;
|
||
}
|
||
.nak-toast--success .nak-toast__icon {
|
||
background: var(--nak-darkgreen);
|
||
color: #ffffff;
|
||
}
|
||
.nak-toast--error .nak-toast__icon {
|
||
background: var(--nak-red);
|
||
color: #ffffff;
|
||
}
|
||
.nak-toast__text {
|
||
flex: 1;
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
color: var(--gray-800);
|
||
line-height: 1.4;
|
||
}
|
||
.nak-toast__close {
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 28px;
|
||
height: 28px;
|
||
padding: 0;
|
||
margin: 0;
|
||
background: transparent;
|
||
border: none;
|
||
cursor: pointer;
|
||
color: var(--gray-400);
|
||
transition: color var(--transition-fast);
|
||
}
|
||
.nak-toast__close:hover {
|
||
color: var(--gray-700);
|
||
}
|
||
.nak-toast__close svg {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
.nak-toast--success {
|
||
border-left: 4px solid var(--nak-darkgreen);
|
||
}
|
||
.nak-toast--error {
|
||
border-left: 4px solid var(--nak-red);
|
||
}
|
||
|
||
/* Inline variant for auth pages (not fixed, positioned in flow) */
|
||
.nak-toast--inline {
|
||
position: relative;
|
||
top: auto;
|
||
left: auto;
|
||
transform: translateY(-20px);
|
||
margin: 0 auto var(--space-md) auto;
|
||
z-index: 10;
|
||
}
|
||
.nak-toast--inline.nak-toast--visible {
|
||
transform: translateY(0);
|
||
}
|
||
.nak-toast--inline.nak-toast--hiding {
|
||
transform: translateY(-20px);
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.nak-toast:not(.nak-toast--inline) {
|
||
left: 12px;
|
||
right: 12px;
|
||
transform: translateX(0) translateY(-120%);
|
||
min-width: auto;
|
||
max-width: none;
|
||
}
|
||
.nak-toast:not(.nak-toast--inline).nak-toast--visible {
|
||
transform: translateX(0) translateY(0);
|
||
}
|
||
.nak-toast:not(.nak-toast--inline).nak-toast--hiding {
|
||
transform: translateX(0) translateY(-120%);
|
||
}
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
12. TABLES
|
||
-------------------------------------------------------------------------- */
|
||
.eventbox_table {
|
||
position: relative;
|
||
display: block;
|
||
width: 100%;
|
||
background-color: unset;
|
||
border-collapse: collapse;
|
||
overflow: visible;
|
||
scroll-behavior: smooth;
|
||
}
|
||
|
||
.eventbox_table:after {
|
||
content: "";
|
||
display: block;
|
||
height: 40px;
|
||
}
|
||
|
||
.eventbox_table th {
|
||
padding: var(--space-sm) var(--space-md);
|
||
font-size: var(--font-size-sm);
|
||
font-weight: 500;
|
||
color: var(--gray-700);
|
||
text-align: center;
|
||
background: var(--gray-100);
|
||
border: none;
|
||
border-bottom: 2px solid var(--gray-200);
|
||
z-index: 10;
|
||
}
|
||
|
||
.eventbox_table th::after {
|
||
content: '';
|
||
position: absolute;
|
||
top: -1px;
|
||
left: 0;
|
||
right: 0;
|
||
margin: 0;
|
||
height: 1px;
|
||
background-color: #fefefe;
|
||
z-index: -1;
|
||
}
|
||
|
||
.eventbox_table td {
|
||
padding: var(--space-sm) var(--space-md);
|
||
background-color: unset;
|
||
border: none;
|
||
border-bottom: 1px solid var(--gray-100);
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.eventbox_table tr:hover td {
|
||
background-color: var(--nak-blue-10);
|
||
}
|
||
|
||
.eventbox_table tr:focus {
|
||
outline: 2px solid var(--nak-blue);
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
.eventbox_table tr:focus td.person {
|
||
outline: 2px solid var(--nak-blue);
|
||
outline-offset: -2px;
|
||
}
|
||
|
||
.eventbox_table img {
|
||
position: relative;
|
||
display: flex;
|
||
justify-content: center;
|
||
padding: 4px;
|
||
width: calc(100% - 8px);
|
||
height: auto;
|
||
object-fit: cover;
|
||
aspect-ratio: 1/1;
|
||
border-radius: 0;
|
||
}
|
||
|
||
#data.content_panel table {
|
||
margin-bottom: var(--space-xl);
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
background: #ffffff;
|
||
}
|
||
|
||
#data.content_panel th,
|
||
#data.content_panel td {
|
||
text-align: left;
|
||
font-family: var(--font-primary);
|
||
border: 1px solid var(--gray-200);
|
||
padding: var(--space-sm) var(--space-md);
|
||
}
|
||
|
||
#data.content_panel th {
|
||
background-color: var(--gray-100);
|
||
font-weight: 500;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
13. INPUT PREFIX (Phone)
|
||
-------------------------------------------------------------------------- */
|
||
.input-prefix {
|
||
display: flex;
|
||
align-items: center;
|
||
margin: 0;
|
||
padding: 12px 14px;
|
||
font-size: var(--font-size-base);
|
||
font-weight: 500;
|
||
color: var(--gray-700);
|
||
background: var(--gray-200);
|
||
border: 1px solid var(--gray-300);
|
||
border-right: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.phone-input {
|
||
display: flex;
|
||
align-items: center;
|
||
flex: 1;
|
||
width: auto;
|
||
font-size: var(--font-size-base);
|
||
font-family: var(--font-primary);
|
||
margin: 0;
|
||
padding: 12px 14px;
|
||
border: 1px solid var(--gray-300);
|
||
border-left: none;
|
||
border-radius: 0;
|
||
outline: none;
|
||
transition: border-color var(--transition-fast);
|
||
}
|
||
|
||
.phone-input:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 3px var(--nak-blue-20);
|
||
}
|
||
|
||
|
||
/* --------------------------------------------------------------------------
|
||
15. UTILITY CLASSES
|
||
-------------------------------------------------------------------------- */
|
||
.unselectable {
|
||
-webkit-user-select: none;
|
||
-moz-user-select: none;
|
||
-ms-user-select: none;
|
||
user-select: none;
|
||
}
|
||
|
||
.center { display: flex; align-items: center; justify-content: center; }
|
||
.center a { display: flex; justify-content: center; align-items: center; }
|
||
.fullheight { height: 100%; }
|
||
.fullwidth { width: 100%; }
|
||
.left { text-align: left; }
|
||
.right { text-align: right; }
|
||
.right a { display: flex; justify-content: center; align-items: center; }
|
||
.small_text { font-size: var(--font-size-sm); }
|
||
.text_black { color: var(--gray-900); }
|
||
|
||
.flexrow_left {
|
||
display: flex;
|
||
flex-direction: row;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.flexcolumn_left {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.flexcolumn_center {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
width: 100%;
|
||
}
|
||
|
||
.content_flexcontainer {
|
||
display: flex;
|
||
flex-flow: row nowrap;
|
||
padding: var(--space-lg);
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.flexleft {
|
||
flex: 70%;
|
||
order: 1;
|
||
padding: var(--space-sm);
|
||
}
|
||
|
||
.flexright {
|
||
flex: 30%;
|
||
order: 2;
|
||
padding: var(--space-sm);
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.content_flexcontainer {
|
||
flex-flow: column wrap;
|
||
}
|
||
.flexleft { order: 2; }
|
||
.flexright { order: 1; }
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
16. RESPONSIVE
|
||
-------------------------------------------------------------------------- */
|
||
@media (max-width: 768px) {
|
||
|
||
.mainpage_container {
|
||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||
gap: var(--space-md);
|
||
padding: var(--space-lg);
|
||
max-width: 700px;
|
||
}
|
||
|
||
.button_mainpage {
|
||
min-height: 100px;
|
||
padding: var(--space-lg) var(--space-md);
|
||
}
|
||
|
||
.button_mainpage .text {
|
||
font-size: var(--font-size-base);
|
||
}
|
||
|
||
#base.content {
|
||
padding: var(--space-md);
|
||
}
|
||
|
||
.content_panel {
|
||
padding: var(--space-lg);
|
||
}
|
||
|
||
.profile img {
|
||
width: 120px;
|
||
height: 120px;
|
||
}
|
||
|
||
.profile {
|
||
padding: var(--space-lg) 0;
|
||
}
|
||
|
||
.profile .content_panel {
|
||
padding: var(--space-lg);
|
||
}
|
||
|
||
.profile h2 {
|
||
font-size: var(--font-size-lg);
|
||
margin-bottom: var(--space-lg);
|
||
}
|
||
|
||
.eventbox_mini {
|
||
max-width: 100%;
|
||
padding: var(--space-md);
|
||
margin: var(--space-md) 0;
|
||
}
|
||
|
||
.eventbox_item {
|
||
min-width: 0;
|
||
width: 100%;
|
||
padding: var(--space-xs) 0;
|
||
white-space: normal;
|
||
}
|
||
|
||
.login_content {
|
||
padding: var(--space-xl);
|
||
max-width: 100%;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
footer {
|
||
height: auto;
|
||
min-height: 36px;
|
||
max-height: none;
|
||
padding: var(--space-xs) var(--space-md);
|
||
}
|
||
|
||
.legal-links {
|
||
gap: var(--space-md);
|
||
}
|
||
|
||
.legal-links a {
|
||
font-size: var(--font-size-xs);
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.mainpage_container {
|
||
grid-template-columns: 1fr 1fr;
|
||
gap: var(--space-sm);
|
||
padding: var(--space-md);
|
||
}
|
||
|
||
.button_mainpage {
|
||
min-height: 80px;
|
||
padding: var(--space-md);
|
||
}
|
||
|
||
.button_mainpage .text {
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.header_profile_slideLeft {
|
||
max-width: 300px;
|
||
padding-left: var(--space-sm);
|
||
}
|
||
|
||
.profile {
|
||
padding: var(--space-md) 0;
|
||
}
|
||
|
||
.profile img {
|
||
width: 100px;
|
||
height: 100px;
|
||
margin-bottom: var(--space-md);
|
||
}
|
||
|
||
.profile .content_panel {
|
||
padding: var(--space-md);
|
||
}
|
||
|
||
.profile h2 {
|
||
font-size: var(--font-size-base);
|
||
margin-bottom: var(--space-md);
|
||
}
|
||
|
||
.profile form {
|
||
width: 100%;
|
||
}
|
||
|
||
.content label {
|
||
font-size: var(--font-size-xs);
|
||
}
|
||
|
||
.content input.field_fullwidth {
|
||
padding: 10px 12px;
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.content input.button_fullwidth {
|
||
padding: 12px 16px;
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.flexrow_left.fullwidth {
|
||
flex-wrap: nowrap;
|
||
}
|
||
|
||
.input-prefix {
|
||
padding: 10px 10px;
|
||
font-size: var(--font-size-sm);
|
||
min-width: auto;
|
||
}
|
||
|
||
.phone-input {
|
||
padding: 10px 12px;
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.profile p {
|
||
font-size: var(--font-size-sm);
|
||
word-break: break-word;
|
||
}
|
||
|
||
.profile input[type="file"] {
|
||
font-size: var(--font-size-xs);
|
||
max-width: 100%;
|
||
}
|
||
|
||
.flexcolumn_left label {
|
||
font-size: var(--font-size-xs);
|
||
}
|
||
|
||
#base.content {
|
||
padding: var(--space-sm);
|
||
}
|
||
|
||
.content_panel {
|
||
padding: var(--space-md);
|
||
}
|
||
|
||
.eventbox_mini {
|
||
padding: var(--space-sm);
|
||
}
|
||
|
||
.eventbox_item {
|
||
margin: var(--space-xs) 0;
|
||
}
|
||
|
||
footer {
|
||
padding: var(--space-xs) var(--space-sm);
|
||
}
|
||
|
||
.legal-links {
|
||
gap: var(--space-sm);
|
||
}
|
||
|
||
.legal-links a {
|
||
font-size: 0.65rem;
|
||
}
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
17. SPECIAL FORMS (display_within, kalli, etc.)
|
||
-------------------------------------------------------------------------- */
|
||
form.display_within, form.display_within_admin, form.display_within_visit {
|
||
position: relative;
|
||
display: flex;
|
||
flex-flow: column nowrap;
|
||
justify-content: flex-start;
|
||
margin: 0;
|
||
padding: 0;
|
||
overflow: visible;
|
||
background-color: transparent;
|
||
border-top: 1px solid var(--gray-200);
|
||
border-radius: 0;
|
||
min-height: calc(100vh - var(--header-height) - var(--header-title-height) - var(--footer-height));
|
||
width: 100%;
|
||
}
|
||
|
||
form.display_within_dev {
|
||
position: relative;
|
||
display: flex;
|
||
flex-flow: column nowrap;
|
||
justify-content: flex-start;
|
||
margin: var(--space-md) 0 0 0;
|
||
padding: var(--space-sm);
|
||
overflow: visible;
|
||
background-color: transparent;
|
||
border-top: 1px solid var(--gray-200);
|
||
min-height: calc(100vh - var(--header-height) - var(--header-title-height) - 80px - var(--footer-height));
|
||
width: 100%;
|
||
}
|
||
|
||
.display_within_dev textarea {
|
||
margin: 5px;
|
||
padding: 5px;
|
||
width: auto;
|
||
resize: vertical;
|
||
border: 1px solid var(--gray-300);
|
||
border-radius: 0;
|
||
height: calc(100vh - var(--header-height) - var(--header-title-height));
|
||
font-size: var(--font-size-base);
|
||
}
|
||
|
||
form.kalli {
|
||
padding-top: var(--space-xl);
|
||
padding-bottom: var(--space-xl);
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
18. EVENTBOX KALLI
|
||
-------------------------------------------------------------------------- */
|
||
.eventbox_kalli {
|
||
position: relative;
|
||
display: flex;
|
||
flex-flow: row wrap;
|
||
align-items: stretch;
|
||
align-self: center;
|
||
margin: 0 0 var(--space-xl) 0;
|
||
padding: var(--space-md);
|
||
width: calc(85% - 10px);
|
||
background: var(--gray-50);
|
||
border: 1px solid var(--gray-200);
|
||
border-radius: 0;
|
||
font-size: var(--font-size-md) !important;
|
||
}
|
||
|
||
.eventbox_kalli a {
|
||
font-size: var(--font-size-sm);
|
||
}
|
||
|
||
.eventbox_kalli .label {
|
||
margin: 0 0 var(--space-sm) 0;
|
||
color: var(--gray-600);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.eventbox_item {
|
||
flex: 1 0 20%;
|
||
margin: var(--space-sm);
|
||
padding: var(--space-sm) var(--space-md);
|
||
display: inline-block;
|
||
min-width: 300px;
|
||
box-sizing: border-box;
|
||
white-space: nowrap;
|
||
border: none;
|
||
border-radius: 0;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.eventbox_item {
|
||
min-width: 0;
|
||
width: 100%;
|
||
padding: var(--space-xs) 0;
|
||
white-space: normal;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.eventbox_item {
|
||
margin: var(--space-xs) 0;
|
||
}
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
19. TABLE EXTRAS (sticky columns etc.)
|
||
-------------------------------------------------------------------------- */
|
||
.eventbox_table th.cut_off_75 {
|
||
padding: 2px;
|
||
width: 75px !important;
|
||
min-width: 75px !important;
|
||
max-width: 75px !important;
|
||
}
|
||
|
||
.cut_off_text {
|
||
overflow: hidden;
|
||
display: inline-block;
|
||
vertical-align: middle;
|
||
padding: 2px;
|
||
width: calc(100% - 4px);
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.eventbox_table th:first-child,
|
||
.eventbox_table td:first-child {
|
||
position: sticky;
|
||
left: 0;
|
||
margin: 0;
|
||
padding: 0;
|
||
width: auto;
|
||
height: auto;
|
||
background-color: inherit;
|
||
border: none;
|
||
z-index: 5;
|
||
}
|
||
|
||
.eventbox_table th:first-child {
|
||
z-index: 20;
|
||
}
|
||
|
||
.eventbox_table td.person {
|
||
padding: 4px !important;
|
||
}
|
||
|
||
.eventbox_table td.column_img_fixed {
|
||
margin: 0;
|
||
padding: 0;
|
||
padding-right: 4px;
|
||
height: 75px;
|
||
min-height: 75px;
|
||
max-height: 75px;
|
||
width: 75px;
|
||
min-width: 75px;
|
||
max-width: 75px;
|
||
background-color: unset;
|
||
border: none;
|
||
z-index: 3;
|
||
}
|
||
|
||
#visittable.eventbox_table td.column_img_fixed {
|
||
border-right: unset !important;
|
||
}
|
||
|
||
.eventbox_table input[type=submit] {
|
||
margin: 2px 4px;
|
||
padding: 4px 8px;
|
||
width: fit-content;
|
||
font-size: var(--font-size-xs) !important;
|
||
background: var(--nak-blue);
|
||
color: #ffffff;
|
||
border: none;
|
||
border-radius: 0;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.eventbox_table input[type=text] {
|
||
display: inline-block;
|
||
margin: 0;
|
||
padding: 8px;
|
||
width: calc(100% - 20px);
|
||
border-radius: 0;
|
||
text-align: center;
|
||
border: 1px solid var(--gray-300);
|
||
}
|
||
|
||
.eventbox_table input[type=text]:focus {
|
||
border-color: var(--nak-blue);
|
||
box-shadow: 0 0 0 2px var(--nak-blue-20);
|
||
outline: none;
|
||
}
|
||
|
||
/* Focus styles for table rows */
|
||
.eventbox_table tr:focus img {
|
||
border: 2px solid var(--nak-blue) !important;
|
||
padding: 3px;
|
||
}
|
||
|
||
#admintable.eventbox_table tr:focus {
|
||
background-color: #ffffff;
|
||
}
|
||
|
||
#visittable.eventbox_table tr:focus img {
|
||
border: 2px solid transparent !important;
|
||
padding: 3px;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
20. CONTENT PANEL OUTPUT
|
||
-------------------------------------------------------------------------- */
|
||
.content_panel_output {
|
||
position: relative;
|
||
margin: var(--space-md) 0 0 0;
|
||
padding: var(--space-md) var(--space-lg);
|
||
width: 100%;
|
||
background: var(--gray-50);
|
||
border-top: 1px solid var(--gray-200);
|
||
border-radius: 0;
|
||
}
|
||
|
||
.content_panel_output ul { margin-left: 0; padding-left: 0; }
|
||
.content_panel_output li { margin-left: var(--space-lg); padding-left: 0; }
|
||
|
||
/* --------------------------------------------------------------------------
|
||
21. SVG BUTTONS
|
||
-------------------------------------------------------------------------- */
|
||
.reload {
|
||
position: absolute;
|
||
width: 40px;
|
||
height: 40px;
|
||
top: 0;
|
||
left: 4px;
|
||
opacity: 1;
|
||
cursor: pointer;
|
||
z-index: 5;
|
||
}
|
||
|
||
.reload svg {
|
||
fill: var(--nak-blue);
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.button_picto {
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
a .button_picto {
|
||
fill: var(--nak-blue-60);
|
||
}
|
||
|
||
a .button_picto:hover svg {
|
||
fill: var(--nak-blue);
|
||
}
|
||
|
||
.button_picto svg {
|
||
margin: 0 2px;
|
||
width: 18px;
|
||
height: 18px;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
22. COUNTDOWN
|
||
-------------------------------------------------------------------------- */
|
||
.countdown {
|
||
position: absolute;
|
||
width: 100%;
|
||
top: 14.5px;
|
||
left: -2.5px;
|
||
text-align: center;
|
||
color: var(--nak-blue);
|
||
font-size: 6.5pt;
|
||
font-family: 'Courier New', monospace;
|
||
z-index: 6;
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
23. PRINT
|
||
-------------------------------------------------------------------------- */
|
||
@media print {
|
||
header, footer, .header_title { display: none; }
|
||
#base.content { margin-top: 0; padding: 0; }
|
||
.content_panel { box-shadow: none; border: none; }
|
||
}
|
||
|
||
/* --------------------------------------------------------------------------
|
||
24. ANIMATIONS
|
||
-------------------------------------------------------------------------- */
|
||
@keyframes fadeIn {
|
||
from { opacity: 0; transform: translateY(10px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
@keyframes slideDown {
|
||
from { opacity: 0; transform: translateY(-20px); }
|
||
to { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
.fade-in {
|
||
animation: fadeIn 0.4s ease forwards;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
25. LEGACY STYLES (migrated from intranet.css)
|
||
========================================================================== */
|
||
|
||
/* --- Generic SVG hover --- */
|
||
a:hover svg { fill: var(--theme-color, var(--nak-blue)); }
|
||
|
||
/* --- Sticky table headers --- */
|
||
thead {
|
||
position: sticky;
|
||
z-index: 10;
|
||
}
|
||
|
||
/* --- Header menu link height --- */
|
||
.header_menue a {
|
||
height: 100%;
|
||
}
|
||
|
||
/* --- Data panel first-column fix --- */
|
||
#data.content_panel td:first-child {
|
||
-webkit-column-width: auto;
|
||
-moz-column-width: auto;
|
||
column-width: auto;
|
||
}
|
||
|
||
/* --- Eventbox mini extras --- */
|
||
.eventbox_mini input[type="file"] {
|
||
position: relative;
|
||
padding: 5px;
|
||
}
|
||
|
||
.eventbox_mini .item {
|
||
position: relative;
|
||
margin: 5px;
|
||
width: 100%;
|
||
}
|
||
|
||
/* --- Eventbox kalli text --- */
|
||
.eventbox_kalli .text_after_input {
|
||
margin: 0;
|
||
padding: 0;
|
||
vertical-align: text-bottom;
|
||
}
|
||
|
||
/* --- Signup form --- */
|
||
form#signup {
|
||
margin: 20px 5px;
|
||
}
|
||
|
||
/* --- Login label color --- */
|
||
.login_label {
|
||
color: var(--gray-500);
|
||
}
|
||
|
||
/* --- Overlay styles --- */
|
||
.standard_overlay {
|
||
display: none;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
justify-content: center;
|
||
align-items: center;
|
||
background-color: hsla(210, 57%, 25%, 0.8);
|
||
z-index: 9999;
|
||
}
|
||
|
||
.standard_overlay .exit {
|
||
position: absolute;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
top: 15px;
|
||
right: 15px;
|
||
padding: 0;
|
||
width: 28px;
|
||
height: 28px;
|
||
background-color: #fefefe;
|
||
border: none;
|
||
border-radius: 50%;
|
||
box-shadow: 0 1px 1px 0 rgba(0,0,0,0.2), 0 1px 3px 0 rgba(0,0,0,0.4);
|
||
}
|
||
|
||
.standard_overlay .exit:hover {
|
||
cursor: pointer;
|
||
background-color: #dddddd;
|
||
}
|
||
|
||
.standard_overlay .exit svg {
|
||
margin: 1px 0 0 0;
|
||
width: 16px;
|
||
height: 16px;
|
||
fill: #000;
|
||
}
|
||
|
||
.standard_overlay .exit:hover svg {
|
||
margin: 1px 0 0 0;
|
||
width: 16px;
|
||
height: 16px;
|
||
fill: #fefefe !important;
|
||
}
|
||
|
||
.profile-modal-card .exit {
|
||
border-radius: 0;
|
||
border: 1px solid rgba(255,255,255,0.25);
|
||
background: rgba(255,255,255,0.16);
|
||
color: #FFFFFF;
|
||
box-shadow: none;
|
||
}
|
||
.profile-modal-card .exit:hover {
|
||
background: rgba(255,255,255,0.3);
|
||
}
|
||
|
||
/* --- Backdrop blur --- */
|
||
.bg_blur {
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
-webkit-backdrop-filter: blur(4px);
|
||
backdrop-filter: blur(4px);
|
||
z-index: -2;
|
||
}
|
||
|
||
/* --- Flex helpers --- */
|
||
.flexrow {
|
||
position: absolute;
|
||
display: flex;
|
||
flex-flow: row wrap;
|
||
justify-content: center;
|
||
}
|
||
|
||
.flexrow_right {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: right;
|
||
align-content: center;
|
||
}
|
||
|
||
/* --- Table cell middle --- */
|
||
.cell_middle {
|
||
display: table-cell;
|
||
align-items: center;
|
||
text-align: center;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
/* --- Placeholder --- */
|
||
.placeholder {
|
||
padding-top: 65px;
|
||
}
|
||
|
||
/* --- Utility resets --- */
|
||
.no_margins { margin: 0 !important; }
|
||
.no_paddings { padding: 0 !important; }
|
||
.no_wrap { flex-wrap: nowrap !important; }
|
||
|
||
/* --- Background colors --- */
|
||
.bg_greyred { background-color: hsl(0, 15%, 90%) !important; }
|
||
.bg_grey { background-color: hsl(210, 15%, 80%) !important; }
|
||
|
||
/* --- Linear gradient backgrounds (eventbox_table) --- */
|
||
.bg_blue_linear2left {
|
||
background: linear-gradient(to left,
|
||
hsla(220, 12%, 95%, 1.0) 0px,
|
||
hsla(210, 57%, 50%, 0.6) 1px,
|
||
hsla(210, 57%, 50%, 1.0) 30%,
|
||
hsla(210, 57%, 58%, 1.0) 100%) !important;
|
||
}
|
||
|
||
.bg_red_linear2left {
|
||
background: linear-gradient(to left,
|
||
hsla(220, 12%, 95%, 1.0) 0px,
|
||
hsla(342, 65%, 45%, 0.6) 1px,
|
||
hsla(342, 65%, 45%, 1.0) 30%,
|
||
hsla(342, 65%, 58%, 1.0) 100%) !important;
|
||
}
|
||
|
||
.bg_orange_linear2left {
|
||
background: linear-gradient(to left,
|
||
hsla(220, 12%, 95%, 1.0) 0px,
|
||
hsla(27, 70%, 55%, 0.6) 1px,
|
||
hsla(27, 70%, 55%, 1.0) 30%,
|
||
hsla(27, 70%, 68%, 1.0) 100%) !important;
|
||
}
|
||
|
||
.bg_green_linear2left {
|
||
background: linear-gradient(to left,
|
||
hsla(220, 12%, 95%, 1.0) 0px,
|
||
hsla(150, 30%, 48%, 0.6) 1px,
|
||
hsla(150, 30%, 48%, 1.0) 30%,
|
||
hsla(150, 30%, 61%, 1.0) 100%) !important;
|
||
}
|
||
|
||
/* --- Text colors --- */
|
||
.text_grey { color: hsl(210, 15%, 50%) !important; }
|
||
.text_green { color: hsl(145, 40%, 45%) !important; }
|
||
.text_yellow { color: hsl(45, 70%, 45%) !important; }
|
||
|
||
/* --- Tiny text --- */
|
||
.tiny_text {
|
||
font-size: 0.78em;
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* --- Hyphenation --- */
|
||
.hyphens {
|
||
hyphens: auto !important;
|
||
}
|
||
|
||
/* --- Tooltip --- */
|
||
.tooltip {
|
||
position: relative;
|
||
display: inline-block;
|
||
}
|
||
|
||
.tooltip .tooltiptext {
|
||
position: absolute;
|
||
visibility: hidden;
|
||
width: fit-content;
|
||
margin-top: 30px;
|
||
padding: 3px 7px;
|
||
color: hsl(220, 12%, 95%);
|
||
text-align: center;
|
||
font-size: 0.7em;
|
||
font-weight: 300;
|
||
background-color: var(--gray-900);
|
||
border-radius: 0;
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
transition: visibility 0.3s linear, opacity 0.6s linear;
|
||
opacity: 0;
|
||
z-index: 5000;
|
||
}
|
||
|
||
.tooltip:hover .tooltiptext {
|
||
visibility: visible;
|
||
transition: visibility 0.3s linear, opacity 0.3s linear;
|
||
opacity: 1;
|
||
}
|
||
|
||
/* --- Border radius round --- */
|
||
.borderradius_round {
|
||
border-radius: 100% !important;
|
||
}
|
||
|
||
/* ==========================================================================
|
||
26. LEGACY RESPONSIVE (migrated from intranet.css @media max-width: 650px)
|
||
========================================================================== */
|
||
@media (max-width: 650px) {
|
||
|
||
.content {
|
||
padding-left: 0;
|
||
padding-right: 0;
|
||
}
|
||
|
||
#data.content_panel {
|
||
background-color: transparent;
|
||
}
|
||
|
||
.eventbox_table::after {
|
||
content: "";
|
||
display: block;
|
||
height: 80px;
|
||
}
|
||
|
||
.eventbox_kalli {
|
||
margin: 0 0 25px 0;
|
||
padding: 0;
|
||
height: auto;
|
||
width: 100%;
|
||
background-color: hsl(210, 57%, 90%);
|
||
border-radius: 0;
|
||
}
|
||
|
||
.eventbox_kalli_item {
|
||
flex: 1 0 48%;
|
||
margin: 0;
|
||
padding: 10px 5px 10px 10px;
|
||
box-sizing: border-box;
|
||
white-space: nowrap;
|
||
border: none;
|
||
border-top: 1px solid #fefefe;
|
||
border-radius: 0;
|
||
}
|
||
|
||
.login_button {
|
||
font-size: 14pt;
|
||
}
|
||
|
||
.profile_container {
|
||
align-content: flex-start;
|
||
width: calc(100vw - 12px);
|
||
max-height: calc(100dvh - 12px);
|
||
border-radius: 0;
|
||
background: #FFFFFF;
|
||
}
|
||
|
||
.tooltip .tooltiptext {
|
||
left: unset;
|
||
right: 20px;
|
||
transform: translateX(20px);
|
||
}
|
||
}
|
||
|
||
@media (max-height: 430px) {
|
||
.tooltip .tooltiptext {
|
||
padding: 1px 3px;
|
||
font-size: 0.6em;
|
||
font-weight: 300;
|
||
}
|
||
}
|
||
|
||
/* --- Sleek modal scrollbar --- */
|
||
.standard_overlay > div,
|
||
.visit-detail-card,
|
||
.visit-modal {
|
||
scrollbar-width: thin;
|
||
scrollbar-color: rgba(0,0,0,0.12) transparent;
|
||
}
|
||
.standard_overlay > div::-webkit-scrollbar,
|
||
.visit-detail-card::-webkit-scrollbar,
|
||
.visit-modal::-webkit-scrollbar {
|
||
width: 5px;
|
||
}
|
||
.standard_overlay > div::-webkit-scrollbar-track,
|
||
.visit-detail-card::-webkit-scrollbar-track,
|
||
.visit-modal::-webkit-scrollbar-track {
|
||
background: transparent;
|
||
}
|
||
.standard_overlay > div::-webkit-scrollbar-thumb,
|
||
.visit-detail-card::-webkit-scrollbar-thumb,
|
||
.visit-modal::-webkit-scrollbar-thumb {
|
||
background: rgba(0,0,0,0.12);
|
||
border-radius: 3px;
|
||
}
|
||
.standard_overlay > div::-webkit-scrollbar-thumb:hover,
|
||
.visit-detail-card::-webkit-scrollbar-thumb:hover,
|
||
.visit-modal::-webkit-scrollbar-thumb:hover {
|
||
background: rgba(0,0,0,0.22);
|
||
}
|
||
.standard_overlay > div::-webkit-scrollbar-button,
|
||
.visit-detail-card::-webkit-scrollbar-button,
|
||
.visit-modal::-webkit-scrollbar-button {
|
||
display: none;
|
||
}
|