MediaWiki:Pivot.css
From Dune Awakening DB
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**********************************************************
* Enhanced Dune-Themed Pivot Skin (Game-Accurate)
**********************************************************/
/*--------------------------------------------------------------
1. CSS VARIABLES
--------------------------------------------------------------*/
:root {
/* Primary Colors */
--dune-black: rgba(14, 12, 21, 0.6);
--dune-panel-bg: rgba(0, 0, 2, 0.7);
--dune-dark: rgba(26, 23, 36, 0.7);
--dune-darker: rgba(12, 10, 20, 0.8);
--dune-gold: #C8A165;
--dune-gold-hover: #E3BB7A;
--dune-gold-dark: #A07B40;
--dune-text: #E0E0E0;
--dune-title: #E2D3AE;
--dune-inactive: #636363;
/* Accent Colors */
--dune-accent-red: #A3413D;
--dune-accent-blue: #3D6B8A;
/* 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
--------------------------------------------------------------*/
.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;
}
.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;
border: none;
overflow: visible;
}
.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;
border: none;
color: var(--dune-text);
}
.mw-body-content,
.skin-pivot .mw-body,
.skin-pivot #content,
.skin-pivot #mw-content-text {
overflow: visible;
}
/*--------------------------------------------------------------
4. NAVIGATION & HEADINGS - GAME-STYLED
--------------------------------------------------------------*/
.skin-pivot .navbar {
background: var(--dune-darker);
height: var(--nav-height);
position: relative;
display: flex;
align-items: center;
justify-content: center;
border-bottom: var(--border-thin) solid var(--dune-gold);
}
.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);
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
padding: 10px 15px;
margin: 0 5px;
text-align: center;
}
.skin-pivot .navbar-nav > li.active > a {
color: var(--dune-gold-hover);
box-shadow: 0 -2px 0 var(--dune-gold-hover) inset;
}
.skin-pivot .navbar-nav > li > a:hover {
color: var(--dune-gold-hover);
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 & Panel Styles */
.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 Group Items */
.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 */
.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);
padding: 8px 12px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
font-size: var(--font-size-sm);
display: flex;
align-items: center;
position: relative;
}
.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: 1em 0 0.5em;
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);
}
/* First Heading Special */
.skin-pivot h1.firstHeading,
.skin-pivot .page-header h1 {
color: var(--dune-title);
font-size: var(--font-size-xxl);
margin: 0 0 15px;
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 */
.skin-pivot a {
color: var(--dune-gold);
text-decoration: none;
font-weight: bold;
transition: var(--transition-standard);
}
.skin-pivot a:hover {
color: var(--dune-gold-hover);
text-shadow: 0 0 5px var(--dune-gold-glow);
}
.skin-pivot a.new,
.skin-pivot a.new:visited {
color: var(--dune-accent-red);
text-decoration: none;
}
.skin-pivot a.new:hover {
color: #DD0000;
}
/* Journey Links with Diagonal Edges */
.skin-pivot a[href*="Journey"] {
color: var(--dune-gold-hover);
text-decoration: none;
font-weight: bold;
display: inline-block;
padding: 2px 8px;
border: var(--border-thin) solid var(--dune-gold);
background-color: rgba(12, 10, 20, 0.6);
clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}
.skin-pivot a[href*="Journey"]:hover {
background-color: rgba(200, 161, 101, 0.1);
}
/*--------------------------------------------------------------
5. PIVOT NAV OVERRIDES
--------------------------------------------------------------*/
.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);
height: var(--nav-height);
display: flex;
align-items: center;
padding: 0;
}
.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);
}
.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);
}
/*--------------------------------------------------------------
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;
}
/*--------------------------------------------------------------
7. RESPONSIVE LAYOUT
--------------------------------------------------------------*/
.responsive-container {
display: flex;
flex-wrap: wrap;
gap: 1.5em;
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);
}
}
@media screen and (min-width: 1100px) {
.responsive-col {
width: calc(33.333% - 1em);
}
}
.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 (Cleaned)
--------------------------------------------------------------*/
/* Two-Column Infobox Table */
table.infobox-dune-two-column {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
border: 2px solid var(--dune-gold);
border-radius: 6px;
background: linear-gradient(135deg, #111010, #1a1917);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
table.infobox-dune-two-column th,
table.infobox-dune-two-column td {
background: transparent;
padding: 0.75rem 1rem;
font-size: 0.95rem;
vertical-align: middle;
box-sizing: border-box;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
color: #E6E0D0;
}
table.infobox-dune-two-column thead th {
width: 45%;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
text-align: left;
color: var(--dune-gold);
}
table.infobox-dune-two-column tbody td {
font-weight: 300;
text-align: right;
}
table.infobox-dune-two-column th .icon {
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 0.5em;
width: 1.5em;
color: var(--dune-gold);
}
table.infobox-dune-two-column th .th-flex {
display: flex;
align-items: center;
gap: 0.75em;
}
table.infobox-dune-two-column tr:hover th,
table.infobox-dune-two-column tr:hover td {
background-color: rgba(255, 204, 102, 0.03);
}
table.infobox-dune-two-column tbody tr:last-child th,
table.infobox-dune-two-column tbody tr:last-child td {
border-bottom: none;
}
/* Standard Multi-Row Table */
table.infobox-dune-standard-table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
background-color: rgba(21, 21, 23, 0.8);
border: 3px solid transparent;
border-image: repeating-linear-gradient(
135deg,
var(--dune-gold) 0,
var(--dune-gold) 4px,
transparent 4px,
transparent 8px
) 12 round;
border-radius: 6px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
table.infobox-dune-standard-table th,
table.infobox-dune-standard-table td {
background: inherit;
padding: 0.75rem 1rem;
font-size: 0.95rem;
vertical-align: middle;
box-sizing: border-box;
color: #E6E0D0;
}
table.infobox-dune-standard-table thead th {
background-color: rgba(0, 0, 2, 0.8);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
text-align: left;
border-bottom: 1px solid rgba(255, 204, 102, 0.3);
}
table.infobox-dune-standard-table tbody td {
font-weight: 300;
}
table.infobox-dune-standard-table th .icon {
display: inline-block;
margin-right: 0.75em;
width: 1.6em;
text-align: center;
vertical-align: middle;
}
table.infobox-dune-standard-table tr:hover td {
background-color: rgba(255, 204, 102, 0.03);
}
table.infobox-dune-standard-table tbody tr:not(:last-child) td {
border-bottom: 1px solid rgba(255, 204, 102, 0.15);
}
table.infobox-dune-standard-table thead th:nth-child(1),
table.infobox-dune-standard-table tbody td:nth-child(1) {
width: 35%;
white-space: nowrap;
}
table.infobox-dune-standard-table thead th:nth-child(2),
table.infobox-dune-standard-table tbody td:nth-child(2) {
width: 45%;
}
table.infobox-dune-standard-table thead th:nth-child(3),
table.infobox-dune-standard-table tbody td:nth-child(3) {
width: 20%;
}
table.infobox-dune-standard-table .numeric {
text-align: right;
}
.dune-gold-text { color: var(--dune-gold); }
.dune-red-text { color: #FF6B6B; }
/* Ensure alternating rows are transparent */
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;
}
/*--------------------------------------------------------------
9. DUNE CARD COMPONENT - WITH DIAGONAL EDGES
--------------------------------------------------------------*/
.skin-pivot .dune-card {
position: relative;
background-color: rgba(0, 0, 2, 0.7);
color: var(--dune-title);
width: auto;
max-width: 100%;
padding: var(--spacing-lg);
margin-bottom: var(--spacing-xl);
border: var(--border-thin) solid var(--dune-gold);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
transition: box-shadow 0.3s ease;
overflow: visible;
/* Diagonal cut on corners */
clip-path: polygon(0 0, 10px 0, 100% 0, 100% 10px, 100% 100%, calc(100% - 10px) 100%, 0 100%, 0 calc(100% - 10px));
}
.skin-pivot .dune-card:hover {
box-shadow: 0 0 12px rgba(200, 161, 101, 0.5);
}
.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;
}
.skin-pivot .dune-card-inner {
position: relative;
z-index: 1;
}
.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;
}
.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;
}
.skin-pivot .dune-card-title::after {
content: '';
position: absolute;
bottom: -1px;
right: 0;
width: 12px;
height: 1px;
border-bottom: var(--border-thin) solid var(--dune-gold);
transform: rotate(-45deg);
transform-origin: bottom right;
}
.skin-pivot .dune-card-title .icon {
margin-right: 8px;
color: var(--dune-gold);
}
.skin-pivot .dune-card-description {
font-size: 1.1em;
line-height: 1.5;
background-color: rgba(22, 22, 24, 0.4);
border-radius: var(--border-radius-sm);
border: var(--border-thin) solid #444;
padding: var(--spacing-md);
margin-bottom: var(--spacing-md);
color: var(--dune-text);
}
.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;
}
.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
--------------------------------------------------------------*/
.skin-pivot .dune-card-locked {
margin: var(--spacing-lg) 0;
background-color: rgba(12, 10, 20, 0.6);
border: var(--border-thin) solid var(--dune-gold);
border-radius: var(--border-radius-sm);
padding: var(--spacing-md);
text-align: center;
position: relative;
}
.skin-pivot .dune-card-locked-label {
color: var(--dune-gold);
font-weight: bold;
font-size: var(--font-size-sm);
letter-spacing: 0.8px;
margin-bottom: var(--spacing-sm);
border-bottom: var(--border-thin) solid rgba(200, 161, 101, 0.3);
padding-bottom: var(--spacing-xs);
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
}
.skin-pivot .dune-card-locked-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
height: 18px;
margin-right: var(--spacing-xs);
color: var(--dune-gold);
font-size: 16px;
}
.skin-pivot .dune-card-locked-value {
color: var(--dune-text);
font-weight: normal;
padding: var(--spacing-xs) var(--spacing-sm);
background-color: rgba(22, 22, 24, 0.4);
border: var(--border-thin) solid rgba(200, 161, 101, 0.2);
border-radius: var(--border-radius-sm);
display: inline-block;
position: relative;
}
.skin-pivot .dune-card-locked-value a {
color: var(--dune-gold);
}
/*--------------------------------------------------------------
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);
margin-bottom: var(--spacing-xl);
position: relative;
padding: var(--spacing-md);
overflow: visible;
clip-path: polygon(0 0, 10px 0, 100% 0, 100% 10px, 100% 100%, calc(100% - 10px) 100%, 0 100%, 0 calc(100% - 10px));
}
.skin-pivot .game-panel-header {
background-color: rgba(200, 161, 101, 0.15);
border-bottom: var(--border-thin) solid var(--dune-gold);
padding: 6px 10px;
margin: -12px -12px 12px -12px;
position: relative;
text-transform: uppercase;
font-weight: bold;
color: var(--dune-title);
letter-spacing: 0.5px;
display: flex;
align-items: center;
}
.skin-pivot .game-panel-header::after {
content: '';
position: absolute;
bottom: -1px;
right: 0;
width: 12px;
height: 1px;
border-bottom: var(--border-thin) 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;
}
/*--------------------------------------------------------------
12. UI ELEMENTS - GAME ACCURATE
--------------------------------------------------------------*/
/* Resource Item */
.skin-pivot .resource {
display: inline-flex;
align-items: center;
padding: var(--spacing-xs) var(--spacing-sm);
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;
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 */
.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: var(--transition-standard);
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 */
.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 */
.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;
}
/*--------------------------------------------------------------
13. INVENTORY UI STYLING - 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;
clip-path: polygon(0 0, 10px 0, 100% 0, 100% 10px, 100% 100%, calc(100% - 10px) 100%, 0 100%, 0 calc(100% - 10px));
}
/* 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;
}
.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));
}
.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;
}
.skin-pivot .inventory-slot img {
max-width: 85%;
max-height: 85%;
}
/* Selected Slot */
.skin-pivot .dune-selected {
border: var(--border-thin) solid var(--dune-gold);
box-shadow: 0 0 8px rgba(200, 161, 101, 0.5) inset, 0 0 2px var(--dune-gold);
background-color: rgba(200, 161, 101, 0.1);
}
/* Item Count */
.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 */
.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; }