Common.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 744: | Line 744: | ||
background-color: rgba(252,231,200,0.1); | background-color: rgba(252,231,200,0.1); | ||
color: #fff; | color: #fff; | ||
} | |||
/* ================================================ | |||
ENHANCED JOURNEY MATERIALS POPUP STYLES | |||
================================================ */ | |||
/* Override default popup width for materials */ | |||
.journey-popup.items-popup { | |||
min-width: 900px !important; | |||
max-width: 95% !important; | |||
} | |||
/* Enhanced Materials Container */ | |||
.materials-enhanced-container { | |||
padding: 10px; | |||
background: rgba(0, 0, 2, 0.4); | |||
border-radius: 8px; | |||
} | |||
/* Progress Header */ | |||
.materials-progress-header { | |||
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%); | |||
border: 2px solid rgba(252, 231, 200, 0.2); | |||
border-radius: 8px; | |||
padding: 15px; | |||
margin-bottom: 20px; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.progress-bar-container { | |||
width: 100%; | |||
height: 8px; | |||
background: rgba(0, 0, 0, 0.3); | |||
border-radius: 4px; | |||
margin-bottom: 10px; | |||
overflow: hidden; | |||
} | |||
.progress-bar { | |||
height: 100%; | |||
background: linear-gradient(90deg, #E3BB7A 0%, #fce7c8 100%); | |||
border-radius: 4px; | |||
transition: width 0.5s ease; | |||
box-shadow: 0 0 10px rgba(252, 231, 200, 0.5); | |||
} | |||
.progress-text { | |||
font-family: 'Orbitron', sans-serif; | |||
font-size: 14px; | |||
color: #fce7c8; | |||
text-align: center; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | |||
.progress-count { | |||
font-size: 18px; | |||
font-weight: 700; | |||
color: #fce7c8; | |||
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5); | |||
} | |||
/* Materials Grid Layout */ | |||
.materials-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 20px; | |||
margin-bottom: 20px; | |||
min-height: 400px; | |||
} | |||
/* Column Styles */ | |||
.material-column { | |||
background: rgba(0, 0, 2, 0.6); | |||
border: 1px solid rgba(252, 231, 200, 0.2); | |||
border-radius: 8px; | |||
padding: 15px; | |||
position: relative; | |||
} | |||
.level-1-column { | |||
border-color: #fce7c8; | |||
background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%); | |||
} | |||
.level-2-column { | |||
border-color: #d4b896; | |||
background: linear-gradient(135deg, rgba(212, 184, 150, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%); | |||
} | |||
.level-3-column { | |||
border-color: #a08968; | |||
background: linear-gradient(135deg, rgba(160, 137, 104, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%); | |||
} | |||
/* Column Headers */ | |||
.column-header { | |||
font-family: 'Orbitron', sans-serif; | |||
font-size: 14px; | |||
font-weight: 700; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
margin-bottom: 15px; | |||
padding-bottom: 10px; | |||
border-bottom: 1px solid rgba(252, 231, 200, 0.2); | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
} | |||
.level-1-column .column-header { color: #fce7c8; } | |||
.level-2-column .column-header { color: #d4b896; } | |||
.level-3-column .column-header { color: #a08968; } | |||
.column-icon { | |||
font-size: 18px; | |||
} | |||
/* Material Cards */ | |||
.material-card { | |||
background: rgba(0, 0, 2, 0.4); | |||
border: 1px solid rgba(252, 231, 200, 0.1); | |||
border-radius: 6px; | |||
padding: 10px; | |||
margin-bottom: 10px; | |||
transition: all 0.3s ease; | |||
position: relative; | |||
cursor: pointer; | |||
} | |||
.material-card:hover { | |||
background: rgba(252, 231, 200, 0.05); | |||
border-color: rgba(252, 231, 200, 0.3); | |||
transform: translateX(2px); | |||
} | |||
.material-card.checked { | |||
opacity: 0.7; | |||
background: rgba(227, 187, 122, 0.1); | |||
} | |||
.material-card.has-parent-checked { | |||
border-left: 3px solid #E3BB7A; | |||
} | |||
/* Material Content */ | |||
.material-content { | |||
display: flex; | |||
align-items: center; | |||
gap: 10px; | |||
} | |||
.material-checkbox-wrapper { | |||
position: relative; | |||
margin-right: 5px; | |||
} | |||
.material-checkbox { | |||
position: absolute; | |||
opacity: 0; | |||
cursor: pointer; | |||
} | |||
.material-checkbox + label { | |||
display: block; | |||
width: 20px; | |||
height: 20px; | |||
border: 2px solid rgba(252, 231, 200, 0.3); | |||
border-radius: 4px; | |||
cursor: pointer; | |||
transition: all 0.3s ease; | |||
position: relative; | |||
} | |||
.material-checkbox:checked + label { | |||
background: #E3BB7A; | |||
border-color: #fce7c8; | |||
} | |||
.material-checkbox:checked + label::after { | |||
content: '✓'; | |||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
color: #0a0a0a; | |||
font-size: 14px; | |||
font-weight: bold; | |||
} | |||
.material-icon { | |||
width: 32px; | |||
height: 32px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
flex-shrink: 0; | |||
} | |||
.material-icon img { | |||
max-width: 100%; | |||
max-height: 100%; | |||
} | |||
.icon-placeholder { | |||
font-size: 24px; | |||
} | |||
.material-info { | |||
flex: 1; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: center; | |||
} | |||
.material-name { | |||
font-size: 13px; | |||
color: #E0E0E0; | |||
flex: 1; | |||
} | |||
.material-card.checked .material-name { | |||
text-decoration: line-through; | |||
color: #999; | |||
} | |||
.material-qty { | |||
font-family: 'Orbitron', sans-serif; | |||
font-size: 14px; | |||
font-weight: 700; | |||
color: #fce7c8; | |||
min-width: 40px; | |||
text-align: right; | |||
} | |||
/* Children Indicator */ | |||
.material-children-indicator { | |||
position: absolute; | |||
right: -10px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
width: 20px; | |||
height: 2px; | |||
background: rgba(252, 231, 200, 0.3); | |||
display: none; | |||
} | |||
.material-card.has-children .material-children-indicator { | |||
display: block; | |||
} | |||
.material-card.has-children::after { | |||
content: '→'; | |||
position: absolute; | |||
right: -25px; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
color: rgba(252, 231, 200, 0.5); | |||
font-size: 16px; | |||
} | |||
/* Footer Actions */ | |||
.materials-footer { | |||
display: flex; | |||
gap: 10px; | |||
justify-content: center; | |||
padding-top: 15px; | |||
border-top: 1px solid rgba(252, 231, 200, 0.2); | |||
} | |||
.materials-footer button { | |||
padding: 8px 16px; | |||
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%); | |||
border: 2px solid rgba(252, 231, 200, 0.2); | |||
color: #fce7c8; | |||
font-family: 'Rajdhani', sans-serif; | |||
font-size: 13px; | |||
font-weight: 600; | |||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
cursor: pointer; | |||
transition: all 0.3s ease; | |||
border-radius: 4px; | |||
} | |||
.materials-footer button:hover { | |||
border-color: #fce7c8; | |||
box-shadow: 0 0 10px rgba(252, 231, 200, 0.2); | |||
} | |||
/* List View Mode */ | |||
.materials-enhanced-container.list-view .materials-grid { | |||
display: block; | |||
} | |||
.materials-enhanced-container.list-view .material-column { | |||
margin-bottom: 20px; | |||
} | |||
.materials-enhanced-container.list-view .material-card { | |||
display: flex; | |||
align-items: center; | |||
} | |||
/* Visual Connections (optional enhancement) */ | |||
.material-connection-line { | |||
position: absolute; | |||
height: 2px; | |||
background: linear-gradient(90deg, | |||
rgba(252, 231, 200, 0.3) 0%, | |||
rgba(252, 231, 200, 0.1) 100%); | |||
z-index: -1; | |||
pointer-events: none; | |||
} | |||
/* Animations */ | |||
@keyframes checkPulse { | |||
0% { transform: scale(1); } | |||
50% { transform: scale(1.2); } | |||
100% { transform: scale(1); } | |||
} | |||
.material-checkbox:checked + label { | |||
animation: checkPulse 0.3s ease; | |||
} | |||
/* Responsive adjustments */ | |||
@media (max-width: 1000px) { | |||
.materials-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.material-column { | |||
max-height: 300px; | |||
overflow-y: auto; | |||
} | |||
} | |||
/* Tooltip for material details */ | |||
.material-tooltip { | |||
position: absolute; | |||
bottom: 100%; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
background: rgba(0, 0, 0, 0.9); | |||
border: 1px solid rgba(252, 231, 200, 0.3); | |||
padding: 8px 12px; | |||
border-radius: 4px; | |||
font-size: 12px; | |||
color: #E0E0E0; | |||
white-space: nowrap; | |||
opacity: 0; | |||
pointer-events: none; | |||
transition: opacity 0.3s ease; | |||
z-index: 1000; | |||
} | |||
.material-card:hover .material-tooltip { | |||
opacity: 1; | |||
} | |||
/* Loading state for materials */ | |||
.materials-loading { | |||
text-align: center; | |||
padding: 40px; | |||
color: #999; | |||
} | |||
.materials-loading::after { | |||
content: ''; | |||
display: inline-block; | |||
width: 30px; | |||
height: 30px; | |||
margin-left: 10px; | |||
border: 3px solid rgba(252, 231, 200, 0.2); | |||
border-top-color: #fce7c8; | |||
border-radius: 50%; | |||
animation: spin 1s linear infinite; | |||
} | |||
@keyframes spin { | |||
to { transform: rotate(360deg); } | |||
} | } | ||
Revision as of 23:42, 1 June 2025
/**********************************************************
* Common.css – Global Styles Only
* Dune Awakening Theme for MediaWiki
* (v5 cleaned · 2025-05-24)
**********************************************************/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');
/* ================================================
CSS VARIABLES
================================================ */
:root {
/* Font sizes */
--font-size-xs: 0.65rem;
--font-size-sm: 0.75rem;
--font-size-md: 0.85rem;
--font-size-lg: 1.1rem;
--font-size-xl: 1.3rem;
--font-size-xxl: 1.7rem;
/* Colors */
--color-primary: #fce7c8;
--color-secondary: #E3BB7A;
--color-text: #E0E0E0;
--color-bg-dark: rgba(0,0,2,.85);
--color-bg-darker: rgba(12,10,20,.85);
--color-border: rgba(252, 231, 200, 0.2);
--color-border-hover: rgba(252, 231, 200, 0.4);
/* Spacing */
--header-height: 60px;
--content-padding: 20px;
}
/* ================================================
GLOBAL RESETS & LAYOUT FIXES
================================================ */
/* Remove all top spacing globally */
* {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* Body spacing for fixed header */
html, body {
margin: 0 !important;
padding: 0 !important;
overflow-x: hidden !important;
}
body {
padding-top: var(--header-height) !important;
background-color: #0a0a0a;
color: var(--color-text);
font-family: 'Rajdhani', sans-serif;
}
/* Subtle tech pattern overlay */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: repeating-linear-gradient(
45deg,
transparent,
transparent 35px,
rgba(252, 231, 200, 0.01) 35px,
rgba(252, 231, 200, 0.01) 70px
);
pointer-events: none;
z-index: 1;
}
/* ================================================
HIDE MEDIAWIKI DEFAULT ELEMENTS
================================================ */
h1.firstHeading,
h1.title,
.mw-page-title-main,
#firstHeading,
.firstHeading,
.page-header,
.mw-indicators,
#tagline,
h3#tagline,
#contentSub,
.mw-content-subtitle {
display: none !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Hide conflicting navigation elements */
body::after,
nav.tab-bar,
.tab-bar,
.tab-bar-section,
.left-off-canvas-toggle,
.right-off-canvas-toggle,
aside.right-off-canvas-menu,
#right-nav-aside,
#mw-header-container,
.mw-header {
display: none !important;
}
/* ================================================
CONTENT AREA RESETS
================================================ */
#content,
.mw-body,
#mw-content-text,
.mw-content-ltr,
.mw-content-rtl,
.mw-body-content,
.mw-parser-output,
#main-section,
.main-section,
#page-content,
#p-cactions,
.ve-init-mw-desktopArticleTarget-targetContainer {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Force first content element to start at top */
.mw-parser-output > *:first-child,
.mw-body-content > *:first-child,
#mw-content-text > *:first-child,
#bodyContent > *:first-child {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* ================================================
REMOVE SIDEBAR & FORCE FULL WIDTH
================================================ */
#sidebar,
aside.columns,
.side-nav,
.sidebar,
[class*="large-2"][class*="medium-3"] {
display: none !important;
width: 0 !important;
}
#page-content,
#main-section,
.main-section,
#p-cactions,
#content-wrapper,
.mw-body,
[class*="large-10"][class*="medium-9"] {
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
float: none !important;
}
/* Remove Foundation grid constraints */
.row {
max-width: none !important;
width: 100% !important;
margin: 0 !important;
}
.columns {
padding: 0 !important;
float: none !important;
position: static !important;
}
/* Content wrapper */
#mw-content-text {
padding: 0 var(--content-padding) !important;
max-width: none !important;
width: 100% !important;
margin: 0 !important;
}
/* Fix nested wrappers */
.off-canvas-wrap,
.docs-wrap,
.inner-wrap {
padding: 0 !important;
margin: 0 !important;
width: 100% !important;
}
/* ================================================
ACTIONS BUTTON SPACING
================================================ */
#p-cactions {
margin-bottom: 15px !important;
padding-bottom: 0 !important;
}
#p-cactions > .row {
margin-bottom: 0 !important;
}
#drop {
margin-bottom: 0 !important;
margin-top: 10px !important;
}
/* ================================================
CUSTOM HEADER
================================================ */
#dune-header {
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
height: var(--header-height) !important;
background: linear-gradient(180deg, rgba(20, 18, 28, 0.95) 0%, rgba(10, 8, 16, 0.98) 100%);
border-bottom: 3px solid var(--color-border-hover);
box-shadow: 0 2px 20px rgba(0,0,0,0.8);
z-index: 99999 !important;
display: flex;
align-items: center;
}
.dune-header-inner {
width: 100%;
max-width: 1600px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 20px;
height: 100%;
}
/* Logo */
.dune-logo {
font-family: 'Orbitron', sans-serif !important;
font-size: 22px;
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 3px;
font-weight: 700;
text-shadow: 0 0 15px rgba(252, 231, 200, 0.4);
text-decoration: none;
white-space: nowrap;
transition: all 0.3s ease;
}
.dune-logo:hover {
color: #fff;
text-shadow: 0 0 20px rgba(252, 231, 200, 0.6);
text-decoration: none;
}
/* Navigation */
.dune-nav {
display: flex;
gap: 0;
margin: 0 20px;
height: 100%;
}
.dune-nav a {
display: flex;
align-items: center;
padding: 0 18px;
height: 100%;
color: rgba(252, 231, 200, 0.8);
font-family: 'Rajdhani', sans-serif;
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1.2px;
text-decoration: none;
border-right: 1px solid rgba(252, 231, 200, 0.1);
transition: all 0.3s ease;
background: transparent;
position: relative;
}
.dune-nav a:first-child {
border-left: 1px solid rgba(252, 231, 200, 0.1);
}
.dune-nav a:hover {
background: rgba(252, 231, 200, 0.1);
color: var(--color-primary);
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
text-decoration: none;
}
/* Search */
.dune-search {
display: flex;
align-items: center;
}
.dune-search form {
display: flex;
align-items: stretch !important;
gap: 0 !important;
}
.dune-search-input {
background: rgba(0, 0, 2, 0.8);
border: 2px solid rgba(252, 231, 200, 0.3);
border-radius: 0;
color: var(--color-primary);
padding: 8px 12px;
width: 200px;
font-size: 13px;
font-family: 'Rajdhani', sans-serif;
transition: all 0.3s ease;
height: 38px !important;
box-sizing: border-box !important;
}
.dune-search-input:focus {
outline: none;
border-color: var(--color-primary);
box-shadow: 0 0 10px rgba(252, 231, 200, 0.3);
width: 250px;
}
.dune-search-input::placeholder {
color: rgba(252, 231, 200, 0.5);
}
.dune-search-btn {
background: rgba(252, 231, 200, 0.1);
border: 2px solid rgba(252, 231, 200, 0.3);
border-left: none;
color: var(--color-primary);
padding: 8px 12px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
height: 38px !important;
box-sizing: border-box !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.dune-search-btn:hover {
background: rgba(252, 231, 200, 0.2);
border-color: var(--color-primary);
}
/* Mobile menu button */
.dune-mobile-menu-btn {
display: none;
background: transparent;
border: 2px solid var(--color-primary);
color: var(--color-primary);
font-size: 24px;
padding: 5px 10px;
cursor: pointer;
margin-right: 15px;
}
/* ================================================
RADIAL MENU
================================================ */
.dune-radial-menu {
position: fixed;
top: 50%;
left: 50%;
width: 500px;
height: 500px;
transform: translate(-50%,-50%) scale(0);
z-index: 9999;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: transform .4s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity .3s ease;
}
.dune-radial-menu.active {
transform: translate(-50%,-50%) scale(1);
opacity: 1;
visibility: visible;
pointer-events: all;
}
.dune-radial-item,
.dune-radial-center,
.dune-subcategory-container {
background: linear-gradient(135deg, #0c0a14 0%, #1a1a1a 100%);
border: 2px solid var(--color-primary);
box-shadow:
inset 0 0 20px rgba(0,0,0,0.5),
0 0 20px rgba(252, 231, 200, 0.2);
transition: all 0.3s ease;
}
.dune-radial-item:hover,
.dune-radial-center:hover {
background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
border-color: #fff;
box-shadow:
inset 0 0 20px rgba(252, 231, 200, 0.1),
0 0 30px rgba(252, 231, 200, 0.4);
transform: scale(1.05);
}
.dune-subcategory-header {
background: linear-gradient(90deg, rgba(0,0,2,.9) 0%, rgba(12,10,20,.9) 100%);
color: var(--color-primary);
border-bottom: 2px solid var(--color-primary);
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 700;
}
.dune-subcategory-item {
color: var(--color-primary);
transition: all 0.2s ease;
}
.dune-subcategory-item:hover {
background: linear-gradient(90deg, rgba(252, 231, 200, 0.1) 0%, rgba(252, 231, 200, 0.2) 100%);
padding-left: 20px;
border-left: 3px solid var(--color-primary);
}
.dune-radial-overlay {
background: radial-gradient(circle at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
backdrop-filter: blur(3px);
}
/* ================================================
GLOBAL TABLE STYLES
================================================ */
/* Remove MediaWiki table row alternating colors */
.skin-pivot table tr,
.skin-pivot table tbody tr,
.skin-pivot table tbody tr:nth-child(odd),
.skin-pivot table tbody tr:nth-child(even),
.skin-pivot table tbody tr:nth-child(odd) td,
.skin-pivot table tbody tr:nth-child(even) td,
.skin-pivot .wikitable tr,
.skin-pivot .wikitable tbody tr:nth-child(odd),
.skin-pivot .wikitable tbody tr:nth-child(even) {
background: transparent !important;
background-color: transparent !important;
}
/* ================================================
FOOTER
================================================ */
footer#footer {
background: linear-gradient(180deg, transparent 0%, rgba(0,0,2,.9) 100%) !important;
border-top: 2px solid rgba(252, 231, 200, 0.3);
margin-top: 40px !important;
padding: 20px !important;
}
footer#footer a {
color: var(--color-primary) !important;
margin: 0 10px;
}
footer#footer li {
display: inline-block !important;
border: none !important;
}
/* ================================================
BREADCRUMB NAVIGATION
================================================ */
.dune-breadcrumb-nav {
display: flex;
align-items: center;
margin: 0 0 20px 0 !important;
padding: 12px 18px !important;
font-size: 18px !important;
background: rgba(0,0,2,.3);
border: 1px solid rgba(252, 231, 200, 0.15);
position: relative;
overflow: hidden;
border-radius: 2px;
}
.dune-breadcrumb-nav a {
color: rgba(252, 231, 200, 0.6);
text-decoration: none;
transition: all 0.3s ease;
font-weight: 500;
}
.dune-breadcrumb-nav a:hover {
color: rgba(252, 231, 200, 0.9);
}
.dune-breadcrumb-separator {
margin: 0 8px;
color: rgba(252, 231, 200, 0.3);
}
.dune-breadcrumb-separator::before {
content: '/';
font-size: 16px;
}
.menu-button-wrapper {
display: inline-flex;
align-items: center;
margin-right: 8px;
}
.menu-button-wrapper img {
height: 24px;
width: auto;
vertical-align: middle;
}
/* ================================================
SCROLLBAR
================================================ */
::-webkit-scrollbar {
width: 8px !important;
}
::-webkit-scrollbar-track {
background: rgba(0,0,2,.8);
}
::-webkit-scrollbar-thumb {
background: var(--color-secondary);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-primary);
}
/* ================================================
MOBILE RESPONSIVE
================================================ */
@media (max-width: 768px) {
.dune-header-inner {
padding: 0 10px;
}
.dune-logo {
font-size: 18px;
letter-spacing: 2px;
}
.dune-nav {
display: none;
position: absolute;
top: var(--header-height);
left: 0;
right: 0;
background: rgba(10, 8, 16, 0.98);
flex-direction: column;
border-top: 2px solid var(--color-primary);
margin: 0;
}
.dune-nav.mobile-active {
display: flex;
}
.dune-nav a {
border-right: none;
border-left: none;
border-bottom: 1px solid rgba(252, 231, 200, 0.1);
height: 50px;
}
.dune-search {
display: none;
}
.dune-mobile-menu-btn {
display: block;
}
/* Breadcrumb adjustments */
.dune-breadcrumb-nav {
font-size: 14px !important;
padding: 8px 12px !important;
}
.menu-button-wrapper img {
height: 20px;
}
/* Mobile radial menu adjustments */
.dune-radial-menu.mobile-grid {
background: linear-gradient(135deg, rgba(0,0,2,.95) 0%, rgba(12,10,20,.95) 100%);
border: 2px solid var(--color-primary);
border-radius: 0;
clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.dune-radial-item {
border: 2px solid var(--color-primary);
background: rgba(0,0,2,.8);
}
.dune-subcategory-item {
background: rgba(0,0,2,.8);
border: 1px solid rgba(252, 231, 200, 0.3);
}
}
@media (max-width: 1200px) {
.dune-nav a {
padding: 0 15px;
font-size: 13px;
}
}
/* ================================================
UTILITY CLASSES
================================================ */
/* Loading spinner */
.tech-loader {
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: var(--color-primary);
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
display: inline-block;
}
@keyframes loadingSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Content loading state */
.content-loading {
position: relative;
min-height: 100px;
}
.content-loading::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: var(--color-primary);
border-radius: 50%;
animation: loadingSpin 1s linear infinite;
}
/* Glitch text effect */
.glitch-text {
text-shadow: 0 0 2px var(--color-primary);
}
/* Skeleton loader */
.skeleton-loader {
background: linear-gradient(90deg,
rgba(252, 231, 200, 0.05) 0%,
rgba(252, 231, 200, 0.1) 50%,
rgba(252, 231, 200, 0.05) 100%
);
background-size: 200% 100%;
animation: skeletonWave 1.5s linear infinite;
border-radius: 2px;
}
@keyframes skeletonWave {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.skeleton-text {
height: 16px;
margin: 8px 0;
}
.skeleton-title {
height: 24px;
width: 60%;
margin: 12px 0;
}
.skeleton-image {
height: 200px;
width: 100%;
margin: 16px 0;
}
/* === Footer actions button + dropdown === */
#footer {
text-align: center;
position: relative; /* needed for absolutely positioned dropdown inside */
}
/* Optional: space below footer links */
#footer #custom-footer-note {
font-family: 'Rajdhani', sans-serif;
font-size: 14px;
color: rgba(252,231,200,0.7);
margin: 8px auto 4px;
max-width: 720px;
line-height: 1.4;
text-transform: none;
}
/* Ensure dropdown menu is readable */
#drop1 {
min-width: 180px;
padding: 6px 0;
border-radius: 4px;
background-color: #1a1a1a;
box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
/* Optional: style menu items if not styled already */
#drop1 li a {
color: #fce7c8;
font-family: 'Rajdhani', sans-serif;
padding: 4px 12px;
display: block;
text-decoration: none;
transition: background 0.2s;
}
#drop1 li a:hover {
background-color: rgba(252,231,200,0.1);
color: #fff;
}
/* ================================================
ENHANCED JOURNEY MATERIALS POPUP STYLES
================================================ */
/* Override default popup width for materials */
.journey-popup.items-popup {
min-width: 900px !important;
max-width: 95% !important;
}
/* Enhanced Materials Container */
.materials-enhanced-container {
padding: 10px;
background: rgba(0, 0, 2, 0.4);
border-radius: 8px;
}
/* Progress Header */
.materials-progress-header {
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
border-radius: 8px;
padding: 15px;
margin-bottom: 20px;
position: relative;
overflow: hidden;
}
.progress-bar-container {
width: 100%;
height: 8px;
background: rgba(0, 0, 0, 0.3);
border-radius: 4px;
margin-bottom: 10px;
overflow: hidden;
}
.progress-bar {
height: 100%;
background: linear-gradient(90deg, #E3BB7A 0%, #fce7c8 100%);
border-radius: 4px;
transition: width 0.5s ease;
box-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}
.progress-text {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
color: #fce7c8;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
}
.progress-count {
font-size: 18px;
font-weight: 700;
color: #fce7c8;
text-shadow: 0 0 10px rgba(252, 231, 200, 0.5);
}
/* Materials Grid Layout */
.materials-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 20px;
min-height: 400px;
}
/* Column Styles */
.material-column {
background: rgba(0, 0, 2, 0.6);
border: 1px solid rgba(252, 231, 200, 0.2);
border-radius: 8px;
padding: 15px;
position: relative;
}
.level-1-column {
border-color: #fce7c8;
background: linear-gradient(135deg, rgba(252, 231, 200, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%);
}
.level-2-column {
border-color: #d4b896;
background: linear-gradient(135deg, rgba(212, 184, 150, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%);
}
.level-3-column {
border-color: #a08968;
background: linear-gradient(135deg, rgba(160, 137, 104, 0.05) 0%, rgba(0, 0, 2, 0.6) 100%);
}
/* Column Headers */
.column-header {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(252, 231, 200, 0.2);
display: flex;
align-items: center;
gap: 8px;
}
.level-1-column .column-header { color: #fce7c8; }
.level-2-column .column-header { color: #d4b896; }
.level-3-column .column-header { color: #a08968; }
.column-icon {
font-size: 18px;
}
/* Material Cards */
.material-card {
background: rgba(0, 0, 2, 0.4);
border: 1px solid rgba(252, 231, 200, 0.1);
border-radius: 6px;
padding: 10px;
margin-bottom: 10px;
transition: all 0.3s ease;
position: relative;
cursor: pointer;
}
.material-card:hover {
background: rgba(252, 231, 200, 0.05);
border-color: rgba(252, 231, 200, 0.3);
transform: translateX(2px);
}
.material-card.checked {
opacity: 0.7;
background: rgba(227, 187, 122, 0.1);
}
.material-card.has-parent-checked {
border-left: 3px solid #E3BB7A;
}
/* Material Content */
.material-content {
display: flex;
align-items: center;
gap: 10px;
}
.material-checkbox-wrapper {
position: relative;
margin-right: 5px;
}
.material-checkbox {
position: absolute;
opacity: 0;
cursor: pointer;
}
.material-checkbox + label {
display: block;
width: 20px;
height: 20px;
border: 2px solid rgba(252, 231, 200, 0.3);
border-radius: 4px;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
.material-checkbox:checked + label {
background: #E3BB7A;
border-color: #fce7c8;
}
.material-checkbox:checked + label::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #0a0a0a;
font-size: 14px;
font-weight: bold;
}
.material-icon {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.material-icon img {
max-width: 100%;
max-height: 100%;
}
.icon-placeholder {
font-size: 24px;
}
.material-info {
flex: 1;
display: flex;
justify-content: space-between;
align-items: center;
}
.material-name {
font-size: 13px;
color: #E0E0E0;
flex: 1;
}
.material-card.checked .material-name {
text-decoration: line-through;
color: #999;
}
.material-qty {
font-family: 'Orbitron', sans-serif;
font-size: 14px;
font-weight: 700;
color: #fce7c8;
min-width: 40px;
text-align: right;
}
/* Children Indicator */
.material-children-indicator {
position: absolute;
right: -10px;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 2px;
background: rgba(252, 231, 200, 0.3);
display: none;
}
.material-card.has-children .material-children-indicator {
display: block;
}
.material-card.has-children::after {
content: '→';
position: absolute;
right: -25px;
top: 50%;
transform: translateY(-50%);
color: rgba(252, 231, 200, 0.5);
font-size: 16px;
}
/* Footer Actions */
.materials-footer {
display: flex;
gap: 10px;
justify-content: center;
padding-top: 15px;
border-top: 1px solid rgba(252, 231, 200, 0.2);
}
.materials-footer button {
padding: 8px 16px;
background: linear-gradient(135deg, rgba(0,0,2,.8) 0%, rgba(12,10,20,.8) 100%);
border: 2px solid rgba(252, 231, 200, 0.2);
color: #fce7c8;
font-family: 'Rajdhani', sans-serif;
font-size: 13px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
border-radius: 4px;
}
.materials-footer button:hover {
border-color: #fce7c8;
box-shadow: 0 0 10px rgba(252, 231, 200, 0.2);
}
/* List View Mode */
.materials-enhanced-container.list-view .materials-grid {
display: block;
}
.materials-enhanced-container.list-view .material-column {
margin-bottom: 20px;
}
.materials-enhanced-container.list-view .material-card {
display: flex;
align-items: center;
}
/* Visual Connections (optional enhancement) */
.material-connection-line {
position: absolute;
height: 2px;
background: linear-gradient(90deg,
rgba(252, 231, 200, 0.3) 0%,
rgba(252, 231, 200, 0.1) 100%);
z-index: -1;
pointer-events: none;
}
/* Animations */
@keyframes checkPulse {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
.material-checkbox:checked + label {
animation: checkPulse 0.3s ease;
}
/* Responsive adjustments */
@media (max-width: 1000px) {
.materials-grid {
grid-template-columns: 1fr;
}
.material-column {
max-height: 300px;
overflow-y: auto;
}
}
/* Tooltip for material details */
.material-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.9);
border: 1px solid rgba(252, 231, 200, 0.3);
padding: 8px 12px;
border-radius: 4px;
font-size: 12px;
color: #E0E0E0;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
z-index: 1000;
}
.material-card:hover .material-tooltip {
opacity: 1;
}
/* Loading state for materials */
.materials-loading {
text-align: center;
padding: 40px;
color: #999;
}
.materials-loading::after {
content: '';
display: inline-block;
width: 30px;
height: 30px;
margin-left: 10px;
border: 3px solid rgba(252, 231, 200, 0.2);
border-top-color: #fce7c8;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}