diff options
author | morpheus65535 <[email protected]> | 2017-12-21 22:36:22 -0500 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2017-12-21 22:36:22 -0500 |
commit | 5bfdc3ae34f0c4ec82dc642de424e397b074dfab (patch) | |
tree | d07b96a7c1e99800fbc0fdcdcb8d8091683ac917 /views | |
parent | 6331206cc10bc39c571882c5613e74b1e68a4ddc (diff) | |
download | bazarr-5bfdc3ae34f0c4ec82dc642de424e397b074dfab.tar.gz bazarr-5bfdc3ae34f0c4ec82dc642de424e397b074dfab.zip |
Adjust background color of menu
Diffstat (limited to 'views')
-rw-r--r-- | views/menu.tpl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/views/menu.tpl b/views/menu.tpl index e5adee3e2..282232d29 100644 --- a/views/menu.tpl +++ b/views/menu.tpl @@ -3,8 +3,8 @@ <!DOCTYPE html> <style> #divmenu { - background-color: #272727; - opacity: 0.9; + background-color: #000000; + opacity: 0.8; padding-top: 2em; padding-bottom: 1em; padding-left: 1em; @@ -32,7 +32,7 @@ <div class="ui grid"> <div class="row"> <div class="sixteen wide column"> - <div style="background-color:#272727;" class="ui inverted borderless labeled icon massive menu five item"> + <div class="ui inverted borderless labeled icon massive menu five item"> <div class="ui container"> <a class="item" href="{{base_url}}"> <i class="play icon"></i> @@ -102,4 +102,13 @@ minCharacters : 2 }) ; + + if (window.location.href.indexOf("episodes") > -1) { + $('.menu').css('background', '#000000'); + $('#divmenu').css('background', '#000000'); + } + else { + $('.menu').css('background', '#272727'); + $('#divmenu').css('background', '#272727'); + } </script>
\ No newline at end of file |