Toggle menu
4
19
10
1.1K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Accession/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* BOTANICAL THEMED CSS - Forest Greens & Earth Tones */
/* Template:Accession/styles.css - MediaWiki Compatible Version */


/* Research Database Header - Forest Green Theme */
/* Container */
.hero-header {
.mw-parser-output .accession-simple {
   background: #1a3b2e;
   max-width: 1200px !important;
  border: 1px solid #2d5a47;
   margin: 0 auto !important;
  border-radius: 3px;
   padding: 1rem !important;
   overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
   position: relative;
}
}


/* Header with botanical color scheme */
/* ===== HERO HEADER ===== */
.hero-top {
.mw-parser-output .hero-header {
   background: #0f2419;
  background: #1a3b2e !important;
   color: white;
  border: 1px solid #2d5a47 !important;
   padding: 2rem 2rem 1.75rem 2rem;
  border-radius: 3px !important;
   position: relative;
  overflow: hidden !important;
   border-bottom: 1px solid rgba(109, 154, 124, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 2rem !important;
  position: relative !important;
}
 
/* ===== HERO TOP SECTION ===== */
.mw-parser-output .hero-top {
   background: #0f2419 !important;
   color: white !important;
   padding: 2rem 2rem 1.75rem 2rem !important;
   position: relative !important;
   border-bottom: 1px solid rgba(109, 154, 124, 0.2) !important;
}
 
.mw-parser-output .title-section {
  margin-bottom: 1rem !important;
  position: relative !important;
}
}


/* Enhanced Title Section with Metadata */
.mw-parser-output .hero-title {
.title-section {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
   margin-bottom: 1rem;
  font-size: 1.75rem !important;
   position: relative;
  font-weight: 600 !important;
   margin: 0 0 0.75rem 0 !important;
  line-height: 1.2 !important;
  color: #f8faf9 !important;
  letter-spacing: -0.02em !important;
   width: 100% !important;
}
}


/* Header badges row - compact single-line design */
/* ===== HEADER BADGES ROW ===== */
.header-badges-row {
.mw-parser-output .header-badges-row {
   margin-top: 1rem;
   margin-top: 1rem !important;
}
}


/* Responsive badge layout */
.mw-parser-output .header-badges-row > div {
.header-badges-row > div {
   display: flex !important;
   display: flex !important;
   gap: 0.5rem !important;
   gap: 0.5rem !important;
Line 40: Line 56:
}
}


/* Scientific title - now with better spacing */
/* Base status badge styling */
.hero-title {
.mw-parser-output .status-badge {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 0.3rem 0.7rem !important;
   font-size: 1.75rem;
  border-radius: 4px !important;
   font-weight: 600;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   margin: 0 0 0.75rem 0;
   font-size: 0.75rem !important;
  line-height: 1.2;
   font-weight: 600 !important;
   color: #f8faf9;
   text-align: center !important;
  letter-spacing: -0.02em;
   border: 1px solid transparent !important;
  width: 100%;
   display: inline-flex !important;
}
   align-items: center !important;
 
   justify-content: center !important;
/* Accession Metadata Section */
   gap: 0.3rem !important;
.accession-metadata {
   white-space: nowrap !important;
   display: flex;
   margin-right: 0.5rem !important;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
 
.metadata-primary {
  display: flex;
   align-items: center;
   gap: 1rem;
  flex-wrap: wrap;
}
 
.metadata-secondary {
  display: flex;
  align-items: center;
   gap: 0.5rem;
  flex-wrap: wrap;
  opacity: 0.9;
}
 
.accession-id {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.85rem;
  color: #86efac;
  font-weight: 600;
  background: rgba(134, 239, 172, 0.1);
  border: 1px solid rgba(134, 239, 172, 0.2);
  padding: 0.3rem 0.6rem;
   border-radius: 3px;
   letter-spacing: 0.02em;
}
}


/* Accession ID badge - EXACT copy of working status badge pattern */
/* Accession ID badge */
.accession-id-badge {
.mw-parser-output .accession-id-badge {
   background: rgba(134, 239, 172, 0.2) !important;
   background: rgba(134, 239, 172, 0.2) !important;
   color: #86efac !important;
   color: #86efac !important;
Line 95: Line 81:
}
}


.accession-id-badge::before {
.mw-parser-output .accession-id-badge::before {
   content: "#";
   content: "#" !important;
   font-size: 0.7rem;
   font-size: 0.7rem !important;
   opacity: 0.8;
   opacity: 0.8 !important;
}
}


/* Geographic badges - use status badge base with different colors */
/* Geographic badges */
.geographic-current {
.mw-parser-output .geographic-current {
   background: rgba(109, 154, 124, 0.3) !important;
   background: rgba(109, 154, 124, 0.3) !important;
   color: #f0f6f2 !important;
   color: #f0f6f2 !important;
Line 108: Line 94:
}
}


.geographic-current::before {
.mw-parser-output .geographic-current::before {
   content: "📍";
   content: "📍" !important;
   font-size: 0.7rem;
   font-size: 0.7rem !important;
}
}


.geographic-parent {
.mw-parser-output .geographic-parent {
   background: rgba(109, 154, 124, 0.15) !important;
   background: rgba(109, 154, 124, 0.15) !important;
   color: #a3c4b0 !important;
   color: #a3c4b0 !important;
Line 119: Line 105:
}
}


.collection-date {
.mw-parser-output .geographic-badge {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0.3rem 0.7rem !important;
   font-size: 0.9rem;
  border-radius: 4px !important;
   color: #c4d4cc;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   font-weight: 500;
   font-size: 0.72rem !important;
   background: rgba(196, 212, 204, 0.08);
  font-weight: 500 !important;
   border: 1px solid rgba(196, 212, 204, 0.15);
  text-align: center !important;
  padding: 0.3rem 0.7rem;
  display: inline-block !important;
  border-radius: 3px;
   margin-right: 0.3rem !important;
   text-decoration: none !important;
  transition: all 0.2s ease !important;
   background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
   border: 1px solid rgba(109, 154, 124, 0.25) !important;
}
}


.collector {
/* Active status styling */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
.mw-parser-output .status-active {
   font-size: 0.8rem;
   background: #16a34a !important;
   color: #d4d4aa;
   color: white !important;
   font-weight: 500;
   border-color: #15803d !important;
}
}


.affiliation {
.mw-parser-output .status-active::before {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   content: "" !important;
   font-size: 0.8rem;
   font-size: 0.7rem !important;
  color: #a3c4b0;
  font-weight: 400;
}
}


.separator {
/* Tier 1 status styling */
   color: #7a9682;
.mw-parser-output .status-tier1 {
   font-weight: normal;
   background: #0891b2 !important;
   user-select: none;
   color: white !important;
   border-color: #0e7490 !important;
}
}


/* Geographic breadcrumb - Improved design */
.mw-parser-output .status-tier1::before {
.geographic-breadcrumb {
   content: "●" !important;
   margin-bottom: 1.25rem;
   font-size: 0.6rem !important;
   position: relative;
}
}


.geographic-breadcrumb-label {
/* ===== HERO SPLIT SECTION ===== */
   font-family: "SF Mono", Monaco, monospace;
.mw-parser-output .hero-split {
   font-size: 0.7rem;
   display: table !important;
   color: #a3c4b0;
   width: 100% !important;
  text-transform: uppercase;
   table-layout: fixed !important;
   letter-spacing: 0.5px;
   background: #faf8f5 !important;
   margin-bottom: 0.75rem;
   border-top: 1px solid rgba(109, 154, 124, 0.2) !important;
  display: block;
}
}


/* Breadcrumb container with better spacing */
.mw-parser-output .hero-image,  
.breadcrumb-trail {
.mw-parser-output .hero-map {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   display: table-cell !important;
  font-size: 0.9rem;
   width: 50% !important;
   line-height: 1.4;
   vertical-align: top !important;
   display: flex;
   height: 420px !important;
   align-items: center;
   position: relative !important;
   flex-wrap: wrap;
   gap: 0.5rem;
}
}


/* Individual breadcrumb items */
.mw-parser-output .hero-image {
.breadcrumb-item {
   background: #f5f3f0 !important;
   color: #c4d4cc;
   border-right: 1px solid #d4c5b8 !important;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
   border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}
}


/* Hover effects for navigation */
.mw-parser-output .hero-image img {
.breadcrumb-item:hover {
   width: 100% !important;
  color: #e8f0ec;
   height: 420px !important;
  background: rgba(164, 196, 176, 0.15);
   object-fit: cover !important;
}
 
/* Current page styling - last item is current */
.breadcrumb-item:last-child {
   color: #f0f6f2;
  font-weight: 600;
  background: rgba(164, 196, 176, 0.1);
  cursor: default;
}
 
.breadcrumb-item:last-child:hover {
  background: rgba(164, 196, 176, 0.1);
  color: #f0f6f2;
}
 
/* Separators with better contrast */
.breadcrumb-separator {
  color: #7a9682;
  font-size: 0.8rem;
  font-weight: normal;
  margin: 0 0.25rem;
  user-select: none;
}
 
/* Enhanced Status Section - Now with two columns */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
 
.status-group {
  flex: 1;
  min-width: 200px;
}
 
.classification-group {
   flex: 1;
  min-width: 200px;
   text-align: right;
}
 
.status-section {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
}


.status-label {
/* ===== PHOTO PLACEHOLDER ===== */
  font-family: "SF Mono", Monaco, monospace;
.mw-parser-output .photo-placeholder {
  font-size: 0.65rem;
   height: 420px !important;
  color: #a3c4b0;
   background: #faf8f5 !important;
  text-transform: uppercase;
   display: table !important;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}
 
.status-badges {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
 
/* Status badges - existing styling */
.status-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
}
 
.status-active {
  background: #16a34a;
  color: white;
  border-color: #15803d;
}
 
.status-active::before {
  content: "✓";
  font-size: 0.7rem;
}
 
.status-tier1 {
  background: #0891b2;
  color: white;
  border-color: #0e7490;
}
 
.status-tier1::before {
  content: "●";
  font-size: 0.6rem;
}
 
.status-priority {
  background: #dc2626;
  color: white;
  border-color: #b91c1c;
}
 
.status-priority::before {
  content: "!";
  font-size: 0.8rem;
  font-weight: bold;
}
 
/* New Classification Badges */
.classification-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  margin-right: 0.5rem;
}
 
.classification-landrace {
  background: #7c2d12;
  color: #fed7aa;
  border-color: #9a3412;
}
 
.classification-landrace::before {
  content: "🌱";
  font-size: 0.7rem;
}
 
.classification-population {
  background: #581c87;
  color: #e9d5ff;
  border-color: #6b21a8;
}
 
.classification-population::before {
  content: "👥";
  font-size: 0.7rem;
}
 
/* Technical data badges - Earth tones */
.hero-subtitle {
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.65rem;
  color: #d4d4aa;
  background: rgba(21, 41, 28, 0.8);
  border: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
 
/* Data visualization split - Warm natural backgrounds */
.hero-split {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #faf8f5;
  border-top: 1px solid rgba(109, 154, 124, 0.2);
}
 
.hero-image, .hero-map {
  display: table-cell;
  width: 50%;
  vertical-align: top;
  height: 420px;
  position: relative;
}
 
.hero-image {
  background: #f5f3f0;
  border-right: 1px solid #d4c5b8;
}
 
.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
 
/* Scientific placeholder - Earth tones */
.photo-placeholder {
   height: 420px;
   background: #faf8f5;
   display: table;
  width: 100%;
  position: relative;
}
 
.placeholder-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 3rem;
  position: relative;
}
 
.placeholder-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  color: #2f4538;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}
 
.placeholder-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #5a6b5d;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto 1.5rem;
}
 
/* Technical image overlay - Forest green */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 36, 25, 0.9);
  color: white;
  padding: 1.25rem;
}
 
