Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created October 18, 2016 03:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/46355d01f6f8c4f4c28cbb00b558badb to your computer and use it in GitHub Desktop.
Save anonymous/46355d01f6f8c4f4c28cbb00b558badb to your computer and use it in GitHub Desktop.
Patching to minimalist Vivaldi
Update {Current Version Number} as applicable
-----------------------------------
Create /Applications/Vivaldi.app/Contents/Versions/{Current Version Number}/Vivaldi Framework.framework/Resources/vivaldi/style/custom.css
-----------------------------------
/* Remove unnecessary buttons from address bar */
.button-toolbar.home { display: none }
.button-toolbar.reload { display: none }
.button-toolbar.back { display: none }
.button-toolbar.forward { display: none }
/* Remove unncessary buttons from tab bar */
.button-tabbar.newtab { display: none }
.button-tabbar.toggle-trash { display: none }
.add-bookmark-container.addressfield-popup-container { display: none }
/* Hide window controls */
#browser.mac .window-buttongroup { display: none }
/* Reduce top and side padding for tabs */
#tabs-container.top { padding-top: 2px }
.mac #tabs-container.top { padding-left: 2px }
-----------------------------------
In /Applications/Vivaldi.app/Contents/Versions/{Current Version Number}/Vivaldi Framework.framework/Resources/vivaldi/browser.html
-----------------------------------
Add after line 6: <link rel="stylesheet" href="style/custom.css" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment