Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

2.3 KB
Raw Blame
// Layout for the registry browse modal. The cards lay out as a
// fixed-width icon on the left, the bulk of the metadata in the
// middle, and a primary action on the right.

.error {
  margin-bottom: 16px;
}

.loader {
  display: flex;
  justify-content: center;
  padding: 32px 0;
}

// Filter bar (search box + category / permissions / author Selects) above the
// plugin cards.
.filters {
  width: 100%;
  margin-bottom: 16px;
}

.filterSelect {
  min-width: 200px;
}

// Category tag rendered in the card title line, after the version.
.categoryTag {
  margin-left: 8px;
}

.list {
  width: 100%;
}

.row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon {
  flex: 0 0 auto;

  img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: contain;
  }
}

// Puzzle-piece SVG placeholder for plugins without a bundled icon.
// currentColor on the SVG stroke picks up the surrounding text color,
// so it adapts to light/dark themes without per-theme styling.
.iconFallback {
  width: 48px;
  height: 48px;
  padding: 8px;
  border-radius: 6px;
  background: rgb(128 128 128 / 12%);
  color: rgb(128 128 128 / 85%);
}

.body {
  flex: 1 1 auto;
  min-width: 0;
}

.title {
  font-size: 14px;
  margin-bottom: 4px;
}

// Author display name, shown under the title before the summary.
.author {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.summary {
  margin-bottom: 8px !important;
}

// Plugin homepage link (docs, source repo, tip jar), shown as the
// URL's hostname between the summary and the preview image.
.homepage {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

// Author-supplied screenshot/preview for the listing. Constrained so a
// large upload can't blow out the card; object-fit:contain keeps the
// whole image visible without cropping. Sits between the summary and
// the permissions row.
.preview {
  display: block;
  max-width: 100%;
  max-height: 180px;
  margin-bottom: 8px;
  border-radius: 6px;
  object-fit: contain;
  background: rgb(128 128 128 / 8%);
}

// Row of permission tags between the summary and the optional tag
// row. Small bottom margin so the tag row underneath doesn't visually
// merge into the permissions when both are present.
.permissions {
  margin-bottom: 6px;
}

.actions {
  flex: 0 0 auto;
  align-self: center;
}