From ccc78234497c936b30f1ce2c4c49878d9be3f1a9 Mon Sep 17 00:00:00 2001
From: Luke Pulverenti
Date: Wed, 15 Jan 2014 00:38:08 -0500
Subject: [PATCH] added live tv events
---
dashboard-ui/css/librarybrowser.css | 4 +---
dashboard-ui/css/posteritem.css | 2 +-
dashboard-ui/scripts/librarybrowser.js | 14 +++++++-------
3 files changed, 9 insertions(+), 11 deletions(-)
diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css
index 6fb226cf06..7371f8556e 100644
--- a/dashboard-ui/css/librarybrowser.css
+++ b/dashboard-ui/css/librarybrowser.css
@@ -270,9 +270,7 @@
display: inline-block;
font-size: 12px;
text-align: center;
- width: 24px;
- height: 20px;
- line-height: 20px;
+ padding: 2px 4px;
position: relative;
top: -2px;
}
diff --git a/dashboard-ui/css/posteritem.css b/dashboard-ui/css/posteritem.css
index ce1cededa2..51f80d9176 100644
--- a/dashboard-ui/css/posteritem.css
+++ b/dashboard-ui/css/posteritem.css
@@ -26,7 +26,7 @@
right: 0;
left: 0;
bottom: 0;
- background: #111;
+ background-color: rgba(0, 0, 0, .9);
z-index: 999;
display: none;
}
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index d1c4c0913c..034077229d 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -2674,11 +2674,11 @@
//html += LibraryBrowser.getMiscInfoHtml(item);
//html += '
';
- //html += '';
- //html += '';
- //html += '
';
+ html += '';
+ html += '';
+ html += '
';
html += '';
html += '';
@@ -2732,7 +2732,7 @@
onShowTimerExpired(elem);
- }, 300);
+ }, 600);
}
// https://hacks.mozilla.org/2013/04/detecting-touch-its-the-why-not-the-how/
@@ -2742,7 +2742,7 @@
running on touch-capable device */
return this;
}
-
+ return this;
return this.on('mouseenter', '.posterItem', onHoverIn).on('mouseleave', '.posterItem', onHoverOut);
};