init
This commit is contained in:
188
styles.css
Normal file
188
styles.css
Normal file
@@ -0,0 +1,188 @@
|
||||
.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-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-empty {
|
||||
color: var(--text-muted);
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.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-project-core p,
|
||||
.pk-project-core ul,
|
||||
.pk-project-core ol,
|
||||
.pk-info-card p,
|
||||
.pk-info-card ul,
|
||||
.pk-info-card ol {
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
.pk-graph {
|
||||
width: 100%;
|
||||
min-height: 60vh;
|
||||
background: var(--background-secondary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
@container (max-width: 500px) {
|
||||
.pk-graph {
|
||||
min-height: 50vh;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user