feat: datasource
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
.data-resources-page {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
padding: 22px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.data-resources-page__header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.data-resources-page__header h1 {
|
||||
margin: 0 0 5px;
|
||||
color: #1c2d42;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.data-resources-page__header p {
|
||||
margin: 0;
|
||||
color: #7a8999;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.data-resources-page__toolbar {
|
||||
display: flex;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.data-resources-page__toolbar .search-box {
|
||||
width: 320px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.data-resources-page__table-wrap {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
border: 1px solid #dce4eb;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.data-resources-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.data-resources-table th,
|
||||
.data-resources-table td {
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid #e8edf2;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.data-resources-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
color: #5c6d7e;
|
||||
background: #f7f9fb;
|
||||
font-size: 11px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
.data-resources-table tbody tr:hover {
|
||||
background: #f4f8fc;
|
||||
}
|
||||
|
||||
.data-resources-table td {
|
||||
color: #33465a;
|
||||
}
|
||||
|
||||
.data-resources-table__name {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.data-resources-table code.jupyter-path {
|
||||
display: inline-block;
|
||||
max-width: 260px;
|
||||
overflow: hidden;
|
||||
padding: 3px 7px;
|
||||
border-radius: 4px;
|
||||
background: #f1f5f9;
|
||||
color: #2a4d6b;
|
||||
font-family: Consolas, "SFMono-Regular", monospace;
|
||||
font-size: 11px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.visibility-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 10px;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.visibility-badge--private {
|
||||
color: #7a6a3f;
|
||||
background: #f9f5e6;
|
||||
}
|
||||
|
||||
.visibility-badge--workspace {
|
||||
color: #1a5e9c;
|
||||
background: #eaf4fd;
|
||||
}
|
||||
|
||||
.visibility-badge--public {
|
||||
color: #1f7a54;
|
||||
background: #eaf9f3;
|
||||
}
|
||||
|
||||
.data-resources-page__empty {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 200px;
|
||||
color: #8b99a8;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.data-resources-page .form-field input[type="file"] {
|
||||
height: auto;
|
||||
padding: 8px 11px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.data-resources-table td .row-actions {
|
||||
display: inline-flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.data-resources-table td .text-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.45;
|
||||
}
|
||||
Reference in New Issue
Block a user