feat: add rtl language ui support

This commit is contained in:
KOWX712
2025-06-20 05:58:48 +08:00
parent 38848fa891
commit b0025ea5d5
9 changed files with 129 additions and 31 deletions

View File

@@ -1,7 +1,7 @@
.header {
display: flex;
align-items: center;
justify-content: space-between;
justify-content: flex-start;
position: fixed;
top: 0;
left: 0;
@@ -27,26 +27,34 @@
}
.no-connection {
padding: 0;
height: 100%;
display: flex;
align-items: center;
display: none;
margin-right: 0px;
background: none;
border: none;
svg {
fill: var(--border-color);
}
}
.language-dropdown {
margin-left: auto;
position: relative;
display: inline-block;
}
.language-button {
padding-top: 5px;
height: 100%;
display: flex;
align-items: center;
background: none;
border: none;
}
.language-icon {
fill: var(--text-primary);
svg {
fill: var(--text-primary);
}
}
.language-menu {
@@ -121,10 +129,16 @@
}
.help-button {
padding-left: 5px;
margin-right: auto;
height: 100%;
display: flex;
align-items: center;
padding: 5px;
background: none;
border: none;
svg {
fill: var(--border-color);
}
}
.help-overlay {
@@ -139,7 +153,6 @@
background-color: var(--bg-secondary);
padding: 30px;
border-radius: 15px;
text-align: left;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
@@ -148,7 +161,9 @@
flex-direction: column;
gap: 20px;
max-height: calc(85vh - 60px);
padding-bottom: 20px;
overflow-y: auto;
mask-image: linear-gradient(black 0%, black calc(100% - 20px), transparent 100%);
}
.help-content-header {
@@ -162,4 +177,4 @@
.instruction p {
margin: 0;
}
}