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
Undo revision 1597 by Eloise Zomia (talk)
Tag: Undo
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* BOTANICAL THEMED CSS - Forest Greens & Earth Tones */
/* ============================================ */
/* HERO CONTAINER – SUPER COMPACT              */
/* ============================================ */


.hero-header {
.hero-header {
   background: #1a3b2e;
   background: #0f2117;
   border: 1px solid #2d5a47;
   border: 1px solid #1f3b2a;
   border-radius: 3px;
   border-radius: 3px;
   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: 1rem 0 2rem;
   margin: 0.125rem 0 0.025rem;  
   position: relative;
   position: relative;
}
}


.hero-top {
.hero-top {
   background: #0f2419;
   background: #152a21;
   color: #f8faf9;
   color: #f9fafb;
   padding: 1.75rem 2rem 1.6rem 2rem;
   padding: 0.18rem 0.7rem 0.2rem 0.7rem; /* was 0.45 / 0.9 / 0.5 */
   border-bottom: 1px solid rgba(109, 154, 124, 0.2);
   border-bottom: 1px solid rgba(140, 184, 156, 0.35);
   position: relative;
   line-height: 1.2;
}
}


/* Title and metadata */
/* ============================================ */
/* TITLE + METADATA                            */
/* ============================================ */


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


.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.3rem;
   font-weight: 600;
   font-weight: 600;
   margin: 0 0 0.65rem 0;
   margin: 0 0 0.01rem 0;  
   line-height: 1.2;
   line-height: 1.15;
  color: #f8faf9;
   letter-spacing: -0.02em;
   letter-spacing: -0.02em;
  color: #f9fafb;
}
}


.hero-subtitle {
.hero-subtitle {
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-size: 0.7rem;
   font-size: 0.68rem;
   color: #d4d4aa;
   color: #e5e9c9;
   background: rgba(21, 41, 28, 0.85);
   background: rgba(18, 42, 33, 0.9);
   border: 1px solid rgba(109, 154, 124, 0.3);
   border: 1px solid rgba(140, 184, 156, 0.4);
   padding: 0.25rem 0.55rem;
   padding: 0.08rem 0.2rem;   /* slightly tighter */
   border-radius: 2px;
   border-radius: 2px;
   display: inline-block;
   display: inline-block;
   margin-top: 0.35rem;
   margin-top: 0.08rem;       /* was 0.18rem */
   font-weight: 500;
   font-weight: 500;
   text-transform: uppercase;
   text-transform: uppercase;
Line 54: Line 57:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   gap: 0.5rem;
   gap: 0.04rem;     /* was 0.16rem */
   margin-top: 0.75rem;
   margin-top: 0.02rem; /* was 0.15rem */
}
}


Line 61: Line 64:
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 0.75rem;
   gap: 0.35rem;     /* was 0.5rem */
   flex-wrap: wrap;
   flex-wrap: wrap;
}
}
Line 68: Line 71:
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   gap: 0.5rem;
   gap: 0.2rem;     /* was 0.35rem */
   flex-wrap: wrap;
   flex-wrap: wrap;
   opacity: 0.9;
   font-size: 0.74rem;
  color: #c4d4cc;
}
}


/* Badges and chips */
.separator {
  color: #7a9682;
  user-select: none;
}
 
/* ============================================ */
/* BADGES                                      */
/* ============================================ */


.status-badge {
.status-badge,
   padding: 0.3rem 0.7rem;
.classification-badge {
   border-radius: 4px;
   padding: 0.1rem 0.35rem;   /* was 0.14rem 0.45rem */
   border-radius: 999px;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.75rem;
   font-size: 0.68rem;
   font-weight: 600;
   font-weight: 600;
  text-align: center;
   border: 1px solid transparent;
   border: 1px solid transparent;
   display: inline-flex;
   display: inline-flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
  gap: 0.3rem;
   white-space: nowrap;
   white-space: nowrap;
}
}


.accession-id-badge {
.accession-id-badge {
   background: rgba(134, 239, 172, 0.2);
   background: rgba(134, 239, 172, 0.16);
   color: #86efac;
   border-color: rgba(134, 239, 172, 0.4);
  border: 1px solid rgba(134, 239, 172, 0.4);
  color: #bbf7d0;
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
}
}
Line 99: Line 109:
.collection-date {
.collection-date {
   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.76rem;
   color: #c4d4cc;
   color: #c4d4cc;
   font-weight: 500;
   font-weight: 500;
   background: rgba(196, 212, 204, 0.08);
   background: rgba(196, 212, 204, 0.08);
   border: 1px solid rgba(196, 212, 204, 0.15);
   border: 1px solid rgba(196, 212, 204, 0.15);
   padding: 0.3rem 0.7rem;
   padding: 0.16rem 0.5rem; /* was 0.2rem 0.6rem */
   border-radius: 3px;
   border-radius: 3px;
}
}


