/* =========================================================================
   The logo of an API connection (U-1694) — a component since U-1918
   -------------------------------------------------------------------------
   The administration, the public and the partner changelog and the partner's
   reference tiles all show it, so it is not the administration's page CSS.
   ========================================================================= */

/* The logo of an API connection (U-1694): a square that holds the image, or the
   connection's initials when it has none. */
.connection-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--doc-line);
  border-radius: var(--radius);
  background: var(--doc-panel);
  vertical-align: middle;
}

.connection-logo-large {
  width: 96px;
  height: 96px;
}

.connection-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connection-logo-initials {
  font-size: 12px;
  font-weight: 600;
}

.connection-logo-large .connection-logo-initials {
  font-size: 28px;
}

/* A logo beside a name: the list row, the tile title. */
.connection-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
