170 lines
3.0 KiB
CSS
170 lines
3.0 KiB
CSS
.phg-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem;
|
|
font-size: 0.85rem;
|
|
color: var(--p-text-color);
|
|
}
|
|
|
|
.phg-toolbar {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.phg-button {
|
|
padding: 0.3rem 0.75rem;
|
|
border-radius: 0.375rem;
|
|
border: 1px solid var(--p-button-outlined-border-color, rgba(255, 255, 255, 0.2));
|
|
background: var(--p-button-outlined-background, transparent);
|
|
color: var(--p-text-color);
|
|
cursor: pointer;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.phg-button:hover:not(:disabled) {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.phg-button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.phg-button--danger {
|
|
color: var(--p-red-400, #f87171);
|
|
border-color: var(--p-red-600, #dc2626);
|
|
}
|
|
|
|
.phg-button--icon {
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.phg-message {
|
|
padding: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: var(--p-text-color);
|
|
}
|
|
|
|
.phg-message--error {
|
|
color: var(--p-red-300, #fca5a5);
|
|
}
|
|
|
|
.phg-message--empty {
|
|
font-style: italic;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.phg-entries {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.phg-entry {
|
|
border-radius: 0.75rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
background: rgba(0, 0, 0, 0.15);
|
|
padding: 0.75rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.phg-entry-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.01em;
|
|
text-transform: uppercase;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.phg-entry-actions {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.phg-entry-prompt {
|
|
white-space: pre-wrap;
|
|
font-family: var(--p-font-family, inherit);
|
|
font-size: 0.85rem;
|
|
line-height: 1.4;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 0.5rem;
|
|
border-radius: 0.5rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.phg-entry-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.phg-tag {
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 9999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.phg-entry-gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.phg-entry-image {
|
|
width: 100%;
|
|
border-radius: 0.5rem;
|
|
object-fit: cover;
|
|
cursor: pointer;
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
transition: transform 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.phg-entry-image:hover {
|
|
transform: scale(1.02);
|
|
border-color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.phg-entry-meta {
|
|
font-size: 0.75rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.phg-entry-files {
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 0.5rem;
|
|
padding: 0.5rem 0.6rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.phg-entry-files-title {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
opacity: 0.75;
|
|
}
|
|
|
|
.phg-file-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.phg-file-item {
|
|
font-family: var(--p-font-family-mono, var(--p-font-family, monospace));
|
|
font-size: 0.75rem;
|
|
word-break: break-word;
|
|
}
|