UNPKG

@elastic/eui

Version:

Elastic UI Component Library

18 lines (17 loc) 976 B
/* * 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'; export var euiInlineEditReadModeStyles = function euiInlineEditReadModeStyles(_ref) { var euiTheme = _ref.euiTheme; return { euiInlineEditReadMode: /*#__PURE__*/css(";label:euiInlineEditReadMode;"), // Override the cursor and allow users to highlight text when in the read only state isReadOnly: /*#__PURE__*/css("&:disabled{cursor:text;color:", euiTheme.colors.textParagraph, ";user-select:text;};label:isReadOnly;"), hasPlaceholder: /*#__PURE__*/css(".euiText,.euiTitle{color:", euiTheme.components.forms.colorHasPlaceholder, ";};label:hasPlaceholder;") }; };