feat: update main chat and system chat UI
This commit is contained in:
444
src/app/main/SharedResourceManagementPage.css
Normal file
444
src/app/main/SharedResourceManagementPage.css
Normal file
@@ -0,0 +1,444 @@
|
||||
@import './ManagementPage.shared.css';
|
||||
|
||||
.shared-resource-management-page,
|
||||
.shared-resource-management-page__card {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-strip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-intro {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-intro .ant-typography {
|
||||
margin-bottom: 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-pills {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-pill {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
padding: 4px 8px;
|
||||
border: 1px solid #dbe5f0;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-label {
|
||||
color: #475569;
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-value {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__item-stats,
|
||||
.shared-resource-management-page__detail-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__bulk-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
background: #fcfdff;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table .ant-table-wrapper,
|
||||
.shared-resource-management-page__table .ant-spin-nested-loading,
|
||||
.shared-resource-management-page__table .ant-spin-container,
|
||||
.shared-resource-management-page__table .ant-table,
|
||||
.shared-resource-management-page__table .ant-table-container {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table .ant-table-body {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table .ant-table-thead > tr > th {
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table .ant-table-tbody > tr > td {
|
||||
padding-top: 6px;
|
||||
padding-bottom: 6px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-row {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-row--active > td {
|
||||
background: #f0f7ff !important;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-primary {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-title-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-title-row .ant-typography {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-tags {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
align-content: flex-start;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-tags .ant-tag {
|
||||
margin-inline-end: 0;
|
||||
margin-bottom: 0;
|
||||
padding-inline: 5px;
|
||||
font-size: 11px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-metrics {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-metrics .ant-typography {
|
||||
margin-bottom: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__table-warning {
|
||||
display: block;
|
||||
margin-top: -1px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__status-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-block {
|
||||
padding: 14px 16px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 16px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-block .ant-typography:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-stack {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #dbe5f0;
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(180deg, #fcfdff 0%, #f5f9ff 100%);
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel-main .ant-typography {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel-side {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-grid .ant-form-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-grid--summary {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__field-span-2 {
|
||||
grid-column: span 2;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__field-span-3 {
|
||||
grid-column: 1 / -1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__inline-option-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
background: #fbfdff;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__inline-option-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__inline-option-item .ant-form-item-control-input {
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__inline-option-item .ant-checkbox-wrapper {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-tabs {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-nav {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-nav-wrap {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-content-holder,
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-content-holder > .ant-tabs-content,
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-tabs > .ant-tabs-content-holder {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__section-scroll {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding: 0 2px calc(12px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
|
||||
.shared-resource-management-page__activity-card .ant-card-body {
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__permission-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__permission-card {
|
||||
display: block;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid #dbe5f0;
|
||||
border-radius: 14px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__permission-card-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__permission-card-copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__permission-card-copy .ant-typography {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__qr-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__qr-code-wrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 12px;
|
||||
border: 1px solid #dbe5f0;
|
||||
border-radius: 18px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__qr-url {
|
||||
width: 100%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__qr-url.ant-typography {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.shared-resource-management-page__summary-strip {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-pills {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.shared-resource-management-page__field-span-3 {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.shared-resource-management-page__summary-pills {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__summary-pill {
|
||||
flex: 1 1 calc(50% - 4px);
|
||||
min-width: 132px;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__detail-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel,
|
||||
.shared-resource-management-page__inline-option-row,
|
||||
.shared-resource-management-page__bulk-toolbar {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-panel-side {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.shared-resource-management-page__compact-grid,
|
||||
.shared-resource-management-page__permission-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.shared-resource-management-page__field-span-2,
|
||||
.shared-resource-management-page__field-span-3 {
|
||||
grid-column: auto;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user