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 | |
| 16 :focus.selected { | |
| 17 background-color: rgb(56, 121, 217); | |
| 18 color: #FFF; | |
| 19 } | |
| 20 | |
| 21 .diff-area { | |
|
lushnikov
2017/03/28 03:32:10
can we put it inside insertion-point-main?
einbinder
2017/03/28 23:51:04
Yep
| |
| 22 flex-grow: 1; | |
| 23 z-index: 0; | |
| 24 display: flex; | |
| 25 } | |
| 26 | |
| 27 .CodeMirror-lines:not(:active) { | |
| 28 cursor: default !important; | |
| 29 } | |
| 30 | |
| 31 .CodeMirror-line:hover { | |
| 32 cursor: default !important; | |
| 33 background-color: rgba(0,0,255,0.05); | |
|
lushnikov
2017/03/28 03:32:10
nit: spaces are missing after commas
einbinder
2017/03/28 23:51:04
Done.
| |
| 34 } | |
| 35 | |
| 36 .CodeMirror .CodeMirror-linebackground.spacer { | |
| 37 text-align: center; | |
| 38 color: rgba(0,0,0,0.5); | |
| 39 background-color: rgba(0,0,255,0.1) | |
| 40 } | |
| 41 | |
| 42 .CodeMirror .equal > span > span { | |
| 43 opacity: .5; | |
| 44 } | |
| 45 | |
| 46 .CodeMirror .CodeMirror-selectedtext:not(.CodeMirror-persist-highlight) { | |
| 47 opacity: 1.0; | |
| 48 } | |
| 49 | |
| 50 .CodeMirror .CodeMirror-linebackground.addition, -theme-preserve { | |
| 51 background-color: hsla(144,55%,49%,.2); | |
|
lushnikov
2017/03/28 03:32:10
ditto
einbinder
2017/03/28 23:51:04
Done.
| |
| 52 } | |
| 53 | |
| 54 .CodeMirror .CodeMirror-linebackground.deletion, -theme-preserve { | |
| 55 background-color: rgba(255, 0, 0, .2); | |
| 56 } | |
| 57 | |
| 58 .CodeMirror .addition .cm-inner-diff:not(.CodeMirror-selectedtext), -theme-prese rve { | |
| 59 background-color: hsla(144,55%,49%,.3); | |
|
lushnikov
2017/03/28 03:32:10
ditto
einbinder
2017/03/28 23:51:04
Done.
| |
| 60 } | |
| 61 | |
| 62 .CodeMirror .deletion .cm-inner-diff:not(.CodeMirror-selectedtext), -theme-prese rve { | |
| 63 background-color: rgba(255, 0, 0, .3); | |
| 64 } | |
| 65 | |
| 66 .changes-toolbar { | |
|
lushnikov
2017/03/28 03:32:10
I don't think you need this whole rule
einbinder
2017/03/28 23:51:04
Yep
| |
| 67 display: flex; | |
| 68 flex: 0 0 27px; | |
| 69 background-color: #f3f3f3; | |
| 70 border-top: 1px solid #dadada; | |
| 71 overflow: hidden; | |
| 72 z-index: 1; | |
|
lushnikov
2017/03/28 03:32:10
do we need this?
einbinder
2017/03/28 23:51:04
no
| |
| 73 } | |
| OLD | NEW |