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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/console/consoleView.css

Issue 2331053002: DevTools: Implement the console prompt with CodeMirror (Closed)
Patch Set: Copyright Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 padding: 2px 0; 50 padding: 2px 0;
51 overflow-y: auto; 51 overflow-y: auto;
52 word-wrap: break-word; 52 word-wrap: break-word;
53 -webkit-user-select: text; 53 -webkit-user-select: text;
54 transform: translateZ(0); 54 transform: translateZ(0);
55 } 55 }
56 56
57 #console-prompt { 57 #console-prompt {
58 clear: right; 58 clear: right;
59 position: relative; 59 position: relative;
60 padding: 3px 22px 1px 0; 60 margin: 0 22px 0 20px;
61 margin-left: 24px;
62 min-height: 18px; /* Sync with ConsoleViewMessage.js */ 61 min-height: 18px; /* Sync with ConsoleViewMessage.js */
63 white-space: pre-wrap; 62 }
64 -webkit-user-modify: read-write-plaintext-only; 63
64 #console-prompt .CodeMirror{
dgozman 2016/09/14 21:20:17 space before {
65 padding: 3px 0 1px 0;
66 }
67
68 #console-prompt .CodeMirror-line {
69 padding-top:0;
dgozman 2016/09/14 21:20:17 space after :
70 }
71
72 #console-prompt .CodeMirror-lines {
73 padding-top:0;
dgozman 2016/09/14 21:20:17 ditto
65 } 74 }
66 75
67 #console-prompt::before { 76 #console-prompt::before {
68 background-position: -20px -20px; 77 background-position: -20px -20px;
78 margin-left:4px;
dgozman 2016/09/14 21:20:17 ditto
einbinder 2016/09/15 00:14:09 Fixed all.
69 } 79 }
70 80
71 .console-log-level .console-user-command-result::before { 81 .console-log-level .console-user-command-result::before {
72 background-position: -40px -20px; 82 background-position: -40px -20px;
73 } 83 }
74 84
75 .console-message, 85 .console-message,
76 .console-user-command { 86 .console-user-command {
77 clear: right; 87 clear: right;
78 position: relative; 88 position: relative;
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 475
466 @media (-webkit-min-device-pixel-ratio: 1.1) { 476 @media (-webkit-min-device-pixel-ratio: 1.1) {
467 .console-message-stack-trace-triangle { 477 .console-message-stack-trace-triangle {
468 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png); 478 -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);
469 } 479 }
470 } /* media */ 480 } /* media */
471 481
472 .console-message-stack-trace-toggle.expanded .console-message-stack-trace-triang le { 482 .console-message-stack-trace-toggle.expanded .console-message-stack-trace-triang le {
473 -webkit-mask-position: -20px -96px; 483 -webkit-mask-position: -20px -96px;
474 } 484 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698