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 617: Line 617:
   background: #f9f6f3 !important;
   background: #f9f6f3 !important;
   color: #1a3b2e !important;
   color: #1a3b2e !important;
}
/* ============================================ */
/* FINAL COMPACT TUNING – ACCESSION HERO */
/* ============================================ */
.hero-top {
  padding: 0.4rem 0.85rem 0.45rem 0.85rem;
}
/* Title + metadata spacing */
.title-section {
  margin-bottom: 0.25rem;
}
.hero-title {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}
.accession-metadata {
  gap: 0.16rem;
  margin-top: 0.15rem;
}
.metadata-secondary {
  font-size: 0.74rem;
}
/* Section / crumbs / status gaps */
.header-section {
  margin-top: 0.22rem;
  gap: 0.25rem;
}
.section-label {
  font-size: 0.56rem;
}
.breadcrumb-trail {
  font-size: 0.75rem;
  gap: 0.14rem;
}
.breadcrumb-item {
  padding: 0.06rem 0.24rem;
}
.status-row {
  margin-top: 0.3rem;
  gap: 0.7rem;
}
.hero-top .status-badge,
.hero-top .classification-badge {
  padding: 0.14rem 0.45rem;
  font-size: 0.68rem;
}
/* Shorter image+map band */
.hero-image,
.hero-map {
  height: 180px;
}
.hero-image img {
  height: 100%;
}
.map-container,
.lw-map {
  height: 178px !important;
}
/* Details strip a bit slimmer */
.hero-details {
  padding: 0.32rem 0.7rem;
}
.detail-label {
  font-size: 0.58rem;
}
.detail-value {
  font-size: 0.72rem;
}
}

Revision as of 00:08, 21 November 2025

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

/* ============================================ */
/* HERO CONTAINER */
/* ============================================ */

.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: 0.5rem 0 1.1rem;
  position: relative;
}

/* Compact top block */

.hero-top {
  background: #0f2419;
  color: #f8faf9;
  padding: 0.6rem 1.0rem 0.65rem 1.0rem;
  border-bottom: 1px solid rgba(109, 154, 124, 0.2);
  position: relative;
  line-height: 1.25;
}

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

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

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.2rem 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.68rem;
  color: #d4d4aa;
  background: rgba(21, 41, 28, 0.85);
  border: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.metadata-secondary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  opacity: 0.9;
  font-size: 0.76rem;
}

.status-badge {
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  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.78rem;
  color: #c4d4cc;
  font-weight: 500;
  background: rgba(196, 212, 204, 0.08);
  border: 1px solid rgba(196, 212, 204, 0.15);
  padding: 0.22rem 0.6rem;
  border-radius: 3px;
}

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

.affiliation {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.76rem;
  color: #a3c4b0;
  font-weight: 400;
}

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

/* ============================================ */
/* SECTION LABELS + BREADCRUMBS (INLINE) */
/* ============================================ */

/* Make label + crumbs share one line instead of two stacked lines */

.header-section {
  margin-top: 0.28rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

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

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

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

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

.breadcrumb-trail {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.18rem;
}

.breadcrumb-item {
  color: #c4d4cc;
  font-weight: 500;
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  transition: all 0.15s ease;
  text-decoration: none;
  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.75rem;
  font-weight: normal;
  margin: 0 0.08rem;
  user-select: none;
}

/* ============================================ */
/* STATUS + CLASSIFICATION ROW */
/* ============================================ */

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

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

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

.status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  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.18rem 0.5rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  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: 200px;
  position: relative;
}

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

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

/* Map container / dimensions */

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

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

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

/* Map overlays */

.accession-status {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(254, 252, 250, 0.96);
  border: 1px solid #d4c5b8;
  border-radius: 3px;
  padding: 0.5rem 0.7rem;
  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.68rem;
  text-transform: uppercase;
  color: #78856b;
  font-weight: 600;
  margin-bottom: 0.22rem;
  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.8rem;
  margin-bottom: 0.1rem;
  line-height: 1.25;
}

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

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

/* Image caption overlay */

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

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

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

.hero-details {
  background: #3a5d4a;
  border-top: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.4rem 0.8rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: 0.6rem;
  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.6rem;
  color: #a3c4b0;
  font-weight: 500;
  margin-bottom: 0.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

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

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

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

@media (max-width: 1024px) {
  .hero-top {
    padding: 0.6rem 0.8rem 0.65rem 0.8rem;
  }

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

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

  .hero-split {
    display: block;
  }

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

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

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

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

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

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

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

/* ============================================ */
/* FINAL COMPACT TUNING – ACCESSION HERO */
/* ============================================ */

.hero-top {
  padding: 0.4rem 0.85rem 0.45rem 0.85rem;
}

/* Title + metadata spacing */
.title-section {
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}

.accession-metadata {
  gap: 0.16rem;
  margin-top: 0.15rem;
}

.metadata-secondary {
  font-size: 0.74rem;
}

/* Section / crumbs / status gaps */
.header-section {
  margin-top: 0.22rem;
  gap: 0.25rem;
}

.section-label {
  font-size: 0.56rem;
}

.breadcrumb-trail {
  font-size: 0.75rem;
  gap: 0.14rem;
}

.breadcrumb-item {
  padding: 0.06rem 0.24rem;
}

.status-row {
  margin-top: 0.3rem;
  gap: 0.7rem;
}

.hero-top .status-badge,
.hero-top .classification-badge {
  padding: 0.14rem 0.45rem;
  font-size: 0.68rem;
}

/* Shorter image+map band */
.hero-image,
.hero-map {
  height: 180px;
}

.hero-image img {
  height: 100%;
}

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

/* Details strip a bit slimmer */
.hero-details {
  padding: 0.32rem 0.7rem;
}

.detail-label {
  font-size: 0.58rem;
}

.detail-value {
  font-size: 0.72rem;
}