summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRoman Nurik <romannurik@google.com>2012-01-12 13:57:44 -0800
committerRoman Nurik <romannurik@google.com>2012-01-12 13:57:44 -0800
commitaaaafca8543eaa75f1865d70c801c9b62caa56e2 (patch)
tree7a4a2129881b9b3706f740ab3ff0c9b927ba55d6 /docs
parentbaa88ef7d3b4d3b16f97a3c56a3049dcb686baf9 (diff)
downloadframeworks_base-aaaafca8543eaa75f1865d70c801c9b62caa56e2.zip
frameworks_base-aaaafca8543eaa75f1865d70c801c9b62caa56e2.tar.gz
frameworks_base-aaaafca8543eaa75f1865d70c801c9b62caa56e2.tar.bz2
docs: Android design CSS/JS fixes
- Remove new window icon for Developer site link - Make videos re-load and replay on click to prevent failed replay for unseekable videos Change-Id: I689607d0d53247b0e599612cb7d23a98d6ad24a1
Diffstat (limited to 'docs')
-rw-r--r--docs/html/design/static/default.css5
-rw-r--r--docs/html/design/static/default.js3
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/html/design/static/default.css b/docs/html/design/static/default.css
index 20fefad..42ab527 100644
--- a/docs/html/design/static/default.css
+++ b/docs/html/design/static/default.css
@@ -279,8 +279,7 @@ video.with-shadow {
background: rgba(0, 0, 0, 0.03); }
#nav #back-dac-section {
padding: 10px;
- border-top: 1px solid #ddd;
- background: transparent url(open_new_page.png) no-repeat scroll 139px 9px; }
+ border-top: 1px solid #ddd; }
#nav #back-dac-section a {
color: #333333;
font-weight: 500;
@@ -569,4 +568,4 @@ li.no-bullet {
height: 12px;
margin-right: 8px; }
.video-instructions:after {
- content: 'Click or move mouse over screenshot to replay movie.'; }
+ content: 'Click to replay movie.'; }
diff --git a/docs/html/design/static/default.js b/docs/html/design/static/default.js
index 26848e6..6721ab8 100644
--- a/docs/html/design/static/default.js
+++ b/docs/html/design/static/default.js
@@ -125,7 +125,8 @@ $(document).ready(function() {
});
// Set up play-on-hover <video> tags.
- $('video.play-on-hover').bind('mouseenter click', function(){
+ $('video.play-on-hover').bind('click', function(){
+ $(this).get(0).load(); // in case the video isn't seekable
$(this).get(0).play();
});