UNPKG

@elastic/eui

Version:

Elastic UI Component Library

27 lines (26 loc) 1.63 kB
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; } /* * 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. */ import { css } from '@emotion/react'; import { transparentize } from '../../../services'; var _ref = process.env.NODE_ENV === "production" ? { name: "j6fg69-wrapperHidden", styles: "display:none;label:wrapperHidden;" } : { name: "j6fg69-wrapperHidden", styles: "display:none;label:wrapperHidden;", toString: _EMOTION_STRINGIFIED_CSS_ERROR__ }; export var euiTableStickyScrollbarStyles = function euiTableStickyScrollbarStyles(_ref2) { var euiTheme = _ref2.euiTheme; return { wrapper: /*#__PURE__*/css("block-size:", euiTheme.size.base, ";padding:", euiTheme.size.xs, ";position:sticky;background:", euiTheme.components.scrollbarTrackColor, ";inset-block-end:var(--euiTableStickyScrollbarOffsetBottom, 0);z-index:var(--euiTableStickyScrollbarZIndex, 0);;label:wrapper;"), wrapperHidden: _ref, track: /*#__PURE__*/css("block-size:100%;background:", transparentize(euiTheme.colors.darkShade, 0.5), ";border-radius:", euiTheme.border.radius.small, ";;label:track;") }; };