Toggle menu
17
24
14
1.7K
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
Line 1: Line 1:
/* BOTANICAL THEMED CSS - Forest Greens & Earth Tones */
/* BOTANICAL THEMED CSS - Forest Greens & Earth Tones */


/* Research Database Header - Forest Green Theme */
.hero-header {
.hero-header {
   background: #1a3b2e;
   background: #1a3b2e;
Line 8: Line 7:
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
   margin-bottom: 2rem;
   margin: 1rem 0 2rem;
   position: relative;
   position: relative;
}
}


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


/* Enhanced Title Section with Metadata */
/* Title and metadata */
 
.title-section {
.title-section {
   margin-bottom: 1rem;
   margin-bottom: 1rem;
Line 27: Line 26:
}
}


/* 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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-size: 1.75rem;
   font-size: 1.75rem;
   font-weight: 600;
   font-weight: 600;
   margin: 0 0 0.75rem 0;
   margin: 0 0 0.65rem 0;
   line-height: 1.2;
   line-height: 1.2;
   color: #f8faf9;
   color: #f8faf9;
   letter-spacing: -0.02em;
   letter-spacing: -0.02em;
  width: 100%;
}
}


/* Accession Metadata Section */
.hero-subtitle {
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.7rem;
  color: #d4d4aa;
  background: rgba(21, 41, 28, 0.85);
  border: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
 
.accession-metadata {
.accession-metadata {
   display: flex;
   display: flex;
Line 63: Line 61:
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 1rem;
   gap: 0.75rem;
   flex-wrap: wrap;
   flex-wrap: wrap;
}
}
Line 75: Line 73:
}
}


.accession-id {
/* Badges and chips */
   font-family: "SF Mono", Monaco, monospace;
 
   font-size: 0.85rem;
.status-badge {
  color: #86efac;
  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;
   font-weight: 600;
   background: rgba(134, 239, 172, 0.1);
   text-align: center;
   border: 1px solid rgba(134, 239, 172, 0.2);
   border: 1px solid transparent;
   padding: 0.3rem 0.6rem;
   display: inline-flex;
   border-radius: 3px;
   align-items: center;
   letter-spacing: 0.02em;
   justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
}
}


/* 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: rgba(134, 239, 172, 0.2);
   color: #86efac !important;
   color: #86efac;
   border: 1px solid rgba(134, 239, 172, 0.4) !important;
   border: 1px solid rgba(134, 239, 172, 0.4);
   font-family: "SF Mono", Monaco, monospace !important;
   font-family: "SF Mono", Monaco, monospace;
}
 
.accession-id-badge::before {
  content: "#";
  font-size: 0.7rem;
  opacity: 0.8;
}
 
/* Geographic badges - use status badge base with different colors */
.geographic-current {
  background: rgba(109, 154, 124, 0.3) !important;
  color: #f0f6f2 !important;
  border: 1px solid rgba(109, 154, 124, 0.5) !important;
}
 
.geographic-current::before {
  content: "📍";
  font-size: 0.7rem;
}
 
.geographic-parent {
  background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
  border: 1px solid rgba(109, 154, 124, 0.25) !important;
}
}


Line 150: Line 128:
}
}


/* Geographic breadcrumb - Improved design */
/* Geographic breadcrumb */
.geographic-breadcrumb {
 
   margin-bottom: 1.25rem;
.header-section {
   margin-top: 1.1rem;
   position: relative;
   position: relative;
}
}


.geographic-breadcrumb-label {
.section-label {
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.7rem;
   font-size: 0.65rem;
   color: #a3c4b0;
   color: #a3c4b0;
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
   margin-bottom: 0.75rem;
   margin-bottom: 0.55rem;
   display: block;
   display: block;
}
}


/* Breadcrumb container with better spacing */
.section-label.geographic {
  color: #7a9682;
}
 
.section-label.status {
  color: #a3c4b0;
  font-weight: 600;
}
 
.section-label.classification {
  color: #d4d4aa;
  font-weight: 500;
}
 
.geographic-breadcrumb {
  margin-bottom: 0.25rem;
}
 
.breadcrumb-trail {
.breadcrumb-trail {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
Line 174: Line 170:
   align-items: center;
   align-items: center;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 0.5rem;
   gap: 0.3rem;
}
}


/* Individual breadcrumb items */
.breadcrumb-item {
.breadcrumb-item {
   color: #c4d4cc;
   color: #c4d4cc;
   font-weight: 500;
   font-weight: 500;
   padding: 0.25rem 0.5rem;
   padding: 0.18rem 0.45rem;
   border-radius: 4px;
   border-radius: 4px;
   transition: all 0.2s ease;
   transition: all 0.15s ease;
   text-decoration: none;
   text-decoration: none;
   position: relative;
   position: relative;
   cursor: pointer;
   cursor: pointer;
  background: rgba(109, 154, 124, 0.12);
  border: 1px solid rgba(109, 154, 124, 0.2);
}
}


/* Hover effects for navigation */
.breadcrumb-item:hover {
.breadcrumb-item:hover {
   color: #e8f0ec;
   color: #e8f0ec;
   background: rgba(164, 196, 176, 0.15);
   background: rgba(164, 196, 176, 0.22);
}
}


/* Current page styling - last item is current */
.breadcrumb-item:last-child {
.breadcrumb-item:last-child {
   color: #f0f6f2;
   color: #f0f6f2;
   font-weight: 600;
   font-weight: 600;
   background: rgba(164, 196, 176, 0.1);
   background: rgba(164, 196, 176, 0.18);
   cursor: default;
   cursor: default;
}
}


.breadcrumb-item:last-child:hover {
.breadcrumb-item:last-child:hover {
   background: rgba(164, 196, 176, 0.1);
   background: rgba(164, 196, 176, 0.18);
  color: #f0f6f2;
}
}


/* Separators with better contrast */
.breadcrumb-separator {
.breadcrumb-separator {
   color: #7a9682;
   color: #7a9682;
   font-size: 0.8rem;
   font-size: 0.8rem;
   font-weight: normal;
   font-weight: normal;
   margin: 0 0.25rem;
   margin: 0 0.1rem;
   user-select: none;
   user-select: none;
}
}


/* Enhanced Status Section - Now with two columns */
/* Status & classification row */
 
.status-row {
.status-row {
  margin-top: 1.1rem;
   display: flex;
   display: flex;
   justify-content: space-between;
   justify-content: space-between;
   align-items: flex-start;
   align-items: flex-start;
   gap: 2rem;
   gap: 1.5rem;
   flex-wrap: wrap;
   flex-wrap: wrap;
}
}
Line 228: Line 223:
.status-group {
.status-group {
   flex: 1;
   flex: 1;
   min-width: 200px;
   min-width: 220px;
}
}


.classification-group {
.classification-group {
   flex: 1;
   flex: 1;
   min-width: 200px;
   min-width: 220px;
   text-align: right;
   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 {
.status-badges {
   display: flex;
   display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content: flex-end;
  gap: 0.4rem;
   justify-content: flex-start;
}
}


/* Status badges - existing styling */
.classification-group .status-badges {
.status-badge {
   justify-content: flex-end;
  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;
}
}


Line 284: Line 247:
   color: white;
   color: white;
   border-color: #15803d;
   border-color: #15803d;
}
.status-active::before {
  content: "✓";
  font-size: 0.7rem;
}
}


Line 295: Line 253:
   color: white;
   color: white;
   border-color: #0e7490;
   border-color: #0e7490;
}
.status-tier1::before {
  content: "●";
  font-size: 0.6rem;
}
}


Line 308: Line 261:
}
}


.status-priority::before {
  content: "!";
  font-size: 0.8rem;
  font-weight: bold;
}
/* New Classification Badges */
.classification-badge {
.classification-badge {
   padding: 0.3rem 0.7rem;
   padding: 0.3rem 0.7rem;
Line 328: Line 274:
   gap: 0.3rem;
   gap: 0.3rem;
   white-space: nowrap;
   white-space: nowrap;
  margin-right: 0.5rem;
}
}


Line 335: Line 280:
   color: #fed7aa;
   color: #fed7aa;
   border-color: #9a3412;
   border-color: #9a3412;
}
.classification-landrace::before {
  content: "🌱";
  font-size: 0.7rem;
}
}


Line 348: Line 288:
}
}


.classification-population::before {
/* Hero split: image + map */
  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;
Line 378: Line 298:
}
}


.hero-image, .hero-map {
.hero-image,
.hero-map {
   display: table-cell;
   display: table-cell;
   width: 50%;
   width: 50%;
   vertical-align: top;
   vertical-align: top;
   height: 420px;
   height: 320px;
   position: relative;
   position: relative;
}
}
Line 391: Line 312:
}
}


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


