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

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

Issue 1922073002: DevTools: polish service worker inspector UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined test 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-workers-view {
8 overflow-y: scroll; 8 overflow-y: scroll;
9 } 9 }
10 10
11 .service-workers-view > .toolbar { 11 .service-workers-view > .toolbar {
12 border-bottom: 1px solid #dadada; 12 border-bottom: 1px solid #dadada;
13 } 13 }
14 14
15 .service-workers-root { 15 .service-workers-root {
16 -webkit-user-select: text; 16 -webkit-user-select: text;
17 margin: 0; 17 margin: 5px;
18 padding: 5px; 18 overflow: auto;
19 } 19 }
20 20
21 .service-workers-root ol { 21 .service-workers-root ol {
22 list-style-type: none; 22 list-style-type: none;
23 padding-left: 0; 23 padding-left: 0;
24 } 24 }
25 25
26 .service-workers-origin { 26 .service-workers-origin {
27 padding: 5px; 27 padding: 5px;
28 background-color: white;
28 } 29 }
29 30
30 .service-workers-origin-title { 31 .service-workers-origin-title {
31 font-size: 17px; 32 font-size: 14px;
32 flex: none; 33 flex: none;
33 } 34 }
34 35
35 .service-workers-registration { 36 .service-workers-registration {
37 background-color: white;
36 margin-top: 5px; 38 margin-top: 5px;
37 margin-bottom: 10px; 39 margin-bottom: 10px;
38 padding: 0; 40 padding: 0;
39 flex: auto; 41 flex: auto;
42 box-shadow: #ccc 0px 0px 4px;
40 } 43 }
41 44
42 .service-workers-registration .tabbed-pane > .widget { 45 .service-workers-registration .tabbed-pane > .widget {
43 overflow: auto; 46 overflow: auto;
44 } 47 }
45 48
46 .service-workers-registration .toolbar { 49 .service-workers-registration .toolbar {
47 flex: none; 50 flex: none;
48 } 51 }
49 52
50 .service-workers-registration-title { 53 .service-workers-registration-title {
51 flex: none; 54 flex: none;
52 font-size: 15px; 55 font-size: 15px;
53 padding: 4px; 56 padding: 4px;
54 } 57 }
55 58
56 .service-workers-versions-panel { 59 .service-workers-versions-panel {
57 border-bottom: 1px solid #e1e1e1;
58 border-left: 1px solid #e1e1e1;
59 border-right: 1px solid #e1e1e1;
60 display: flex; 60 display: flex;
61 flex-direction: column;
61 } 62 }
62 63
63 .service-workers-versions-panel-left { 64 .service-workers-versions-panel-top {
64 flex: 3 3 0; 65 flex: none;
65 overflow: hidden; 66 overflow: hidden;
66 padding: 3px;
67 } 67 }
68 .service-workers-versions-panel-right { 68 .service-workers-versions-panel-bottom {
69 flex: 5 5 0; 69 flex: none;
70 padding: 3px;
71 } 70 }
72 71
73 .service-workers-versions-table-row { 72 .service-workers-versions-table-row {
74 display: flex; 73 display: flex;
75 } 74 }
76 75
77 .service-workers-versions-table-row-title { 76 .service-workers-versions-table-row-title {
78 color: #888; 77 color: #888;
79 flex: 1 1 0; 78 flex: 1 1 0;
80 overflow: hidden; 79 overflow: hidden;
81 padding: 8px; 80 padding-left: 6px;
82 text-overflow: ellipsis; 81 text-overflow: ellipsis;
82 height: 24px;
83 align-items: center;
84 display: flex;
83 } 85 }
84 86
85 .service-workers-versions-table-row-content { 87 .service-workers-versions-table-row-content {
86 flex: 2 2 0; 88 flex: 3 3 0;
87 overflow: hidden; 89 overflow: hidden;
88 padding: 8px; 90 padding: 2px;
89 text-overflow: ellipsis; 91 text-overflow: ellipsis;
92 line-height: 24px;
93 height: 24px;
94 align-items: center;
95 display: flex;
90 } 96 }
91 97
92 .service-workers-versions-table-messages-title { 98 .service-workers-versions-table-title {
93 color: #888; 99 color: #888;
94 padding: 8px 8px 3px 8px; 100 padding: 0 6px;
101 line-height: 24px;
95 } 102 }
96 103
97 .service-workers-versions-table-messages-content { 104 .service-workers-versions-table-messages-content {
98 padding: 3px 3px 3px 10px; 105 padding-left: 10px;
99 line-height: 22px; 106 line-height: 22px;
100 max-height: 150px; 107 max-height: 150px;
101 border-left: 1px solid #eee;
102 overflow: auto; 108 overflow: auto;
103 margin-right: 10px; 109 margin-right: 10px;
104 } 110 }
105 111
106 .service-workers-versions-table-clients-title {
107 color: #888;
108 padding: 8px 8px 3px 8px;
109 }
110
111 .service-workers-versions-table-clients-content { 112 .service-workers-versions-table-clients-content {
112 overflow: auto; 113 overflow: auto;
113 padding: 3px 3px 3px 10px; 114 line-height: 24px;
115 padding-left: 23px;
114 } 116 }
115 117
116 .service-workers-versions-table-worker-running-status-cell { 118 .service-workers-versions-table-worker-running-status-cell {
117 display: flex; 119 display: flex;
118 } 120 align-items: center;
119
120 .service-workers-versions-table-running-status-right-cell {
121 padding: 3px;
122 } 121 }
123 122
124 .service-workers-versions-table-running-status-inspect { 123 .service-workers-versions-table-running-status-inspect {
125 color: hsl(240, 85%, 37%); 124 color: hsl(240, 85%, 37%);
126 cursor: pointer; 125 cursor: pointer;
127 text-decoration: underline; 126 text-decoration: underline;
127 padding: 0 6px;
128 } 128 }
129 129
130 .service-workers-versions-option-panel { 130 .service-workers-versions-option-panel {
131 border-bottom: 1px solid #e1e1e1; 131 border-bottom: 1px solid #e1e1e1;
132 border-left: 1px solid #e1e1e1; 132 border-left: 1px solid #e1e1e1;
133 display: flex; 133 display: flex;
134 } 134 }
135 135
136 .service-workers-error { 136 .service-workers-error {
137 display: flex; 137 display: flex;
138 } 138 }
139 139
140 .service-workers-error > label { 140 .service-workers-error > label {
141 flex: none; 141 flex: none;
142 } 142 }
143 143
144 .service-workers-info { 144 .service-workers-info {
145 display: flex; 145 display: flex;
146 align-items: center; 146 align-items: center;
147 } 147 }
148 148
149 .service-worker-client-focus { 149 .service-worker-client-focus {
150 color: hsl(240, 85%, 37%); 150 color: hsl(240, 85%, 37%);
151 cursor: pointer; 151 cursor: pointer;
152 padding-left: 4px; 152 padding-left: 4px;
153 text-decoration: underline; 153 text-decoration: underline;
154 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698