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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css

Issue 1940993002: DevTools: simplify Service Workers panel UI, remove non-actionable data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment addressed. Created 4 years, 7 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 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .service-workers-view { 7 .service-worker-error-stack {
8 overflow-y: scroll; 8 max-height: 200px;
9 overflow: auto;
10 display: flex;
11 flex-direction: column;
12 border: 1px solid #ccc;
13 background-color: #fff0f0;
14 color: red;
15 line-height: 18px;
16 margin: 10px 2px 0 -14px;
17 white-space: initial;
9 } 18 }
10 19
11 .service-workers-view > .toolbar { 20 .service-worker-error-stack > div {
12 border-bottom: 1px solid #dadada; 21 flex: none;
22 padding: 3px 4px;
13 } 23 }
14 24
15 .service-workers-root { 25 .service-worker-error-stack > div:not(:last-child) {
16 -webkit-user-select: text; 26 border-bottom: 1px solid #ffd7d7;
17 margin: 5px;
18 overflow: auto;
19 } 27 }
20 28
21 .service-workers-root ol { 29 .service-worker-error-stack label {
22 list-style-type: none; 30 flex: auto;
23 padding-left: 0;
24 } 31 }
25 32
26 .service-workers-origin { 33 .service-worker-error-stack a {
27 padding: 5px; 34 float: right;
35 color: rgb(33%, 33%, 33%);
36 cursor: pointer;
37 }
38
39 .service-worker-version-stack {
40 position: relative;
41 }
42
43 .service-worker-version-stack-bar {
44 position: absolute;
45 top: 10px;
46 bottom: 20px;
47 left: 4px;
48 content: "";
49 border-left: 1px solid #888;
50 z-index: 0;
51 }
52
53 .service-worker-version:not(:last-child) {
54 margin-bottom: 7px;
55 }
56
57 .service-worker-active-circle,
58 .service-worker-waiting-circle,
59 .service-worker-installing-circle {
60 position: relative;
61 display: inline-block;
62 width: 10px;
63 height: 10px;
64 z-index: 10;
65 margin-right: 5px;
66 border-radius: 50%;
67 border: 1px solid #555;
68 }
69
70 .service-worker-active-circle {
71 background-color: #50B04F;
72 }
73 .service-worker-waiting-circle {
74 background-color: #F38E24;
75
76 }
77 .service-worker-installing-circle {
28 background-color: white; 78 background-color: white;
29 } 79 }
30 80
31 .service-workers-origin-title { 81
32 font-size: 14px; 82 .service-worker-subtitle {
33 flex: none; 83 padding-left: 14px;
84 line-height: 14px;
85 color: #888;
34 } 86 }
35 87
36 .service-workers-registration { 88 .link {
37 background-color: white; 89 margin-left: 10px;
38 margin-top: 5px;
39 margin-bottom: 10px;
40 padding: 0;
41 flex: auto;
42 } 90 }
43
44 .service-workers-registration .tabbed-pane > .widget {
45 overflow: auto;
46 }
47
48 .service-workers-registration .toolbar {
49 flex: none;
50 }
51
52 .service-workers-registration-title {
53 flex: none;
54 font-size: 15px;
55 padding: 4px;
56 }
57
58 .service-workers-versions-panel {
59 display: flex;
60 flex-direction: column;
61 }
62
63 .service-workers-versions-panel-top {
64 flex: none;
65 overflow: hidden;
66 }
67 .service-workers-versions-panel-bottom {
68 flex: none;
69 }
70
71 .service-workers-versions-table-row {
72 display: flex;
73 }
74
75 .service-workers-versions-table-row-title {
76 color: #888;
77 flex: 1 1 0;
78 overflow: hidden;
79 padding-left: 6px;
80 text-overflow: ellipsis;
81 height: 24px;
82 align-items: center;
83 display: flex;
84 }
85
86 .service-workers-versions-table-row-content {
87 flex: 3 3 0;
88 overflow: hidden;
89 padding: 2px;
90 text-overflow: ellipsis;
91 line-height: 24px;
92 height: 24px;
93 align-items: center;
94 display: flex;
95 }
96
97 .service-workers-versions-table-title {
98 color: #888;
99 padding: 0 6px;
100 line-height: 24px;
101 }
102
103 .service-workers-versions-table-messages-content {
104 padding-left: 10px;
105 line-height: 22px;
106 max-height: 150px;
107 overflow: auto;
108 margin-right: 10px;
109 }
110
111 .service-workers-versions-table-clients-content {
112 overflow: auto;
113 line-height: 24px;
114 padding-left: 23px;
115 }
116
117 .service-workers-versions-table-worker-running-status-cell {
118 display: flex;
119 align-items: center;
120 }
121
122 .service-workers-versions-table-running-status-inspect {
123 color: hsl(240, 85%, 37%);
124 cursor: pointer;
125 text-decoration: underline;
126 padding: 0 6px;
127 }
128
129 .service-workers-versions-option-panel {
130 border-bottom: 1px solid #e1e1e1;
131 border-left: 1px solid #e1e1e1;
132 display: flex;
133 }
134
135 .service-workers-error {
136 display: flex;
137 }
138
139 .service-workers-error > label {
140 flex: none;
141 }
142
143 .service-workers-info {
144 display: flex;
145 align-items: center;
146 }
147
148 .service-worker-client-focus {
149 color: hsl(240, 85%, 37%);
150 cursor: pointer;
151 padding-left: 4px;
152 text-decoration: underline;
153 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698