HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/studis.kauko.lt/wp-content/uploads/custom-css-js/464.css
<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* ===== Tree view – viskas vienoje vietoje ===== */

/* Bazė */
.tree {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #1f2937; /* slate-800 */
}

/* Kiekvienas mazgas */
.tree details {
  margin: 4px 0;
  position: relative;
}

/* Summary (antraštė, ant kurios spaudžiama) */
.tree summary {
  cursor: pointer;
  padding: 8px 12px 8px 28px; /* vieta chevron'ui kairėje */
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  position: relative;
  list-style: none; /* FF */
  outline: none;
}

/* Hover/focus būsenos */
.tree summary:hover {
  background: #f3f4f6; /* gray-100 */
  color: #111827;      /* gray-900 */
}
.tree summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .25); /* mėlynas fokusas */
}

/* Paslėpti naršyklinį markerį visur */
.tree summary::-webkit-details-marker { display: none; } /* Chrome/Safari */
.tree summary::marker { display: none; }                 /* Firefox */

/* Mūsų chevron ikona */
.tree summary::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6b7280; /* gray-500 */
  border-bottom: 2px solid #6b7280;
  transform: translateY(-50%) rotate(45deg); /* ► */
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* Atidarytas mazgas – pasukam chevron ir paryškinam spalvą */
.tree details[open] > summary::before {
  transform: translateY(-50%) rotate(135deg); /* ▼ */
  border-color: #2563eb; /* primary */
}

/* Vaikiniai mazgai: įtrauka ir vertikali gairė */
.tree details details {
  margin-left: 16px;
  border-left: 2px dashed #e5e7eb; /* gray-200 */
  padding-left: 12px;
}

/* Sąrašai viduje mazgų */
.tree ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 28px; /* sulygiuojam su summary tekstu */
}
.tree ul li {
  padding: 4px 0;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.tree ul li:hover {
  background: #f9fafb; /* gray-50 */
}

/* Nuorodos (jei naudoji) */
.tree a {
  color: #2563eb;             /* primary */
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.tree a:hover {
  color: #1d4ed8;             /* primary-darker */
  border-bottom-color: currentColor;
}

/* Mažesniuose ekranuose – šiek tiek didesnės įtraukos spaudžiamumui */
@media (max-width: 640px) {
  .tree summary { padding: 10px 12px 10px 30px; }
  .tree ul { padding-left: 30px; }
}
</style>
<!-- end Simple Custom CSS and JS -->