mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-02 19:42:51 +08:00
refactor: remove redundant admin style declarations
This commit is contained in:
1 parent
4ef7ec5ee3
commit
8e28bca634
2 files changed
+19
-127
No files matched your search
+3
-118
@@ -500,9 +500,7 @@
|
||||
}
|
||||
|
||||
:deep(.admin-shell) {
|
||||
display: grid;
|
||||
min-height: 100dvh;
|
||||
grid-template-columns: 236px minmax(0,1fr);
|
||||
}
|
||||
|
||||
.admin-sidebar {
|
||||
@@ -555,10 +553,6 @@
|
||||
border-top: 1px solid rgba(255,255,255,.1);
|
||||
}
|
||||
|
||||
:deep(.admin-main) {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.admin-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -963,18 +957,7 @@
|
||||
display: block;
|
||||
}
|
||||
.admin-sidebar {
|
||||
position: static;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
padding: 12px 16px;
|
||||
}
|
||||
.admin-sidebar .admin-brand {
|
||||
padding: 0;
|
||||
}
|
||||
.admin-sidebar .admin-brand small {
|
||||
display: none;
|
||||
}
|
||||
.admin-sidebar nav {
|
||||
display: flex;
|
||||
@@ -988,16 +971,7 @@
|
||||
height: 20px;
|
||||
}
|
||||
.sidebar-bottom {
|
||||
display: flex;
|
||||
margin: 0 0 0 8px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
.sidebar-bottom a {
|
||||
display: none;
|
||||
}
|
||||
.sidebar-bottom button {
|
||||
font-size: 0;
|
||||
}
|
||||
:deep(.settings-grid),
|
||||
:deep(.overview-columns) {
|
||||
@@ -1006,9 +980,6 @@
|
||||
:deep(.readonly-card dl) {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
.admin-topbar {
|
||||
padding: 0 18px;
|
||||
}
|
||||
:deep(.page-content) {
|
||||
width: min(100% - 28px,700px);
|
||||
padding-top: 24px;
|
||||
@@ -1584,7 +1555,6 @@
|
||||
:deep(.target-fields) {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0,1fr) 132px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
:deep(.webrtc-card .card-help) {
|
||||
@@ -1950,9 +1920,6 @@
|
||||
:deep(.port-inputs) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:520px) {
|
||||
:deep(.welcome-editor-heading) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 6px;
|
||||
@@ -1961,22 +1928,13 @@
|
||||
|
||||
/* Server settings keep their natural height; the main content area owns scrolling. */
|
||||
|
||||
:deep(.server-page) {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
:deep(.server-page .settings-grid) {
|
||||
flex: 0 0 auto;
|
||||
min-height: auto;
|
||||
align-items: start;
|
||||
overflow: visible;
|
||||
grid-auto-rows: auto;
|
||||
}
|
||||
|
||||
:deep(.server-page .settings-card) {
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
padding: 16px;
|
||||
gap: 12px;
|
||||
}
|
||||
@@ -1999,20 +1957,6 @@
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* Long log messages should wrap on every screen size instead of widening the
|
||||
log card or introducing page-level horizontal scrolling. */
|
||||
|
||||
:deep(.logs-card .log-row) {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
:deep(.logs-card .log-row strong),
|
||||
:deep(.logs-card .log-row small) {
|
||||
overflow-wrap: anywhere;
|
||||
white-space: normal;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
:deep(.connection-list) {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
@@ -2227,9 +2171,6 @@
|
||||
|
||||
:deep(.server-page .settings-grid) {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0,1fr);
|
||||
align-content: start;
|
||||
gap: 12px;
|
||||
flex: 0 0 auto;
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
@@ -2847,14 +2788,6 @@
|
||||
:deep(.settings-accordion-header>.ui-icon) {
|
||||
margin-left: auto;
|
||||
}
|
||||
:deep(.target-settings-layout) {
|
||||
grid-template-columns: minmax(0,1fr);
|
||||
}
|
||||
:deep(.target-fields),
|
||||
:deep(.port-inputs),
|
||||
:deep(.target-runtime-facts) {
|
||||
grid-template-columns: minmax(0,1fr);
|
||||
}
|
||||
:deep(.target-settings-layout>.password-row),
|
||||
:deep(.target-settings-layout>.target-test-button),
|
||||
:deep(.target-test-result),
|
||||
@@ -2864,12 +2797,6 @@
|
||||
:deep(.target-runtime-facts>div:first-child) {
|
||||
grid-column: auto;
|
||||
}
|
||||
:deep(.target-runtime-block) {
|
||||
grid-template-columns: minmax(0,1fr);
|
||||
}
|
||||
:deep(.target-runtime-facts) {
|
||||
grid-column: auto;
|
||||
}
|
||||
:deep(.target-settings-layout),
|
||||
:deep(.access-settings-layout),
|
||||
:deep(.advanced-settings-grid) {
|
||||
@@ -3052,8 +2979,6 @@
|
||||
|
||||
:deep(.operations-page .operations-grid) {
|
||||
min-width: 0;
|
||||
align-items: start;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
:deep(.operations-primary) {
|
||||
@@ -3101,6 +3026,9 @@
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Long log messages should wrap on every screen size instead of widening the
|
||||
log card or introducing page-level horizontal scrolling. */
|
||||
|
||||
:deep(.logs-card .log-row) {
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
@@ -3118,49 +3046,6 @@
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
@media (min-width:1101px) {
|
||||
:deep(.operations-page .invite-form) {
|
||||
grid-template-columns: minmax(220px,1.2fr) minmax(280px,1fr) auto;
|
||||
align-items: end;
|
||||
gap: 12px 16px;
|
||||
}
|
||||
:deep(.operations-page .invite-form>label) {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
:deep(.operations-page .invite-form-grid) {
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
align-self: end;
|
||||
}
|
||||
:deep(.operations-page .invite-form>.field-help) {
|
||||
grid-column: 1/3;
|
||||
grid-row: 2;
|
||||
}
|
||||
:deep(.operations-page .invite-form>.primary-button) {
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
:deep(.operations-page .diagnostics-card) {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0,1fr);
|
||||
}
|
||||
:deep(.operations-page .diagnostics-card>header) {
|
||||
grid-column: 1/-1;
|
||||
}
|
||||
:deep(.operations-page .diagnostics-card>.diagnostic-list) {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
:deep(.operations-page .diagnostics-card>.secondary-button) {
|
||||
grid-column: 1;
|
||||
grid-row: 3;
|
||||
justify-self: end;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:1100px) {
|
||||
:deep(.target-settings-layout) {
|
||||
grid-template-columns: minmax(0,1fr) minmax(180px,.42fr);
|
||||
|
||||
Reference in new issue
Block a user