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

Unified Diff: chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css

Issue 272173004: Fixed close button for retina displays in identity approval scope UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css
diff --git a/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css b/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css
index 9255fd2a2c910b2dde58e6040a82761d7679e81f..ae5495cc597c1a852a84f0deac421556d9a4fd5b 100644
--- a/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css
+++ b/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.css
@@ -20,6 +20,9 @@ body {
}
.titlebar-close-button {
+ background-image: -webkit-image-set(
+ url('chrome://theme/IDR_CLOSE_DIALOG') 1x,
+ url('chrome://theme/IDR_CLOSE_DIALOG@2x') 2x);
-webkit-app-region: no-drag;
height: 14px;
margin: 6px;
@@ -28,6 +31,18 @@ body {
width: 14px;
}
+.titlebar-close-button:active {
+ background-image: -webkit-image-set(
+ url('chrome://theme/IDR_CLOSE_DIALOG_P') 1x,
+ url('chrome://theme/IDR_CLOSE_DIALOG_P@2x') 2x);
+}
+
+.titlebar-close-button:hover {
+ background-image: -webkit-image-set(
+ url('chrome://theme/IDR_CLOSE_DIALOG_H') 1x,
+ url('chrome://theme/IDR_CLOSE_DIALOG_H@2x') 2x);
+}
+
.content {
height: auto;
width: 100%;

Powered by Google App Engine
This is Rietveld 408576698