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

Side by Side Diff: Source/devtools/front_end/inspector.css

Issue 152493003: Remove all usage of -webkit-*gradient inside blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 72 }
73 73
74 .nowrap, 74 .nowrap,
75 .nowrap-below, 75 .nowrap-below,
76 .nowrap-below div, 76 .nowrap-below div,
77 .nowrap-below span { 77 .nowrap-below span {
78 white-space: nowrap !important; 78 white-space: nowrap !important;
79 } 79 }
80 80
81 .toolbar-background { 81 .toolbar-background {
82 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 91, 191, 191)), to(rgb(151, 151, 151))); 82 background-image: linear-gradient(to bottom, rgb(191, 191, 191), rgb(151, 15 1, 151));
83 padding: 1px 0 0 1px; 83 padding: 1px 0 0 1px;
84 border-bottom: 1px solid rgb(80, 80, 80); 84 border-bottom: 1px solid rgb(80, 80, 80);
85 background-origin: padding-box; 85 background-origin: padding-box;
86 background-clip: padding-box; 86 background-clip: padding-box;
87 } 87 }
88 88
89 .toolbar { 89 .toolbar {
90 flex: 0 0 25px; 90 flex: 0 0 25px;
91 display: flex; 91 display: flex;
92 flex-direction: row; 92 flex-direction: row;
(...skipping 25 matching lines...) Expand all
118 } 118 }
119 119
120 button, 120 button,
121 input, 121 input,
122 select { 122 select {
123 font-family: inherit; 123 font-family: inherit;
124 font-size: inherit; 124 font-size: inherit;
125 } 125 }
126 126
127 body.inactive .toolbar-background { 127 body.inactive .toolbar-background {
128 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 33, 233, 233)), to(rgb(207, 207, 207))); 128 background-image: linear-gradient(to bottom, rgb(233, 233, 233), rgb(207, 20 7, 207));
129 border-bottom: 1px solid rgb(64%, 64%, 64%); 129 border-bottom: 1px solid rgb(64%, 64%, 64%);
130 } 130 }
131 131
132 body.dock-to-bottom .toolbar-background { 132 body.dock-to-bottom .toolbar-background {
133 padding-top: 0; 133 padding-top: 0;
134 } 134 }
135 135
136 body.dock-to-bottom .toolbar-background .tabbed-pane-header { 136 body.dock-to-bottom .toolbar-background .tabbed-pane-header {
137 cursor: ns-resize; 137 cursor: ns-resize;
138 } 138 }
139 139
140 body.dock-to-bottom .toolbar-background .tabbed-pane-header .tabbed-pane-header- tabs { 140 body.dock-to-bottom .toolbar-background .tabbed-pane-header .tabbed-pane-header- tabs {
141 cursor: default; 141 cursor: default;
142 } 142 }
143 143
144 body.platform-windows .toolbar-background, 144 body.platform-windows .toolbar-background,
145 body.platform-windows.inactive .toolbar-background { 145 body.platform-windows.inactive .toolbar-background {
146 background-image: none; 146 background-image: none;
147 } 147 }
148 148
149 body.undocked.platform-mac-leopard .toolbar-background { 149 body.undocked.platform-mac-leopard .toolbar-background {
150 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 75, 175, 175)), to(rgb(151, 151, 151))) !important; 150 background-image: linear-gradient(to bottom, rgb(175, 175, 175), rgb(151, 15 1, 151)) !important;
151 color: #333 !important; 151 color: #333 !important;
152 } 152 }
153 153
154 body.undocked.platform-mac-leopard.inactive .toolbar-background { 154 body.undocked.platform-mac-leopard.inactive .toolbar-background {
155 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 21, 221, 221)), to(rgb(207, 207, 207))) !important; 155 background-image: linear-gradient(to bottom, rgb(221, 221, 221), rgb(207, 20 7, 207)) !important;
156 color: #555 !important; 156 color: #555 !important;
157 } 157 }
158 158
159 body.undocked.platform-mac-snowleopard .toolbar-background { 159 body.undocked.platform-mac-snowleopard .toolbar-background {
160 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 89, 189, 189)), to(rgb(167, 167, 167))) !important; 160 background-image: linear-gradient(to bottom, rgb(189, 189, 189), rgb(167, 16 7, 167)) !important;
161 color: #333 !important; 161 color: #333 !important;
162 } 162 }
163 163
164 body.undocked.platform-mac-snowleopard.inactive .toolbar-background { 164 body.undocked.platform-mac-snowleopard.inactive .toolbar-background {
165 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 28, 228, 228)), to(rgb(216, 216, 216))) !important; 165 background-image: linear-gradient(to bottom, rgb(228, 228, 228), rgb(216, 21 6, 216)) !important;
166 color: #555 !important; 166 color: #555 !important;
167 } 167 }
168 168
169 body.undocked.platform-mac .toolbar-background { 169 body.undocked.platform-mac .toolbar-background {
170 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 08, 208, 208)), to(rgb(200, 200, 200))) !important; 170 background-image: linear-gradient(to bottom, rgb(208, 208, 208), rgb(200, 20 0, 200)) !important;
171 color: #333 !important; 171 color: #333 !important;
172 } 172 }
173 173
174 body.undocked.platform-mac.inactive .toolbar-background { 174 body.undocked.platform-mac.inactive .toolbar-background {
175 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 38, 238, 238)), to(rgb(224, 224, 224))) !important; 175 background-image: linear-gradient(to bottom, rgb(238, 238, 238), rgb(224, 22 4, 224)) !important;
176 color: #555 !important; 176 color: #555 !important;
177 } 177 }
178 178
179 .toolbar > .tabbed-pane-header { 179 .toolbar > .tabbed-pane-header {
180 flex: auto; 180 flex: auto;
181 } 181 }
182 182
183 .toolbar-controls-left { 183 .toolbar-controls-left {
184 flex: none; 184 flex: none;
185 opacity: 0.8; 185 opacity: 0.8;
(...skipping 26 matching lines...) Expand all
212 .scrollable-content::-webkit-scrollbar { 212 .scrollable-content::-webkit-scrollbar {
213 width: 11px; 213 width: 11px;
214 } 214 }
215 215
216 .scrollable-content::-webkit-scrollbar-corner, 216 .scrollable-content::-webkit-scrollbar-corner,
217 .scrollable-content::-webkit-resizer { 217 .scrollable-content::-webkit-resizer {
218 display: none; 218 display: none;
219 } 219 }
220 220
221 .scrollable-content::-webkit-scrollbar-thumb:vertical { 221 .scrollable-content::-webkit-scrollbar-thumb:vertical {
222 background: -webkit-gradient(linear, left top, right top, from(rgb(192, 192, 192)), to(rgb(192, 192, 192)), color-stop(40%, rgb(214, 214, 214))); 222 background: linear-gradient(to right, rgb(192, 192, 192), rgb(214, 214, 214) 40%, rgb(192, 192, 192));
223 border-radius: 5px; 223 border-radius: 5px;
224 min-height: 20px; 224 min-height: 20px;
225 } 225 }
226 226
227 .scrollable-content::-webkit-scrollbar-thumb:vertical:hover, 227 .scrollable-content::-webkit-scrollbar-thumb:vertical:hover,
228 .scrollable-content::-webkit-scrollbar-thumb:vertical:active { 228 .scrollable-content::-webkit-scrollbar-thumb:vertical:active {
229 background: -webkit-gradient(linear, left top, right top, from(rgb(230, 230, 230)), to(rgb(230, 230, 230)), color-stop(40%, rgb(252, 252, 252))); 229 background: linear-gradient(to right, rgb(230, 230, 230), rgb(252, 252, 252) 40%, rgb(230, 230, 230));
230 } 230 }
231 231
232 .scrollable-content::-webkit-scrollbar-track:vertical { 232 .scrollable-content::-webkit-scrollbar-track:vertical {
233 background: -webkit-gradient(linear, left top, right top, from(rgb(128, 128, 128)), to(rgb(164, 164, 164)), color-stop(25%, rgb(164, 164, 164))); 233 background: linear-gradient(to right, rgb(128, 128, 128), rgb(164, 164, 164) 25%, rgb(164, 164, 164));
234 border-radius: 5px; 234 border-radius: 5px;
235 } 235 }
236 236
237 .search-replace { 237 .search-replace {
238 -webkit-appearance: none; 238 -webkit-appearance: none;
239 border: 0; 239 border: 0;
240 padding: 0 2px; 240 padding: 0 2px;
241 margin: 0; 241 margin: 0;
242 -webkit-flex: 1; 242 -webkit-flex: 1;
243 } 243 }
244 244
245 .search-replace:focus { 245 .search-replace:focus {
246 outline: none; 246 outline: none;
247 } 247 }
248 248
249 .toolbar-search { 249 .toolbar-search {
250 border-spacing: 1px; 250 border-spacing: 1px;
251 } 251 }
252 252
253 .toolbar-search td { 253 .toolbar-search td {
254 padding: 0 5px 0 0; 254 padding: 0 5px 0 0;
255 } 255 }
256 256
257 .toolbar-search-navigation-controls { 257 .toolbar-search-navigation-controls {
258 vertical-align: top; 258 vertical-align: top;
259 background-image: -webkit-linear-gradient(rgb(228, 228, 228), rgb(206, 206, 206)); 259 background-image: linear-gradient(rgb(228, 228, 228), rgb(206, 206, 206));
260 } 260 }
261 261
262 .toolbar-search-navigation { 262 .toolbar-search-navigation {
263 display: inline-block; 263 display: inline-block;
264 width: 18px; 264 width: 18px;
265 height: 18px; 265 height: 18px;
266 background-repeat: no-repeat; 266 background-repeat: no-repeat;
267 background-position: 4px 7px; 267 background-position: 4px 7px;
268 border-left: 1px solid rgb(170, 170, 170); 268 border-left: 1px solid rgb(170, 170, 170);
269 opacity: 0.3; 269 opacity: 0.3;
(...skipping 11 matching lines...) Expand all
281 position: relative; 281 position: relative;
282 margin-top: -1px; 282 margin-top: -1px;
283 margin-left: 15px; 283 margin-left: 15px;
284 top: 2px; 284 top: 2px;
285 } 285 }
286 286
287 .toolbar-search button { 287 .toolbar-search button {
288 border: 1px solid rgb(163, 163, 163); 288 border: 1px solid rgb(163, 163, 163);
289 border-radius: 8px; 289 border-radius: 8px;
290 margin: 0; 290 margin: 0;
291 background-image: -webkit-linear-gradient(rgb(241, 241, 241), rgb(220, 220, 220)); 291 background-image: linear-gradient(rgb(241, 241, 241), rgb(220, 220, 220));
292 width: 100%; 292 width: 100%;
293 height: 20px; 293 height: 20px;
294 } 294 }
295 295
296 .toolbar-search button:active { 296 .toolbar-search button:active {
297 background-image: -webkit-linear-gradient(rgb(185, 185, 185), rgb(156, 156, 156)); 297 background-image: linear-gradient(rgb(185, 185, 185), rgb(156, 156, 156));
298 } 298 }
299 299
300 .toolbar-search-control { 300 .toolbar-search-control {
301 display: -webkit-flex; 301 display: -webkit-flex;
302 width: 253px; 302 width: 253px;
303 position: relative; 303 position: relative;
304 background-color: white; 304 background-color: white;
305 border: 1px solid rgb(163, 163, 163); 305 border: 1px solid rgb(163, 163, 163);
306 height: 20px; 306 height: 20px;
307 border-radius: 2px; 307 border-radius: 2px;
308 } 308 }
309 309
310 .toolbar-replace-control { 310 .toolbar-replace-control {
311 border: 1px solid rgb(163, 163, 163); 311 border: 1px solid rgb(163, 163, 163);
312 height: 20px; 312 height: 20px;
313 border-radius: 2px; 313 border-radius: 2px;
314 width: 100%; 314 width: 100%;
315 } 315 }
316 316
317 .toolbar-search-navigation.enabled:active { 317 .toolbar-search-navigation.enabled:active {
318 background-position: 4px 7px, 0 0; 318 background-position: 4px 7px, 0 0;
319 } 319 }
320 320
321 .toolbar-search-navigation.toolbar-search-navigation-prev { 321 .toolbar-search-navigation.toolbar-search-navigation-prev {
322 background-image: url(Images/searchPrev.png); 322 background-image: url(Images/searchPrev.png);
323 border-left: 1px solid rgb(163, 163, 163); 323 border-left: 1px solid rgb(163, 163, 163);
324 } 324 }
325 325
326 .toolbar-search-navigation.toolbar-search-navigation-prev.enabled:active { 326 .toolbar-search-navigation.toolbar-search-navigation-prev.enabled:active {
327 background-image: url(Images/searchPrev.png), -webkit-linear-gradient(rgb(16 8, 168, 168), rgb(116, 116, 116)); 327 background-image: url(Images/searchPrev.png), linear-gradient(rgb(168, 168, 168), rgb(116, 116, 116));
328 } 328 }
329 329
330 .toolbar-search-navigation.toolbar-search-navigation-next { 330 .toolbar-search-navigation.toolbar-search-navigation-next {
331 background-image: url(Images/searchNext.png); 331 background-image: url(Images/searchNext.png);
332 border-left: 1px solid rgb(230, 230, 230); 332 border-left: 1px solid rgb(230, 230, 230);
333 } 333 }
334 334
335 .toolbar-search-navigation.toolbar-search-navigation-next.enabled:active { 335 .toolbar-search-navigation.toolbar-search-navigation-next.enabled:active {
336 background-image: url(Images/searchNext.png), -webkit-linear-gradient(rgb(16 8, 168, 168), rgb(116, 116, 116)); 336 background-image: url(Images/searchNext.png), linear-gradient(rgb(168, 168, 168), rgb(116, 116, 116));
337 } 337 }
338 338
339 .search-results-matches { 339 .search-results-matches {
340 display: inline-block; 340 display: inline-block;
341 min-height: 10px; 341 min-height: 10px;
342 text-align: right; 342 text-align: right;
343 font-size: 11px; 343 font-size: 11px;
344 padding: 1px 4px; 344 padding: 1px 4px;
345 color: rgb(165, 165, 165); 345 color: rgb(165, 165, 165);
346 } 346 }
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 min-height: 18px; 1395 min-height: 18px;
1396 white-space: nowrap; 1396 white-space: nowrap;
1397 } 1397 }
1398 1398
1399 .placard:nth-of-type(2n) { 1399 .placard:nth-of-type(2n) {
1400 background-color: rgb(234, 243, 255); 1400 background-color: rgb(234, 243, 255);
1401 } 1401 }
1402 1402
1403 .placard.selected { 1403 .placard.selected {
1404 border-top: 1px solid rgb(172, 172, 172); 1404 border-top: 1px solid rgb(172, 172, 172);
1405 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 82, 182, 182)), to(rgb(162, 162, 162))); 1405 background-image: linear-gradient(to bottom, rgb(182, 182, 182), rgb(162, 16 2, 162));
1406 background-origin: padding-box; 1406 background-origin: padding-box;
1407 background-clip: padding-box; 1407 background-clip: padding-box;
1408 } 1408 }
1409 1409
1410 :focus .placard.selected { 1410 :focus .placard.selected {
1411 border-top: 1px solid rgb(70, 103, 215); 1411 border-top: 1px solid rgb(70, 103, 215);
1412 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(9 2, 147, 213)), to(rgb(56, 121, 217))); 1412 background-image: linear-gradient(to bottom, rgb(92, 147, 213), rgb(56, 121, 217));
1413 } 1413 }
1414 1414
1415 .placard .title { 1415 .placard .title {
1416 font-weight: normal; 1416 font-weight: normal;
1417 word-wrap: break-word; 1417 word-wrap: break-word;
1418 white-space: normal; 1418 white-space: normal;
1419 } 1419 }
1420 1420
1421 .placard.selected .title { 1421 .placard.selected .title {
1422 color: white; 1422 color: white;
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 1790
1791 body.inactive .sidebar { 1791 body.inactive .sidebar {
1792 background-color: rgb(232, 232, 232); 1792 background-color: rgb(232, 232, 232);
1793 } 1793 }
1794 1794
1795 .pane-title-button { 1795 .pane-title-button {
1796 color: rgb(6, 6, 6); 1796 color: rgb(6, 6, 6);
1797 background-color: transparent; 1797 background-color: transparent;
1798 border: 1px solid rgb(165, 165, 165); 1798 border: 1px solid rgb(165, 165, 165);
1799 background-color: rgb(237, 237, 237); 1799 background-color: rgb(237, 237, 237);
1800 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 52, 252, 252)), to(rgb(223, 223, 223))); 1800 background-image: linear-gradient(to bottom, rgb(252, 252, 252), rgb(223, 22 3, 223));
1801 border-radius: 12px; 1801 border-radius: 12px;
1802 -webkit-appearance: none; 1802 -webkit-appearance: none;
1803 } 1803 }
1804 1804
1805 .pane-title-button:active { 1805 .pane-title-button:active {
1806 background-color: rgb(215, 215, 215); 1806 background-color: rgb(215, 215, 215);
1807 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 94, 194, 194)), to(rgb(239, 239, 239))); 1807 background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 23 9, 239));
1808 } 1808 }
1809 1809
1810 button.show-all-nodes { 1810 button.show-all-nodes {
1811 font-size: 13px; 1811 font-size: 13px;
1812 margin: 0; 1812 margin: 0;
1813 padding: 0 20px; 1813 padding: 0 20px;
1814 height: 20px; 1814 height: 20px;
1815 color: rgb(6, 6, 6); 1815 color: rgb(6, 6, 6);
1816 background-color: transparent; 1816 background-color: transparent;
1817 border: 1px solid rgb(165, 165, 165); 1817 border: 1px solid rgb(165, 165, 165);
1818 background-color: rgb(237, 237, 237); 1818 background-color: rgb(237, 237, 237);
1819 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 52, 252, 252)), to(rgb(223, 223, 223))); 1819 background-image: linear-gradient(to bottom, rgb(252, 252, 252), rgb(223, 22 3, 223));
1820 border-radius: 12px; 1820 border-radius: 12px;
1821 -webkit-appearance: none; 1821 -webkit-appearance: none;
1822 } 1822 }
1823 1823
1824 body.inactive button.show-all-nodes { 1824 body.inactive button.show-all-nodes {
1825 color: rgb(130, 130, 130); 1825 color: rgb(130, 130, 130);
1826 border-color: rgb(212, 212, 212); 1826 border-color: rgb(212, 212, 212);
1827 background-color: rgb(239, 239, 239); 1827 background-color: rgb(239, 239, 239);
1828 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(2 50, 250, 250)), to(rgb(235, 235, 235))); 1828 background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(235, 23 5, 235));
1829 } 1829 }
1830 1830
1831 button.show-all-nodes:active { 1831 button.show-all-nodes:active {
1832 background-color: rgb(215, 215, 215); 1832 background-color: rgb(215, 215, 215);
1833 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 94, 194, 194)), to(rgb(239, 239, 239))); 1833 background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 23 9, 239));
1834 } 1834 }
1835 1835
1836 button.enable-toggle-status-bar-item .glyph { 1836 button.enable-toggle-status-bar-item .glyph {
1837 -webkit-mask-position: -192px 0; 1837 -webkit-mask-position: -192px 0;
1838 } 1838 }
1839 1839
1840 button.enable-toggle-status-bar-item.toggled-on .glyph { 1840 button.enable-toggle-status-bar-item.toggled-on .glyph {
1841 -webkit-mask-position: -96px -24px; 1841 -webkit-mask-position: -96px -24px;
1842 } 1842 }
1843 1843
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 .soft-context-menu-item-mouse-over { 2382 .soft-context-menu-item-mouse-over {
2383 border-top: 1px solid rgb(56, 121, 217); 2383 border-top: 1px solid rgb(56, 121, 217);
2384 border-bottom: 1px solid rgb(56, 121, 217); 2384 border-bottom: 1px solid rgb(56, 121, 217);
2385 background-color: rgb(56, 121, 217); 2385 background-color: rgb(56, 121, 217);
2386 color: white; 2386 color: white;
2387 } 2387 }
2388 2388
2389 body.platform-mac .soft-context-menu-item-mouse-over { 2389 body.platform-mac .soft-context-menu-item-mouse-over {
2390 border-top: 1px solid rgb(90, 131, 236); 2390 border-top: 1px solid rgb(90, 131, 236);
2391 border-bottom: 1px solid rgb(18, 88, 233); 2391 border-bottom: 1px solid rgb(18, 88, 233);
2392 background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(1 00, 140, 243)), to(rgb(36, 101, 243))); 2392 background-image: linear-gradient(to bottom, rgb(100, 140, 243), rgb(36, 101 , 243));
2393 } 2393 }
2394 2394
2395 .soft-context-menu-item-checkmark { 2395 .soft-context-menu-item-checkmark {
2396 color: rgb(108, 108, 108); 2396 color: rgb(108, 108, 108);
2397 pointer-events: none; 2397 pointer-events: none;
2398 } 2398 }
2399 2399
2400 .soft-context-menu-item-submenu-arrow { 2400 .soft-context-menu-item-submenu-arrow {
2401 color: #222; 2401 color: #222;
2402 float: right; 2402 float: right;
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
2822 padding-left: 2px; 2822 padding-left: 2px;
2823 } 2823 }
2824 2824
2825 body.undocked .toolbar-close-button-item { 2825 body.undocked .toolbar-close-button-item {
2826 display: none; 2826 display: none;
2827 } 2827 }
2828 2828
2829 #inspector-split-view > .split-view-sidebar { 2829 #inspector-split-view > .split-view-sidebar {
2830 position: relative; 2830 position: relative;
2831 } 2831 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698