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 - Complete Fixed Version */


/* Research Database Header - Forest Green Theme */
.accession-simple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}
 
/* ===== HERO HEADER ===== */
.hero-header {
.hero-header {
   background: #1a3b2e;
   background: white;
  border: 1px solid #2d5a47;
   border-radius: 8px;
   border-radius: 3px;
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
   margin-bottom: 2rem;
   margin-bottom: 1.5rem;
   position: relative;
   border: 1px solid #e2e8f0;
}
}


/* Header with botanical color scheme */
/* ===== HERO TOP SECTION ===== */
.hero-top {
.hero-top {
   background: #0f2419;
   background: #0f172a;
   color: white;
   color: white;
   padding: 2rem 2rem 1.75rem 2rem;
   padding: 1.5rem 2rem;
   position: relative;
   position: relative;
  border-bottom: 1px solid rgba(109, 154, 124, 0.2);
}
}


/* Enhanced Title Section with Metadata */
.title-section {
.title-section {
   margin-bottom: 1rem;
   max-width: 70%;
  position: relative;
}
}


/* Header badges row - compact single-line design */
.header-badges-row {
  margin-top: 1rem;
}
/* Responsive badge layout */
.header-badges-row > div {
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}
/* Scientific title - now with better spacing */
.hero-title {
.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-size: 2rem;
   font-size: 1.75rem;
   font-weight: bold;
   font-weight: 600;
   margin: 0 0 0.75rem 0;
   margin: 0 0 0.75rem 0;
   line-height: 1.2;
   line-height: 1.2;
   color: #f8faf9;
   color: white;
  letter-spacing: -0.02em;
  width: 100%;
}
}


/* Accession Metadata Section */
/* ===== HEADER BADGES ROW ===== */
.accession-metadata {
.header-badges-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
   margin-top: 0.75rem;
   margin-top: 0.75rem;
}
}


.metadata-primary {
/* Base status badge styling */
   display: flex;
.status-badge {
  padding: 0.25rem 0.75rem;
  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;
   align-items: center;
   gap: 1rem;
  justify-content: center;
   flex-wrap: wrap;
   gap: 0.25rem;
   margin-right: 0.25rem;
}
}


.metadata-secondary {
/* Accession ID badge - monospace style */
  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 {
   background: rgba(134, 239, 172, 0.2) !important;
   background: #374151;
   color: #86efac !important;
   color: white;
  border: 1px solid rgba(134, 239, 172, 0.4) !important;
   font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
   font-family: "SF Mono", Monaco, monospace !important;
  border-color: #4b5563;
}
 
.accession-id-badge::before {
  content: "#";
  font-size: 0.7rem;
  opacity: 0.8;
}
}


/* Geographic badges - use status badge base with different colors */
/* Geographic badges - muted botanical colors */
.geographic-current {
.geographic-current {
   background: rgba(109, 154, 124, 0.3) !important;
   background: rgba(109, 154, 124, 0.3);
   color: #f0f6f2 !important;
   color: #f0f6f2;
   border: 1px solid rgba(109, 154, 124, 0.5) !important;
  font-weight: 600;
   border-color: rgba(109, 154, 124, 0.5);
}
}


Line 111: Line 77:
   content: "📍";
   content: "📍";
   font-size: 0.7rem;
   font-size: 0.7rem;
  margin-right: 0.3rem;
}
}


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


.collection-date {
.geographic-badge {
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.9rem;
   font-size: 0.72rem;
  color: #c4d4cc;
   font-weight: 500;
   font-weight: 500;
  background: rgba(196, 212, 204, 0.08);
   text-align: center;
  border: 1px solid rgba(196, 212, 204, 0.15);
   display: inline-block;
  padding: 0.3rem 0.7rem;
   margin-right: 0.3rem;
  border-radius: 3px;
   text-decoration: none;
}
 
.collector {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  color: #d4d4aa;
  font-weight: 500;
}
 
.affiliation {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  color: #a3c4b0;
  font-weight: 400;
}
 
.separator {
  color: #7a9682;
  font-weight: normal;
  user-select: none;
}
 
/* Geographic breadcrumb - Improved design */
.geographic-breadcrumb {
  margin-bottom: 1.25rem;
  position: relative;
}
 
.geographic-breadcrumb-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  color: #a3c4b0;
   text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
}
 
/* Breadcrumb container with better spacing */
.breadcrumb-trail {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
   flex-wrap: wrap;
  gap: 0.5rem;
}
 
/* Individual breadcrumb items */
.breadcrumb-item {
  color: #c4d4cc;
   font-weight: 500;
  padding: 0.25rem 0.5rem;
   border-radius: 4px;
   transition: all 0.2s ease;
   transition: all 0.2s ease;
  text-decoration: none;
   background: rgba(109, 154, 124, 0.15);
  position: relative;
   color: #2c5530;
  cursor: pointer;
   border: 1px solid rgba(109, 154, 124, 0.25);
}
 
