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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css b/third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css
index 86646e7dda695ce244f0b45d8ec27c11cfd67873..b32742bd7635d122cef97dbb835c996d18e4bbd0 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css
+++ b/third_party/WebKit/Source/devtools/front_end/resources/serviceWorkersView.css
@@ -5,7 +5,7 @@
*/
.service-workers-view {
- overflow-y: scroll;
+ overflow-y: scroll;
}
.service-workers-view > .toolbar {
@@ -14,8 +14,8 @@
.service-workers-root {
-webkit-user-select: text;
- margin: 0;
- padding: 5px;
+ margin: 5px;
+ overflow: auto;
}
.service-workers-root ol {
@@ -25,18 +25,21 @@
.service-workers-origin {
padding: 5px;
+ background-color: white;
}
.service-workers-origin-title {
- font-size: 17px;
+ font-size: 14px;
flex: none;
}
.service-workers-registration {
+ background-color: white;
margin-top: 5px;
margin-bottom: 10px;
padding: 0;
flex: auto;
+ box-shadow: #ccc 0px 0px 4px;
}
.service-workers-registration .tabbed-pane > .widget {
@@ -54,20 +57,16 @@
}
.service-workers-versions-panel {
- border-bottom: 1px solid #e1e1e1;
- border-left: 1px solid #e1e1e1;
- border-right: 1px solid #e1e1e1;
display: flex;
+ flex-direction: column;
}
-.service-workers-versions-panel-left {
- flex: 3 3 0;
+.service-workers-versions-panel-top {
+ flex: none;
overflow: hidden;
- padding: 3px;
}
-.service-workers-versions-panel-right {
- flex: 5 5 0;
- padding: 3px;
+.service-workers-versions-panel-bottom {
+ flex: none;
}
.service-workers-versions-table-row {
@@ -78,53 +77,54 @@
color: #888;
flex: 1 1 0;
overflow: hidden;
- padding: 8px;
+ padding-left: 6px;
text-overflow: ellipsis;
+ height: 24px;
+ align-items: center;
+ display: flex;
}
.service-workers-versions-table-row-content {
- flex: 2 2 0;
+ flex: 3 3 0;
overflow: hidden;
- padding: 8px;
+ padding: 2px;
text-overflow: ellipsis;
+ line-height: 24px;
+ height: 24px;
+ align-items: center;
+ display: flex;
}
-.service-workers-versions-table-messages-title {
+.service-workers-versions-table-title {
color: #888;
- padding: 8px 8px 3px 8px;
+ padding: 0 6px;
+ line-height: 24px;
}
.service-workers-versions-table-messages-content {
- padding: 3px 3px 3px 10px;
+ padding-left: 10px;
line-height: 22px;
max-height: 150px;
- border-left: 1px solid #eee;
overflow: auto;
margin-right: 10px;
}
-.service-workers-versions-table-clients-title {
- color: #888;
- padding: 8px 8px 3px 8px;
-}
-
.service-workers-versions-table-clients-content {
overflow: auto;
- padding: 3px 3px 3px 10px;
+ line-height: 24px;
+ padding-left: 23px;
}
.service-workers-versions-table-worker-running-status-cell {
display: flex;
-}
-
-.service-workers-versions-table-running-status-right-cell {
- padding: 3px;
+ align-items: center;
}
.service-workers-versions-table-running-status-inspect {
color: hsl(240, 85%, 37%);
cursor: pointer;
text-decoration: underline;
+ padding: 0 6px;
}
.service-workers-versions-option-panel {

Powered by Google App Engine
This is Rietveld 408576698