Move settings navigation to account menu and add file creation templates

This commit is contained in:
SantaSpeen committed 2026-10-22 16:07:59 +03:00
1 parent 042392f611
commit 54761e4ef2
24 files changed
+591 -165

No files matched your search

+84 -44
View File
@@ -28,34 +28,7 @@
margin: 0;
font-weight: 650;
}
.settings-tabs {
display: flex;
gap: 6px;
margin-bottom: 22px;
padding-bottom: 12px;
border-bottom: 1px solid var(--borderPrimary);
overflow-x: auto;
}
.settings-tabs a {
display: flex;
gap: 8px;
align-items: center;
padding: 10px 14px;
border-radius: 8px;
white-space: nowrap;
font-size: 13px;
color: var(--textPrimary);
}
.settings-tabs a:hover {
background: var(--hover);
}
.settings-tabs a.router-link-active {
background: var(--surfaceSecondary);
color: var(--blue);
}
.settings-tabs .app-icon {
font-size: 19px;
}
.preferences-form {
width: 100%;
padding-bottom: 12px;
@@ -256,9 +229,7 @@
.settings-page .settings-section {
padding: 16px;
}
.settings-tabs a {
padding: 10px;
}
.account-summary {
flex-direction: column;
align-items: stretch;
@@ -271,19 +242,6 @@
height: 48px;
border-radius: 12px;
}
.settings-tabs {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
overflow: visible;
}
.settings-tabs a {
white-space: normal;
min-width: 0;
font-size: 12px;
}
.settings-tabs .app-icon {
flex-shrink: 0;
}
}
.settings-page .users-card > .users-table-wrap {
padding: 0;
@@ -349,3 +307,85 @@
width: 100%;
}
}
.admin-users-tile {
display: flex;
align-items: center;
gap: 16px;
width: 100%;
text-align: start;
cursor: pointer;
color: var(--textPrimary);
}
.admin-users-tile > .app-icon {
color: var(--blue);
font-size: 28px;
}
.admin-users-tile > span {
flex: 1;
min-width: 0;
}
.admin-users-tile strong {
display: block;
font-size: 16px;
}
.admin-users-tile small {
display: block;
margin-top: 6px;
color: var(--textSecondary);
font-size: 12px;
line-height: 1.5;
}
.admin-users-tile:hover {
border-color: var(--blue);
}
.card.floating.users-management {
width: calc(100% - 32px);
max-width: 1000px;
max-height: calc(100vh - 32px);
max-height: calc(100dvh - 32px);
display: flex;
flex-direction: column;
margin: 0;
}
.users-management-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-shrink: 0;
}
.users-management-heading h2 {
margin: 0;
}
.users-management-body {
overflow-y: auto;
min-height: 0;
padding: 16px;
}
.users-management-body > .card {
margin: 0;
box-shadow: none;
}
.users-management .user-edit {
border: 0;
background: none;
cursor: pointer;
}
.users-management .card-action {
position: sticky;
bottom: 0;
background: var(--surfacePrimary);
}
@media (max-width: 600px) {
.card.floating.users-management {
width: calc(100% - 16px);
max-height: calc(100vh - 16px);
max-height: calc(100dvh - 16px);
}
.users-management-body {
padding: 8px;
}
.users-management .card-content {
padding: 14px;
}
}