Sidebar rtl

pull/6634/head
tugcekucukoglu 2024-10-21 10:46:05 +03:00
parent fe6e4f65de
commit 1e600dc660
2 changed files with 23 additions and 19 deletions

View File

@ -9,7 +9,7 @@
flex-direction: column; flex-direction: column;
padding: 0 0 0 0; padding: 0 0 0 0;
flex: 0 0 250px; flex: 0 0 250px;
margin-right: 4rem; margin-inline-end: 4rem;
overflow: auto; overflow: auto;
.logo { .logo {
@ -18,7 +18,8 @@
} }
nav { nav {
padding: 0 1rem 0 0; padding: 0;
padding-inline-end: 1rem;
margin: 0; margin: 0;
flex-grow: 1; flex-grow: 1;
} }
@ -56,7 +57,7 @@
width: 2rem; width: 2rem;
height: 2rem; height: 2rem;
border-radius: 6px; border-radius: 6px;
margin-right: .5rem; margin-inline-end: .5rem;
border: 1px solid var(--border-color); border: 1px solid var(--border-color);
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
@ -73,7 +74,7 @@
.menu-toggle-icon { .menu-toggle-icon {
color: var(--text-secondary-color); color: var(--text-secondary-color);
margin-left: auto; margin-inline-start: auto;
} }
&:hover { &:hover {
@ -105,18 +106,20 @@
overflow: hidden; overflow: hidden;
ol { ol {
margin: 0 0 0 1rem; margin: 0;
margin-inline-start: 1rem;
padding: .25rem 0; padding: .25rem 0;
list-style: none; list-style: none;
li { li {
a { a {
border-left: 1px solid var(--border-color); border-inline-start: 1px solid var(--border-color);
transition: all .2s; transition: all .2s;
font-weight: 450; font-weight: 450;
display: flex; display: flex;
align-items: center; align-items: center;
padding: .5rem .5rem .5rem 1rem; padding: .5rem;
padding-inline-start: 1rem;
color: var(--text-secondary-color); color: var(--text-secondary-color);
transition: outline-color 0.2s, border-color .2s; transition: outline-color 0.2s, border-color .2s;
outline-color: transparent; outline-color: transparent;
@ -153,7 +156,7 @@
.p-tag { .p-tag {
position: absolute; position: absolute;
right: 0; inset-inline-end: 0;
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
@ -165,7 +168,8 @@
.menu-child-category { .menu-child-category {
display: flex; display: flex;
padding: .5rem .5rem .5rem 0; padding: .5rem;
padding-inline-start: 0;
font-size: .875rem; font-size: .875rem;
font-weight: 600; font-weight: 600;
letter-spacing: 1px; letter-spacing: 1px;

View File

@ -107,7 +107,7 @@
.config-panel { .config-panel {
position: absolute; position: absolute;
top: calc(100% + 2px); top: calc(100% + 2px);
right: 0; inset-inline-end: 0;
width: 18rem; width: 18rem;
padding: .75rem; padding: .75rem;
background-color: var(--overlay-background); background-color: var(--overlay-background);