/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

#code-editor-container {
  position: fixed;
  left: 25vw;
  top: random(100) + px;
  z-index: 5;
  resize: both;
  overflow: hidden;
  width: 45vw;
  height: 45vh;
  min-width: 320px;
  min-height: 240px;
  border-radius: 3px;
}

#title {
  background: #333333;
  color: #fff;
  text-align: center;
  margin: 0;
  padding-bottom: 10px;
  line-height: 30px;
}

#close-button {
  line-height: 0;
  color: white;
  float: right;
}

#code-editor {
  width: 100%;
  height: 100%;
}

::ng-deep .yRemoteSelectionHead {
  position: absolute;
  border-left: solid 2px;
  border-top: solid 2px;
  border-bottom: solid 2px;
  height: 100%;
  box-sizing: border-box;
}

::ng-deep .yRemoteSelectionHead::after {
  position: absolute;
  content: " ";
  border: 3px solid;
  border-radius: 4px;
  left: -4px;
  top: -5px;
}
