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

Unified Diff: Source/devtools/front_end/resources/serviceWorkersView.css

Issue 1079013002: Add "emulate push event" button to ServiceWorkersView in DevTools [2/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: s/dispatchPushEvent/deliverPushMessage/ Created 5 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: Source/devtools/front_end/resources/serviceWorkersView.css
diff --git a/Source/devtools/front_end/resources/serviceWorkersView.css b/Source/devtools/front_end/resources/serviceWorkersView.css
index 628f43f2ee7588d15deabfc3dbc3b598ee36c98e..06de168259718f4b838d9cff316b48fd6e3d8679 100644
--- a/Source/devtools/front_end/resources/serviceWorkersView.css
+++ b/Source/devtools/front_end/resources/serviceWorkersView.css
@@ -162,21 +162,6 @@
text-overflow: ellipsis;
}
-.service-workers-start-button {
- -webkit-mask-position: -64px -48px;
-}
-
-.service-workers-stop-button {
- -webkit-mask-position: -96px -48px;
-}
-
-.service-workers-delete-button {
- -webkit-mask-position: -128px -24px;
- position: absolute;
- top: 50%;
- transform: translate(0, -50%);
-}
-
.service-workers-button {
-webkit-mask-image: url(Images/statusbarButtonGlyphs.png);
-webkit-mask-size: 320px 144px;
@@ -202,6 +187,29 @@
opacity: 0.8;
}
+.service-workers-button:disabled {
+ opacity: 0.5;
+}
+
+.service-workers-start-button {
+ -webkit-mask-position: -64px -48px;
+}
+
+.service-workers-stop-button {
+ -webkit-mask-position: -96px -48px;
+}
+
+.service-workers-delete-button {
+ -webkit-mask-position: -128px -24px;
+}
+
+.service-workers-push-button {
+ -webkit-mask-image: url(Images/notifications.svg);
+ -webkit-mask-position: 7px 3px;
+ -webkit-mask-repeat: no-repeat;
+ -webkit-mask-size: 18px 18px;
+}
+
.service-workers-error {
display: flex;
}
« no previous file with comments | « Source/devtools/front_end/resources/ServiceWorkersView.js ('k') | Source/devtools/front_end/sdk/ServiceWorkerManager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698