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

Unified Diff: chrome/browser/resources/hotword_audio_verification/style.css

Issue 695703002: Hotword Audio Verification App: UI Polishes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chrome/browser/resources/hotword_audio_verification/steps/hotword_audio_history_step.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/hotword_audio_verification/style.css
diff --git a/chrome/browser/resources/hotword_audio_verification/style.css b/chrome/browser/resources/hotword_audio_verification/style.css
index 2153cffe93ca94f8145fcb08d6a0087a2b5bb953..d16ba317426984fbd407f15b2e98bc674c51f3ce 100644
--- a/chrome/browser/resources/hotword_audio_verification/style.css
+++ b/chrome/browser/resources/hotword_audio_verification/style.css
@@ -43,7 +43,10 @@ div.container {
}
div.header {
- background: url(../images/header-optin-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/header-optin-1x.png') 1x,
Dan Beam 2014/10/31 23:31:20 nit: remove quotes (like it was before)
kcarattini 2014/11/03 00:06:18 Done.
+ url('../images/header-optin-2x.png') 2x)
+ no-repeat;
height: 240px;
vertical-align: bottom;
}
@@ -69,7 +72,9 @@ div.content {
}
.close {
- background: url(../images/bt-close-1x.png);
+ background: -webkit-image-set(
+ url('../images/bt-close-1x.png') 1x,
+ url('../images/bt-close-2x.png') 2x);
float: right;
height: 60px;
width: 60px;
@@ -188,23 +193,38 @@ button.primary {
.train.listening .icon {
-webkit-animation: rotate 2s linear infinite;
- background: url(../images/placeholder-loader-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/placeholder-loader-1x.png') 1x,
+ url('../images/placeholder-loader-2x.png') 2x)
+ no-repeat;
}
.train.not-started .icon {
- background: url(../images/ic-check-gray-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/ic-check-gray-1x.png') 1x,
+ url('../images/ic-check-gray-2x.png') 2x)
+ no-repeat;
}
.train.recorded .icon {
- background: url(../images/ic-check-blue-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/ic-check-blue-1x.png') 1x,
+ url('../images/ic-check-blue-2x.png') 2x)
+ no-repeat;
}
.train.error .icon {
- background: url(../images/placeholder-loader-error-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/ic-error-1x.png') 1x,
+ url('../images/ic-error-2x.png') 2x)
+ no-repeat;
}
.mic {
- background: url(../images/mic-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/mic-1x.png') 1x,
+ url('../images/mic-2x.png') 2x)
+ no-repeat;
height: 80px;
left: 666px;
position: absolute;
@@ -219,7 +239,10 @@ button.primary {
}
.check .icon {
- background: url(../images/ic-check-blue-1x.png) no-repeat;
+ background: -webkit-image-set(
+ url('../images/ic-check-blue-1x.png') 1x,
+ url('../images/ic-check-blue-2x.png') 2x)
+ no-repeat;
display: inline-block;
height: 24px;
margin-right: 16px;
« no previous file with comments | « chrome/browser/resources/hotword_audio_verification/steps/hotword_audio_history_step.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698