Created
October 18, 2016 03:05
-
-
Save anonymous/46355d01f6f8c4f4c28cbb00b558badb to your computer and use it in GitHub Desktop.
Patching to minimalist Vivaldi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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