diff --git a/res/static/img/bat_logo_color.png b/res/static/img/bat_logo_color.png new file mode 100644 index 0000000..46fb729 Binary files /dev/null and b/res/static/img/bat_logo_color.png differ diff --git a/res/static/img/brave_lion.png b/res/static/img/brave_lion.png new file mode 100644 index 0000000..5081a78 Binary files /dev/null and b/res/static/img/brave_lion.png differ diff --git a/res/static/img/brave_lion_alt.png b/res/static/img/brave_lion_alt.png new file mode 100644 index 0000000..49acd7a Binary files /dev/null and b/res/static/img/brave_lion_alt.png differ diff --git a/res/static/img/brave_text.png b/res/static/img/brave_text.png new file mode 100644 index 0000000..8860dba Binary files /dev/null and b/res/static/img/brave_text.png differ diff --git a/res/static/script/Toolbar.js b/res/static/script/Toolbar.js index 0e73270..605369c 100644 --- a/res/static/script/Toolbar.js +++ b/res/static/script/Toolbar.js @@ -119,11 +119,11 @@ var Sharebar = { } if(this.visible){ - document.getElementById("sharebar").style.left = "-112px"; + document.getElementById("sharebar").style.left = "-7em"; document.getElementById("btnShare").classList.remove("button_highlight") this.visible = false; }else{ - document.getElementById("sharebar").style.left = "120px"; + document.getElementById("sharebar").style.left = "8em"; document.getElementById("btnShare").classList.add("button_highlight") this.visible = true; } diff --git a/res/static/style/viewer.css b/res/static/style/viewer.css index 2e83cf7..d014aa2 100644 --- a/res/static/style/viewer.css +++ b/res/static/style/viewer.css @@ -11,7 +11,7 @@ body{ position: absolute; display: inline-block; top: 0px; - left: 122px; + left: 8em; right: 0px; bottom: 0px; min-height: 100px; @@ -96,7 +96,7 @@ body{ #toolbar { position: absolute; - width: 120px; + width: 8em; z-index: 52; overflow: hidden; float: left; @@ -125,7 +125,7 @@ body{ position: absolute; left: 0; top: 0; - width: 120px; + width: 8em; height: auto; } @@ -158,7 +158,7 @@ body{ #sponsors{ position: relative; height: 600px; - width: 120px; + width: 8em; margin: 0; border: none; z-index: 9; @@ -170,8 +170,8 @@ body{ #sharebar{ position: absolute; - width: 100px; - left: -120px; + width: 7em; + left: -8em; bottom: 0; top: 0; overflow-y: scroll; @@ -196,12 +196,12 @@ body{ opacity: 0; transition: visibility 1s, opacity 1s, left 1s; background-color: var(--background_color); - left: 142px; - right: 20px; - bottom: 20px; - top: 20px; + left: 9em; + right: 1em; + bottom: 1em; + top: 1em; overflow-y: scroll; - padding: 10px; + padding: 1em; box-sizing: border-box; text-align: left; box-shadow: var(--shadow_color) 0px 0px 50px; diff --git a/res/template/file_viewer.html b/res/template/file_viewer.html index 336c779..2e6383f 100644 --- a/res/template/file_viewer.html +++ b/res/template/file_viewer.html @@ -53,35 +53,42 @@