pocketbase/ui/src/scss/_collections_export.scss

67 lines
1.4 KiB
SCSS
Raw Normal View History

.export-list {
display: flex;
flex-direction: column;
gap: 15px;
width: 220px;
min-height: 0;
flex-shrink: 0;
overflow: auto;
padding: 10px;
background: var(--baseAlt1Color);
border-radius: var(--baseRadius);
.list-item {
margin: 0;
width: 100%;
}
.form-field {
margin: 0;
label {
width: 100%;
display: block !important;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
}
.export-preview {
position: relative;
flex-grow: 1;
border-radius: var(--baseRadius);
overflow: hidden;
.copy-schema {
position: absolute;
right: 15px;
top: 10px;
}
.code-wrapper {
height: 100%;
2024-02-24 23:18:06 +08:00
width: 100%;
padding: var(--xsSpacing);
overflow: auto;
background: var(--baseAlt1Color);
font-family: var(--monospaceFontFamily);
}
}
.export-panel {
display: flex;
width: 100%;
height: 550px;
align-items: stretch;
2024-02-24 23:18:06 +08:00
> * {
border-radius: 0;
border-left: 1px solid var(--baseAlt2Color);
}
> :first-child {
border-top-left-radius: var(--baseRadius);
border-bottom-left-radius: var(--baseRadius);
border-left: 0;
}
> :last-child {
border-top-right-radius: var(--baseRadius);
border-bottom-right-radius: var(--baseRadius);
}
}