Files
react-native-devtools-frontend/front_end/changes/changesView.css
T
Joel Einbinder 7fbe24c094 DevTools: Convert to Shadow DOM and Custom Elements v1
Bug: 685385
Change-Id: I027e84d8003b7799492211d5fcf8348cd91fd799
Reviewed-on: https://chromium-review.googlesource.com/c/1422962
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Joel Einbinder <einbinder@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#625513}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b00e6ea1c9b4db5d743c7c204b1f63abf89e0398
2019-01-24 05:19:01 +00:00

67 lines
1.5 KiB
CSS

/*
* 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: rgba(0,0,255,0.05);
}
.CodeMirror .CodeMirror-linebackground.spacer {
text-align: center;
color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 255, 0.1);
}
.CodeMirror .equal > span > span {
opacity: .5;
}
.CodeMirror .CodeMirror-selectedtext:not(.CodeMirror-persist-highlight) {
opacity: 1.0;
}
.CodeMirror .CodeMirror-linebackground.addition, -theme-preserve {
background-color: hsla(144, 55%, 49%, .2);
}
.CodeMirror .CodeMirror-linebackground.deletion, -theme-preserve {
background-color: rgba(255, 0, 0, .2);
}
.CodeMirror .addition .cm-inner-diff:not(.CodeMirror-selectedtext), -theme-preserve {
background-color: hsla(144, 55%, 49%, .3);
}
.CodeMirror .deletion .cm-inner-diff:not(.CodeMirror-selectedtext), -theme-preserve {
background-color: rgba(255, 0, 0, .3);
}
.changes-toolbar {
background-color: var(--toolbar-bg-color);
border-top: var(--divider-border);
}