264 lines
4.5 KiB
CSS
264 lines
4.5 KiB
CSS
.pk-root {
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.pk-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pk-title {
|
|
font-size: 1.2em;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
}
|
|
|
|
.pk-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.pk-features-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.pk-features-flex {
|
|
column-width: 300px;
|
|
column-gap: 5px;
|
|
}
|
|
|
|
.pk-features-flex > .pk-btn-card {
|
|
break-inside: avoid;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.pk-info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 5px;
|
|
}
|
|
|
|
@container (max-width: 500px) {
|
|
.pk-info-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.pk-card {
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pk-card-header {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pk-clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pk-clickable:hover {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.pk-card-body {
|
|
font-size: 0.9em;
|
|
color: var(--text-muted);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.pk-features {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pk-feature-chip {
|
|
padding: 3px 8px;
|
|
background: var(--background-primary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 999px;
|
|
font-size: 0.85em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pk-feature-chip:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.pk-plus {
|
|
align-self: flex-start;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pk-empty {
|
|
color: var(--text-muted);
|
|
padding: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pk-collapsible-toggle {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.pk-modal-error {
|
|
color: var(--text-error);
|
|
margin-top: 8px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.pk-confirm-msg {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.pk-section-title {
|
|
font-weight: 600;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.pk-breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
font-size: 1.2em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pk-breadcrumb-link {
|
|
cursor: pointer;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.pk-breadcrumb-link:hover {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.pk-breadcrumb-current {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.pk-breadcrumb-sep {
|
|
color: var(--text-muted);
|
|
margin: 0 6px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.pk-mobile-breadcrumb {
|
|
position: relative;
|
|
z-index: 5;
|
|
background: var(--background-primary);
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
padding: 8px 12px;
|
|
margin-bottom: 8px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pk-btn-card {
|
|
box-sizing: border-box;
|
|
padding: 10px;
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
overflow-wrap: anywhere;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pk-btn-card:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.pk-btn-card strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.pk-project-core {
|
|
font-size: 0.85em;
|
|
color: var(--text-muted);
|
|
}
|
|
.pk-project-core > p:first-child { margin-top: 0; }
|
|
.pk-project-core > p:last-child { margin-bottom: 0; }
|
|
.pk-project-core > ul:first-child,
|
|
.pk-project-core > ol:first-child { margin-top: 0; }
|
|
.pk-project-core > ul:last-child,
|
|
.pk-project-core > ol:last-child { margin-bottom: 0; }
|
|
|
|
.pk-info-card > p:first-child { margin-top: 0; }
|
|
.pk-info-card > p:last-child { margin-bottom: 0; }
|
|
.pk-info-card > ul:first-child,
|
|
.pk-info-card > ol:first-child { margin-top: 0; }
|
|
.pk-info-card > ul:last-child,
|
|
.pk-info-card > ol:last-child { margin-bottom: 0; }
|
|
|
|
.pk-feature-body > p:first-child { margin-top: 0; }
|
|
.pk-feature-body > p:last-child { margin-bottom: 0; }
|
|
.pk-feature-body > ul:first-child,
|
|
.pk-feature-body > ol:first-child { margin-top: 0; }
|
|
.pk-feature-body > ul:last-child,
|
|
.pk-feature-body > ol:last-child { margin-bottom: 0; }
|
|
|
|
|
|
.pk-drop-target {
|
|
outline: 2px dashed var(--text-accent);
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
.pk-drop-zone {
|
|
background: var(--background-modifier-hover);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.pk-feature-chip-dragging {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.pk-areas-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.pk-areas-flex {
|
|
column-width: 200px;
|
|
column-gap: 5px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
.pk-zone-placeholder {
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
padding: 30px 12px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.pk-area-card {
|
|
break-inside: avoid;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.pk-zone-divider {
|
|
border: 0;
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
margin: 4px 0;
|
|
}
|