/* Scientific placeholder - Earth tones */
/* Map container */
.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 {
.hero-map {
   background: #fefcfa;
   background: #fefcfa;
Line 460: Line 327:


.map-container {
.map-container {
   height: 418px;
   height: 318px;
   width: calc(100% - 2px);
   width: calc(100% - 2px);
   background: #f9f6f3;
   background: #f9f6f3;
Line 468: Line 335:
   color: #6b7d6f;
   color: #6b7d6f;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 1rem;
   font-size: 0.95rem;
   font-weight: 500;
   font-weight: 500;
   position: relative;
   position: relative;
Line 475: Line 342:
.lw-map {
.lw-map {
   width: 100% !important;
   width: 100% !important;
   height: 418px !important;
   height: 318px !important;
}
}


/* Map overlay - Earth tone styling */
/* Map overlays */
 
.accession-status {
.accession-status {
   position: absolute;
   position: absolute;
   top: 1rem;
   top: 0.85rem;
   left: 1rem;
   left: 0.85rem;
   background: rgba(254, 252, 250, 0.95);
   background: rgba(254, 252, 250, 0.96);
   border: 1px solid #d4c5b8;
   border: 1px solid #d4c5b8;
   border-radius: 3px;
   border-radius: 3px;
   padding: 0.75rem 1rem;
   padding: 0.6rem 0.8rem;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15);
   box-shadow: 0 3px 10px rgba(47, 69, 56, 0.18);
   max-width: 220px;
   max-width: 220px;
   z-index: 1000;
   z-index: 1000;
Line 498: Line 366:
   color: #78856b;
   color: #78856b;
   font-weight: 600;
   font-weight: 600;
   margin-bottom: 0.4rem;
   margin-bottom: 0.3rem;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
}
}
Line 505: Line 373:
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-weight: 600;
   font-weight: 600;
   color: #2f4538;
   color: #b91c1c;
   font-size: 0.85rem;
   font-size: 0.85rem;
   margin-bottom: 0.25rem;
   margin-bottom: 0.15rem;
   line-height: 1.3;
   line-height: 1.3;
}
}
Line 518: Line 386:
}
}


/* Coordinates with earth tone styling */
.coordinates {
.coordinates {
   position: absolute;
   position: absolute;
   bottom: 1rem;
   bottom: 0.85rem;
   right: 1rem;
   right: 0.85rem;
   background: rgba(254, 252, 250, 0.95);
   background: rgba(254, 252, 250, 0.95);
   color: #2f4538;
   color: #2f4538;
   padding: 0.5rem 0.75rem;
   padding: 0.5rem 0.75rem;
   border-radius: 3px;
   border-radius: 999px;
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.75rem;
   font-size: 0.72rem;
   font-weight: 500;
   font-weight: 500;
   line-height: 1;
   line-height: 1;
   border: 1px solid #d4c5b8;
   border: 1px solid #d4c5b8;
  cursor: pointer;
  transition: all 0.2s;
}
}


.coordinates:hover {
/* Image overlay caption */
   background: #fefcfa;
 
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.15);
.image-overlay {
  position: absolute;
  bottom: 0;
   left: 0;
   right: 0;
  background: rgba(15, 36, 25, 0.9);
  color: white;
  padding: 0.9rem 1.1rem;
}
}


.coordinates::after {
.image-caption {
   content: "📋";
   font-family: "SF Mono", Monaco, monospace;
   margin-left: 0.5rem;
   font-size: 0.8rem;
   opacity: 0.6;
  font-weight: 500;
   margin: 0;
  line-height: 1.4;
  color: #e8f0ec;
}
}


/* Details strip - Rich earth tone background */
/* Details strip */
 
