1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 03:44:32 +02:00

feat: admin search UI (#4022)

This commit is contained in:
Sami Mazouz
2024-09-28 09:35:37 +01:00
committed by GitHub
parent e08a9f6146
commit 5cea3d3b9b
75 changed files with 1722 additions and 897 deletions

View File

@@ -16,3 +16,4 @@
@import "admin/MailPage";
@import "admin/NoJs";
@import "admin/UsersListPage";
@import "admin/GeneralSearchResult";

View File

@@ -0,0 +1,35 @@
.GeneralSearchResult {
.ExtensionIcon {
--size: 32px;
flex-shrink: 0;
}
&-group {
border-top: none;
}
&-tree {
font-weight: bold;
&-separator {
color: var(--muted-more-color);
padding: 0 8px;
}
}
&-help {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--muted-color);
font-size: 12px;
}
&-info {
overflow: hidden;
}
mark {
background-color: var(--highlight-color);
}
}

View File

@@ -66,6 +66,10 @@
}
}
.FieldSet-label:empty {
display: none;
}
.FieldSet--min .FieldSet-items > * {
width: auto;
}

View File

@@ -213,6 +213,8 @@
--hero-bg: var(--control-bg);
--hero-color: var(--control-color);
--highlight-color: #FFE300;
.light-contents-vars();
.Button--color-vars(@control-success-color, @control-success-bg, 'control-success');

View File

@@ -74,7 +74,7 @@ p {
}
mark {
background: #FFE300;
background: var(--highlight-color);
padding: 1px;
border-radius: var(--border-radius);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);