Pivot.css: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 630: | Line 630: | ||
border-right: none !important; /* Explicitly remove any right borders */ | border-right: none !important; /* Explicitly remove any right borders */ | ||
} | } | ||
/* Removed display:flex from the th itself */ | |||
table.infobox-dune-two-column > tbody > tr > th { | table.infobox-dune-two-column > tbody > tr > th { | ||
width: 40% !important; | width: 40% !important; | ||
| Line 636: | Line 637: | ||
letter-spacing: 0.05em !important; | letter-spacing: 0.05em !important; | ||
text-align: left !important; | text-align: left !important; | ||
/* display: flex removed */ | |||
/* align-items and gap removed */ | |||
} | |||
/* New flex container for header cell content */ | |||
table.infobox-dune-two-column > tbody > tr > th .th-flex { | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
| Line 749: | Line 755: | ||
border-right: none !important; | border-right: none !important; | ||
} | } | ||
/*-------------------------------------------------------------- | /*-------------------------------------------------------------- | ||
# 9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES | # 9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES | ||
Revision as of 00:52, 6 April 2025
/**********************************************************
* Enhanced Dune-Themed Pivot Skin (Game-Accurate)
**********************************************************/
/*--------------------------------------------------------------
# 1. CSS VARIABLES
--------------------------------------------------------------*/
:root {
/* Primary colors - matched from game screenshot */
--dune-black: rgba(14, 12, 21, 0.6); /* More transparent base */
--dune-panel-bg: rgba(0, 0, 2, 0.7); /* More transparent panel background */
--dune-dark: rgba(26, 23, 36, 0.7); /* Dark panels with transparency */
--dune-darker: rgba(12, 10, 20, 0.8); /* Darker elements */
--dune-gold: #C8A165; /* Game-accurate gold */
--dune-gold-hover: #E3BB7A; /* Brighter gold for hover states */
--dune-gold-dark: #A07B40; /* Darker gold for gradients/shadows */
--dune-text: #E0E0E0; /* Standard text */
--dune-title: #E2D3AE; /* Headers/titles */
--dune-inactive: #636363; /* Inactive elements */
/* Accent colors */
--dune-accent-red: #A3413D; /* Red accent from game */
--dune-accent-blue: #3D6B8A; /* Blue accent from game */
/* Opacity variations */
--dune-dark-transparent: rgba(14, 12, 21, 0.6);
--dune-darker-transparent: rgba(12, 10, 20, 0.5);
--dune-gold-transparent: rgba(200, 161, 101, 0.4);
--dune-gold-glow: rgba(200, 161, 101, 0.2);
--dune-gold-intense-glow: rgba(227, 187, 122, 0.4);
/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 12px;
--spacing-lg: 16px;
--spacing-xl: 20px;
/* Borders */
--border-thin: 1px;
--border-medium: 2px;
--border-thick: 3px;
--border-radius-sm: 2px;
--border-radius-md: 3px;
--border-radius-lg: 4px;
/* Shadows */
--shadow-subtle: 0 0 8px rgba(0, 0, 0, 0.3);
--shadow-medium: 0 0 10px rgba(0, 0, 0, 0.5);
--shadow-gold: 0 0 8px rgba(200, 161, 101, 0.3);
--shadow-gold-intense: 0 0 12px rgba(227, 187, 122, 0.5);
/* Typography */
--font-stack: "Orbitron", "Segoe UI", sans-serif;
--font-size-xs: 0.75em;
--font-size-sm: 0.85em;
--font-size-md: 1em;
--font-size-lg: 1.2em;
--font-size-xl: 1.4em;
--font-size-xxl: 1.6em;
/* Transitions */
--transition-standard: all 0.2s ease;
/* UI specific */
--nav-height: 40px;
--border-angle: 30deg;
}
/*--------------------------------------------------------------
# 2. GLOBAL RESET & BODY
--------------------------------------------------------------*/
html, body {
margin: 0;
padding: 0;
height: 100%;
min-height: 100%;
}
body.skin-pivot {
background: url('https://dunedb.com/images/5/57/DuneDB_Background.jpg') no-repeat center center fixed;
background-size: cover;
background-attachment: fixed;
color: var(--dune-text);
font-family: var(--font-stack);
line-height: 1.35;
font-size: 15px;
}
/*--------------------------------------------------------------
# 3. MAIN CONTAINERS & TRANSPARENCY
--------------------------------------------------------------*/
/* Transparent main containers */
.skin-pivot #content,
.skin-pivot .mw-body,
.skin-pivot .mw-content-ltr,
.skin-pivot .mw-content-rtl {
background: transparent;
padding: var(--spacing-lg);
border-radius: var(--border-radius-lg);
margin: 0;
}
/* Force major wrappers to be transparent */
.skin-pivot .off-canvas-wrap,
.skin-pivot .docs-wrap,
.skin-pivot .inner-wrap,
.skin-pivot #page-base,
.skin-pivot .page-base,
.skin-pivot #main-section.main-section,
.skin-pivot #page-content,
.skin-pivot .row,
.skin-pivot .columns,
.skin-pivot #sidebar.large-2.medium-3.columns.hide-for-small.hide-for-print,
.skin-pivot .exit-off-canvas {
background: transparent !important;
border: none !important;
overflow: visible !important;
}
/* Footer, catlinks, printfooter: also transparent */
.skin-pivot footer,
.skin-pivot .footer,
.skin-pivot #footer,
.skin-pivot .mw-footer,
.skin-pivot #mw-footer-container,
.skin-pivot #mw-footer,
.skin-pivot #catlinks,
.skin-pivot .catlinks,
.skin-pivot .printfooter,
.skin-pivot #mw-data-after-content {
background: transparent !important;
border: none !important;
color: var(--dune-text) !important;
}
/* Fix for MediaWiki scrollbars */
.mw-body-content,
.skin-pivot .mw-body,
.skin-pivot #content,
.skin-pivot #mw-content-text {
overflow: visible !important;
}
/*--------------------------------------------------------------
# 4. NAVIGATION & HEADINGS - GAME-STYLED
--------------------------------------------------------------*/
/* Game-like top navigation */
.skin-pivot .navbar {
background: var(--dune-darker) !important;
border: none !important;
height: var(--nav-height);
position: relative;
display: flex;
align-items: center;
justify-content: center;
border-bottom: var(--border-thin) solid var(--dune-gold) !important;
}
.skin-pivot .navbar:before,
.skin-pivot .navbar:after {
content: '';
position: absolute;
height: var(--border-thin);
background-color: var(--dune-gold);
bottom: -1px;
width: 20px;
}
.skin-pivot .navbar:before {
left: 20px;
transform: skewX(var(--border-angle));
}
.skin-pivot .navbar:after {
right: 20px;
transform: skewX(calc(-1 * var(--border-angle)));
}
.skin-pivot .navbar-nav {
display: flex;
justify-content: center;
width: 100%;
}
.skin-pivot .navbar-nav > li {
position: relative;
display: inline-block;
}
.skin-pivot .navbar-nav > li > a {
color: var(--dune-gold) !important;
font-weight: bold !important;
text-transform: uppercase;
letter-spacing: 1px;
padding: 10px 15px;
margin: 0 5px;
position: relative;
text-align: center;
}
.skin-pivot .navbar-nav > li.active > a {
color: var(--dune-gold-hover) !important;
box-shadow: 0 -2px 0 var(--dune-gold-hover) inset;
}
.skin-pivot .navbar-nav > li > a:hover {
color: var(--dune-gold-hover) !important;
text-shadow: 0 0 5px var(--dune-gold-glow);
}
.skin-pivot .navbar-nav > li.active > a:after,
.skin-pivot .navbar-nav > li > a:hover:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: var(--dune-gold);
}
/* Sidebar & Panels - game style */
.skin-pivot #nav,
.skin-pivot #nav-wrapper,
.skin-pivot .nav-content {
background: var(--dune-dark-transparent);
border: var(--border-thin) solid var(--dune-gold);
color: var(--dune-text);
border-radius: var(--border-radius-sm);
position: relative;
}
.skin-pivot #nav:before,
.skin-pivot #nav:after,
.skin-pivot #nav-wrapper:before,
.skin-pivot #nav-wrapper:after {
content: '';
position: absolute;
width: 10px;
height: 10px;
border: var(--border-thin) solid var(--dune-gold);
}
.skin-pivot #nav:before,
.skin-pivot #nav-wrapper:before {
top: -1px;
left: -1px;
border-right: none;
border-bottom: none;
}
.skin-pivot #nav:after,
.skin-pivot #nav-wrapper:after {
bottom: -1px;
right: -1px;
border-left: none;
border-top: none;
}
/* List items with game styling */
.skin-pivot .list-group-item {
background: transparent;
border: none;
border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3);
color: var(--dune-text);
padding: 8px 10px;
transition: var(--transition-standard);
}
.skin-pivot .list-group-item:last-child {
border-bottom: none;
}
.skin-pivot .list-group-item:hover {
background-color: rgba(200, 161, 101, 0.1);
}
/* Panel Headings - game accurate */
.skin-pivot #nav h3,
.skin-pivot #nav-wrapper h3,
.skin-pivot .panel-heading {
background-color: rgba(200, 161, 101, 0.15);
border-bottom: var(--border-thin) solid var(--dune-gold);
color: var(--dune-gold);
margin: 0;
padding: 8px 12px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
font-size: var(--font-size-sm);
position: relative;
display: flex;
align-items: center;
}
.skin-pivot #nav h3:before,
.skin-pivot #nav h3:after,
.skin-pivot #nav-wrapper h3:before,
.skin-pivot #nav-wrapper h3:after,
.skin-pivot .panel-heading:before,
.skin-pivot .panel-heading:after {
content: '';
display: inline-block;
width: 6px;
height: 6px;
background-color: var(--dune-gold);
margin: 0 8px;
}
/* Main content headings */
.skin-pivot h1,
.skin-pivot h2,
.skin-pivot h3,
.skin-pivot h4,
.skin-pivot h5,
.skin-pivot h6 {
color: var(--dune-title);
font-weight: bold;
margin-top: 1em;
margin-bottom: 0.5em;
border-bottom: none;
text-transform: uppercase;
padding-bottom: 5px;
letter-spacing: 0.5px;
}
.skin-pivot h1,
.skin-pivot h3 {
border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
position: relative;
}
.skin-pivot h1:after,
.skin-pivot h3:after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 30px;
height: 3px;
background-color: var(--dune-gold);
}
/* Main headings and first heading - game style */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
color: var(--dune-title);
font-size: var(--font-size-xxl);
font-weight: bold;
margin: 0 0 15px 0;
padding-bottom: 8px;
border-bottom: var(--border-thin) solid var(--dune-gold-transparent);
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
}
.skin-pivot h1.firstHeading:after,
.skin-pivot .page-header h1:after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
width: 50px;
height: 3px;
background: linear-gradient(to right, var(--dune-gold), rgba(200, 161, 101, 0));
}
/* Links site-wide - game style */
.skin-pivot a {
color: var(--dune-gold);
text-decoration: none;
font-weight: bold;
transition: var(--transition-standard);
position: relative;
}
.skin-pivot a:hover {
color: var(--dune-gold-hover);
text-decoration: none;
text-shadow: 0 0 5px rgba(200, 161, 101, 0.4);
}
.skin-pivot a.new,
.skin-pivot a.new:visited {
color: var(--dune-accent-red) !important;
text-decoration: none;
}
.skin-pivot a.new:hover {
color: #DD0000 !important;
}
/* Journey link text - special styling with diagonal edges */
.skin-pivot a[href*="Journey"] {
color: var(--dune-gold-hover) !important;
text-decoration: none !important;
font-weight: bold !important;
transition: var(--transition-standard) !important;
display: inline-block !important;
padding: 2px 8px !important;
border: var(--border-thin) solid var(--dune-gold) !important;
background-color: rgba(12, 10, 20, 0.6) !important;
/* Add subtle diagonal corners */
clip-path: polygon(
0 0,
calc(100% - 5px) 0,
100% 5px,
100% 100%,
5px 100%,
0 calc(100% - 5px)
) !important;
}
.skin-pivot a[href*="Journey"]:hover {
background-color: rgba(200, 161, 101, 0.1) !important;
}
/*--------------------------------------------------------------
# 5. PIVOT NAV OVERRIDES - GAME STYLE
--------------------------------------------------------------*/
.skin-pivot nav.tab-bar.hide-for-print {
background: var(--dune-darker);
border-bottom: var(--border-thin) solid var(--dune-gold);
color: var(--dune-text);
padding: 0;
height: var(--nav-height);
display: flex;
align-items: center;
}
.skin-pivot nav.tab-bar.hide-for-print a {
color: var(--dune-gold);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.skin-pivot nav.tab-bar.hide-for-print a:hover {
color: var(--dune-gold-hover);
text-decoration: none;
}
.skin-pivot nav.tab-bar.hide-for-print .title {
display: flex;
align-items: center;
height: 100%;
}
.skin-pivot nav.tab-bar.hide-for-print .title a {
color: var(--dune-title);
font-size: var(--font-size-lg);
text-transform: uppercase;
letter-spacing: 1px;
padding: 0 15px;
height: 100%;
display: flex;
align-items: center;
border-right: var(--border-thin) solid rgba(200, 161, 101, 0.3);
}
.skin-pivot #left-nav-aside,
.skin-pivot #middle-nav,
.skin-pivot #right-nav-aside {
background-color: transparent;
color: var(--dune-text);
}
.skin-pivot li.name.logo img {
max-width: 100%;
height: auto;
display: inline-block;
vertical-align: middle;
margin-right: 10px;
}
/* Game-style search box */
.skin-pivot li.has-form {
padding: 0 10px;
}
.skin-pivot li.has-form input[type="search"] {
background: rgba(12, 10, 20, 0.6);
color: var(--dune-text);
border: var(--border-thin) solid var(--dune-gold);
padding: 5px 10px;
width: 100%;
height: 30px;
border-radius: var(--border-radius-sm);
outline: none;
transition: var(--transition-standard);
}
.skin-pivot li.has-form input[type="search"]:focus {
background: rgba(12, 10, 20, 0.8);
border-color: var(--dune-gold-hover);
box-shadow: 0 0 5px rgba(200, 161, 101, 0.3);
}
.skin-pivot li.has-form input[type="search"]::placeholder {
color: rgba(201, 183, 149, 0.6);
}
.skin-pivot label.sidebar {
background-color: transparent;
color: var(--dune-gold);
font-weight: bold;
text-transform: uppercase;
padding: 8px 12px;
margin: 0;
display: block;
border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3);
letter-spacing: 0.5px;
font-size: var(--font-size-sm);
}
.skin-pivot li.mw-list-item {
position: relative;
}
.skin-pivot li.mw-list-item:before {
content: '•';
color: var(--dune-gold);
position: absolute;
left: 5px;
top: 7px;
font-size: 12px;
}
.skin-pivot li.mw-list-item a {
color: var(--dune-text);
text-decoration: none;
display: block;
padding: 6px 10px 6px 15px;
font-size: var(--font-size-sm);
border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.1);
transition: var(--transition-standard);
}
.skin-pivot li.mw-list-item:last-child a {
border-bottom: none;
}
.skin-pivot li.mw-list-item a:hover {
color: var(--dune-gold);
background-color: rgba(200, 161, 101, 0.1);
text-decoration: none;
}
/*--------------------------------------------------------------
# 6. SIDEBAR/HIDING TOOLS
--------------------------------------------------------------*/
html body.skin-pivot #p-tb,
html body.skin-pivot #p-tb + ul,
html body.skin-pivot #p-tb + li,
li[id^="t-"] {
display: none !important;
}
/*--------------------------------------------------------------
# 7. RESPONSIVE LAYOUT - GAME ACCURATE
--------------------------------------------------------------*/
.responsive-container {
display: flex;
flex-wrap: wrap;
gap: 1.5em !important;
align-items: stretch;
width: 100%;
margin: 1em 0;
box-sizing: border-box;
}
.responsive-col {
display: flex;
flex-direction: column;
box-sizing: border-box;
width: 100%;
min-width: 350px;
}
@media screen and (min-width: 700px) {
.responsive-col {
width: calc(50% - 0.75em) !important;
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 1em) !important;
}
}
.responsive-col .skin-pivot:last-child {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.responsive-col .skin-pivot:last-child .dune-card {
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
/*--------------------------------------------------------------
# 8. TABLES - DUNE THEME FINAL
--------------------------------------------------------------*/
/* Two-column infobox table */
table.infobox-dune-two-column {
width: 100% !important;
table-layout: fixed !important;
border-collapse: collapse !important;
background: linear-gradient(to bottom right, #1A232F, #10141B) !important;
border: 1px solid #FFD983 !important; /* Gold border */
border-radius: 6px !important;
box-shadow: 0 0 0 1px #000002, 0 0 6px rgba(255, 204, 102, 0.1) !important;
overflow: hidden !important;
}
table.infobox-dune-two-column td,
table.infobox-dune-two-column th {
padding: 0.75rem 1rem !important;
background-color: transparent !important;
color: #E6E0D0 !important;
font-size: 0.95rem !important;
vertical-align: middle !important;
position: relative !important;
box-sizing: border-box !important;
border-left: none !important; /* Explicitly remove any left borders */
border-right: none !important; /* Explicitly remove any right borders */
}
/* Removed display:flex from the th itself */
table.infobox-dune-two-column > tbody > tr > th {
width: 40% !important;
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.05em !important;
text-align: left !important;
/* display: flex removed */
/* align-items and gap removed */
}
/* New flex container for header cell content */
table.infobox-dune-two-column > tbody > tr > th .th-flex {
display: flex !important;
align-items: center !important;
gap: 0.75em !important;
}
table.infobox-dune-two-column > tbody > tr > td {
font-weight: 300 !important;
text-align: right !important;
border-left: none !important; /* Explicitly remove any left borders */
}
table.infobox-dune-two-column th .icon {
flex-shrink: 0 !important;
width: 1.6em !important;
text-align: center !important;
}
.icon svg {
width: 1em !important;
height: 1em !important;
fill: #FFD983 !important;
vertical-align: middle !important;
}
table.infobox-dune-two-column tr:hover td,
table.infobox-dune-two-column tr:hover th {
background-color: rgba(255, 204, 102, 0.03) !important;
}
table.infobox-dune-two-column tbody tr:not(:last-child) td,
table.infobox-dune-two-column tbody tr:not(:last-child) th {
border-bottom: 1px solid rgba(255, 204, 102, 0.15) !important; /* Gold with transparency */
}
/* Standard multi-row table */
table.infobox-dune-standard-table {
width: 100% !important;
table-layout: fixed !important;
border-collapse: collapse !important;
background: linear-gradient(to bottom right, #1A232F, #10141B) !important;
border: 1px solid #FFD983 !important; /* Gold border */
border-radius: 6px !important;
box-shadow: 0 0 0 1px #000002, 0 0 6px rgba(255, 204, 102, 0.1) !important;
overflow: hidden !important;
}
table.infobox-dune-standard-table td,
table.infobox-dune-standard-table th {
padding: 0.75rem 1rem !important;
background-color: transparent !important;
color: #E6E0D0 !important;
font-size: 0.95rem !important;
vertical-align: middle !important;
position: relative !important;
box-sizing: border-box !important;
border-left: none !important;
border-right: none !important;
}
table.infobox-dune-standard-table th {
font-weight: 600 !important;
text-transform: uppercase !important;
letter-spacing: 0.05em !important;
text-align: left !important;
background-color: rgba(111, 94, 51, 0.2) !important;
border-bottom: 1px solid rgba(255, 204, 102, 0.3) !important;
}
table.infobox-dune-standard-table td {
font-weight: 300 !important;
}
table.infobox-dune-standard-table thead th .icon,
table.infobox-dune-standard-table th .icon {
display: inline-block !important;
margin-right: 0.75em !important;
width: 1.6em !important;
text-align: center !important;
vertical-align: middle !important;
}
table.infobox-dune-standard-table tr:hover td {
background-color: rgba(255, 204, 102, 0.03) !important;
}
table.infobox-dune-standard-table tbody tr:not(:last-child) td {
border-bottom: 1px solid rgba(255, 204, 102, 0.15) !important; /* Gold with transparency */
}
/* Numeric column alignment */
table.infobox-dune-standard-table .numeric {
text-align: right !important;
}
/* Colored text */
.dune-gold-text {
color: #FFD983 !important;
}
.dune-red-text {
color: #FF6B6B !important;
}
/* Prevent skin alternates - applies to both table types */
table.infobox-dune-two-column tr:nth-child(even),
table.infobox-dune-two-column tr:nth-child(odd),
table.infobox-dune-standard-table tr:nth-child(even),
table.infobox-dune-standard-table tr:nth-child(odd) {
background-color: transparent !important;
}
/* Reset any potential border styles from other CSS or inline styles */
table.infobox-dune-two-column tr,
table.infobox-dune-standard-table tr {
border-left: none !important;
border-right: none !important;
}
table.infobox-dune-two-column td,
table.infobox-dune-two-column th,
table.infobox-dune-standard-table td,
table.infobox-dune-standard-table th {
border-left: none !important;
border-right: none !important;
}
/*--------------------------------------------------------------
# 9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .dune-card {
position: relative;
background-color: rgba(0, 0, 2, 0.7) !important;
color: var(--dune-title);
width: auto !important;
max-width: 100% !important;
padding: var(--spacing-lg) !important;
margin: 0 0 var(--spacing-xl) 0 !important;
border: var(--border-thin) solid var(--dune-gold) !important;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
transition: box-shadow 0.3s ease;
overflow: visible !important;
/* Add subtle diagonal cut to corners */
clip-path: polygon(
0 0,
10px 0,
100% 0,
100% 10px,
100% 100%,
calc(100% - 10px) 100%,
0 100%,
0 calc(100% - 10px)
) !important;
}
/* Dune Card hover effect */
.skin-pivot .dune-card:hover {
box-shadow: 0 0 12px rgba(200, 161, 101, 0.5) !important;
}
/* Card decoration */
.skin-pivot .dune-card-decoration {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
border: 2px solid var(--dune-title);
border-radius: 6px;
transform: translate(4px, 4px);
display: none; /* Hide since we're using clip-path */
}
/* Card inner content */
.skin-pivot .dune-card-inner {
position: relative;
z-index: 1;
}
/* Card label - original style */
.skin-pivot .dune-card-label {
color: #b6a896;
font-size: var(--font-size-xs);
text-transform: uppercase;
margin-bottom: 6px;
border-bottom: var(--border-thin) solid #444;
padding-bottom: 4px;
letter-spacing: 0.8px;
}
/* Card title - with subtle diagonal element */
.skin-pivot .dune-card-title {
margin: 0;
font-size: var(--font-size-xl);
color: var(--dune-title);
text-transform: uppercase;
border-bottom: var(--border-thin) solid var(--dune-gold);
padding-bottom: 4px;
margin-bottom: 8px;
display: flex;
align-items: center;
position: relative;
}
/* Add a diagonal element at the end of title */
.skin-pivot .dune-card-title::after {
content: '';
position: absolute;
bottom: -1px;
right: 0;
width: 12px;
height: 1px;
background-color: transparent;
border-bottom: 1px solid var(--dune-gold);
transform: rotate(-45deg);
transform-origin: bottom right;
}
.skin-pivot .dune-card-title .icon {
margin-right: 8px;
color: var(--dune-gold);
}
/* Card description - updated font size */
.skin-pivot .dune-card-description {
font-size: 1.1em !important; /* Increased from 0.9em to 1.1em (approximately 2pt larger) */
line-height: 1.5 !important; /* Adjusted line height for readability */
background-color: rgba(22, 22, 24, 0.4) !important;
border-radius: var(--border-radius-sm);
border: var(--border-thin) solid #444;
padding: var(--spacing-md);
margin-bottom: var(--spacing-md);
display: block !important;
color: var(--dune-text) !important;
}
/* Card image - original style */
.skin-pivot .dune-card-image {
text-align: center;
margin: var(--spacing-sm) 0;
}
.skin-pivot .dune-card-image img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* Card video */
.skin-pivot .dune-card-video {
margin: var(--spacing-sm) 0;
border: var(--border-medium) solid var(--dune-title);
border-radius: var(--border-radius-md);
padding: 2px;
background-color: #262626;
}
/*--------------------------------------------------------------
# 10. LOCKED BEHIND COMPONENT - KEPT FROM NEW VERSION
--------------------------------------------------------------*/
.skin-pivot .dune-card-locked {
margin: var(--spacing-lg) 0 !important;
background-color: rgba(12, 10, 20, 0.6) !important;
border: var(--border-thin) solid var(--dune-gold) !important;
border-radius: var(--border-radius-sm) !important;
padding: var(--spacing-md) !important;
position: relative !important;
text-align: center !important;
}
.skin-pivot .dune-card-locked-label {
color: var(--dune-gold) !important;
font-weight: bold !important;
font-size: var(--font-size-sm) !important;
letter-spacing: 0.8px !important;
margin-bottom: var(--spacing-sm) !important;
border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3) !important;
padding-bottom: var(--spacing-xs) !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
text-transform: uppercase !important;
}
.skin-pivot .dune-card-locked-icon {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 18px !important;
height: 18px !important;
margin-right: var(--spacing-xs) !important;
color: var(--dune-gold) !important;
font-size: 16px !important;
}
.skin-pivot .dune-card-locked-value {
color: var(--dune-text) !important;
font-weight: normal !important;
padding: var(--spacing-xs) var(--spacing-sm) !important;
background-color: rgba(22, 22, 24, 0.4) !important;
border: var(--border-thin) solid rgba(200, 161, 101, 0.2) !important;
border-radius: var(--border-radius-sm) !important;
display: inline-block !important;
}
.skin-pivot .dune-card-locked-value a {
color: var(--dune-gold) !important;
}
.skin-pivot .locked-behind-header {
background-color: rgba(200, 161, 101, 0.15) !important;
border-bottom: var(--border-thin) solid var(--dune-gold) !important;
padding: var(--spacing-sm) var(--spacing-md) !important;
margin: -12px -12px 12px -12px !important;
position: relative !important;
text-transform: uppercase !important;
font-weight: bold !important;
color: var(--dune-gold) !important;
letter-spacing: 0.8px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
}
.skin-pivot .locked-behind-header .icon {
margin-right: var(--spacing-xs) !important;
}
/*--------------------------------------------------------------
# 11. GAME PANEL COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .game-panel {
background: rgba(0, 0, 2, 0.7);
border: var(--border-thin) solid var(--dune-gold);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5) !important;
margin-bottom: var(--spacing-xl) !important;
position: relative;
padding: var(--spacing-md) !important;
overflow: visible !important;
/* Add subtle diagonal cut to corners */
clip-path: polygon(
0 0,
10px 0,
100% 0,
100% 10px,
100% 100%,
calc(100% - 10px) 100%,
0 100%,
0 calc(100% - 10px)
) !important;
}
.skin-pivot .game-panel-header {
background-color: rgba(200, 161, 101, 0.15);
border-bottom: 1px solid var(--dune-gold);
padding: 6px 10px;
margin: -12px -12px 12px -12px !important;
position: relative;
text-transform: uppercase;
font-weight: bold;
color: var(--dune-title);
letter-spacing: 0.5px;
display: flex;
align-items: center;
}
/* Add a diagonal element at the end of header */
.skin-pivot .game-panel-header::after {
content: '';
position: absolute;
bottom: -1px;
right: 0;
width: 12px;
height: 1px;
background-color: transparent;
border-bottom: 1px solid var(--dune-gold);
transform: rotate(-45deg);
transform-origin: bottom right;
}
.skin-pivot .game-panel-header::before {
content: '';
display: inline-block;
width: 12px;
height: 12px;
border-top: 2px solid var(--dune-gold);
border-left: 2px solid var(--dune-gold);
transform: rotate(-45deg);
margin: 0 12px;
}
.skin-pivot .game-panel-content {
padding: 8px 12px;
color: var(--dune-text);
font-size: 0.9em;
overflow: visible !important;
}
/*--------------------------------------------------------------
# 12. UI ELEMENTS - GAME ACCURATE
--------------------------------------------------------------*/
/* Resource Item - game style */
.skin-pivot .resource {
display: inline-flex !important;
align-items: center !important;
padding: var(--spacing-xs) var(--spacing-sm) !important;
background-color: rgba(12, 10, 20, 0.6);
border: var(--border-thin) solid rgba(200, 161, 101, 0.3);
border-radius: var(--border-radius-sm);
margin: 0 5px 5px 0 !important;
color: var(--dune-text);
position: relative;
}
.skin-pivot .resource:before,
.skin-pivot .resource:after {
content: '';
position: absolute;
width: 4px;
height: 4px;
background-color: var(--dune-gold);
}
.skin-pivot .resource:before {
top: -2px;
left: -2px;
}
.skin-pivot .resource:after {
bottom: -2px;
right: -2px;
}
.skin-pivot .resource .resource-icon {
margin-right: var(--spacing-xs);
color: var(--dune-gold);
}
.skin-pivot .resource .resource-amount {
font-weight: bold;
color: var(--dune-gold);
}
/* Buttons - game style */
.skin-pivot .game-button {
background: linear-gradient(to bottom, var(--dune-gold), var(--dune-gold-dark));
border: var(--border-thin) solid var(--dune-gold);
color: #E2D3AE;
padding: 8px 12px;
border-radius: 3px;
cursor: pointer;
text-transform: uppercase;
font-size: var(--font-size-sm);
letter-spacing: 0.5px;
transition: all 0.2s ease;
position: relative;
text-align: center;
display: inline-block;
}
.skin-pivot .game-button:hover {
background: linear-gradient(to bottom, var(--dune-gold-hover), var(--dune-gold));
box-shadow: 0 0 8px rgba(200, 161, 101, 0.5);
}
.skin-pivot .game-button:active {
top: 1px;
}
/* Progress Bar - game style */
.skin-pivot .progress-bar {
height: 10px;
background-color: rgba(15, 20, 25, 0.8);
border: var(--border-thin) solid var(--dune-gold);
border-radius: 5px;
overflow: hidden;
margin: 5px 0;
position: relative;
}
.skin-pivot .progress-fill {
height: 100%;
background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
width: 0%;
transition: width 0.3s ease;
}
/* Tooltip - game style */
.skin-pivot .tooltip {
position: relative;
display: inline-block;
cursor: help;
}
.skin-pivot .tooltip .tooltip-text {
visibility: hidden;
width: 200px;
background-color: #1F2A37;
color: var(--dune-text);
text-align: center;
border: var(--border-thin) solid var(--dune-gold);
border-radius: 5px;
padding: 8px;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
margin-left: -100px;
opacity: 0;
transition: opacity 0.3s;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
font-size: 0.85em;
}
.skin-pivot .tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* Badge Indicators */
.skin-pivot .badge {
display: inline-block;
padding: 3px 6px;
border-radius: 3px;
font-size: 0.75em;
margin-left: 5px;
text-transform: uppercase;
}
.skin-pivot .badge-functional {
background-color: rgba(65, 130, 65, 0.3);
border: var(--border-thin) solid #5a9d5a;
color: #a3d9a3;
}
.skin-pivot .badge-locked {
background-color: rgba(130, 65, 65, 0.3);
border: var(--border-thin) solid #9d5a5a;
color: #d9a3a3;
}
/* Animation for loading */
@keyframes pulsate {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
.skin-pivot .loading {
animation: pulsate 1.5s infinite;
}
/* Breadcrumbs - game style */
.skin-pivot .breadcrumbs-container,
.skin-pivot .breadcrumb-trail {
background: transparent;
border: none;
margin: 0;
padding: 0;
}
.skin-pivot .breadcrumb-trail {
display: inline-flex;
align-items: center;
padding: 5px 0;
color: var(--dune-gold);
font-size: var(--font-size-sm);
}
.skin-pivot .breadcrumb-trail a {
color: var(--dune-text);
transition: var(--transition-standard);
}
.skin-pivot .breadcrumb-trail a:hover {
color: var(--dune-gold);
text-decoration: none;
}
.skin-pivot .breadcrumb-trail .separator {
margin: 0 8px;
color: var(--dune-gold);
}
.skin-pivot .breadcrumb-unavailable {
background-color: rgba(15, 20, 25, 0.6);
border: var(--border-thin) solid var(--dune-gold);
padding: 5px 10px;
margin-bottom: 10px;
color: var(--dune-text);
font-size: 0.9em;
border-radius: var(--border-radius-sm);
}
/* Misc elements */
.skin-pivot .fromdb {
color: var(--dune-gold);
font-size: 0.85em;
margin: -5px 0 15px 0;
opacity: 0.7;
font-style: italic;
}
.skin-pivot .video-container {
border: var(--border-thin) solid var(--dune-gold);
overflow: hidden;
margin: 0 0 15px 0 !important;
position: relative;
/* Add subtle diagonal cut to corners */
clip-path: polygon(
0 0,
10px 0,
100% 0,
100% 10px,
100% 100%,
calc(100% - 10px) 100%,
0 100%,
0 calc(100% - 10px)
) !important;
}
.skin-pivot .related-buildings {
padding: 8px;
background-color: rgba(15, 20, 25, 0.4);
}
.skin-pivot .related-buildings p {
margin: 5px 0;
color: var(--dune-text);
font-size: 0.9em;
}
.skin-pivot .schematic-section,
.skin-pivot .crafting-section,
.skin-pivot .tutorials-section {
margin-bottom: 10px;
}
.skin-pivot .schematic-section .game-panel,
.skin-pivot .crafting-section .game-panel,
.skin-pivot .tutorials-section .game-panel {
margin-bottom: 8px;
}
/*--------------------------------------------------------------
# 13. INVENTORY UI STYLING - GAME ACCURATE
--------------------------------------------------------------*/
/* Game-accurate inventory grid */
.skin-pivot .inventory-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
gap: 4px;
padding: 5px;
background-color: rgba(12, 10, 20, 0.8);
border: var(--border-thin) solid var(--dune-gold);
position: relative;
/* Add subtle diagonal cut to corners */
clip-path: polygon(
0 0,
10px 0,
100% 0,
100% 10px,
100% 100%,
calc(100% - 10px) 100%,
0 100%,
0 calc(100% - 10px)
) !important;
}
/* Game-style inventory slot */
.skin-pivot .inventory-slot {
background-color: rgba(22, 22, 24, 0.8);
border: var(--border-thin) solid rgba(200, 161, 101, 0.3);
display: flex;
align-items: center;
justify-content: center;
height: 75px;
width: 75px;
transition: var(--transition-standard);
position: relative;
}
/* Empty slot styling */
.skin-pivot .inventory-slot.empty {
background-image:
linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(200, 161, 101, 0.3), transparent calc(50% + 1px));
}
/* Corner accents for inventory slots */
.skin-pivot .inventory-slot:before,
.skin-pivot .inventory-slot:after {
content: '';
position: absolute;
width: 3px;
height: 3px;
}
.skin-pivot .inventory-slot:before {
top: -1px;
left: -1px;
border-top: var(--border-thin) solid var(--dune-gold);
border-left: var(--border-thin) solid var(--dune-gold);
}
.skin-pivot .inventory-slot:after {
bottom: -1px;
right: -1px;
border-bottom: var(--border-thin) solid var(--dune-gold);
border-right: var(--border-thin) solid var(--dune-gold);
}
.skin-pivot .inventory-slot:hover {
border-color: var(--dune-gold);
box-shadow: 0 0 5px rgba(200, 161, 101, 0.4) inset;
}
/* Item image within slot */
.skin-pivot .inventory-slot img {
max-width: 85%;
max-height: 85%;
}
/* Selected slot styling */
.skin-pivot .dune-selected {
border: var(--border-thin) solid var(--dune-gold) !important;
box-shadow: 0 0 8px rgba(200, 161, 101, 0.5) inset, 0 0 2px var(--dune-gold) !important;
background-color: rgba(200, 161, 101, 0.1) !important;
}
/* Item count/stack indicator */
.skin-pivot .item-count {
position: absolute;
bottom: 2px;
right: 2px;
background-color: rgba(12, 10, 20, 0.8);
color: var(--dune-gold);
font-size: 10px;
padding: 1px 3px;
border-radius: 2px;
border: var(--border-thin) solid rgba(200, 161, 101, 0.5);
min-width: 14px;
text-align: center;
}
/* Item quality/rarity indicator */
.skin-pivot .item-quality {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
}
.skin-pivot .item-quality.common {
background-color: #a0a0a0;
}
.skin-pivot .item-quality.uncommon {
background-color: #2d862d;
}
.skin-pivot .item-quality.rare {
background-color: #2970c3;
}
.skin-pivot .item-quality.epic {
background-color: #9c43c8;
}
.skin-pivot .item-quality.legendary {
background-color: #cf7a30;
}
/* Section header (e.g. "BACKPACK", "LOADOUT") - game accurate */
.skin-pivot .section-header {
background-color: rgba(12, 10, 20, 0.8);
border: var(--border-thin) solid var(--dune-gold);
color: var(--dune-gold);
padding: 5px 10px;
font-size: var(--font-size-sm);
text-transform: uppercase;
letter-spacing: 1px;
display: flex;
align-items: center;
position: relative;
margin-bottom: 5px;
font-weight: bold;
}
.skin-pivot .section-header:before,
.skin-pivot .section-header:after {
content: '';
position: absolute;
width: 6px;
height: 6px;
border: var(--border-thin) solid var(--dune-gold);
}
.skin-pivot .section-header:before {
top: -3px;
left: -3px;
border-right: none;
border-bottom: none;
}
.skin-pivot .section-header:after {
bottom: -3px;
right: -3px;
border-left: none;
border-top: none;
}
/* Experience bar - game style */
.skin-pivot .xp-bar {
height: 6px;
width: 100%;
background-color: rgba(12, 10, 20, 0.6);
border: var(--border-thin) solid var(--dune-gold);
position: relative;
overflow: hidden;
}
.skin-pivot .xp-progress {
height: 100%;
background: linear-gradient(to right, var(--dune-gold), var(--dune-gold-hover));
width: 0%;
}
.skin-pivot .xp-level {
position: absolute;
right: 10px;
top: -18px;
background-color: rgba(12, 10, 20, 0.8);
border: var(--border-thin) solid var(--dune-gold);
color: var(--dune-gold);
padding: 2px 6px;
font-size: var(--font-size-xs);
letter-spacing: 0.5px;
}