/* Hover effects for navigation */
.breadcrumb-item:hover {
  color: #e8f0ec;
   background: rgba(164, 196, 176, 0.15);
}
 
/* 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 {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.65rem;
  color: #a3c4b0;
  text-transform: uppercase;
  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;
}
}


/* Active status styling */
.status-active {
.status-active {
   background: #16a34a;
   background: #16a34a;
Line 291: Line 114:
}
}


/* Tier 1 status styling */
.status-tier1 {
.status-tier1 {
   background: #0891b2;
   background: #0891b2;
Line 302: Line 126:
}
}


.status-priority {
/* ===== HERO SPLIT SECTION ===== */
  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 {
.hero-split {
   display: table;
   display: table;
   width: 100%;
   width: 100%;
   table-layout: fixed;
   table-layout: fixed;
   background: #faf8f5;
   background: #f8fafc;
  border-top: 1px solid rgba(109, 154, 124, 0.2);
}
}


Line 382: Line 138:
   width: 50%;
   width: 50%;
   vertical-align: top;
   vertical-align: top;
   height: 420px;
   height: 400px;
   position: relative;
   position: relative;
}
}


.hero-image {
.hero-image {
   background: #f5f3f0;
   background: #f1f5f9;
   border-right: 1px solid #d4c5b8;
   border-right: 1px solid #e2e8f0;
}
}


.hero-image img {
.hero-image img {
   width: 100%;
   width: 100%;
   height: 420px;
   height: 400px;
   object-fit: cover;
   object-fit: cover;
}
}


/* Scientific placeholder - Earth tones */
/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
.photo-placeholder {
   height: 420px;
   height: 400px;
   background: #faf8f5;
   background: #f8fafc;
   display: table;
   display: table;
   width: 100%;
   width: 100%;
  position: relative;
}
}


Line 410: Line 165:
   vertical-align: middle;
   vertical-align: middle;
   text-align: center;
   text-align: center;
   padding: 3rem;
   padding: 2rem;
  position: relative;
}
}


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


.placeholder-subtitle {
.placeholder-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.9rem;
   font-size: 1rem;
   color: #64748b;
   color: #5a6b5d;
   line-height: 1.4;
   line-height: 1.6;
   max-width: 280px;
   max-width: 65ch;
   margin: 0 auto;
   margin: 0 auto 1.5rem;
}
}


/* Technical image overlay - Forest green */
/* ===== IMAGE OVERLAY ===== */
.image-overlay {
.image-overlay {
   position: absolute;
   position: absolute;
Line 438: Line 189:
   left: 0;
   left: 0;
   right: 0;
   right: 0;
   background: rgba(15, 36, 25, 0.9);
   background: rgba(0, 0, 0, 0.6);
   color: white;
   color: white;
   padding: 1.25rem;
   padding: 0.75rem 1rem 0.5rem;
}
}


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


/* Map with warm natural container */
/* ===== MAP SECTION ===== */
.hero-map {
.hero-map {
   background: #fefcfa;
   background: #f8fafc;
  border: 1px solid #e5d5c8;
  position: relative;
}
}


.map-container {
.map-container {
   height: 418px;
   height: 400px;
  width: calc(100% - 2px);
   background: #e2e8f0;
   background: #f9f6f3;
   display: table-cell;
   display: flex;
   vertical-align: middle;
   align-items: center;
   text-align: center;
   justify-content: center;
   color: #64748b;
   color: #6b7d6f;
   font-family: monospace;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   padding: 2rem;
  font-size: 1rem;
  font-weight: 500;
   position: relative;
}
}


.lw-map {
/* ===== HERO DETAILS STRIP ===== */
  width: 100% !important;
  height: 418px !important;
}
 
