From 3920d730458ecf2e39cfe4262822267005eb48f3 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 7 Jun 2015 21:23:56 -0400 Subject: [PATCH] update live tv scrolling --- dashboard-ui/css/librarybrowser.css | 1 - dashboard-ui/css/livetv.css | 2 - dashboard-ui/css/metadataeditor.css | 2 - dashboard-ui/css/nowplaying.css | 2 - dashboard-ui/css/search.css | 2 - dashboard-ui/css/site.css | 21 +- dashboard-ui/dlnaprofile.html | 14 +- dashboard-ui/dlnaprofiles.html | 2 +- dashboard-ui/dlnaserversettings.html | 6 +- dashboard-ui/dlnasettings.html | 6 +- dashboard-ui/edititemimages.html | 2 +- dashboard-ui/edititemmetadata.html | 2 +- dashboard-ui/edititemsubtitles.html | 5 +- dashboard-ui/encodingsettings.html | 6 +- dashboard-ui/itembynamedetails.html | 4 +- dashboard-ui/itemdetails.html | 2 +- dashboard-ui/librarysettings.html | 8 +- dashboard-ui/livetvguide.html | 4 +- dashboard-ui/livetvnewrecording.html | 2 +- dashboard-ui/livetvprogram.html | 4 +- dashboard-ui/livetvrecording.html | 4 +- dashboard-ui/livetvtimer.html | 2 +- dashboard-ui/metadatanfo.html | 6 +- dashboard-ui/nowplaying.html | 2 +- dashboard-ui/scheduledtask.html | 5 +- dashboard-ui/scheduledtasks.html | 2 +- dashboard-ui/scripts/dlnaprofile.js | 19 +- dashboard-ui/scripts/dlnaprofiles.js | 2 +- dashboard-ui/scripts/dlnaserversettings.js | 40 +-- dashboard-ui/scripts/dlnasettings.js | 36 +-- dashboard-ui/scripts/encodingsettings.js | 55 ++-- dashboard-ui/scripts/librarylist.js | 6 + dashboard-ui/scripts/librarysettings.js | 59 ++-- dashboard-ui/scripts/mediaplayer.js | 335 +++++++++++---------- dashboard-ui/scripts/metadatanfo.js | 52 ++-- dashboard-ui/scripts/scheduledtaskpage.js | 73 ++--- dashboard-ui/scripts/scheduledtaskspage.js | 20 +- dashboard-ui/scripts/search.js | 2 +- dashboard-ui/scripts/site.js | 2 +- 39 files changed, 404 insertions(+), 415 deletions(-) diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index fecc66559e..f5ca9465bd 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -596,7 +596,6 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { .itemOverview { text-overflow: ellipsis; max-height: 100px; - overflow-y: auto; padding-right: .5em; } diff --git a/dashboard-ui/css/livetv.css b/dashboard-ui/css/livetv.css index 63c3543bc6..706c389969 100644 --- a/dashboard-ui/css/livetv.css +++ b/dashboard-ui/css/livetv.css @@ -160,7 +160,6 @@ .timeslotHeaders { white-space: nowrap; - overflow-x: scroll; } .mobileGuide .timeslotHeaders { @@ -248,7 +247,6 @@ .programGrid { padding-bottom: 4px; - overflow-x: scroll; } .programGrid, .timeslotHeaders { diff --git a/dashboard-ui/css/metadataeditor.css b/dashboard-ui/css/metadataeditor.css index b33bb13e83..11142ede77 100644 --- a/dashboard-ui/css/metadataeditor.css +++ b/dashboard-ui/css/metadataeditor.css @@ -290,8 +290,6 @@ bottom: 0; left: 0; width: 30%; - overflow-y: scroll; - overflow-x: auto !important; display: block; border-right: 1px solid #555; } diff --git a/dashboard-ui/css/nowplaying.css b/dashboard-ui/css/nowplaying.css index cdc7d78357..ec0280a81d 100644 --- a/dashboard-ui/css/nowplaying.css +++ b/dashboard-ui/css/nowplaying.css @@ -31,8 +31,6 @@ left: 0; right: 0; background-color: rgba(0,0,0,.9); - overflow-x: auto; - overflow-y: hidden; z-index: 1000; } diff --git a/dashboard-ui/css/search.css b/dashboard-ui/css/search.css index 79fd6dc0c5..aa5d72d321 100644 --- a/dashboard-ui/css/search.css +++ b/dashboard-ui/css/search.css @@ -201,8 +201,6 @@ bottom: 0; z-index: 1000; border: 0 !important; - overflow-x: hidden; - overflow-y: auto; } .searchResultsContainer { diff --git a/dashboard-ui/css/site.css b/dashboard-ui/css/site.css index d4b42ea00a..7198750e18 100644 --- a/dashboard-ui/css/site.css +++ b/dashboard-ui/css/site.css @@ -162,6 +162,12 @@ h1 a:hover { margin: -10px 0 0 -10px; } +.smoothScrollX { + overflow-x: scroll; + -webkit-overflow-scrolling: touch; + overflow-y: hidden; +} + .hiddenScrollX { overflow-x: scroll; -webkit-overflow-scrolling: touch; @@ -180,14 +186,23 @@ h1 a:hover { } -.hiddenScrollY, .ui-panel-inner { +.smoothScrollY { overflow-y: auto; - -ms-overflow-style: none; - overflow: -moz-scrollbars-none; -webkit-overflow-scrolling: touch; overflow-x: hidden; } +.hiddenScrollY, .ui-panel-inner { + overflow-y: auto; + -webkit-overflow-scrolling: touch; + overflow-x: hidden; +} + +.touch .hiddenScrollY { + -ms-overflow-style: none; + overflow: -moz-scrollbars-none; +} + .touch .hiddenScrollY::-webkit-scrollbar, .touch .ui-panel-inner::-webkit-scrollbar { width: 0 !important; display: none; diff --git a/dashboard-ui/dlnaprofile.html b/dashboard-ui/dlnaprofile.html index ed911d7b58..5cdaee2253 100644 --- a/dashboard-ui/dlnaprofile.html +++ b/dashboard-ui/dlnaprofile.html @@ -4,7 +4,7 @@ ${TitleDlna} -
+
@@ -725,18 +725,6 @@
- -
\ No newline at end of file diff --git a/dashboard-ui/dlnaprofiles.html b/dashboard-ui/dlnaprofiles.html index a05a21db07..b9ecf3e55c 100644 --- a/dashboard-ui/dlnaprofiles.html +++ b/dashboard-ui/dlnaprofiles.html @@ -4,7 +4,7 @@ ${TitleDlna} -
+
diff --git a/dashboard-ui/dlnaserversettings.html b/dashboard-ui/dlnaserversettings.html index c7755e3f4a..79a5121587 100644 --- a/dashboard-ui/dlnaserversettings.html +++ b/dashboard-ui/dlnaserversettings.html @@ -4,7 +4,7 @@ ${TitleDlna} -
+
@@ -58,10 +58,6 @@
- -
diff --git a/dashboard-ui/dlnasettings.html b/dashboard-ui/dlnasettings.html index 6e638df97c..30a82b1f6e 100644 --- a/dashboard-ui/dlnasettings.html +++ b/dashboard-ui/dlnasettings.html @@ -4,7 +4,7 @@ ${TitleDlna} -
+
@@ -48,10 +48,6 @@
- -
diff --git a/dashboard-ui/edititemimages.html b/dashboard-ui/edititemimages.html index e06640b3ee..588d26c3bc 100644 --- a/dashboard-ui/edititemimages.html +++ b/dashboard-ui/edititemimages.html @@ -6,7 +6,7 @@
-
+
    diff --git a/dashboard-ui/edititemmetadata.html b/dashboard-ui/edititemmetadata.html index 46e4ac7c77..4ba32ec7ca 100644 --- a/dashboard-ui/edititemmetadata.html +++ b/dashboard-ui/edititemmetadata.html @@ -6,7 +6,7 @@
    -
    +
      diff --git a/dashboard-ui/edititemsubtitles.html b/dashboard-ui/edititemsubtitles.html index dfcdb5bddb..60f20f88e8 100644 --- a/dashboard-ui/edititemsubtitles.html +++ b/dashboard-ui/edititemsubtitles.html @@ -6,10 +6,9 @@
      -
      +
      -
        -
      +
        diff --git a/dashboard-ui/encodingsettings.html b/dashboard-ui/encodingsettings.html index d6a8849fe2..2f272ba49c 100644 --- a/dashboard-ui/encodingsettings.html +++ b/dashboard-ui/encodingsettings.html @@ -4,7 +4,7 @@ ${TitlePlayback} -
        +
        @@ -84,10 +84,6 @@
        - -
        diff --git a/dashboard-ui/itembynamedetails.html b/dashboard-ui/itembynamedetails.html index 24e3a50980..c4e86a8d0c 100644 --- a/dashboard-ui/itembynamedetails.html +++ b/dashboard-ui/itembynamedetails.html @@ -129,7 +129,7 @@

        -

        +

        @@ -149,7 +149,7 @@ ${ButtonSync}
        -

        +

        diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html index 855ec87e62..bb37cd8415 100644 --- a/dashboard-ui/itemdetails.html +++ b/dashboard-ui/itemdetails.html @@ -177,7 +177,7 @@

        -

        +

        diff --git a/dashboard-ui/librarysettings.html b/dashboard-ui/librarysettings.html index 01989434a3..0ebf7b1b72 100644 --- a/dashboard-ui/librarysettings.html +++ b/dashboard-ui/librarysettings.html @@ -4,7 +4,7 @@ ${TitleMediaLibrary} -
        +
        @@ -14,7 +14,7 @@ ${TabAdvanced}
        -
        +
        - -
        diff --git a/dashboard-ui/livetvguide.html b/dashboard-ui/livetvguide.html index a81187ca38..a5e968ff40 100644 --- a/dashboard-ui/livetvguide.html +++ b/dashboard-ui/livetvguide.html @@ -22,13 +22,13 @@
        -
        +
        -
        +
        diff --git a/dashboard-ui/livetvnewrecording.html b/dashboard-ui/livetvnewrecording.html index 1266fe3fd2..7a38589dca 100644 --- a/dashboard-ui/livetvnewrecording.html +++ b/dashboard-ui/livetvnewrecording.html @@ -22,7 +22,7 @@

        -

        +


        diff --git a/dashboard-ui/livetvprogram.html b/dashboard-ui/livetvprogram.html index 25224b71ac..f491442e33 100644 --- a/dashboard-ui/livetvprogram.html +++ b/dashboard-ui/livetvprogram.html @@ -29,13 +29,13 @@

        -

        +

        -

        +

        -

        +

        -

        +

        diff --git a/dashboard-ui/metadatanfo.html b/dashboard-ui/metadatanfo.html index 8aaf6c99be..26b3dd59bd 100644 --- a/dashboard-ui/metadatanfo.html +++ b/dashboard-ui/metadatanfo.html @@ -4,7 +4,7 @@ ${TitleMetadata} -

        +
        @@ -70,10 +70,6 @@
        - -
        diff --git a/dashboard-ui/nowplaying.html b/dashboard-ui/nowplaying.html index dfe1c9a887..caf0512c02 100644 --- a/dashboard-ui/nowplaying.html +++ b/dashboard-ui/nowplaying.html @@ -144,7 +144,7 @@
        -