UNPKG

@yuebai008/cli

Version:

Command line interface for rapid qg-minigame development

1 lines 2.08 kB
const styles=new CSSStyleSheet;styles.replaceSync("/*\n * Copyright 2021 The Chromium Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n.root {\n align-items: flex-start; /* keep chart at top so it doesnt change position as the legend changes height */\n display: flex;\n min-width: fit-content;\n white-space: nowrap;\n}\n\n.chart-root {\n position: relative;\n overflow: hidden;\n}\n\n.pie-chart-foreground {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 10;\n top: 0;\n display: flex;\n pointer-events: none;\n}\n\n.pie-chart-total {\n margin: auto;\n padding: 2px 5px;\n pointer-events: auto;\n}\n\n:focus {\n outline-width: 0;\n}\n\n.pie-chart-total.selected {\n font-weight: bold;\n}\n\n.chart-root .slice.selected {\n stroke: var(--legacy-selection-bg-color);\n stroke-opacity: 1;\n stroke-width: 0.04;\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n.pie-chart-legend {\n margin-left: 30px;\n}\n\n.pie-chart-legend-row {\n margin: 5px 2px 5px auto;\n padding-right: 25px;\n}\n\n.pie-chart-legend-row.selected {\n font-weight: bold;\n}\n\n.pie-chart-legend-row:focus-visible {\n box-shadow: 0 0 0 2px var(--legacy-selection-bg-color) !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.pie-chart-swatch {\n display: inline-block;\n width: 11px;\n height: 11px;\n margin: 0 6px;\n top: 1px;\n position: relative;\n border: 1px solid rgb(100 100 100 / 20%); /* stylelint-disable-line plugin/use_theme_colors */\n /* See: crbug.com/1152736 for color variable migration. */\n}\n\n.pie-chart-name {\n display: inline-block;\n}\n\n.pie-chart-size {\n display: inline-block;\n text-align: right;\n width: 70px;\n}\n\n@media (forced-colors: active) {\n .pie-chart-swatch {\n forced-color-adjust: none;\n border-color: ButtonText;\n }\n\n .pie-chart-total {\n forced-color-adjust: none;\n background-color: canvas;\n }\n}\n\n/*# sourceURL=pieChart.css */\n");export default styles;