.collector {
.collector {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.74rem;
   font-size: 0.8rem;
   color: #e5e9c9;
   color: #d4d4aa;
   font-weight: 500;
   font-weight: 500;
}
}


.affiliation {
.affiliation {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.74rem;
   font-size: 0.8rem;
  color: #a7c1b1;
   color: #a3c4b0;
}
   font-weight: 400;
 
/* Status flavours – unchanged colours */
.status-active {
  background: #14532d;
  border-color: #22c55e;
  color: #e6f9ef;
}
 
.status-tier1 {
  background: #075985;
   border-color: #38bdf8;
  color: #e0f2fe;
}
 
.status-priority {
  background: #7f1d1d;
  border-color: #f97373;
   color: #fee2e2;
}
 
.classification-landrace {
   background: #064e3b;
  border-color: #22c55e;
  color: #bbf7d0;
}
}


.separator {
.classification-population {
   color: #7a9682;
   background: #1e3a8a;
   font-weight: normal;
   border-color: #6366f1;
   user-select: none;
   color: #c7d2fe;
}
}


/* Section labels */
/* ============================================ */
/* SECTION LABELS + BREADCRUMBS                */
/* ============================================ */


.header-section {
.header-section {
   margin-top: 1.1rem;
   margin-top: 0.04rem;   /* was 0.22rem */
   position: relative;
  display: flex;
  align-items: center;
  gap: 0.16rem;          /* was 0.25rem */
   flex-wrap: wrap;
}
}


.section-label {
.section-label {
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.65rem;
   font-size: 0.58rem;
   color: #a3c4b0;
   color: #8fb59b;
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
   margin-bottom: 0.55rem;
   white-space: nowrap;
  display: block;
}
 
.section-label.geographic {
  color: #7a9682;
}
}


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


.section-label.classification {
.section-label.classification {
   color: #d4d4aa;
   color: #e3e7c5;
  font-weight: 500;
}
}
/* Geographic breadcrumbs */


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


.breadcrumb-trail {
.breadcrumb-trail {
   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.75rem;
   line-height: 1.4;
   line-height: 1.1;   /* was 1.15 */
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 0.3rem;
   gap: 0.08rem;       /* was 0.14rem */
}
}


.breadcrumb-item {
.breadcrumb-item {
   color: #c4d4cc;
  background: rgba(155, 191, 167, 0.16);
  border: 1px solid rgba(155, 191, 167, 0.32);
   color: #e6f4ec;
   font-weight: 500;
   font-weight: 500;
   padding: 0.18rem 0.45rem;
   padding: 0.04rem 0.22rem; /* was 0.06rem 0.24rem */
   border-radius: 4px;
   border-radius: 999px;
  transition: all 0.15s ease;
   text-decoration: none;
   text-decoration: none;
  cursor: pointer;
  background: rgba(109, 154, 124, 0.12);
  border: 1px solid rgba(109, 154, 124, 0.2);
}
}


.breadcrumb-item:hover {
.breadcrumb-item a {
   color: #e8f0ec;
  color: inherit;
   background: rgba(164, 196, 176, 0.22);
  text-decoration: none;
}
.breadcrumb-item a:visited {
   color: inherit;
}
.breadcrumb-item a:hover {
   text-decoration: underline;
}
}


.breadcrumb-item:last-child {
.breadcrumb-item:last-child {
  color: #f0f6f2;
   background: rgba(155, 191, 167, 0.32);
  font-weight: 600;
   border-color: rgba(155, 191, 167, 0.6);
   background: rgba(164, 196, 176, 0.18);
  color: #f4fffa;
   cursor: default;
}
 
.breadcrumb-item:last-child:hover {
  background: rgba(164, 196, 176, 0.18);
}
}


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


/* Status & classification row */
/* ============================================ */
/* STATUS ROW                                  */
/* ============================================ */


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


.status-group {
.status-group,
.classification-group {
   flex: 1;
   flex: 1;
   min-width: 220px;
   min-width: 180px;         /* was 200px */
}
}


