diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-01-27 21:20:52 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-01-27 21:20:52 -0600 |
| commit | c0fdc28a8439cd9f6255a4c5b84c4fae06b4912b (patch) | |
| tree | 88cdc7a143fe762fcdafef62c9db84618919dfc3 /assets | |
| parent | 6218078c517abe88f8dc6470eb5bc83b12d990d6 (diff) | |
| download | invidious-c0fdc28a8439cd9f6255a4c5b84c4fae06b4912b.tar.gz invidious-c0fdc28a8439cd9f6255a4c5b84c4fae06b4912b.tar.bz2 invidious-c0fdc28a8439cd9f6255a4c5b84c4fae06b4912b.zip | |
Fix colors and data-url in download widget
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/default.css | 8 | ||||
| -rw-r--r-- | assets/js/watch.js | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 4f0db4cf..244a5edd 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -22,11 +22,13 @@ div { padding-right: 10px; } +button.pure-button-primary, a.pure-button-primary { background-color: #a0a0a0; color: rgba(35, 35, 35, 1); } +button.pure-button-primary:hover, a.pure-button-primary:hover { background-color: rgba(0, 182, 240, 1); color: #fff; @@ -271,14 +273,16 @@ img.thumbnail { #progress-container { width: 100%; border-radius: 2px; - background: #aaa; + background-color: #a0a0a0; + color: rgba(35, 35, 35, 1); } #download-progress { width: 0%; border-radius: 2px; height: 10px; - background-color: #0078e7; + background-color: rgba(0, 182, 240, 1); + color: #fff; margin-top: 0.5em; margin-bottom: 0.5em; } diff --git a/assets/js/watch.js b/assets/js/watch.js index 81fa6288..0126c586 100644 --- a/assets/js/watch.js +++ b/assets/js/watch.js @@ -65,8 +65,6 @@ function download_video(target) { } } - url = "/videoplayback" + url.split("/videoplayback")[1]; - var xhr = new XMLHttpRequest(); xhr.open("GET", url); xhr.responseType = "arraybuffer"; |
