From ca334546778b1ce649e1bf5c1cd1e15a7a0bff54 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 4 Dec 2016 12:01:38 +0100 Subject: [PATCH] Taking CSS out of the uw.js and placing it into its own file, laid out the foundations for this change in manifest.json. NOTE: this commit just laid the groundwork, uw_common.css is unfinished (font-face block isn't even properly closed) and uw.js wasn't updated to include CSS files yet. --- js/uw.js | 107 ++----------------- manifest.json | 25 +++-- res/css/uw_common.css | 11 ++ res/css/uw_netflix.css | 4 + res/css/uw_settings.css | 1 + res/css/uw_yt.css | 83 ++++++++++++++ res/fonts/OFL.txt | 92 ++++++++++++++++ res/fonts/Oxygen-Bold.ttf | Bin 0 -> 48812 bytes res/fonts/Oxygen-Light.ttf | Bin 0 -> 43852 bytes res/fonts/Oxygen-Regular.ttf | Bin 0 -> 48092 bytes {icons => res/icons}/uw-32.png | Bin {icons => res/icons}/uw-64.png | Bin {img => res/img}/ytplayer-icons/fith.png | Bin {img => res/img}/ytplayer-icons/fitw.png | Bin {img => res/img}/ytplayer-icons/reset.png | Bin {img => res/img}/ytplayer-icons/settings.png | Bin {img => res/img}/ytplayer-icons/uzoom.png | Bin {img => res/img}/ytplayer-icons/zoom.png | Bin 18 files changed, 214 insertions(+), 109 deletions(-) create mode 100644 res/css/uw_common.css create mode 100644 res/css/uw_netflix.css create mode 100644 res/css/uw_settings.css create mode 100644 res/css/uw_yt.css create mode 100644 res/fonts/OFL.txt create mode 100644 res/fonts/Oxygen-Bold.ttf create mode 100644 res/fonts/Oxygen-Light.ttf create mode 100644 res/fonts/Oxygen-Regular.ttf rename {icons => res/icons}/uw-32.png (100%) rename {icons => res/icons}/uw-64.png (100%) rename {img => res/img}/ytplayer-icons/fith.png (100%) rename {img => res/img}/ytplayer-icons/fitw.png (100%) rename {img => res/img}/ytplayer-icons/reset.png (100%) rename {img => res/img}/ytplayer-icons/settings.png (100%) rename {img => res/img}/ytplayer-icons/uzoom.png (100%) rename {img => res/img}/ytplayer-icons/zoom.png (100%) diff --git a/js/uw.js b/js/uw.js index a07410b..9bfedeb 100644 --- a/js/uw.js +++ b/js/uw.js @@ -15,106 +15,6 @@ var serviceArray = [".video-stream" ]; //Youtube var buttons = []; -console.log("????"); - - -$("