/*
  Copyright (c) Microsoft Corporation.

  Licensed 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.
*/

.source {
  display: flex;
  flex: auto;
  flex-direction: column;
  white-space: pre;
  overflow: auto;
  font-family: var(--monospace-font);
  font-size: 12px;
  line-height: 20px;
  background: white;
  user-select: text;
}

.source-line {
  display: flex;
  flex: none;
}

.source-line-number {
  color: #555;
  padding: 0 8px;
  width: 40px;
  margin-right: 3px;
  text-align: right;
  background: #f6f5f4;
  user-select: none;
  flex: none;
}

.source-line-running {
  background-color: #b3dbff7f;
  z-index: 2;
}

.source-line-paused {
  background-color: #b3dbff7f;
  outline: 1px solid #008aff;
  z-index: 2;
}

.source-line-error {
  background-color: #fff0f0;
  outline: 1px solid #ff5656;
  z-index: 2;
}
