Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

851 B
Raw Blame
/*
 * Every slot override below is prefixed with `.accordion` to out-specify the single-class theme
 * rules in metabase/ui's Accordion.module.css. The compound selectors are written flat on purpose:
 * nesting them would make postcss-nesting wrap them in `:is()` and change the specificity math.
 */

/* Padding lives on the row around it, which the switch shares. */
.accordion .control {
  background-color: transparent;
  flex: 1;
  min-width: 0;
  padding: 0;
}

.accordion .label {
  font-size: inherit;
  font-weight: normal;
  line-height: inherit;
  padding: 0.5rem 0;
}

.accordion .chevron {
  color: var(--mb-color-text-secondary);
}

.accordion .content {
  padding-top: 1rem;
  padding-left: 3rem;
}

.contentRow:not(:last-of-type) {
  border-bottom: 1px solid var(--mb-color-border-neutral);
}

.cell {
  flex: 1 1 0;
  min-width: 0;
}