.classification-group {
.classification-group {
  flex: 1;
  min-width: 220px;
   text-align: right;
   text-align: right;
}
}
Line 236: Line 262:
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   gap: 0.4rem;
   gap: 0.18rem;             /* was 0.3rem */
   justify-content: flex-start;
   justify-content: flex-start;
}
}
Line 244: Line 270:
}
}


.status-active {
/* ============================================ */
  background: #16a34a;
/* HERO SPLIT (IMAGE + MAP)                    */
  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 {
.hero-split {
Line 296: Line 279:
   table-layout: fixed;
   table-layout: fixed;
   background: #faf8f5;
   background: #faf8f5;
   border-top: 1px solid rgba(109, 154, 124, 0.2);
   border-top: 1px solid rgba(140, 184, 156, 0.3);
}
}


Line 304: Line 287:
   width: 50%;
   width: 50%;
   vertical-align: top;
   vertical-align: top;
   height: 320px;
   height: 180px;
   position: relative;
   position: relative;
}
}
/* Image */


.hero-image {
.hero-image {
   background: #f5f3f0;
   background: #f5f3f0;
   border-right: 1px solid #d4c5b8;
   border-right: 1px solid #d4c5b8;
   overflow: hidden; /* clamp child image */
   overflow: hidden;
}
}


.hero-image img {
.hero-image img,
.hero-photo {
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
Line 321: Line 307:
}
}


/* Map container */
/* Image caption */
 
.image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(12, 30, 23, 0.9);
  color: #e8f0ec;
}
 
.image-caption {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.76rem;
  margin: 0;
  line-height: 1.35;
}
 
/* Map */


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


.map-container {
.map-container {
   height: 318px;
   height: 178px;
   width: calc(100% - 2px);
   width: calc(100% - 2px);
   background: #f9f6f3;
   background: #f9f6f3;
Line 336: Line 340:
   align-items: center;
   align-items: center;
   justify-content: 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;
   position: relative;
}
}
Line 345: Line 345:
.lw-map {
.lw-map {
   width: 100% !important;
   width: 100% !important;
   height: 318px !important;
   height: 178px !important;
}
}


Line 352: Line 352:
.accession-status {
.accession-status {
   position: absolute;
   position: absolute;
   top: 0.85rem;
   top: 0.7rem;
   left: 0.85rem;
   left: 0.7rem;
   background: rgba(254, 252, 250, 0.96);
  max-width: 220px;
   border: 1px solid #d4c5b8;
  padding: 0.5rem 0.7rem;
   background: rgba(253, 250, 246, 0.97);
   border: 1px solid #e4d6c7;
   border-radius: 3px;
   border-radius: 3px;
  padding: 0.6rem 0.8rem;
   box-shadow: 0 3px 10px rgba(47, 69, 56, 0.18);
   box-shadow: 0 3px 10px rgba(47, 69, 56, 0.18);
  max-width: 220px;
  z-index: 1000;
}
}


.accession-status-title {
.accession-status-title {
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.7rem;
   font-size: 0.68rem;
   text-transform: uppercase;
   text-transform: uppercase;
   color: #78856b;
   color: #7b8676;
   font-weight: 600;
   font-weight: 600;
   margin-bottom: 0.3rem;
   margin-bottom: 0.2rem;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
}
}
Line 375: Line 374:
.accession-status-value {
.accession-status-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-weight: 600;
   font-weight: 600;
   color: #b91c1c;
   color: #b91c1c;
  font-size: 0.85rem;
   margin-bottom: 0.08rem;
   margin-bottom: 0.15rem;
  line-height: 1.3;
}
}


.accession-status-note {
.accession-status-note {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #78856b;
   font-size: 0.72rem;
   font-size: 0.75rem;
  color: #6b7280;
   line-height: 1.3;
   line-height: 1.25;
}
}


.coordinates {
.coordinates {
   position: absolute;
   position: absolute;
   bottom: 0.85rem;
   bottom: 0.7rem;
   right: 0.85rem;
   right: 0.7rem;
   background: rgba(254, 252, 250, 0.95);
  padding: 0.45rem 0.7rem;
   color: #2f4538;
   background: rgba(253, 250, 246, 0.96);
  padding: 0.5rem 0.75rem;
   border: 1px solid #e4d6c7;
   border-radius: 999px;
   border-radius: 999px;
   font-family: "SF Mono", Monaco, monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.72rem;
   font-size: 0.7rem;
   font-weight: 500;
   font-weight: 500;
   line-height: 1;
   color: #234232;
  border: 1px solid #d4c5b8;
}
}


