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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css

Issue 2128093004: DevTools: Add color swatches to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline color swatches Created 4 years, 5 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 } 136 }
137 137
138 .diff-entry-delete .CodeMirror-gutter-wrapper { 138 .diff-entry-delete .CodeMirror-gutter-wrapper {
139 border-bottom: 2px solid #D32F2F; 139 border-bottom: 2px solid #D32F2F;
140 } 140 }
141 141
142 .CodeMirror-gutter-diff { 142 .CodeMirror-gutter-diff {
143 width: 4px; 143 width: 4px;
144 } 144 }
145 145
146 /* Don't show text associated with color swatch */
147 [is="color-swatch"] > span {
lushnikov 2016/07/12 03:48:02 a better way would be adding an API to the ColorSw
flandy 2016/07/12 21:17:15 Done.
148 display: none;
149 }
150
146 .highlight-line-modification { 151 .highlight-line-modification {
147 animation: source-line-modification-background-fadeout 0.4s 0s; 152 animation: source-line-modification-background-fadeout 0.4s 0s;
148 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 153 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
149 } 154 }
150 155
151 .highlight-line-modification span { 156 .highlight-line-modification span {
152 animation: source-line-modification-foreground-fadeout 0.4s 0s; 157 animation: source-line-modification-foreground-fadeout 0.4s 0s;
153 animation-timing-function: cubic-bezier(0, 0, 0.2, 1); 158 animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
154 } 159 }
155 160
156 @keyframes source-line-modification-background-fadeout { 161 @keyframes source-line-modification-background-fadeout {
157 from { background-color: rgba(158, 54, 153, 0.5); } 162 from { background-color: rgba(158, 54, 153, 0.5); }
158 50% { background-color: rgba(158, 54, 153, 0.5); } 163 50% { background-color: rgba(158, 54, 153, 0.5); }
159 90% { background-color: rgba(158, 54, 153, 0); } 164 90% { background-color: rgba(158, 54, 153, 0); }
160 to { background-color: transparent; } 165 to { background-color: transparent; }
161 } 166 }
162 167
163 @keyframes source-line-modification-foreground-fadeout { 168 @keyframes source-line-modification-foreground-fadeout {
164 from { color: white; } 169 from { color: white; }
165 50% { color: white; } 170 50% { color: white; }
166 90% { color: intial; } 171 90% { color: intial; }
167 to { color: intial; } 172 to { color: intial; }
168 } 173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698