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
Line 16: Line 16:
   background: #0f2419;
   background: #0f2419;
   color: white;
   color: white;
   padding: 1.75rem 2rem 1.5rem 2rem;
   padding: 2rem 2rem 1.75rem 2rem;
   position: relative;
   position: relative;
   border-bottom: 1px solid rgba(109, 154, 124, 0.2);
   border-bottom: 1px solid rgba(109, 154, 124, 0.2);
Line 26: Line 26:
   font-size: 1.75rem;
   font-size: 1.75rem;
   font-weight: 600;
   font-weight: 600;
   margin: 0;
   margin: 0 0 1.5rem 0;
   line-height: 1.2;
   line-height: 1.2;
   color: #f8faf9;
   color: #f8faf9;
   letter-spacing: -0.02em;
   letter-spacing: -0.02em;
   max-width: 60%;
   width: 100%;
}
}


/* Geographic breadcrumb - Forest green theme */
/* Geographic breadcrumb - Improved design */
.geographic-breadcrumb {
.geographic-breadcrumb {
   margin-top: 1rem;
   margin-bottom: 1.25rem;
   margin-bottom: 0.75rem;
   position: relative;
}
}


Line 45: Line 45:
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
   margin-bottom: 0.5rem;
   margin-bottom: 0.75rem;
   display: block;
   display: block;
}
}


/* FORCE OVERRIDE - Remove all styling from breadcrumb area */
/* Breadcrumb container with better spacing */
.geographic-breadcrumb * {
.breadcrumb-trail {
   background: none !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   border: none !important;
  font-size: 0.9rem;
   padding: 0 !important;
  line-height: 1.4;
   margin: 0 !important;
  display: flex;
   box-shadow: none !important;
  align-items: center;
   text-decoration: none !important;
  flex-wrap: wrap;
   display: inline !important;
  gap: 0.5rem;
   border-radius: 0 !important;
}
   color: #f0f6f2 !important;
 
/* Individual breadcrumb items */
.breadcrumb-item {
   color: #c4d4cc;
   font-weight: 500;
   padding: 0.25rem 0.5rem;
  border-radius: 4px;
   transition: all 0.2s ease;
   text-decoration: none;
   position: relative;
  cursor: pointer;
}
 
/* Hover effects for navigation */
.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;
}
}


/* Re-apply only the margins we want on spans */
/* Separators with better contrast */
.geographic-breadcrumb span[style*="margin"] {
.breadcrumb-separator {
   margin: 0 0.4rem !important;
  color: #7a9682;
   color: #a3c4b0 !important;
  font-size: 0.8rem;
  font-weight: normal;
   margin: 0 0.25rem;
   user-select: none;
}
}


/* Override MediaWiki link styling for breadcrumb */
/* Status badges - moved to separate row with better positioning */
.geographic-breadcrumb a,
.status-section {
.geographic-breadcrumb a:visited,
   margin-top: 1rem;
.geographic-breadcrumb a:hover {
   display: flex;
   background: none !important;
   justify-content: space-between;
   border: none !important;
   align-items: flex-start;
   padding: 0 !important;
   gap: 1rem;
   color: #f0f6f2 !important;
   text-decoration: none !important;
}
}


/* Status badges - Botanical colors */
.status-group {
.status-group {
   position: absolute;
   position: static;
  top: 1.5rem;
  right: 1.75rem;
   text-align: right;
   text-align: right;
  flex-shrink: 0;
}
}


Line 93: Line 121:
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
   margin-bottom: 0.4rem;
   margin-bottom: 0.5rem;
   display: block;
   display: block;
}
}
Line 99: Line 127:
.status-badges {
.status-badges {
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: row;
   gap: 0.3rem;
   gap: 0.5rem;
   align-items: flex-end;
   align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
}


.status-badge {
.status-badge {
   padding: 0.25rem 0.6rem;
   padding: 0.3rem 0.7rem;
   border-radius: 3px;
   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.7rem;
   font-size: 0.75rem;
   font-weight: 600;
   font-weight: 600;
  min-width: 70px;
   text-align: center;
   text-align: center;
   border: 1px solid transparent;
   border: 1px solid transparent;
Line 116: Line 145:
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   gap: 0.25rem;
   gap: 0.3rem;
  white-space: nowrap;
}
}


Line 431: Line 461:
}
}


/* Mobile responsiveness - Botanical theme */
/* 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;
  }
 
  .breadcrumb-trail {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
 
  .status-section {
    flex-direction: column;
    gap: 0.75rem;
  }
 
  .status-group {
    text-align: left;
  }
 
  .status-badges {
    justify-content: flex-start;
  }
 
   .hero-split {
   .hero-split {
     display: block;
     display: block;
Line 458: Line 515:
   .lw-map {
   .lw-map {
     height: 318px !important;
     height: 318px !important;
  }
 
  .status-group {
    position: static;
    margin-top: 1rem;
    text-align: left;
  }
 
  .status-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
  }
 
  .hero-title {
    max-width: 100%;
  }
 
  .hero-top {
    padding: 1.25rem 1.5rem;
   }
   }
    
    

Revision as of 07:50, 18 September 2025

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

/* Research Database Header - Forest Green Theme */
.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-bottom: 2rem;
  position: relative;
}

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

/* Scientific title */
.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 1.5rem 0;
  line-height: 1.2;
  color: #f8faf9;
  letter-spacing: -0.02em;
  width: 100%;
}

/* 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;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

/* 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;
}

/* Status badges - moved to separate row with better positioning */
.status-section {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.status-group {
  position: static;
  text-align: right;
  flex-shrink: 0;
}

.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-badge {
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
}

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

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

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

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

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

.status-priority::before {
  content: "!";
  font-size: 0.8rem;
  font-weight: bold;
}

/* Technical data badges - Earth tones */
.hero-subtitle {
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.65rem;
  color: #d4d4aa;
  background: rgba(21, 41, 28, 0.8);
  border: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Data visualization split - Warm natural backgrounds */
.hero-split {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #faf8f5;
  border-top: 1px solid rgba(109, 154, 124, 0.2);
}

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

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

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

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

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

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

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

/* Technical image overlay - Forest green */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 36, 25, 0.9);
  color: white;
  padding: 1.25rem;
}

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

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

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

.lw-map {
  width: 100% !important;
  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 {
  background: #3a5d4a;
  border-top: 1px solid rgba(109, 154, 124, 0.3);
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: 0.75rem;
  position: relative;
  overflow-x: auto;
}

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

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

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

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

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

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

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

/* Mobile responsiveness - Updated for new layout */
@media (max-width: 768px) {
  .hero-top {
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .breadcrumb-trail {
    font-size: 0.8rem;
    flex-wrap: wrap;
  }
  
  .status-section {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .status-group {
    text-align: left;
  }
  
  .status-badges {
    justify-content: flex-start;
  }
  
  .hero-split {
    display: block;
  }
  
  .hero-image, .hero-map {
    display: block;
    width: 100%;
    height: 320px;
  }
  
  .hero-map {
    border-right: none;
    border-top: 1px solid #d4c5b8;
  }
  
  .photo-placeholder {
    height: 320px;
  }
  
  .map-container {
    height: 318px;
  }
  
  .lw-map {
    height: 318px !important;
  }
  
  .hero-details {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  
  .detail-group {
    min-width: 70px;
    max-width: 100px;
  }
  
  .accession-status {
    max-width: 180px;
    padding: 0.5rem 0.75rem;
  }
}