/* Image overlay caption */
/* ============================================ */
 
/* DETAIL STRIP                                */
.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 {
.hero-details {
   background: #3a5d4a;
   background: #234232;
   border-top: 1px solid rgba(109, 154, 124, 0.3);
   border-top: 1px solid rgba(140, 184, 156, 0.5);
   padding: 0.75rem 1.1rem;
   padding: 0.32rem 0.7rem;
   display: flex;
   display: flex;
  justify-content: space-evenly;
  gap: 0.6rem;
   flex-wrap: nowrap;
   flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: 0.75rem;
   overflow-x: auto;
   overflow-x: auto;
}
}
Line 441: Line 419:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   min-width: 90px;
   min-width: 80px;
   max-width: 140px;
   max-width: 130px;
   text-align: center;
   text-align: center;
   flex-shrink: 0;
   flex-shrink: 0;
Line 449: Line 427:
.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.66rem;
   font-size: 0.58rem;
   color: #a3c4b0;
   color: #b7d0c0;
   font-weight: 500;
   font-weight: 500;
   margin-bottom: 0.2rem;
   margin-bottom: 0.14rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
}


.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.82rem;
   font-size: 0.72rem;
   font-weight: 600;
   font-weight: 600;
   color: #f0f6f2;
   color: #f3faf7;
   line-height: 1.2;
   line-height: 1.2;
  white-space: nowrap;
}
}


Line 470: Line 445:
}
}


.detail-value .unit {
/* ============================================ */
  margin-left: 0.125rem;
/* PHOTO GALLERY                                */
}
/* ============================================ */
 
/* Photo gallery */


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


Line 508: Line 481:
}
}


/* Responsive adjustments */
/* ============================================ */
/* RESPONSIVE                                  */
/* ============================================ */


@media (max-width: 1024px) {
@media (max-width: 1024px) {
   .hero-top {
   .hero-top {
     padding: 1.5rem 1.5rem 1.4rem 1.5rem;
     padding: 0.45rem 0.7rem 0.5rem 0.7rem;
  }
 
  .hero-title {
    font-size: 1.55rem;
   }
   }


Line 531: Line 502:
   .status-row {
   .status-row {
     flex-direction: column;
     flex-direction: column;
     gap: 1.25rem;
     gap: 0.6rem;
   }
   }


Line 546: Line 517:
     display: block;
     display: block;
     width: 100%;
     width: 100%;
     height: 260px;
     height: 180px;
  }
 
  .hero-image img {
    height: 100%;
   }
   }


   .map-container,
   .map-container,
   .lw-map {
   .lw-map {
     height: 258px !important;
     height: 178px !important;
   }
   }
}
}
Line 561: Line 528:
@media (max-width: 640px) {
@media (max-width: 640px) {
   .metadata-secondary {
   .metadata-secondary {
     font-size: 0.75rem;
     font-size: 0.7rem;
   }
   }


Line 573: Line 540:
}
}


/* Leaflet map controls - natural styling */
/* ============================================ */
/* LEAFLET CONTROLS                            */
/* ============================================ */