.image-caption {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  color: #e8f0ec;
}
 
/* Map with warm natural container */
.hero-map {
  background: #fefcfa;
  border: 1px solid #e5d5c8;
  position: relative;
}
 
.map-container {
  height: 418px;
  width: calc(100% - 2px);
  background: #f9f6f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7d6f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}
 
.lw-map {
   width: 100% !important;
   width: 100% !important;
   height: 418px !important;
   position: relative !important;
}
}


/* Map overlay - Earth tone styling */
.mw-parser-output .placeholder-content {
.accession-status {
   display: table-cell !important;
   position: absolute;
   vertical-align: middle !important;
   top: 1rem;
   text-align: center !important;
   left: 1rem;
   padding: 3rem !important;
  background: rgba(254, 252, 250, 0.95);
   position: relative !important;
  border: 1px solid #d4c5b8;
  border-radius: 3px;
   padding: 0.75rem 1rem;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15);
  max-width: 220px;
  z-index: 1000;
}
}


.accession-status-title {
.mw-parser-output .placeholder-title {
  font-family: "SF Mono", Monaco, monospace;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.7rem;
   font-size: 1.25rem !important;
  text-transform: uppercase;
   color: #2f4538 !important;
  color: #78856b;
   font-weight: 600 !important;
  font-weight: 600;
   margin-bottom: 1rem !important;
  margin-bottom: 0.4rem;
   letter-spacing: -0.01em !important;
  letter-spacing: 0.5px;
}
 
.accession-status-value {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-weight: 600;
   color: #2f4538;
   font-size: 0.85rem;
   margin-bottom: 0.25rem;
   line-height: 1.3;
}
}


