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

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: [DevTools] Add UI for adding remote targets 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
« no previous file with comments | « no previous file | chrome/browser/resources/inspect/inspect.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 -webkit-transition: border-color 200ms; 265 -webkit-transition: border-color 200ms;
266 border-color: rgb(77, 144, 254); 266 border-color: rgb(77, 144, 254);
267 outline: none; 267 outline: none;
268 } 268 }
269 269
270 .open > button { 270 .open > button {
271 line-height: 13px; 271 line-height: 13px;
272 } 272 }
273 273
274 #device-settings { 274 #device-settings {
275 align-items: center;
276 border-bottom: 1px solid #eee; 275 border-bottom: 1px solid #eee;
277 display: flex;
278 padding: 5px 0; 276 padding: 5px 0;
279 } 277 }
280 278
281 #device-settings button { 279 .settings-bar {
282 margin-left: 15px; 280 padding: 5px 0 5px 0;
283 } 281 }
284 282
285 #port-forwarding-config::backdrop { 283 .settings-bar label {
284 display: inline-block;
285 width: 30ex;
286 }
287
288 dialog.config::backdrop {
286 background-color: rgba(255, 255, 255, 0.75); 289 background-color: rgba(255, 255, 255, 0.75);
287 } 290 }
288 291
289 #port-forwarding-config { 292 dialog.config {
290 background: white; 293 background: white;
291 border: 0; 294 border: 0;
292 border-radius: 3px; 295 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); 296 box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0,0,0,0.15);
294 color: #333; 297 color: #333;
295 padding: 17px 17px 12px; 298 padding: 17px 17px 12px;
296 position: relative; 299 position: relative;
297 } 300 }
298 301
299 #port-forwarding-enable { 302 #port-forwarding-enable {
300 vertical-align: middle; 303 vertical-align: middle;
301 } 304 }
302 305
303 .close-button { 306 .close-button {
304 background-image: url(chrome://theme/IDR_CLOSE_DIALOG); 307 background-image: url(chrome://theme/IDR_CLOSE_DIALOG);
305 height: 14px; 308 height: 14px;
306 width: 14px; 309 width: 14px;
307 } 310 }
308 311
309 .close-button:active { 312 .close-button:active {
310 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P); 313 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
311 } 314 }
312 315
313 .close-button:hover { 316 .close-button:hover {
314 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H); 317 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
315 } 318 }
316 319
317 #port-forwarding-config > .close-button { 320 dialog.config > .close-button {
318 position: absolute; 321 position: absolute;
319 right: 7px; 322 right: 7px;
320 top: 7px; 323 top: 7px;
321 } 324 }
322 325
323 #port-forwarding-config-title { 326 dialog.config > .title {
324 font-size: 130%; 327 font-size: 130%;
325 } 328 }
326 329
327 #port-forwarding-config-list { 330 dialog.config > .list {
328 border: 1px solid #eee; 331 border: 1px solid #eee;
329 height: 180px; 332 height: 180px;
330 margin-bottom: 10px; 333 margin-bottom: 10px;
331 margin-top: 10px; 334 margin-top: 10px;
332 overflow-x: hidden; 335 overflow-x: hidden;
333 } 336 }
334 337
335 .port-forwarding-pair { 338 .config-list-row {
336 -webkit-flex-direction: row; 339 -webkit-flex-direction: row;
337 display: -webkit-flex; 340 display: -webkit-flex;
338 } 341 }
339 342
340 .port-forwarding-pair:hover { 343 .config-list-row:hover {
341 background-color: #eee; 344 background-color: #eee;
342 } 345 }
343 346
344 .port-forwarding-pair.selected, 347 .config-list-row.selected,
345 .port-forwarding-pair.selected:hover { 348 .config-list-row.selected:hover {
346 background-color: #ccc; 349 background-color: #ccc;
347 } 350 }
348 351
349 .port-forwarding-pair input { 352 .config-list-row input {
350 border: 1px solid transparent; 353 border: 1px solid transparent;
351 line-height: 20px; 354 line-height: 20px;
352 margin: 4px; 355 margin: 4px;
353 min-width: 0; 356 min-width: 0;
354 padding: 0 3px; 357 padding: 0 3px;
355 } 358 }
356 359
357 .port-forwarding-pair.fresh:not(.selected) input { 360 .config-list-row.fresh:not(.selected) input {
358 border-color: #eee; 361 border-color: #eee;
359 } 362 }
360 363
361 .port-forwarding-pair input.port { 364 .config-list-row input.port {
362 width: 4em; 365 width: 4em;
363 } 366 }
364 367
365 .port-forwarding-pair input.location { 368 .config-list-row input.location {
366 -webkit-flex: 1; 369 -webkit-flex: 1;
370 width: 100%;
367 } 371 }
368 372
369 .port-forwarding-pair:not(.empty) input.invalid { 373 .config-list-row:not(.empty) input.invalid {
370 background-color: rgb(255, 200, 200); 374 background-color: rgb(255, 200, 200);
371 } 375 }
372 376
373 .port-forwarding-pair .close-button { 377 .config-list-row .close-button {
374 margin: 8px 8px; 378 margin: 8px 8px;
375 } 379 }
376 380
377 .port-forwarding-pair.fresh .close-button, 381 .config-list-row.fresh .close-button,
378 .port-forwarding-pair:not(.selected):not(:hover) .close-button:not(:hover) { 382 .config-list-row:not(.selected):not(:hover) .close-button:not(:hover) {
379 background-image: none; 383 background-image: none;
380 pointer-events: none; 384 pointer-events: none;
381 } 385 }
382 386
383 .port-forwarding-pair:not(.selected) .close-button:not(:hover) { 387 .config-list-row:not(.selected) .close-button:not(:hover) {
384 opacity: 0.5; 388 opacity: 0.5;
385 } 389 }
386 390
387 #port-forwarding-message { 391 dialog.config > .message {
388 margin-bottom: 12px; 392 margin-bottom: 12px;
389 width: 20em; 393 width: 20em;
390 } 394 }
391 395
392 #port-forwarding-config-buttons { 396 .config-buttons {
393 align-items: center; 397 align-items: center;
394 display: flex; 398 display: flex;
395 } 399 }
396 400
397 #port-forwarding-config-buttons > label { 401 dialog.port-forwarding .target-discovery {
402 display: none;
403 }
404
405 dialog.target-discovery .port-forwarding {
406 display: none;
407 }
408
409 .config-buttons > label {
398 flex-grow: 1 410 flex-grow: 1
399 } 411 }
400 412
401 @media (max-width: 47em) { 413 @media (max-width: 47em) {
402 #navigation, 414 #navigation,
403 #content { 415 #content {
404 overflow: visible; 416 overflow: visible;
405 } 417 }
406 } 418 }
407 @media (min-width: 47em) { 419 @media (min-width: 47em) {
408 #container { 420 #container {
409 height: 100vh; 421 height: 100vh;
410 } 422 }
411 #navigation, 423 #navigation,
412 #content { 424 #content {
413 height: 100vh; 425 height: 100vh;
414 overflow: auto; 426 overflow: auto;
415 } 427 }
416 } 428 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/inspect/inspect.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698