Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(847)

Unified Diff: third_party/WebKit/Source/devtools/front_end/changes/changesView.css

Issue 2694923002: DevTools: Changes Drawer (Closed)
Patch Set: Remove event listener on willHide Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/changes/changesView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/changes/changesView.css b/third_party/WebKit/Source/devtools/front_end/changes/changesView.css
new file mode 100644
index 0000000000000000000000000000000000000000..6c2269f43c627d4de3e7811d8a273ccca4a7fd52
--- /dev/null
+++ b/third_party/WebKit/Source/devtools/front_end/changes/changesView.css
@@ -0,0 +1,65 @@
+/*
+ * 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.
+ */
+
+.insertion-point-main{
+ position: relative;
+ display: flex;
+ flex-direction: column;
+}
+
+.code {
+ flex-grow: 1;
+ z-index: 0;
+ display: flex;
+}
+
+.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-double:not(.CodeMirror-selectedtext), -theme-preserve {
+ background-color: hsla(144,55%,49%,.3);
+}
+
+.CodeMirror .deletion .cm-double:not(.CodeMirror-selectedtext), -theme-preserve {
+ background-color: rgba(255, 0, 0, .3);
+}
+
+.changes-toolbar {
+ display: flex;
+ flex: 0 0 27px;
+ background-color: #f3f3f3;
+ border-top: 1px solid #dadada;
+ overflow: hidden;
+ z-index: 1;
+}

Powered by Google App Engine
This is Rietveld 408576698