.accession-status-note {
.mw-parser-output .placeholder-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #78856b;
  font-size: 0.75rem;
  line-height: 1.3;
}
 
/* Coordinates with earth tone styling */
.coordinates {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(254, 252, 250, 0.95);
  color: #2f4538;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #d4c5b8;
  cursor: pointer;
  transition: all 0.2s;
}
 
.coordinates:hover {
  background: #fefcfa;
  box-shadow: 0 2px 8px rgba(47, 69, 56, 0.15);
}
 
.coordinates::after {
  content: "📋";
  margin-left: 0.5rem;
  opacity: 0.6;
}
 
/* Details strip - Rich earth tone background */
.hero-details {
  background: #3a5d4a;
  border-top: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: 0.75rem;
  position: relative;
  overflow-x: auto;
}
 
.detail-group {
  display: flex;
  flex-direction: column;
  min-width: 80px;
  max-width: 120px;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}
 
.detail-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.65rem;
  color: #a3c4b0;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
 
.detail-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #f0f6f2;
  line-height: 1.2;
  white-space: nowrap;
}
 
.detail-value.highlight {
  color: #86efac;
}
 
.detail-value .unit {
  margin-left: 0.125rem;
}
 
/* Map controls - Natural styling */
.leaflet-control {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1rem !important;
  color: #5a6b5d !important;
  line-height: 1.6 !important;
  max-width: 65ch !important;
  margin: 0 auto 1.5rem !important;
}
}