.hero-details {
.hero-details {
   background: #3a5d4a;
   background: #3a5d4a;
   border-top: 1px solid rgba(109, 154, 124, 0.3);
   border-top: 1px solid rgba(109, 154, 124, 0.3);
   padding: 0.75rem 1rem;
   padding: 0.75rem 1.1rem;
   display: flex;
   display: flex;
   flex-wrap: nowrap;
   flex-wrap: nowrap;
   justify-content: space-evenly;
   justify-content: space-evenly;
   gap: 0.75rem;
   gap: 0.75rem;
  position: relative;
   overflow-x: auto;
   overflow-x: auto;
}
}
Line 563: Line 438:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   min-width: 80px;
   min-width: 90px;
   max-width: 120px;
   max-width: 140px;
   text-align: center;
   text-align: center;
  position: relative;
   flex-shrink: 0;
   flex-shrink: 0;
}
}
Line 572: Line 446:
.detail-label {
.detail-label {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.65rem;
   font-size: 0.66rem;
   color: #a3c4b0;
   color: #a3c4b0;
   font-weight: 500;
   font-weight: 500;
   margin-bottom: 0.25rem;
   margin-bottom: 0.2rem;
   letter-spacing: 0.02em;
   letter-spacing: 0.02em;
   white-space: nowrap;
   white-space: nowrap;
Line 582: Line 456:
.detail-value {
.detail-value {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.8rem;
   font-size: 0.82rem;
   font-weight: 600;
   font-weight: 600;
   color: #f0f6f2;
   color: #f0f6f2;
Line 590: Line 464:


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


Line 597: Line 471:
}
}


/* Map controls - Natural styling */
/* Photo gallery */
.leaflet-control {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}


.leaflet-control-layers {
.acc-gallery {
   background: rgba(254, 252, 250, 0.95) !important;
   display: grid;
   border: 1px solid #d4c5b8 !important;
   grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 3px !important;
   gap: 0.75rem;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
   margin: 1.25rem 0 1.75rem 0;
   padding: 0.75rem !important;
}
}


.leaflet-control-zoom {
.acc-gallery-item {
   border: 1px solid #d4c5b8 !important;
  background: #f5f3f0;
   border-radius: 3px !important;
   border: 1px solid #d4c5b8;
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
   border-radius: 3px;
   overflow: hidden;
  display: flex;
  flex-direction: column;
}
}


.leaflet-control-zoom a {
.acc-gallery-img {
   width: 30px !important;
   width: 100%;
   height: 30px !important;
   height: 150px;
   line-height: 30px !important;
   object-fit: cover;
  font-size: 16px !important;
   display: block;
  background: #fefcfa !important;
  color: #2f4538 !important;
   border: none !important;
}
}


.leaflet-control-zoom a:hover {
.acc-gallery-caption {
  background: #f9f6f3 !important;
   padding: 0.55rem 0.6rem;
  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-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.72rem;
   font-size: 0.75rem;
   font-weight: 500;
   line-height: 1.35;
  text-align: center;
   color: #374151;
  display: inline-block;
   background: #fefcf9;
  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 {
/* Responsive adjustments */
  background: rgba(109, 154, 124, 0.25);
  color: #c4d4cc;
  cursor: pointer;
}


/* Current location badge - "you are here" not "task complete" */
@media (max-width: 1024px) {
.geographic-current {
  .hero-top {
  background: rgba(109, 154, 124, 0.3);
    padding: 1.5rem 1.5rem 1.4rem 1.5rem;
  color: #f0f6f2;
   }
  font-weight: 600;
  border-color: rgba(109, 154, 124, 0.5);
   position: relative;
}


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


.geographic-current:hover {
  .acc-gallery {
  background: rgba(109, 154, 124, 0.3);
    grid-template-columns: repeat(2, minmax(0, 1fr));
   color: #f0f6f2;
   }
  cursor: default;
}


/* Hierarchy separators */
   .acc-gallery-img {
.geographic-separator {
    height: 160px;
   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 {
   .status-row {
     flex-direction: column;
     flex-direction: column;
     gap: 1.5rem;
     gap: 1.25rem;
   }
   }
 
 
   .classification-group {
   .classification-group {
     text-align: left;
     text-align: left;
   }
   }
 
 
  .breadcrumb-trail {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
 
   .hero-split {
   .hero-split {
     display: block;
     display: block;
   }
   }
 
 
   .hero-image, .hero-map {
   .hero-image,
  .hero-map {
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     height: 320px;
     height: 260px;
   }
   }
 
 
   .hero-map {
   .hero-image img.hero-photo {
     border-right: none;
     height: 260px;
    border-top: 1px solid #d4c5b8;
   }
   }
 
 
  .photo-placeholder {
   .map-container,
    height: 320px;
  }
 
   .map-container {
    height: 318px;
  }
 
   .lw-map {
   .lw-map {
     height: 318px !important;
     height: 258px !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 */
@media (max-width: 640px) {
.status-badge {
   .metadata-secondary {
   padding: 0.3rem 0.7rem;
    font-size: 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.3rem;
  white-space: nowrap;
  margin-right: 0.5rem;
}


/* Fix the accession ID badge if it's not working */
  .acc-gallery {
.accession-id-badge {
    grid-template-columns: 1fr;
  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 */
  .acc-gallery-img {
.geographic-parent {
    height: 180px;
  background: rgba(109, 154, 124, 0.15) !important;
   }
  color: #a3c4b0 !important;
   border: 1px solid rgba(109, 154, 124, 0.25) !important;
}
}


/* Leaflet map controls - natural styling */


.accession-id-badge {
.leaflet-control {
   background: rgba(134, 239, 172, 0.2);
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.4);
  font-family: monospace;
}
}


.geographic-current {
.leaflet-control-layers {
   background: rgba(109, 154, 124, 0.3);
   background: rgba(254, 252, 250, 0.95) !important;
   color: #f0f6f2;
   border: 1px solid #d4c5b8 !important;
   border: 1px solid rgba(109, 154, 124, 0.5);
   border-radius: 3px !important;
  box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
  padding: 0.75rem !important;
}
}


.geographic-parent {
.leaflet-control-zoom {
   background: rgba(109, 154, 124, 0.15);
   border: 1px solid #d4c5b8 !important;
   color: #a3c4b0;
   border-radius: 3px !important;
   border: 1px solid rgba(109, 154, 124, 0.25);
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
}
}


 
.leaflet-control-zoom a {
.accession-id-badge {
   width: 30px !important;
   background: rgba(134, 239, 172, 0.2) !important;
   height: 30px !important;
   color: #86efac !important;
   line-height: 30px !important;
   border: 1px solid rgba(134, 239, 172, 0.4) !important;
   font-size: 16px !important;
   font-family: monospace !important;
  background: #fefcfa !important;
  color: #2f4538 !important;
  border: none !important;
}
}


.geographic-current {
.leaflet-control-zoom a:hover {
  background: rgba(109, 154, 124, 0.3) !important;
   background: #f9f6f3 !important;
  color: #f0f6f2 !important;
   color: #1a3b2e !important;
  border: 1px solid rgba(109, 154, 124, 0.5) !important;
}
 
.geographic-parent {
  background: rgba(109, 154, 124, 0.15) !important;
  color: #a3c4b0 !important;
  border: 1px solid rgba(109, 154, 124, 0.25) !important;
}
 
.status-active {
  background: #16a34a !important;
  color: white !important;
  border: 1px solid #15803d !important;
}
 
.status-tier1 {
   background: #0891b2 !important;
   color: white !important;
  border: 1px solid #0e7490 !important;
}
 
/* Accession photo gallery - compact thumbnails */
 
.acc-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
 
.acc-gallery-item {
  width: 210px;
  max-width: 100%;
  font-size: 0.8rem;
}
 
.acc-gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #d4c5b8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
 
.acc-gallery-caption {
  margin-top: 0.25rem;
  color: #4b5a4f;
  line-height: 1.3;
}
}

Revision as of 23:39, 20 November 2025

/* BOTANICAL THEMED CSS - Forest Greens & Earth Tones */

.hero-header {
  background: #1a3b2e;
  border: 1px solid #2d5a47;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin: 1rem 0 2rem;
  position: relative;
}

.hero-top {
  background: #0f2419;
  color: #f8faf9;
  padding: 1.75rem 2rem 1.6rem 2rem;
  border-bottom: 1px solid rgba(109, 154, 124, 0.2);
  position: relative;
}

/* Title and metadata */

.title-section {
  margin-bottom: 1rem;
  position: relative;
}

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

.hero-subtitle {
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.7rem;
  color: #d4d4aa;
  background: rgba(21, 41, 28, 0.85);
  border: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accession-metadata {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.metadata-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.metadata-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  opacity: 0.9;
}

/* Badges and chips */

.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;
}

.accession-id-badge {
  background: rgba(134, 239, 172, 0.2);
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.4);
  font-family: "SF Mono", Monaco, monospace;
}

.collection-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: #c4d4cc;
  font-weight: 500;
  background: rgba(196, 212, 204, 0.08);
  border: 1px solid rgba(196, 212, 204, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
}

.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 */

.header-section {
  margin-top: 1.1rem;
  position: relative;
}

.section-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.65rem;
  color: #a3c4b0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.55rem;
  display: block;
}

.section-label.geographic {
  color: #7a9682;
}

.section-label.status {
  color: #a3c4b0;
  font-weight: 600;
}

.section-label.classification {
  color: #d4d4aa;
  font-weight: 500;
}

.geographic-breadcrumb {
  margin-bottom: 0.25rem;
}

.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.3rem;
}

.breadcrumb-item {
  color: #c4d4cc;
  font-weight: 500;
  padding: 0.18rem 0.45rem;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  background: rgba(109, 154, 124, 0.12);
  border: 1px solid rgba(109, 154, 124, 0.2);
}

.breadcrumb-item:hover {
  color: #e8f0ec;
  background: rgba(164, 196, 176, 0.22);
}

.breadcrumb-item:last-child {
  color: #f0f6f2;
  font-weight: 600;
  background: rgba(164, 196, 176, 0.18);
  cursor: default;
}

.breadcrumb-item:last-child:hover {
  background: rgba(164, 196, 176, 0.18);
}

.breadcrumb-separator {
  color: #7a9682;
  font-size: 0.8rem;
  font-weight: normal;
  margin: 0 0.1rem;
  user-select: none;
}

/* Status & classification row */

.status-row {
  margin-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.status-group {
  flex: 1;
  min-width: 220px;
}

.classification-group {
  flex: 1;
  min-width: 220px;
  text-align: right;
}

.status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-start;
}

.classification-group .status-badges {
  justify-content: flex-end;
}

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

.status-tier1 {
  background: #0891b2;
  color: white;
  border-color: #0e7490;
}

.status-priority {
  background: #dc2626;
  color: white;
  border-color: #b91c1c;
}

.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;
}

.classification-landrace {
  background: #7c2d12;
  color: #fed7aa;
  border-color: #9a3412;
}

.classification-population {
  background: #581c87;
  color: #e9d5ff;
  border-color: #6b21a8;
}

/* Hero split: image + map */

.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: 320px;
  position: relative;
}

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

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

/* Map container */

.hero-map {
  background: #fefcfa;
  border: 1px solid #e5d5c8;
  position: relative;
}

.map-container {
  height: 318px;
  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: 0.95rem;
  font-weight: 500;
  position: relative;
}

.lw-map {
  width: 100% !important;
  height: 318px !important;
}

/* Map overlays */

.accession-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(254, 252, 250, 0.96);
  border: 1px solid #d4c5b8;
  border-radius: 3px;
  padding: 0.6rem 0.8rem;
  box-shadow: 0 3px 10px rgba(47, 69, 56, 0.18);
  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.3rem;
  letter-spacing: 0.5px;
}

.accession-status-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  color: #b91c1c;
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  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 {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(254, 252, 250, 0.95);
  color: #2f4538;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #d4c5b8;
}

/* Image overlay caption */

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 36, 25, 0.9);
  color: white;
  padding: 0.9rem 1.1rem;
}

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

/* Details strip */

.hero-details {
  background: #3a5d4a;
  border-top: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.75rem 1.1rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: 0.75rem;
  overflow-x: auto;
}

.detail-group {
  display: flex;
  flex-direction: column;
  min-width: 90px;
  max-width: 140px;
  text-align: center;
  flex-shrink: 0;
}

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

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

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

.detail-value .unit {
  margin-left: 0.125rem;
}

/* Photo gallery */

.acc-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem 0;
}

.acc-gallery-item {
  background: #f5f3f0;
  border: 1px solid #d4c5b8;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.acc-gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.acc-gallery-caption {
  padding: 0.55rem 0.6rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  line-height: 1.35;
  color: #374151;
  background: #fefcf9;
}

/* Responsive adjustments */

@media (max-width: 1024px) {
  .hero-top {
    padding: 1.5rem 1.5rem 1.4rem 1.5rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .acc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acc-gallery-img {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .status-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .classification-group {
    text-align: left;
  }

  .hero-split {
    display: block;
  }

  .hero-image,
  .hero-map {
    display: block;
    width: 100%;
    height: 260px;
  }

  .hero-image img.hero-photo {
    height: 260px;
  }

  .map-container,
  .lw-map {
    height: 258px !important;
  }
}

@media (max-width: 640px) {
  .metadata-secondary {
    font-size: 0.75rem;
  }

  .acc-gallery {
    grid-template-columns: 1fr;
  }

  .acc-gallery-img {
    height: 180px;
  }
}

/* Leaflet map controls - natural styling */

.leaflet-control {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

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

.leaflet-control-zoom {
  border: 1px solid #d4c5b8 !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
}

.leaflet-control-zoom a {
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
  background: #fefcfa !important;
  color: #2f4538 !important;
  border: none !important;
}

.leaflet-control-zoom a:hover {
  background: #f9f6f3 !important;
  color: #1a3b2e !important;
}