Skip to content
Python
1.5 KB
Raw Blame
html[data-native-reduce-motion="true"] *,
html[data-native-reduce-motion="true"] *::before,
html[data-native-reduce-motion="true"] *::after {
  /* biome-ignore lint/complexity/noImportantStyles: Native accessibility preferences must override component transitions. */
  animation: none !important;
  /* biome-ignore lint/complexity/noImportantStyles: Native accessibility preferences must override component transitions. */
  transition-duration: 0s !important;
  scroll-behavior: auto;
}

html[data-native-reduce-transparency="true"]
  :is(
    .app-rail,
    .map-inspector,
    .memory-inspector,
    .consent-sheet,
    .install-preview,
    .graph-width-dialog,
    .graph-width-prompt,
    .memory-graph-controls,
    .memory-instrument-header,
    .app-content,
    .map-library,
    .map-stage
  ) {
  background: #f2f5f8;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-native-reduce-transparency="true"]
  :is(
    .brand-mark,
    .memory-instrument-header .memory-mode-tabs,
    .map-axis,
    .map-canvas .memory-graph-canvas
  ) {
  background: #edf1f5;
}

html[data-native-reduce-transparency="true"]
  .cold-start
  :is(
    .cold-start-layout,
    .cold-start-head,
    .cold-start-summary,
    .cold-start-foot,
    .cold-start-steps
  ) {
  background: #eef3f7;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-native-reduce-transparency="true"] .source-job-sheet-body,
html[data-native-reduce-transparency="true"] .cold-start-read-consent {
  background: #fff;
}