.leaflet-control-layers {
/* ===== IMAGE OVERLAY ===== */
   background: rgba(254, 252, 250, 0.95) !important;
.mw-parser-output .image-overlay {
   border: 1px solid #d4c5b8 !important;
   position: absolute !important;
   border-radius: 3px !important;
  bottom: 0 !important;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
   left: 0 !important;
   padding: 0.75rem !important;
   right: 0 !important;
   background: rgba(15, 36, 25, 0.9) !important;
  color: white !important;
   padding: 1.25rem !important;
}
}


.leaflet-control-zoom {
.mw-parser-output .image-caption {
   border: 1px solid #d4c5b8 !important;
   font-family: "SF Mono", Monaco, monospace !important;
   border-radius: 3px !important;
   font-size: 0.8rem !important;
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
   font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  color: #e8f0ec !important;
}
}


.leaflet-control-zoom a {
/* ===== MAP SECTION ===== */
  width: 30px !important;
.mw-parser-output .hero-map {
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
   background: #fefcfa !important;
   background: #fefcfa !important;
   color: #2f4538 !important;
   border: 1px solid #e5d5c8 !important;
   border: none !important;
   position: relative !important;
}
}


.leaflet-control-zoom a:hover {
.mw-parser-output .map-container {
  height: 418px !important;
  width: calc(100% - 2px) !important;
   background: #f9f6f3 !important;
   background: #f9f6f3 !important;
   color: #1a3b2e !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
   color: #6b7d6f !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  position: relative !important;
}
}


/* Geographic badges - more muted than status badges */
/* ===== HERO DETAILS STRIP ===== */
.geographic-badge {
.mw-parser-output .hero-details {
   padding: 0.3rem 0.7rem;
   background: #3a5d4a !important;
   border-radius: 4px;
   border-top: 1px solid rgba(109, 154, 124, 0.3) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   padding: 0.75rem 1rem !important;
   font-size: 0.72rem;
   display: flex !important;
   font-weight: 500;
   flex-wrap: nowrap !important;
   text-align: center;
   justify-content: space-evenly !important;
  display: inline-block;
   gap: 0.75rem !important;
   margin-right: 0.3rem;
   position: relative !important;
  text-decoration: none;
   overflow-x: auto !important;
   transition: all 0.2s ease;
    
  /* Muted styling to differentiate from status badges */
  background: rgba(109, 154, 124, 0.15);
   color: #a3c4b0;
  border: 1px solid rgba(109, 154, 124, 0.25);
}
}


.geographic-badge:hover {
.mw-parser-output .detail-group {
   background: rgba(109, 154, 124, 0.25);
  display: flex !important;
   color: #c4d4cc;
  flex-direction: column !important;
   cursor: pointer;
  min-width: 80px !important;
  max-width: 120px !important;
   text-align: center !important;
   position: relative !important;
   flex-shrink: 0 !important;
}
}


/* Current location badge - "you are here" not "task complete" */
.mw-parser-output .detail-label {
.geographic-current {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   background: rgba(109, 154, 124, 0.3);
  font-size: 0.65rem !important;
   color: #f0f6f2;
   color: #a3c4b0 !important;
   font-weight: 600;
   font-weight: 500 !important;
   border-color: rgba(109, 154, 124, 0.5);
  margin-bottom: 0.25rem !important;
   position: relative;
   letter-spacing: 0.02em !important;
   white-space: nowrap !important;
}
}


.geographic-current::before {
.mw-parser-output .detail-value {
   content: "📍";
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   font-size: 0.7rem;
   font-size: 0.8rem !important;
   margin-right: 0.3rem;
  font-weight: 600 !important;
   color: #f0f6f2 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
}


.geographic-current:hover {
.mw-parser-output .detail-value.highlight {
  background: rgba(109, 154, 124, 0.3);
   color: #86efac !important;
   color: #f0f6f2;
  cursor: default;
}
}


/* Hierarchy separators */
.mw-parser-output .unit {
.geographic-separator {
   font-size: 0.8rem !important;
  color: #7a9682;
   color: #a3c4b0 !important;
   font-size: 0.8rem;
   margin-left: 0.1rem !important;
   margin: 0 0.4rem;
   font-weight: normal;
  user-select: none;
}
}


/* Section separation */
/* ===== TIER 1 DATA SECTION ===== */
.header-section {
.mw-parser-output .tier1 {
   margin-bottom: 1.5rem;
   background: #f9fafb !important;
   position: relative;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 2rem !important;
   margin-top: 2rem !important;
}
}


.header-section:not(:last-child)::after {
.mw-parser-output .tier1 h2 {
   content: "";
   color: #1f2937 !important;
  position: absolute;
   margin-bottom: 1.5rem !important;
   bottom: -0.75rem;
   font-size: 1.5rem !important;
   left: 0;
  right: 0;
  height: 1px;
  background: rgba(109, 154, 124, 0.1);
}
}


/* Improved section labels */
.mw-parser-output .tier1 h3 {
.section-label {
   color: #374151 !important;
   font-family: "SF Mono", Monaco, monospace;
   margin: 1.5rem 0 0.75rem 0 !important;
   font-size: 0.65rem;
   font-size: 1.1rem !important;
   color: #a3c4b0;
   border-bottom: 1px solid #e5e7eb !important;
  text-transform: uppercase;
   padding-bottom: 0.5rem !important;
   letter-spacing: 0.5px;
   margin-bottom: 0.75rem;
  display: block;
  position: relative;
}
}


/* Geographic section gets different label styling */
.mw-parser-output .tier1 .detail-label {
.section-label.geographic {
  font-weight: bold !important;
   color: #7a9682;
   color: #4b5563 !important;
   font-size: 0.6rem;
   min-width: 200px !important;
  display: inline-block !important;
}
}


/* Status section gets emphasis */
.mw-parser-output .tier1 .detail-value {
.section-label.status {
   color: #111827 !important;
   color: #a3c4b0;
  font-weight: 600;
}
}


/* Classification section gets warm tone */
.mw-parser-output .tier1 > div {
.section-label.classification {
   margin-bottom: 0.5rem !important;
   color: #d4d4aa;
   padding: 0.25rem 0 !important;
   font-weight: 500;
}
}


/* Mobile responsiveness - Updated for new layout */
/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .hero-top {
   .mw-parser-output .hero-split {
     padding: 1.5rem;
     display: block !important;
   }
   }
    
    
   .hero-title {
   .mw-parser-output .hero-image,
     font-size: 1.5rem;
  .mw-parser-output .hero-map {
     margin-bottom: 1rem;
     display: block !important;
    width: 100% !important;
     height: 320px !important;
   }
   }
    
    
   .accession-metadata {
   .mw-parser-output .hero-map {
     gap: 0.4rem;
     border-right: none !important;
    border-top: 1px solid #d4c5b8 !important;
   }
   }
    
    
   .metadata-primary {
   .mw-parser-output .photo-placeholder {
     gap: 0.75rem;
     height: 320px !important;
   }
   }
    
    
   .status-row {
   .mw-parser-output .map-container {
    flex-direction: column;
     height: 318px !important;
    gap: 1.5rem;
  }
 
  .classification-group {
     text-align: left;
   }
   }
    
    
   .breadcrumb-trail {
   .mw-parser-output .hero-title {
     font-size: 0.8rem;
     font-size: 1.5rem !important;
     flex-wrap: wrap;
     margin-bottom: 1rem !important;
   }
   }
    
    
   .hero-split {
   .mw-parser-output .hero-top {
     display: block;
     padding: 1.5rem !important;
   }
   }
    
    
   .hero-image, .hero-map {
   .mw-parser-output .hero-details {
     display: block;
     padding: 0.75rem 1rem !important;
     width: 100%;
     gap: 0.5rem !important;
    height: 320px;
   }
   }
    
    
   .hero-map {
   .mw-parser-output .detail-group {
     border-right: none;
     min-width: 70px !important;
     border-top: 1px solid #d4c5b8;
     max-width: 100px !important;
   }
   }
    
    
   .photo-placeholder {
   .mw-parser-output .header-badges-row {
     height: 320px;
     margin-top: 0.5rem !important;
   }
   }
    
    
   .map-container {
   .mw-parser-output .tier1 {
     height: 318px;
     padding: 1.5rem !important;
   }
   }
 
  .lw-map {
    height: 318px !important;
  }
 
  .hero-details {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
 
  .detail-group {
    min-width: 70px;
    max-width: 100px;
  }
 
  .accession-status {
    max-width: 180px;
    padding: 0.5rem 0.75rem;
  }
}
/* MINIMAL FIX - Add these rules to your existing CSS file */
/* Base status badge class that was missing */
.status-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  margin-right: 0.5rem;
}
/* Fix the accession ID badge if it's not working */
.accession-id-badge {
  background: rgba(134, 239, 172, 0.2) !important;
  color: #86efac !important;
  border: 1px solid rgba(134, 239, 172, 0.4) !important;
  font-family: "SF Mono", Monaco, monospace !important;
}
/* Fix geographic badges if they're not working */
.geographic-parent {
  background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
  border: 1px solid rgba(109, 154, 124, 0.25) !important;
}
}

Revision as of 13:12, 19 September 2025

/* Template:Accession/styles.css - MediaWiki Compatible Version */

/* Container */
.mw-parser-output .accession-simple {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 1rem !important;
}

/* ===== HERO HEADER ===== */
.mw-parser-output .hero-header {
  background: #1a3b2e !important;
  border: 1px solid #2d5a47 !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 2rem !important;
  position: relative !important;
}

/* ===== HERO TOP SECTION ===== */
.mw-parser-output .hero-top {
  background: #0f2419 !important;
  color: white !important;
  padding: 2rem 2rem 1.75rem 2rem !important;
  position: relative !important;
  border-bottom: 1px solid rgba(109, 154, 124, 0.2) !important;
}

.mw-parser-output .title-section {
  margin-bottom: 1rem !important;
  position: relative !important;
}

.mw-parser-output .hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.2 !important;
  color: #f8faf9 !important;
  letter-spacing: -0.02em !important;
  width: 100% !important;
}

/* ===== HEADER BADGES ROW ===== */
.mw-parser-output .header-badges-row {
  margin-top: 1rem !important;
}

.mw-parser-output .header-badges-row > div {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

/* Base status badge styling */
.mw-parser-output .status-badge {
  padding: 0.3rem 0.7rem !important;
  border-radius: 4px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  border: 1px solid transparent !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;
  white-space: nowrap !important;
  margin-right: 0.5rem !important;
}

/* Accession ID badge */
.mw-parser-output .accession-id-badge {
  background: rgba(134, 239, 172, 0.2) !important;
  color: #86efac !important;
  border: 1px solid rgba(134, 239, 172, 0.4) !important;
  font-family: "SF Mono", Monaco, monospace !important;
}

.mw-parser-output .accession-id-badge::before {
  content: "#" !important;
  font-size: 0.7rem !important;
  opacity: 0.8 !important;
}

/* Geographic badges */
.mw-parser-output .geographic-current {
  background: rgba(109, 154, 124, 0.3) !important;
  color: #f0f6f2 !important;
  border: 1px solid rgba(109, 154, 124, 0.5) !important;
}

.mw-parser-output .geographic-current::before {
  content: "📍" !important;
  font-size: 0.7rem !important;
}

.mw-parser-output .geographic-parent {
  background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
  border: 1px solid rgba(109, 154, 124, 0.25) !important;
}

.mw-parser-output .geographic-badge {
  padding: 0.3rem 0.7rem !important;
  border-radius: 4px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  display: inline-block !important;
  margin-right: 0.3rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
  border: 1px solid rgba(109, 154, 124, 0.25) !important;
}

/* Active status styling */
.mw-parser-output .status-active {
  background: #16a34a !important;
  color: white !important;
  border-color: #15803d !important;
}

.mw-parser-output .status-active::before {
  content: "✓" !important;
  font-size: 0.7rem !important;
}

/* Tier 1 status styling */
.mw-parser-output .status-tier1 {
  background: #0891b2 !important;
  color: white !important;
  border-color: #0e7490 !important;
}

.mw-parser-output .status-tier1::before {
  content: "●" !important;
  font-size: 0.6rem !important;
}

/* ===== HERO SPLIT SECTION ===== */
.mw-parser-output .hero-split {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
  background: #faf8f5 !important;
  border-top: 1px solid rgba(109, 154, 124, 0.2) !important;
}

.mw-parser-output .hero-image, 
.mw-parser-output .hero-map {
  display: table-cell !important;
  width: 50% !important;
  vertical-align: top !important;
  height: 420px !important;
  position: relative !important;
}

.mw-parser-output .hero-image {
  background: #f5f3f0 !important;
  border-right: 1px solid #d4c5b8 !important;
}

.mw-parser-output .hero-image img {
  width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
}

/* ===== PHOTO PLACEHOLDER ===== */
.mw-parser-output .photo-placeholder {
  height: 420px !important;
  background: #faf8f5 !important;
  display: table !important;
  width: 100% !important;
  position: relative !important;
}

.mw-parser-output .placeholder-content {
  display: table-cell !important;
  vertical-align: middle !important;
  text-align: center !important;
  padding: 3rem !important;
  position: relative !important;
}

.mw-parser-output .placeholder-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1.25rem !important;
  color: #2f4538 !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.01em !important;
}

