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/1313.css
<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* === Polylang dropdown (hover/focus) === */
.lang-switcher {
  position: relative;
  display: inline-block;
  font: inherit;
}

/* pats sąrašas – pradiniam režime rodom tik current-lang */
.lang-switcher__list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 140px;
  display: inline-block;
  position: relative;
}

/* visi li slepiami, paliekam tik .current-lang */
.lang-switcher__list > li {
  display: none;
  white-space: nowrap;
}
.lang-switcher__list > li.current-lang {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* current-lang atrodo kaip mygtukas */
.lang-switcher__list > li.current-lang > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #111;
}
.lang-switcher__list > li.current-lang > a::after {
  content: "▾";  /* rodyklė */
  font-size: 12px;
  opacity: .8;
}

/* IŠSKLEIDIMAS: kai užvedam ar focus (klaviatūra) ant viso widgeto – rodom visus */
.lang-switcher:hover .lang-switcher__list,
.lang-switcher:focus-within .lang-switcher__list {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 6px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 9999;
}

/* kai išskleista – visi elementai matomi vienas po kitu */
.lang-switcher:hover .lang-switcher__list > li,
.lang-switcher:focus-within .lang-switcher__list > li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

/* nuorodų stilius dropdown'e */
.lang-switcher .lang-switcher__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-decoration: none;
  color: #333;
  border-radius: 6px;
  padding: 4px 6px;
}
.lang-switcher .lang-switcher__list > li > a:hover {
  background: #f5f7fa;
}

/* vėliavėlės paveikslėliai (Polylang generuoja <img>) */
.lang-switcher img {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
</style>
<!-- end Simple Custom CSS and JS -->