Chromium Code Reviews| 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 .insertion-point-main{ | |
| 7 position: relative; | |
| 8 display: flex; | |
| 9 flex-direction: column; | |
| 10 } | |
| 11 | |
| 12 .insertion-point-sidebar { | |
| 13 overflow: auto; | |
| 14 } | |
| 15 | |
|
luoe
2017/03/23 21:59:59
nit: extra line
| |
| 16 | |
| 17 :focus.selected { | |
| 18 background-color: rgb(56, 121, 217); | |
| 19 color: #FFF; | |
| 20 } | |
| 21 | |
| 22 .diff-area { | |
| 23 flex-grow: 1; | |
| 24 z-index: 0; | |
| 25 display: flex; | |
| 26 } | |
| 27 | |
| 28 .CodeMirror-lines:not(:active) { | |
| 29 cursor: default !important; | |
| 30 } | |
| 31 | |
| 32 .CodeMirror-line:hover { | |
| 33 cursor: default !important; | |
| 34 background-color: rgba(0,0,255,0.05); | |
| 35 } | |
| 36 | |
| 37 .CodeMirror .CodeMirror-linebackground.spacer { | |
| 38 text-align: center; | |
| 39 color: rgba(0,0,0,0.5); | |
| 40 background-color: rgba(0,0,255,0.1) | |
| 41 } | |
| 42 | |
| 43 .CodeMirror .equal > span > span { | |
| 44 opacity: .5; | |
| 45 } | |
| 46 | |
| 47 .CodeMirror .CodeMirror-selectedtext:not(.CodeMirror-persist-highlight) { | |
| 48 opacity: 1.0; | |
| 49 } | |
| 50 | |
| 51 .CodeMirror .CodeMirror-linebackground.addition, -theme-preserve { | |
| 52 background-color: hsla(144,55%,49%,.2); | |
| 53 } | |
| 54 | |
| 55 .CodeMirror .CodeMirror-linebackground.deletion, -theme-preserve { | |
| 56 background-color: rgba(255, 0, 0, .2); | |
| 57 } | |
| 58 | |
| 59 .CodeMirror .addition .cm-double:not(.CodeMirror-selectedtext), -theme-preserve { | |
| 60 background-color: hsla(144,55%,49%,.3); | |
| 61 } | |
| 62 | |
| 63 .CodeMirror .deletion .cm-double:not(.CodeMirror-selectedtext), -theme-preserve { | |
| 64 background-color: rgba(255, 0, 0, .3); | |
| 65 } | |
| 66 | |
| 67 .changes-toolbar { | |
| 68 display: flex; | |
| 69 flex: 0 0 27px; | |
| 70 background-color: #f3f3f3; | |
| 71 border-top: 1px solid #dadada; | |
| 72 overflow: hidden; | |
| 73 z-index: 1; | |
| 74 } | |
| OLD | NEW |