.mw-parser-output .placeholder-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1rem !important;
  color: #5a6b5d !important;
  line-height: 1.6 !important;
  max-width: 65ch !important;
  margin: 0 auto 1.5rem !important;
}

/* ===== IMAGE OVERLAY ===== */
.mw-parser-output .image-overlay {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(15, 36, 25, 0.9) !important;
  color: white !important;
  padding: 1.25rem !important;
}

.mw-parser-output .image-caption {
  font-family: "SF Mono", Monaco, monospace !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  color: #e8f0ec !important;
}

/* ===== MAP SECTION ===== */
.mw-parser-output .hero-map {
  background: #fefcfa !important;
  border: 1px solid #e5d5c8 !important;
  position: relative !important;
}

.mw-parser-output .map-container {
  height: 418px !important;
  width: calc(100% - 2px) !important;
  background: #f9f6f3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6b7d6f !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  position: relative !important;
}

/* ===== HERO DETAILS STRIP ===== */
.mw-parser-output .hero-details {
  background: #3a5d4a !important;
  border-top: 1px solid rgba(109, 154, 124, 0.3) !important;
  padding: 0.75rem 1rem !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: space-evenly !important;
  gap: 0.75rem !important;
  position: relative !important;
  overflow-x: auto !important;
}

.mw-parser-output .detail-group {
  display: flex !important;
  flex-direction: column !important;
  min-width: 80px !important;
  max-width: 120px !important;
  text-align: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.mw-parser-output .detail-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.65rem !important;
  color: #a3c4b0 !important;
  font-weight: 500 !important;
  margin-bottom: 0.25rem !important;
  letter-spacing: 0.02em !important;
  white-space: nowrap !important;
}

.mw-parser-output .detail-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #f0f6f2 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.mw-parser-output .detail-value.highlight {
  color: #86efac !important;
}

.mw-parser-output .unit {
  font-size: 0.8rem !important;
  color: #a3c4b0 !important;
  margin-left: 0.1rem !important;
}

/* ===== TIER 1 DATA SECTION ===== */
.mw-parser-output .tier1 {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 2rem !important;
  margin-top: 2rem !important;
}

.mw-parser-output .tier1 h2 {
  color: #1f2937 !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.5rem !important;
}

.mw-parser-output .tier1 h3 {
  color: #374151 !important;
  margin: 1.5rem 0 0.75rem 0 !important;
  font-size: 1.1rem !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding-bottom: 0.5rem !important;
}

.mw-parser-output .tier1 .detail-label {
  font-weight: bold !important;
  color: #4b5563 !important;
  min-width: 200px !important;
  display: inline-block !important;
}

.mw-parser-output .tier1 .detail-value {
  color: #111827 !important;
}

.mw-parser-output .tier1 > div {
  margin-bottom: 0.5rem !important;
  padding: 0.25rem 0 !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .mw-parser-output .hero-split {
    display: block !important;
  }
  
  .mw-parser-output .hero-image, 
  .mw-parser-output .hero-map {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
  }
  
  .mw-parser-output .hero-map {
    border-right: none !important;
    border-top: 1px solid #d4c5b8 !important;
  }
  
  .mw-parser-output .photo-placeholder {
    height: 320px !important;
  }
  
  .mw-parser-output .map-container {
    height: 318px !important;
  }
  
  .mw-parser-output .hero-title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .mw-parser-output .hero-top {
    padding: 1.5rem !important;
  }
  
  .mw-parser-output .hero-details {
    padding: 0.75rem 1rem !important;
    gap: 0.5rem !important;
  }
  
  .mw-parser-output .detail-group {
    min-width: 70px !important;
    max-width: 100px !important;
  }
  
  .mw-parser-output .header-badges-row {
    margin-top: 0.5rem !important;
  }
  
  .mw-parser-output .tier1 {
    padding: 1.5rem !important;
  }
}