90 lines
2.8 KiB
CSS
90 lines
2.8 KiB
CSS
|
|
.hux-organization {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: minmax(10rem, 0.7fr) minmax(18rem, 1.5fr) minmax(14rem, 1fr);
|
||
|
|
gap: 0.75rem;
|
||
|
|
color: var(--hux-fg, #dbe8ef);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hux-organization > * {
|
||
|
|
min-width: 0;
|
||
|
|
border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
|
||
|
|
border-radius: 0.8rem;
|
||
|
|
padding: 0.8rem;
|
||
|
|
background: color-mix(in srgb, var(--hux-bg, #0b121c) 94%, transparent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hux-organization h2,
|
||
|
|
.hux-organization h3 {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 0.4rem;
|
||
|
|
margin: 0 0 0.65rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hux-organization svg { width: 1rem; height: 1rem; }
|
||
|
|
.hux-organization ul,
|
||
|
|
.hux-organization ol { margin: 0; padding: 0; list-style: none; }
|
||
|
|
.hux-org-projects li,
|
||
|
|
.hux-org-conversations > li,
|
||
|
|
.hux-org-lineage li,
|
||
|
|
.hux-org-attachments li { margin-top: 0.45rem; }
|
||
|
|
|
||
|
|
.hux-org-projects button[aria-current="page"],
|
||
|
|
.hux-org-conversations li[data-selected="true"] {
|
||
|
|
color: var(--hux-accent, #22d3ee);
|
||
|
|
background: color-mix(in srgb, var(--hux-accent, #22d3ee) 9%, transparent);
|
||
|
|
}
|
||
|
|
|
||
|
|
.hux-org-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
|
||
|
|
.hux-org-tags li {
|
||
|
|
border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
|
||
|
|
border-radius: 999px;
|
||
|
|
padding: 0.05rem 0.4rem;
|
||
|
|
font-size: 0.67rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hux-org-conversation-title,
|
||
|
|
.hux-org-main form div { display: flex; gap: 0.4rem; align-items: center; }
|
||
|
|
.hux-org-icon { padding: 0.2rem; }
|
||
|
|
.hux-org-icon[aria-pressed="false"] { opacity: 0.45; }
|
||
|
|
.hux-org-resume,
|
||
|
|
.hux-org-move { display: block; margin-top: 0.35rem; font-size: 0.75rem; }
|
||
|
|
.hux-org-move select { margin-left: 0.4rem; }
|
||
|
|
.hux-org-rename { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.35rem; }
|
||
|
|
|
||
|
|
.hux-org-lineage li { position: relative; padding-left: 1rem; }
|
||
|
|
.hux-org-lineage li::before {
|
||
|
|
position: absolute;
|
||
|
|
left: 0.2rem;
|
||
|
|
top: -0.5rem;
|
||
|
|
bottom: -0.5rem;
|
||
|
|
width: 1px;
|
||
|
|
background: color-mix(in srgb, var(--hux-accent, #22d3ee) 50%, transparent);
|
||
|
|
content: "";
|
||
|
|
}
|
||
|
|
.hux-org-lineage li::after {
|
||
|
|
position: absolute; left: 0; top: 0.45rem; width: 0.45rem; height: 0.45rem;
|
||
|
|
border-radius: 50%; background: var(--hux-accent, #22d3ee); content: "";
|
||
|
|
}
|
||
|
|
.hux-org-lineage small,
|
||
|
|
.hux-org-attachments small { display: block; opacity: 0.6; }
|
||
|
|
.hux-org-lineage li[data-missing="true"],
|
||
|
|
.hux-org-lineage li[data-cycle="true"],
|
||
|
|
.hux-org-attachments li[data-missing="true"] { color: var(--hux-warning, #fbbf24); }
|
||
|
|
.hux-org-error { color: var(--hux-danger, #fb7185); }
|
||
|
|
|
||
|
|
@media (max-width: 62rem) {
|
||
|
|
.hux-organization { grid-template-columns: minmax(10rem, 0.7fr) minmax(18rem, 1.5fr); }
|
||
|
|
.hux-org-details { grid-column: 1 / -1; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 42rem) {
|
||
|
|
.hux-organization { grid-template-columns: 1fr; }
|
||
|
|
.hux-org-details { grid-column: auto; }
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (prefers-reduced-motion: reduce) {
|
||
|
|
.hux-organization * { scroll-behavior: auto; transition: none; }
|
||
|
|
}
|
||
|
|
|