/* Map overlay - Earth tone styling */
.accession-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(254, 252, 250, 0.95);
  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 {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #78856b;
  font-weight: 600;
  margin-bottom: 0.4rem;
  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 {
  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 {
.hero-details {
   background: #3a5d4a;
   background: #fff;
   border-top: 1px solid rgba(109, 154, 124, 0.3);
   border-top: 2px solid #334155;
   padding: 0.75rem 1rem;
   padding: 1.5rem 2rem;
  text-align: center;
   display: flex;
   display: flex;
   flex-wrap: nowrap;
   flex-wrap: wrap;
   justify-content: space-evenly;
   justify-content: center;
   gap: 0.75rem;
   gap: 2rem;
  position: relative;
  overflow-x: auto;
}
}


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


.detail-label {
.detail-label {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.75rem;
   font-size: 0.65rem;
   text-transform: uppercase;
   color: #a3c4b0;
   color: #64748b;
   font-weight: 500;
   font-weight: bold;
   margin-bottom: 0.25rem;
   margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
}


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


.detail-value.highlight {
.detail-value.highlight {
   color: #86efac;
   color: #059669;
}
}


.detail-value .unit {
.unit {
   margin-left: 0.125rem;
  font-size: 0.8rem;
  color: #64748b;
   margin-left: 0.1rem;
}
}


/* Map controls - Natural styling */
/* ===== TIER 1 DATA SECTION ===== */
.leaflet-control {
.tier1 {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
   background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
}
}


.leaflet-control-layers {
.tier1 h2 {
   background: rgba(254, 252, 250, 0.95) !important;
   color: #1f2937;
  border: 1px solid #d4c5b8 !important;
   margin-bottom: 1.5rem;
   border-radius: 3px !important;
   font-size: 1.5rem;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
  padding: 0.75rem !important;
}
}


.leaflet-control-zoom {
.tier1 h3 {
   border: 1px solid #d4c5b8 !important;
   color: #374151;
   border-radius: 3px !important;
  margin: 1.5rem 0 0.75rem 0;
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
  font-size: 1.1rem;
   border-bottom: 1px solid #e5e7eb;
   padding-bottom: 0.5rem;
}
}


.leaflet-control-zoom a {
.tier1 .detail-label {
  width: 30px !important;
   font-weight: bold;
  height: 30px !important;
   color: #4b5563;
  line-height: 30px !important;
   min-width: 200px;
   font-size: 16px !important;
  background: #fefcfa !important;
   color: #2f4538 !important;
   border: none !important;
}
 
.leaflet-control-zoom a:hover {
  background: #f9f6f3 !important;
  color: #1a3b2e !important;
}
 
/* Geographic badges - more muted than status badges */
.geographic-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
   display: inline-block;
   display: inline-block;
  margin-right: 0.3rem;
  text-decoration: none;
  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 {
.tier1 .detail-value {
  background: rgba(109, 154, 124, 0.25);
   color: #111827;
   color: #c4d4cc;
  cursor: pointer;
}
}


/* Current location badge - "you are here" not "task complete" */
.tier1 > div {
.geographic-current {
   margin-bottom: 0.5rem;
   background: rgba(109, 154, 124, 0.3);
   padding: 0.25rem 0;
  color: #f0f6f2;
  font-weight: 600;
  border-color: rgba(109, 154, 124, 0.5);
   position: relative;
}
 
.geographic-current::before {
  content: "📍";
  font-size: 0.7rem;
  margin-right: 0.3rem;
}
}


.geographic-current:hover {
/* ===== MOBILE RESPONSIVE ===== */
  background: rgba(109, 154, 124, 0.3);
  color: #f0f6f2;
  cursor: default;
}
 
/* Hierarchy separators */
.geographic-separator {
  color: #7a9682;
  font-size: 0.8rem;
  margin: 0 0.4rem;
  font-weight: normal;
  user-select: none;
}
 
/* Section separation */
.header-section {
  margin-bottom: 1.5rem;
  position: relative;
}
 
.header-section:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(109, 154, 124, 0.1);
}
 
/* Improved section labels */
.section-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.65rem;
  color: #a3c4b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  display: block;
  position: relative;
}
 
/* Geographic section gets different label styling */
.section-label.geographic {
  color: #7a9682;
  font-size: 0.6rem;
}
 
/* Status section gets emphasis */
.section-label.status {
  color: #a3c4b0;
  font-weight: 600;
}
 
/* Classification section gets warm tone */
.section-label.classification {
  color: #d4d4aa;
  font-weight: 500;
}
 
/* Mobile responsiveness - Updated for new layout */
@media (max-width: 768px) {
@media (max-width: 768px) {
  .hero-top {
    padding: 1.5rem;
  }
 
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
 
  .accession-metadata {
    gap: 0.4rem;
  }
 
  .metadata-primary {
    gap: 0.75rem;
  }
 
  .status-row {
    flex-direction: column;
    gap: 1.5rem;
  }
 
  .classification-group {
    text-align: left;
  }
 
  .breadcrumb-trail {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
 
   .hero-split {
   .hero-split {
     display: block;
     display: block;
Line 772: Line 306:
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     height: 320px;
     height: 300px;
   }
   }
    
    
   .hero-map {
   .hero-map {
     border-right: none;
     border-right: none;
     border-top: 1px solid #d4c5b8;
     border-top: 1px solid #e2e8f0;
   }
   }
    
    
   .photo-placeholder {
   .photo-placeholder {
     height: 320px;
     height: 300px;
   }
   }
    
    
   .map-container {
   .map-container {
     height: 318px;
     height: 298px;
  }
 
  .hero-title {
    font-size: 1.5rem;
  }
 
  .title-section {
    max-width: 100%;
   }
   }
    
    
   .lw-map {
   .hero-top {
     height: 318px !important;
     padding: 1.25rem 1.5rem;
   }
   }
    
    
   .hero-details {
   .hero-details {
     padding: 0.75rem 1rem;
     padding: 1rem 1.5rem;
     gap: 0.5rem;
     gap: 1rem;
   }
   }
    
    
   .detail-group {
   .detail-group {
     min-width: 70px;
     min-width: 100px;
    max-width: 100px;
   }
   }
    
    
   .accession-status {
   .header-badges-row {
     max-width: 180px;
     margin-top: 0.5rem;
     padding: 0.5rem 0.75rem;
  }
 
  .tier1 {
     padding: 1.5rem;
   }
   }
}
}

Revision as of 12:58, 19 September 2025

/* Template:Accession/styles.css - Complete Fixed Version */

.accession-simple {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== HERO HEADER ===== */
.hero-header {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  border: 1px solid #e2e8f0;
}

/* ===== HERO TOP SECTION ===== */
.hero-top {
  background: #0f172a;
  color: white;
  padding: 1.5rem 2rem;
  position: relative;
}

.title-section {
  max-width: 70%;
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
  color: white;
}

/* ===== HEADER BADGES ROW ===== */
.header-badges-row {
  margin-top: 0.75rem;
}

/* Base status badge styling */
.status-badge {
  padding: 0.25rem 0.75rem;
  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.25rem;
  margin-right: 0.25rem;
}

/* Accession ID badge - monospace style */
.accession-id-badge {
  background: #374151;
  color: white;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  border-color: #4b5563;
}

/* Geographic badges - muted botanical colors */
.geographic-current {
  background: rgba(109, 154, 124, 0.3);
  color: #f0f6f2;
  font-weight: 600;
  border-color: rgba(109, 154, 124, 0.5);
}

.geographic-current::before {
  content: "📍";
  font-size: 0.7rem;
  margin-right: 0.3rem;
}

.geographic-parent {
  background: rgba(109, 154, 124, 0.15);
  color: #2c5530;
  border-color: rgba(109, 154, 124, 0.25);
}

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

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

.status-active::before {
  content: "✓";
  font-size: 0.7rem;
}

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

.status-tier1::before {
  content: "●";
  font-size: 0.6rem;
}

/* ===== HERO SPLIT SECTION ===== */
.hero-split {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #f8fafc;
}

.hero-image, .hero-map {
  display: table-cell;
  width: 50%;
  vertical-align: top;
  height: 400px;
  position: relative;
}

.hero-image {
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== PHOTO PLACEHOLDER ===== */
.photo-placeholder {
  height: 400px;
  background: #f8fafc;
  display: table;
  width: 100%;
}

.placeholder-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 2rem;
}

.placeholder-title {
  font-size: 1.2rem;
  color: #334155;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.placeholder-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== IMAGE OVERLAY ===== */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.75rem 1rem 0.5rem;
}

.image-caption {
  font-size: 0.8rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

/* ===== MAP SECTION ===== */
.hero-map {
  background: #f8fafc;
}

.map-container {
  height: 400px;
  background: #e2e8f0;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #64748b;
  font-family: monospace;
  padding: 2rem;
}

/* ===== HERO DETAILS STRIP ===== */
.hero-details {
  background: #fff;
  border-top: 2px solid #334155;
  padding: 1.5rem 2rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.detail-group {
  min-width: 120px;
  text-align: center;
}

.detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1rem;
  font-weight: bold;
  color: #1e293b;
}

.detail-value.highlight {
  color: #059669;
}

.unit {
  font-size: 0.8rem;
  color: #64748b;
  margin-left: 0.1rem;
}

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

.tier1 h2 {
  color: #1f2937;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

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

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

.tier1 .detail-value {
  color: #111827;
}

.tier1 > div {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-split {
    display: block;
  }
  
  .hero-image, .hero-map {
    display: block;
    width: 100%;
    height: 300px;
  }
  
  .hero-map {
    border-right: none;
    border-top: 1px solid #e2e8f0;
  }
  
  .photo-placeholder {
    height: 300px;
  }
  
  .map-container {
    height: 298px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .title-section {
    max-width: 100%;
  }
  
  .hero-top {
    padding: 1.25rem 1.5rem;
  }
  
  .hero-details {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  
  .detail-group {
    min-width: 100px;
  }
  
  .header-badges-row {
    margin-top: 0.5rem;
  }
  
  .tier1 {
    padding: 1.5rem;
  }
}