UNPKG

@elastic/eui

Version:

Elastic UI Component Library

24 lines (22 loc) 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.euiSubStepsStyles = void 0; var _react = require("@emotion/react"); var _high_contrast = require("../../global_styling/functions/high_contrast"); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ var euiSubStepsStyles = exports.euiSubStepsStyles = function euiSubStepsStyles(euiThemeContext) { var euiTheme = euiThemeContext.euiTheme; return { euiSubSteps: /*#__PURE__*/(0, _react.css)("padding:", euiTheme.size.base, ";background-color:", euiTheme.colors.lightestShade, ";margin-block-end:", euiTheme.size.base, ";", (0, _high_contrast.highContrastModeStyles)(euiThemeContext, { preferred: "border: ".concat(euiTheme.border.thin, ";") }), ">*:last-child{margin-block-end:0;}& ol,.euiText & ol{list-style-type:lower-alpha;};label:euiSubSteps;") }; };