Spaces:
Paused
Paused
File size: 2,162 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | // βββ Language Switcher Dropdown βββββββββββββββββββββββββββββββββββββββββββββββ
.languageDropdown {
:global {
.qwenpaw-dropdown-menu-item,
.ant-dropdown-menu-item {
font-size: 14px;
font-weight: normal;
line-height: 24px;
letter-spacing: normal;
color: rgba(26, 23, 22, 0.65);
transition: all 0.2s ease;
&:hover {
background: rgba(43, 18, 0, 0.06) !important;
}
}
.qwenpaw-dropdown-menu-item-selected,
.ant-dropdown-menu-item-selected {
border-radius: 2px !important;
background: rgba(43, 18, 0, 0.03) !important;
color: rgba(26, 23, 22, 0.88) !important;
}
}
}
// βββ Language Icon Trigger ββββββββββββββββββββββββββββββββββββββββββββββββββββ
.languageIcon {
width: 18px;
height: 18px;
display: block;
vertical-align: middle;
cursor: pointer;
transition: opacity 0.2s ease;
&:hover {
opacity: 0.8;
}
}
// βββ Dark mode overrides βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
:global(.dark-mode) {
.languageDropdown {
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
border-radius: 8px;
overflow: hidden;
:global {
.qwenpaw-dropdown-menu,
.ant-dropdown-menu {
background: #2a2a2a !important;
border: none !important;
box-shadow: none !important;
}
.qwenpaw-dropdown-menu-item,
.ant-dropdown-menu-item {
color: rgba(255, 255, 255, 0.65);
&:hover {
background: rgba(255, 255, 255, 0.08) !important;
}
}
.qwenpaw-dropdown-menu-item-selected,
.ant-dropdown-menu-item-selected {
background: rgba(255, 255, 255, 0.06) !important;
color: rgba(255, 255, 255, 0.88) !important;
}
}
}
}
|