.leaflet-control {
.leaflet-control {
Line 580: Line 549:


.leaflet-control-layers {
.leaflet-control-layers {
   background: rgba(254, 252, 250, 0.95) !important;
   background: rgba(253, 250, 246, 0.96) !important;
   border: 1px solid #d4c5b8 !important;
   border: 1px solid #e4d6c7 !important;
   border-radius: 3px !important;
   border-radius: 3px !important;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
   box-shadow: 0 4px 12px rgba(47, 69, 56, 0.15) !important;
Line 588: Line 557:


.leaflet-control-zoom {
.leaflet-control-zoom {
   border: 1px solid #d4c5b8 !important;
   border: 1px solid #e4d6c7 !important;
   border-radius: 3px !important;
   border-radius: 3px !important;
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
   box-shadow: 0 2px 8px rgba(47, 69, 56, 0.1) !important;
Line 599: Line 568:
   font-size: 16px !important;
   font-size: 16px !important;
   background: #fefcfa !important;
   background: #fefcfa !important;
   color: #2f4538 !important;
   color: #234232 !important;
   border: none !important;
   border: none !important;
}
}
Line 605: Line 574:
.leaflet-control-zoom a:hover {
.leaflet-control-zoom a:hover {
   background: #f9f6f3 !important;
   background: #f9f6f3 !important;
   color: #1a3b2e !important;
   color: #0f172a !important;
}
 
/* ============================================ */
/* ULTRA COMPACT ACCESSION HERO */
/* ============================================ */
 
.hero-top {
  padding: 0.45rem 0.9rem 0.5rem 0.9rem;
  line-height: 1.2;
}
 
.hero-title {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
 
/* Metadata */
.accession-metadata {
  gap: 0.18rem;
  margin-top: 0.25rem;
}
 
.metadata-secondary {
  font-size: 0.75rem;
}
 
/* Section blocks */
.header-section {
  margin-top: 0.28rem;
}
 
.section-label {
  margin-bottom: 0.14rem;
  font-size: 0.58rem;
}
 
/* Status row */
.status-row {
  margin-top: 0.35rem;
  gap: 0.6rem;
}
 
.hero-top .status-badge,
.hero-top .classification-badge {
  padding: 0.15rem 0.45rem;
  font-size: 0.68rem;
}
 
/* Breadcrumbs */
.breadcrumb-trail {
  gap: 0.16rem;
  font-size: 0.76rem;
}
 
.breadcrumb-item {
  padding: 0.08rem 0.28rem;
}
 
/* Image + map band shorter again */
.hero-image,
.hero-map {
  height: 200px;
}
 
.hero-image img {
  height: 100%;
}
 
.map-container,
.lw-map {
  height: 198px !important;
}
 
/* Details strip tighter */
.hero-details {
  padding: 0.35rem 0.7rem;
}
 
.detail-label {
  font-size: 0.58rem;
}
 
.detail-value {
  font-size: 0.74rem;
}
}

Latest revision as of 00:42, 21 November 2025

/* ============================================ */
/* HERO CONTAINER – SUPER COMPACT               */
/* ============================================ */

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

.hero-top {
  background: #152a21;
  color: #f9fafb;
  padding: 0.18rem 0.7rem 0.2rem 0.7rem;  /* was 0.45 / 0.9 / 0.5 */
  border-bottom: 1px solid rgba(140, 184, 156, 0.35);
  line-height: 1.2;
}

/* ============================================ */
/* TITLE + METADATA                             */
/* ============================================ */

.title-section {
  margin-bottom: 0.02rem;  
}

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

.hero-subtitle {
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.68rem;
  color: #e5e9c9;
  background: rgba(18, 42, 33, 0.9);
  border: 1px solid rgba(140, 184, 156, 0.4);
  padding: 0.08rem 0.2rem;   /* slightly tighter */
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.08rem;       /* was 0.18rem */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accession-metadata {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;     /* was 0.16rem */
  margin-top: 0.02rem;  /* was 0.15rem */
}

.metadata-primary {
  display: flex;
  align-items: center;
  gap: 0.35rem;     /* was 0.5rem */
  flex-wrap: wrap;
}

.metadata-secondary {
  display: flex;
  align-items: center;
  gap: 0.2rem;      /* was 0.35rem */
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: #c4d4cc;
}

.separator {
  color: #7a9682;
  user-select: none;
}

/* ============================================ */
/* BADGES                                       */
/* ============================================ */

.status-badge,
.classification-badge {
  padding: 0.1rem 0.35rem;   /* was 0.14rem 0.45rem */
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.accession-id-badge {
  background: rgba(134, 239, 172, 0.16);
  border-color: rgba(134, 239, 172, 0.4);
  color: #bbf7d0;
  font-family: "SF Mono", Monaco, monospace;
}

.collection-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.76rem;
  color: #c4d4cc;
  font-weight: 500;
  background: rgba(196, 212, 204, 0.08);
  border: 1px solid rgba(196, 212, 204, 0.15);
  padding: 0.16rem 0.5rem;  /* was 0.2rem 0.6rem */
  border-radius: 3px;
}

.collector {
  font-size: 0.74rem;
  color: #e5e9c9;
  font-weight: 500;
}

.affiliation {
  font-size: 0.74rem;
  color: #a7c1b1;
}

/* Status flavours – unchanged colours */
.status-active {
  background: #14532d;
  border-color: #22c55e;
  color: #e6f9ef;
}

.status-tier1 {
  background: #075985;
  border-color: #38bdf8;
  color: #e0f2fe;
}

.status-priority {
  background: #7f1d1d;
  border-color: #f97373;
  color: #fee2e2;
}

.classification-landrace {
  background: #064e3b;
  border-color: #22c55e;
  color: #bbf7d0;
}

.classification-population {
  background: #1e3a8a;
  border-color: #6366f1;
  color: #c7d2fe;
}

/* ============================================ */
/* SECTION LABELS + BREADCRUMBS                 */
/* ============================================ */

.header-section {
  margin-top: 0.04rem;   /* was 0.22rem */
  display: flex;
  align-items: center;
  gap: 0.16rem;          /* was 0.25rem */
  flex-wrap: wrap;
}

.section-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.58rem;
  color: #8fb59b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.section-label.status {
  color: #a6c3b3;
}

.section-label.classification {
  color: #e3e7c5;
}

.geographic-breadcrumb {
  flex: 1 1 auto;
}

.breadcrumb-trail {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  line-height: 1.1;   /* was 1.15 */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.08rem;       /* was 0.14rem */
}

.breadcrumb-item {
  background: rgba(155, 191, 167, 0.16);
  border: 1px solid rgba(155, 191, 167, 0.32);
  color: #e6f4ec;
  font-weight: 500;
  padding: 0.04rem 0.22rem;  /* was 0.06rem 0.24rem */
  border-radius: 999px;
  text-decoration: none;
}

.breadcrumb-item a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb-item a:visited {
  color: inherit;
}
.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item:last-child {
  background: rgba(155, 191, 167, 0.32);
  border-color: rgba(155, 191, 167, 0.6);
  color: #f4fffa;
}

.breadcrumb-separator {
  color: #6e8f7c;
  font-size: 0.7rem;
  user-select: none;
}

/* ============================================ */
/* STATUS ROW                                   */
/* ============================================ */

.status-row {
  margin-top: 0.08rem;      /* was 0.3rem */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.3rem;              /* was 0.7rem */
  flex-wrap: wrap;
}

.status-group,
.classification-group {
  flex: 1;
  min-width: 180px;         /* was 200px */
}

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

.status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;             /* was 0.3rem */
  justify-content: flex-start;
}

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

/* ============================================ */
/* HERO SPLIT (IMAGE + MAP)                     */
/* ============================================ */

.hero-split {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #faf8f5;
  border-top: 1px solid rgba(140, 184, 156, 0.3);
}

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

/* Image */

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

.hero-image img,
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image caption */

.image-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  background: rgba(12, 30, 23, 0.9);
  color: #e8f0ec;
}

.image-caption {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.76rem;
  margin: 0;
  line-height: 1.35;
}

/* Map */

.hero-map {
  background: #fdfaf6;
  border: 1px solid #e4d6c7;
}

.map-container {
  height: 178px;
  width: calc(100% - 2px);
  background: #f9f6f3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

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

/* Map overlays */

.accession-status {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  max-width: 220px;
  padding: 0.5rem 0.7rem;
  background: rgba(253, 250, 246, 0.97);
  border: 1px solid #e4d6c7;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(47, 69, 56, 0.18);
}

.accession-status-title {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #7b8676;
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.accession-status-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b91c1c;
  margin-bottom: 0.08rem;
}

.accession-status-note {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.25;
}

.coordinates {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  padding: 0.45rem 0.7rem;
  background: rgba(253, 250, 246, 0.96);
  border: 1px solid #e4d6c7;
  border-radius: 999px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: #234232;
}

/* ============================================ */
/* DETAIL STRIP                                 */
/* ============================================ */

.hero-details {
  background: #234232;
  border-top: 1px solid rgba(140, 184, 156, 0.5);
  padding: 0.32rem 0.7rem;
  display: flex;
  justify-content: space-evenly;
  gap: 0.6rem;
  flex-wrap: nowrap;
  overflow-x: auto;
}

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

.detail-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.58rem;
  color: #b7d0c0;
  font-weight: 500;
  margin-bottom: 0.14rem;
}

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

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

/* ============================================ */
/* PHOTO GALLERY                                */
/* ============================================ */

.acc-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.2rem 0 1.7rem 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                                   */
/* ============================================ */

@media (max-width: 1024px) {
  .hero-top {
    padding: 0.45rem 0.7rem 0.5rem 0.7rem;
  }

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

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

  .hero-split {
    display: block;
  }

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

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

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

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

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

/* ============================================ */
/* LEAFLET CONTROLS                             */
/* ============================================ */

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

.leaflet-control-layers {
  background: rgba(253, 250, 246, 0.96) !important;
  border: 1px solid #e4d6c7 !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 #e4d6c7 !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: #234232 !important;
  border: none !important;
}

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