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

Side by Side Diff: chrome/browser/resources/sync_internals/about.css

Issue 210233005: sync: Display protocol events on about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit + unrelated bug Created 6 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/sync_internals/about.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 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 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 #aboutInfo { 6 #about-info {
7 -webkit-columns: 3; 7 -webkit-column-width: 350px;
8 } 8 }
9 9
10 #aboutInfo h2 { 10 #about-info > div {
11 -webkit-column-break-inside: avoid;
12 width: 350px;
13 }
14
15 #about-info h2 {
11 color: rgb(74, 142, 230); 16 color: rgb(74, 142, 230);
12 font-size: 100%; 17 font-size: 100%;
13 margin-bottom: 0; 18 margin-bottom: 0;
14 } 19 }
15 20
16 #aboutInfo .err { 21 #about-info .err {
17 color: red; 22 color: red;
18 } 23 }
19 24
20 #aboutInfo .section { 25 #about-info .section {
21 -webkit-column-break-inside: avoid;
22 display: inline-block; 26 display: inline-block;
23 margin-left: auto; 27 margin-left: auto;
24 margin-right: auto; 28 margin-right: auto;
29 }
30
31 .about-details {
25 width: 100%; 32 width: 100%;
26 } 33 }
27 34
28 .aboutDetails { 35 .about-details tr:nth-child(odd) {
29 width: 100%;
30 }
31
32 .aboutDetails tr:nth-child(odd) {
33 background: rgb(239, 243, 255); 36 background: rgb(239, 243, 255);
34 } 37 }
35 38
36 #typeInfo .error { 39 #typeInfo .error {
37 background: rgb(255, 204, 204); 40 background: rgb(255, 204, 204);
38 } 41 }
39 42
40 #typeInfo .warning { 43 #typeInfo .warning {
41 background: rgb(255, 255, 204); 44 background: rgb(255, 255, 204);
42 } 45 }
43 46
44 #typeInfo .ok { 47 #typeInfo .ok {
45 background: rgb(204, 255, 204); 48 background: rgb(204, 255, 204);
46 } 49 }
47 50
48 @-webkit-keyframes highlight1 { 51 .about-details .uninitialized {
49 0% {
50 background: rgb(255, 255, 0);
51 }
52 100% {
53 background: #fff;
54 }
55 }
56
57 @-webkit-keyframes highlight2 {
58 0% {
59 background: rgb(155, 158, 166);
60 }
61 100% {
62 background: rgb(239, 243, 255);
63 }
64 }
65
66 .aboutDetails [highlighted] {
67 -webkit-animation-duration: 3s;
68 -webkit-animation-name: highlight1;
69 -webkit-animation-timing-function: linear;
70 }
71
72 .aboutDetails [highlighted]:nth-child(odd) {
73 -webkit-animation-duration: 3s;
74 -webkit-animation-name: highlight2;
75 -webkit-animation-timing-function: linear;
76 }
77
78 .aboutDetails .uninitialized {
79 color: #7f7f7f; 52 color: #7f7f7f;
80 } 53 }
81 54
82 #status { 55 #status {
83 margin-left: auto; 56 margin-left: auto;
84 margin-right: auto; 57 margin-right: auto;
85 text-align: center; 58 text-align: center;
86 width: 300px; 59 width: 300px;
87 } 60 }
61
62 #traffic-event-container {
63 border: 1px solid;
64 height: 500px;
65 max-width: 500px;
66 overflow-y: auto;
67 }
68
69 .traffic-event-entry {
70 border: 2px outset;
71 padding: 0.5em;
72 }
73
74 .traffic-event-entry:hover {
75 background-color: #eee;
76 }
77
78 .traffic-event-entry .time {
79 color: #222;
80 font-family: sans-serif;
81 }
82
83 .traffic-event-entry .type {
84 font-family: sans-serif;
85 font-weight: bold;
86 margin: 0.5em;
87 white-space: nowrap;
88 }
89
90 .traffic-event-entry .details {
91 margin: 0.5em;
92 overflow-x: auto;
93 }
94
95 .traffic-event-entry .proto {
96 display: none;
97 }
98
99 .traffic-event-entry-expanded .proto {
100 background-color: #fff;
101 border: 1px solid #222;
102 display: block;
103 max-height: 300px;
104 overflow-x: auto;
105 overflow-y: auto;
106 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/sync_internals/about.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698