Files
2025-12-29 11:20:03 +01:00

82 lines
1.3 KiB
SCSS

.elementor-widget-language {
.elementor-language-switcher {
position: relative;
display: inline-block;
font-family: inherit;
.lang-current {
display: flex;
align-items: center;
gap: 8px;
background: transparent;
border: 0;
padding: 0;
cursor: pointer;
img {
width: 16px;
height: auto;
display: block;
}
span {
font-size: 14px;
text-transform: uppercase;
}
}
.lang-dropdown {
position: absolute;
top: 100%;
left: 0;
min-width: 100%;
margin: 8px 0 0;
padding: 6px 0;
list-style: none;
background: #fff;
border-radius: 4px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
opacity: 0;
visibility: hidden;
transform: translateY(10px);
transition: all 0.25s ease;
z-index: 100;
li {
a {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 14px;
color: #000;
text-decoration: none;
white-space: nowrap;
width: max-content;
img {
width: 16px;
height: auto;
}
span {
font-size: 14px;
text-transform: uppercase;
}
&:hover {
background: #f5f5f5;
}
}
}
}
&.is-open {
.lang-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
}
}
}