| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright (c) 2017 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 .insertion-point-main{ |
| 8 position: relative; |
| 9 display: flex; |
| 10 flex-direction: column; |
| 11 } |
| 12 |
| 13 .code { |
| 14 flex-grow: 1; |
| 15 z-index: 0; |
| 16 display: flex; |
| 17 } |
| 18 |
| 19 .CodeMirror-lines:not(:active) { |
| 20 cursor: default !important; |
| 21 } |
| 22 |
| 23 .CodeMirror-line:hover { |
| 24 cursor: default !important; |
| 25 background-color: rgba(0,0,255,0.05); |
| 26 } |
| 27 |
| 28 .CodeMirror .CodeMirror-linebackground.spacer { |
| 29 text-align: center; |
| 30 color: rgba(0,0,0,0.5); |
| 31 background-color: rgba(0,0,255,0.1) |
| 32 } |
| 33 |
| 34 .CodeMirror .equal > span > span { |
| 35 opacity: .5; |
| 36 } |
| 37 |
| 38 .CodeMirror .CodeMirror-selectedtext:not(.CodeMirror-persist-highlight) { |
| 39 opacity: 1.0; |
| 40 } |
| 41 |
| 42 .CodeMirror .CodeMirror-linebackground.addition, -theme-preserve { |
| 43 background-color: hsla(144,55%,49%,.2); |
| 44 } |
| 45 |
| 46 .CodeMirror .CodeMirror-linebackground.deletion, -theme-preserve { |
| 47 background-color: rgba(255, 0, 0, .2); |
| 48 } |
| 49 |
| 50 .CodeMirror .addition .cm-double:not(.CodeMirror-selectedtext), -theme-preserve
{ |
| 51 background-color: hsla(144,55%,49%,.3); |
| 52 } |
| 53 |
| 54 .CodeMirror .deletion .cm-double:not(.CodeMirror-selectedtext), -theme-preserve
{ |
| 55 background-color: rgba(255, 0, 0, .3); |
| 56 } |
| 57 |
| 58 .changes-toolbar { |
| 59 display: flex; |
| 60 flex: 0 0 27px; |
| 61 background-color: #f3f3f3; |
| 62 border-top: 1px solid #dadada; |
| 63 overflow: hidden; |
| 64 z-index: 1; |
| 65 } |
| OLD | NEW |