Skip to content

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

1.8 KB
Raw Blame
/* Structural and palette overrides for Ant Design components. Color theming
   flows through the design tokens in components/theme/AntdProvider.tsx;
   these are the few rules tokens cannot express. This sheet loads after
   antd.css (see pages/_app.tsx) so equal-specificity rules here win. */

.ant-layout-header {
  line-height: unset;
  height: auto;
}

// Keep public Owncast CSS variables authoritative for Ant Design buttons.
.ant-btn.ant-btn-color-primary {
  --ant-btn-color-base: var(--theme-color-components-primary-button-background);
  --ant-btn-color-hover: var(--theme-color-action-hover);
  --ant-btn-color-active: var(--theme-color-action-hover);
}

.ant-btn.ant-btn-color-primary.ant-btn-variant-solid {
  --ant-btn-border-color: var(--theme-color-components-primary-button-border);
  --ant-btn-text-color: var(--theme-color-components-primary-button-text);
}

.ant-btn.ant-btn-color-primary:disabled,
.ant-btn.ant-btn-color-primary.ant-btn-disabled {
  border-color: var(--theme-color-components-primary-button-border-disabled);
  color: var(--theme-color-components-primary-button-text-disabled);
  background: var(--theme-color-components-primary-button-background-disabled);
}

.ant-alert-error {
  .ant-alert-icon {
    color: var(--theme-color-palette-error);
  }

  .ant-alert-title {
    color: var(--theme-color-palette-error);
  }
}

// Lower the z-index so it renders under modals.
.ant-popover {
  z-index: 800;
}

.ant-table-wrapper td.ant-table-column-sort,
.ant-table-wrapper .ant-table-thead th.ant-table-column-sort {
  background-color: unset;
}

th {
  color: var(--theme-color-components-modal-header-text);
  font-family: var(--theme-text-display-font-family);
  font-weight: 700 !important;
}

.line-chart-container {
  position: relative;

  .download-btn {
    position: absolute;
    top: 0.3rem;
    right: 0.35rem;
  }
}