All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty_res.styles.theme.components.diagram.css Maven / Gradle / Ivy

There is a newer version: 3.6.0-RC1-bin-20240917-6e852d2-NIGHTLY
Show newest version
.diagram-class {
  position: relative;
}

#inheritance-diagram > button:nth-of-type(1) {
  display: none;
  position: absolute;
  right: 0;
}

#inheritance-diagram > button:nth-of-type(2) {
  display: none;
  position: absolute;
  right: calc(13 * var(--base-spacing));
}

#inheritance-diagram.shown > button:nth-of-type(3) {
  display: none;
}

#inheritance-diagram.shown > button:nth-of-type(1) {
  display: block;
}

#inheritance-diagram.shown > button:nth-of-type(2) {
  display: block;
}

#graph {
  display: none;
}

#inheritance-diagram.shown #graph {
  display: block;
  width: 100%;
  height: calc(50 * var(--base-spacing));
}

#inheritance-diagram .vertex {
  border-radius: 4px;
}

/* Colors */

#inheritance-diagram span, #inheritance-diagram a {
  color: var(--grey1) !important;
}

#inheritance-diagram .edgePath {
  stroke: var(--grey12);
}

#inheritance-diagram .class {
  fill: var(--mint11);
}

#inheritance-diagram .trait {
  fill: var(--sky11);
}

#inheritance-diagram .object {
  fill: var(--indigo11);
}

#inheritance-diagram .enum {
  fill: var(--orange11);
}

#inheritance-diagram .enumcase {
  fill: var(--orange11);
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy