/* * Copyright (c) 2017 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ [slot=insertion-point-main] { flex-direction: column; display: flex; } [slot=insertion-point-sidebar] { overflow: auto; } .editor-container { flex: 1; } :focus.selected { background-color: var(--selection-bg-color); color: #fff; } .CodeMirror-lines:not(:active) { cursor: default !important; } .CodeMirror-line:hover { cursor: default !important; background-color: rgb(0 0 255 / 5%); } .CodeMirror .CodeMirror-linebackground.spacer { text-align: center; color: rgb(0 0 0 / 50%); background-color: rgb(0 0 255 / 10%); } .CodeMirror .equal > span > span { opacity: 50%; } .CodeMirror .CodeMirror-selectedtext:not(.CodeMirror-persist-highlight) { opacity: 100%; } .CodeMirror .CodeMirror-linebackground.addition, .-theme-preserve, .changes-diff-gutter-marker.addition { background-color: hsl(144deg 55% 49% / 20%); } .CodeMirror .CodeMirror-linebackground.deletion, .-theme-preserve, .changes-diff-gutter-marker.deletion { background-color: rgb(255 0 0 / 20%); } .CodeMirror .addition .cm-inner-diff:not(.CodeMirror-selectedtext), .-theme-preserve { background-color: hsl(144deg 55% 49% / 30%); } .CodeMirror .deletion .cm-inner-diff:not(.CodeMirror-selectedtext), .-theme-preserve { background-color: rgb(255 0 0 / 30%); } .changes-toolbar { background-color: var(--toolbar-bg-color); border-top: var(--divider-border); } .changes-diff-gutter { width: 20px; } .changes-diff-gutter-marker { text-align: center; }