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

Side by Side Diff: chrome/browser/resources/inspect/inspect.css

Issue 2248133002: [DevTools] Add UI for adding remote targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 * { 5 * {
6 box-sizing: border-box; 6 box-sizing: border-box;
7 } 7 }
8 8
9 body { 9 body {
10 color: rgb(48, 57, 66); 10 color: rgb(48, 57, 66);
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 align-items: center; 275 align-items: center;
276 border-bottom: 1px solid #eee; 276 border-bottom: 1px solid #eee;
277 display: flex; 277 display: flex;
278 padding: 5px 0; 278 padding: 5px 0;
279 } 279 }
280 280
281 #device-settings button { 281 #device-settings button {
282 margin-left: 15px; 282 margin-left: 15px;
283 } 283 }
284 284
285 #port-forwarding-config::backdrop { 285 dialog.config::backdrop {
286 background-color: rgba(255, 255, 255, 0.75); 286 background-color: rgba(255, 255, 255, 0.75);
287 } 287 }
288 288
289 #port-forwarding-config { 289 dialog.config {
290 background: white; 290 background: white;
291 border: 0; 291 border: 0;
292 border-radius: 3px; 292 border-radius: 3px;
293 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15); 293 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15);
294 color: #333; 294 color: #333;
295 padding: 17px 17px 12px; 295 padding: 17px 17px 12px;
296 position: relative; 296 position: relative;
297 } 297 }
298 298
299 #port-forwarding-enable { 299 #port-forwarding-enable {
300 vertical-align: middle; 300 vertical-align: middle;
301 } 301 }
302 302
303 .close-button { 303 .close-button {
304 background-image: url(chrome://theme/IDR_CLOSE_DIALOG); 304 background-image: url(chrome://theme/IDR_CLOSE_DIALOG);
305 height: 14px; 305 height: 14px;
306 width: 14px; 306 width: 14px;
307 } 307 }
308 308
309 .close-button:active { 309 .close-button:active {
310 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P); 310 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
311 } 311 }
312 312
313 .close-button:hover { 313 .close-button:hover {
314 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H); 314 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
315 } 315 }
316 316
317 #port-forwarding-config > .close-button { 317 dialog.config > .close-button {
318 position: absolute; 318 position: absolute;
319 right: 7px; 319 right: 7px;
320 top: 7px; 320 top: 7px;
321 } 321 }
322 322
323 #port-forwarding-config-title { 323 dialog.config > .title {
324 font-size: 130%; 324 font-size: 130%;
325 } 325 }
326 326
327 #port-forwarding-config-list { 327 dialog.config > .list {
328 border: 1px solid #eee; 328 border: 1px solid #eee;
329 height: 180px; 329 height: 180px;
330 margin-bottom: 10px; 330 margin-bottom: 10px;
331 margin-top: 10px; 331 margin-top: 10px;
332 overflow-x: hidden; 332 overflow-x: hidden;
333 } 333 }
334 334
335 .port-forwarding-pair { 335 .config-list-row {
336 -webkit-flex-direction: row; 336 -webkit-flex-direction: row;
337 display: -webkit-flex; 337 display: -webkit-flex;
338 } 338 }
339 339
340 .port-forwarding-pair:hover { 340 .config-list-row:hover {
341 background-color: #eee; 341 background-color: #eee;
342 } 342 }
343 343
344 .port-forwarding-pair.selected, 344 .config-list-row.selected,
345 .port-forwarding-pair.selected:hover { 345 .config-list-row.selected:hover {
346 background-color: #ccc; 346 background-color: #ccc;
347 } 347 }
348 348
349 .port-forwarding-pair input { 349 .config-list-row input {
350 border: 1px solid transparent; 350 border: 1px solid transparent;
351 line-height: 20px; 351 line-height: 20px;
352 margin: 4px; 352 margin: 4px;
353 min-width: 0; 353 min-width: 0;
354 padding: 0 3px; 354 padding: 0 3px;
355 } 355 }
356 356
357 .port-forwarding-pair.fresh:not(.selected) input { 357 .config-list-row.fresh:not(.selected) input {
358 border-color: #eee; 358 border-color: #eee;
359 } 359 }
360 360
361 .port-forwarding-pair input.port { 361 .config-list-row input.port {
362 width: 4em; 362 width: 4em;
363 } 363 }
364 364
365 .port-forwarding-pair input.location { 365 .config-list-row input.location {
366 -webkit-flex: 1; 366 -webkit-flex: 1;
367 width: 100%;
367 } 368 }
368 369
369 .port-forwarding-pair:not(.empty) input.invalid { 370 .config-list-row:not(.empty) input.invalid {
370 background-color: rgb(255, 200, 200); 371 background-color: rgb(255, 200, 200);
371 } 372 }
372 373
373 .port-forwarding-pair .close-button { 374 .config-list-row .close-button {
374 margin: 8px 8px; 375 margin: 8px 8px;
375 } 376 }
376 377
377 .port-forwarding-pair.fresh .close-button, 378 .config-list-row.fresh .close-button,
378 .port-forwarding-pair:not(.selected):not(:hover) .close-button:not(:hover) { 379 .config-list-row:not(.selected):not(:hover) .close-button:not(:hover) {
379 background-image: none; 380 background-image: none;
380 pointer-events: none; 381 pointer-events: none;
381 } 382 }
382 383
383 .port-forwarding-pair:not(.selected) .close-button:not(:hover) { 384 .config-list-row:not(.selected) .close-button:not(:hover) {
384 opacity: 0.5; 385 opacity: 0.5;
385 } 386 }
386 387
387 #port-forwarding-message { 388 dialog.config > .message {
388 margin-bottom: 12px; 389 margin-bottom: 12px;
389 width: 20em; 390 width: 20em;
390 } 391 }
391 392
392 #port-forwarding-config-buttons { 393 .config-buttons {
393 align-items: center; 394 align-items: center;
394 display: flex; 395 display: flex;
395 } 396 }
396 397
397 #port-forwarding-config-buttons > label { 398 dialog.port-forwarding .target-discovery {
399 display: none;
400 }
401
402 dialog.target-discovery .port-forwarding {
403 display: none;
404 }
405
406 .config-buttons > label {
398 flex-grow: 1 407 flex-grow: 1
399 } 408 }
400 409
401 @media (max-width: 47em) { 410 @media (max-width: 47em) {
402 #navigation, 411 #navigation,
403 #content { 412 #content {
404 overflow: visible; 413 overflow: visible;
405 } 414 }
406 } 415 }
407 @media (min-width: 47em) { 416 @media (min-width: 47em) {
408 #container { 417 #container {
409 height: 100vh; 418 height: 100vh;
410 } 419 }
411 #navigation, 420 #navigation,
412 #content { 421 #content {
413 height: 100vh; 422 height: 100vh;
414 overflow: auto; 423 overflow: auto;
415 } 424 }
416 } 425 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/inspect/inspect.html » ('j') | chrome/browser/resources/inspect/inspect.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698