/*
 * Copyright (c) 2018-2021 Red Hat, Inc.
 * This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License 2.0
 * which is available at https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *   Red Hat, Inc. - initial API and implementation
 */

.devfileEditor {
  width: 100%;
  height: 100%;
  min-height: 50vh;
}

.devfileEditor .monaco {
  position: relative;
  width: 100%;
  height: calc(100% - 38px);
  min-height: inherit;
}

.devfileEditor .monaco .monaco-editor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid #cecece;
}

.devfileEditor .monaco .devfileEditorDecoration {
  background-color: rgba(241, 192, 80, 0.5);
}

.devfileEditor .error {
  height: 16px;
  color: #e22812;
  font-size: 15px;
}

.devfileEditor a {
  color: #3782c4;
  font-size: 15px;
  line-height: 25px;
  text-decoration: none;
}
