Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .elements-disclosure { | 7 .elements-disclosure { |
| 8 width: 100%; | 8 width: 100%; |
| 9 display: inline-block; | 9 display: inline-block; |
| 10 line-height: normal; | 10 line-height: normal; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 177 .CodeMirror pre { | 177 .CodeMirror pre { |
| 178 padding: 0; | 178 padding: 0; |
| 179 } | 179 } |
| 180 | 180 |
| 181 button, input, select { | 181 button, input, select { |
| 182 font-family: inherit; | 182 font-family: inherit; |
| 183 font-size: inherit; | 183 font-size: inherit; |
| 184 } | 184 } |
| 185 | 185 |
| 186 .editing { | 186 .editing { |
| 187 -webkit-user-select: text; | |
|
Xiaocheng
2017/05/02 21:03:26
Is this relevant?
einbinder
2017/05/04 00:56:25
The text is selectable once the contenteditable at
| |
| 188 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), | 187 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), |
| 189 0 2px 4px rgba(0, 0, 0, 0.2), | 188 0 2px 4px rgba(0, 0, 0, 0.2), |
| 190 0 2px 6px rgba(0, 0, 0, 0.1); | 189 0 2px 6px rgba(0, 0, 0, 0.1); |
| 191 background-color: white; | 190 background-color: white; |
| 192 -webkit-user-modify: read-write-plaintext-only; | |
| 193 text-overflow: clip !important; | 191 text-overflow: clip !important; |
| 194 padding-left: 2px; | 192 padding-left: 2px; |
| 195 margin-left: -2px; | 193 margin-left: -2px; |
| 196 padding-right: 2px; | 194 padding-right: 2px; |
| 197 margin-right: -2px; | 195 margin-right: -2px; |
| 198 margin-bottom: -1px; | 196 margin-bottom: -1px; |
| 199 padding-bottom: 1px; | 197 padding-bottom: 1px; |
| 200 opacity: 1.0 !important; | 198 opacity: 1.0 !important; |
| 201 } | 199 } |
| 202 | 200 |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 348 border-color: hsla(0,0%,0%,0.1); | 346 border-color: hsla(0,0%,0%,0.1); |
| 349 } | 347 } |
| 350 | 348 |
| 351 .elements-tree-outline ol.shadow-root { | 349 .elements-tree-outline ol.shadow-root { |
| 352 border-color: hsla(0,0%,80%,1); | 350 border-color: hsla(0,0%,80%,1); |
| 353 } | 351 } |
| 354 | 352 |
| 355 li.selected:not(.always-parent) + ol.children { | 353 li.selected:not(.always-parent) + ol.children { |
| 356 border-color: hsla(216,68%,80%,1) !important; | 354 border-color: hsla(216,68%,80%,1) !important; |
| 357 } | 355 } |
| OLD | NEW |