pretty decent state
This commit is contained in:
parent
63a4b0f8a2
commit
f6c552cefd
10 changed files with 75 additions and 42 deletions
|
|
@ -56,10 +56,11 @@ export function LanguageSelector() {
|
|||
top: "100%",
|
||||
right: 0,
|
||||
marginTop: "0.5rem",
|
||||
backgroundColor: "white",
|
||||
border: "1px solid #e5e7eb",
|
||||
backgroundColor: "rgba(255, 255, 255, 0.03)",
|
||||
backdropFilter: "blur(10px)",
|
||||
border: "1px solid rgba(255, 255, 255, 0.08)",
|
||||
borderRadius: "0.5rem",
|
||||
boxShadow: "0 4px 6px -1px rgba(0, 0, 0, 0.1)",
|
||||
boxShadow: "0 25px 50px -12px rgba(0, 0, 0, 0.5)",
|
||||
zIndex: 1000,
|
||||
minWidth: "150px",
|
||||
}}
|
||||
|
|
@ -76,16 +77,18 @@ export function LanguageSelector() {
|
|||
padding: "0.75rem 1rem",
|
||||
textAlign: "left",
|
||||
border: "none",
|
||||
backgroundColor: locale === lang.code ? "#f3f4f6" : "transparent",
|
||||
backgroundColor: locale === lang.code ? "rgba(255, 255, 255, 0.05)" : "transparent",
|
||||
color: "rgba(255, 255, 255, 0.7)",
|
||||
cursor: "pointer",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
gap: "0.5rem",
|
||||
fontSize: "0.875rem",
|
||||
fontFamily: "'DM Sans', system-ui, sans-serif",
|
||||
}}
|
||||
onMouseEnter={(e) => {
|
||||
if (locale !== lang.code) {
|
||||
e.currentTarget.style.backgroundColor = "#f9fafb";
|
||||
e.currentTarget.style.backgroundColor = "rgba(255, 255, 255, 0.05)";
|
||||
}
|
||||
}}
|
||||
onMouseLeave={(e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue