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

Side by Side Diff: runtime/observatory/lib/src/elements/css/shared.css

Issue 2167053002: Converted Observatory nav-notify element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added tests 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 /* Global styles */ 1 /* Global styles */
2 * { 2 * {
3 margin: 0; 3 margin: 0;
4 padding: 0; 4 padding: 0;
5 font: 400 14px 'Montserrat', sans-serif; 5 font: 400 14px 'Montserrat', sans-serif;
6 color: #333; 6 color: #333;
7 box-sizing: border-box; 7 box-sizing: border-box;
8 } 8 }
9 9
10 .content { 10 .content {
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 -ms-transform: translate3d(10px, 0, 0); 348 -ms-transform: translate3d(10px, 0, 0);
349 transform: translate3d(10px, 0, 0); 349 transform: translate3d(10px, 0, 0);
350 } 350 }
351 } 351 }
352 352
353 .shake { 353 .shake {
354 animation: shake 0.5s; 354 animation: shake 0.5s;
355 -webkit-animation: shake 0.5s; 355 -webkit-animation: shake 0.5s;
356 } 356 }
357 357
358 /* nav-notify */
359 /* TODO(cbernaschina) fix nav-notify-ref-wrapped to nav-notify-ref when wrapper
360 removed */
361 nav-notify-wrapped > div {
362 float: right;
363 }
364 nav-notify-wrapped > div > div {
365 display: block;
366 position: absolute;
367 top: 98%;
368 right: 0;
369 margin: 0;
370 padding: 0;
371 width: auto;
372 z-index: 1000;
373 background: none;
374 }
375
376 /* nav-exception & nav-event */
377
378 nav-exception > div, nav-event > div {
379 position: relative;
380 padding: 16px;
381 margin-top: 10px;
382 margin-right: 10px;
383 padding-right: 25px;
384 width: 500px;
385 color: #ddd;
386 background: rgba(0,0,0,.6);
387 border: solid 2px white;
388 box-shadow: 0 0 5px black;
389 border-radius: 5px;
390 animation: fadein 1s;
391 }
392
393 nav-exception *, nav-event * {
394 color: #ddd;
395 font-size: 12px;
396 }
397
398 nav-exception > div > a, nav-event > div > a {
399 color: white;
400 text-decoration: none;
401 }
402
403 nav-exception > div > a:hover, nav-event > div > a:hover {
404 text-decoration: underline;
405 }
406
407 nav-exception > div > div {
408 margin-left:20px;
409 white-space: pre
410 }
411
412 nav-exception > div > button, nav-event > div > button {
413 background: transparent;
414 border: none;
415 position: absolute;
416 display: block;
417 top: 4px;
418 right: 4px;
419 height: 18px;
420 width: 18px;
421 line-height: 16px;
422 border-radius: 9px;
423 color: white;
424 font-size: 18px;
425 cursor: pointer;
426 text-align: center;
427 }
428
429 nav-exception > div > button:hover, nav-event > div > button:hover {
430 background: rgba(255,255,255,0.5);
431 }
432
358 /* nav-refresh */ 433 /* nav-refresh */
359 /* TODO(cbernaschina) fix nav-refresh-wrapped to nav-refresh when wrapper 434 /* TODO(cbernaschina) fix nav-refresh-wrapped to nav-refresh when wrapper
360 removed */ 435 removed */
361 436
362 nav-refresh-wrapped > li > button { 437 nav-refresh-wrapped > li > button {
363 color: #000; 438 color: #000;
364 margin: 3px; 439 margin: 3px;
365 padding: 8px; 440 padding: 8px;
366 border-width: 2px; 441 border-width: 2px;
367 line-height: 13px; 442 line-height: 13px;
(...skipping 17 matching lines...) Expand all
385 align-content: right; 460 align-content: right;
386 } 461 }
387 462
388 view-footer > a { 463 view-footer > a {
389 margin-bottom: 0.17em; 464 margin-bottom: 0.17em;
390 font-size: 90%; 465 font-size: 90%;
391 float: right; 466 float: right;
392 clear: both; 467 clear: both;
393 display: block; 468 display: block;
394 } 469 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698