Last active
October 25, 2019 12:47
-
-
Save scmanjarrez/7ed5f8098dd2f2c746dd2078ed0adeac to your computer and use it in GitHub Desktop.
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
scrollbar, scrollbar *, scrollcorner { | |
-moz-appearance: none !important; | |
--scrollbar-width: 10px; | |
--scrollbar-height: var(--scrollbar-width); | |
} | |
scrollbar, scrollcorner { | |
background: #282828 !important; | |
} | |
scrollbar[orient="vertical"] { | |
width: var(--scrollbar-width) !important; | |
min-width: var(--scrollbar-width) !important; | |
} | |
scrollbar[orient="horizontal"] { | |
height: var(--scrollbar-height) !important; | |
min-height: var(--scrollbar-height) !important; | |
} | |
scrollbar thumb { | |
background: #646464 !important; | |
} | |
scrollbar thumb:hover, | |
scrollbar thumb:active { | |
background: #00ACED !important; | |
} | |
scrollbar:hover scrollbarbutton { | |
background-color: #444444 !important; | |
} | |
scrollbar scrollbarbutton:hover { | |
background: #646464 !important; | |
} | |
scrollbar scrollbarbutton:active { | |
background: #00ACED !important; | |
} | |
/* Increase width of VERTICAL SCROLLBAR */ | |
scrollbar[orient="vertical"], scrollbar[orient="vertical"] thumb, scrollbar[orient="vertical"] scrollbarbutton { min-width: 12px !important; -moz-appearance: none !important; } | |
/* Increase width of HORIZONTAL SCROLLBAR */ | |
scrollbar[orient="horizontal"], scrollbar[orient="horizontal"] thumb, scrollbar[orient="horizontal"] scrollbarbutton { min-height: 12px !important; -moz-appearance: none !important; } |
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
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
/* Remove page actions from url bar, three dots*/ | |
image.urlbar-page-action {display:none !important;} | |
/* TAB CLOSE BUTTON */ | |
.tabbrowser-tab .tab-close-button { display:none !important; } | |
/* SHOW CUSTOM ICON BOOKMARK - STAR*/ | |
#pageAction-urlbar-default-bookmark-folder_gustiaux_com { | |
display: block !important | |
} | |
/* RELOAD BUTTON */ | |
#page-action-buttons | |
{ | |
margin-right: 26px !important; | |
} | |
#stop-reload-button .toolbarbutton-icon, #stop-button .toolbarbutton-icon, #reload-button .toolbarbutton-icon | |
{ | |
fill: rgb(102,102,102); | |
height: 24px !important; | |
width: 28px !important; | |
padding: 4px !important; | |
position: absolute !important; | |
} | |
#stop-reload-button | |
{ | |
transform: translateX(-36px); | |
border-radius: 0px !important; | |
z-index: 10 !important; | |
margin-right: -32px; | |
} | |
#wrapper-stop-reload-button .chromeclass-toolbar-additional | |
{ | |
margin-right: 0px !important; | |
transform: translateX(0px); | |
} | |
#stop-reload-button[animate="true"] | |
{ | |
transform: translateX(-36px); | |
opacity: 0.8; | |
} | |
/* Dark scrollbar */ | |
hbox#fullscr-toggler { | |
-moz-binding: url(data:text/plain;charset=utf-8;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhLS0gQ29weXJpZ2h0IChjKSAyMDE3IEhhZ2dhaSBOdWNoaQpBdmFpbGFibGUgZm9yIHVzZSB1bmRlciB0aGUgTUlUIExpY2Vuc2U6Cmh0dHBzOi8vb3BlbnNvdXJjZS5vcmcvbGljZW5zZXMvTUlUCiAtLT4KCjwhLS0gUnVuIHVzZXJDaHJvbWUuanMvdXNlckNocm9tZS54dWwgYW5kIC51Yy5qcy8udWMueHVsLy5jc3MgZmlsZXMgIC0tPgo8YmluZGluZ3MgeG1sbnM9Imh0dHA6Ly93d3cubW96aWxsYS5vcmcveGJsIj4KICAgIDxiaW5kaW5nIGlkPSJqcyI+CiAgICAgICAgPGltcGxlbWVudGF0aW9uPgogICAgICAgICAgICA8Y29uc3RydWN0b3I+PCFbQ0RBVEFbCiAgICAgICAgICAgICAgICBpZih3aW5kb3cudXNlckNocm9tZUpzTW9kKSByZXR1cm47CiAgICAgICAgICAgICAgICB3aW5kb3cudXNlckNocm9tZUpzTW9kID0gdHJ1ZTsKCiAgICAgICAgICAgICAgICB2YXIgY2hyb21lRmlsZXMgPSBGaWxlVXRpbHMuZ2V0RGlyKCJVQ2hybSIsIFtdKS5kaXJlY3RvcnlFbnRyaWVzOwogICAgICAgICAgICAgICAgdmFyIHh1bEZpbGVzID0gW107CiAgICAgICAgICAgICAgICB2YXIgc3NzID0gQ2NbJ0Btb3ppbGxhLm9yZy9jb250ZW50L3N0eWxlLXNoZWV0LXNlcnZpY2U7MSddLmdldFNlcnZpY2UoQ2kubnNJU3R5bGVTaGVldFNlcnZpY2UpOwoKICAgICAgICAgICAgICAgIHdoaWxlKGNocm9tZUZpbGVzLmhhc01vcmVFbGVtZW50cygpKSB7CiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGUgPSBjaHJvbWVGaWxlcy5nZXROZXh0KCkuUXVlcnlJbnRlcmZhY2UoQ2kubnNJRmlsZSk7CiAgICAgICAgICAgICAgICAgICAgdmFyIGZpbGVVUkkgPSBTZXJ2aWNlcy5pby5uZXdGaWxlVVJJKGZpbGUpOwoKICAgICAgICAgICAgICAgICAgICBpZihmaWxlLmlzRmlsZSgpKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAibm9uZSI7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmKC8oXnVzZXJDaHJvbWV8XC51YylcLmpzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAidXNlcmNocm9tZS9qcyI7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvKF51c2VyQ2hyb21lfFwudWMpXC54dWwkL2kudGVzdChmaWxlLmxlYWZOYW1lKSkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICJ1c2VyY2hyb21lL3h1bCI7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvXC5hc1wuY3NzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAiYWdlbnRzaGVldCI7CiAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZigvXig/ISh1c2VyQ2hyb21lfHVzZXJDb250ZW50KVwuY3NzJCkuK1wuY3NzJC9pLnRlc3QoZmlsZS5sZWFmTmFtZSkpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAidXNlcnNoZWV0IjsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICBpZih0eXBlICE9ICJub25lIikgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coIi0tLS0tLS0tLS1cXCAiICsgZmlsZS5sZWFmTmFtZSArICIgKCIgKyB0eXBlICsgIikiKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyeSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWYodHlwZSA9PSAidXNlcmNocm9tZS9qcyIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgU2VydmljZXMuc2NyaXB0bG9hZGVyLmxvYWRTdWJTY3JpcHRXaXRoT3B0aW9ucyhmaWxlVVJJLnNwZWMsIHt0YXJnZXQ6IHdpbmRvdywgaWdub3JlQ2FjaGU6IHRydWV9KTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZih0eXBlID09ICJ1c2VyY2hyb21lL3h1bCIpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeHVsRmlsZXMucHVzaChmaWxlVVJJLnNwZWMpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbHNlIGlmKHR5cGUgPT0gImFnZW50c2hlZXQiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5BR0VOVF9TSEVFVCkpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzc3MubG9hZEFuZFJlZ2lzdGVyU2hlZXQoZmlsZVVSSSwgc3NzLkFHRU5UX1NIRUVUKTsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZWxzZSBpZih0eXBlID09ICJ1c2Vyc2hlZXQiKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmKCFzc3Muc2hlZXRSZWdpc3RlcmVkKGZpbGVVUkksIHNzcy5VU0VSX1NIRUVUKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNzcy5sb2FkQW5kUmVnaXN0ZXJTaGVldChmaWxlVVJJLCBzc3MuVVNFUl9TSEVFVCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBjYXRjaChlKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coIiMjIyMjIyMjIyMgRVJST1I6ICIgKyBlICsgIiBhdCAiICsgZS5saW5lTnVtYmVyICsgIjoiICsgZS5jb2x1bW5OdW1iZXIpOwogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coIi0tLS0tLS0tLS0vICIgKyBmaWxlLmxlYWZOYW1lKTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uIGxvYWRYVUwoKSB7CiAgICAgICAgICAgICAgICAgICAgaWYoeHVsRmlsZXMubGVuZ3RoID4gMCkgewogICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5sb2FkT3ZlcmxheSh4dWxGaWxlcy5zaGlmdCgpLCBudWxsKTsKICAgICAgICAgICAgICAgICAgICAgICAgc2V0VGltZW91dChsb2FkWFVMLCA1KTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICB9LCAwKTsKICAgICAgICAgICAgXV0+PC9jb25zdHJ1Y3Rvcj4KICAgICAgICA8L2ltcGxlbWVudGF0aW9uPgogICAgPC9iaW5kaW5nPgo8L2JpbmRpbmdzPgo=); | |
} | |
/* Remove shit from context menu */ | |
#context-navigation, #context-sep-navigation, #context-openlinkinusercontext-menu, #context-bookmarklink, #context-sep-sendlinktodevice, #context-sendlinktodevice, | |
#context_pinTab, #context_unpinTab, #context_sendTabToDevice_separator, #context_sendTabToDevice, #context_bookmarkAllTabs, #context_closeTabsToTheEnd, #context_closeOtherTabs, | |
#context-sep-sendpagetodevice, #context-sendpagetodevice { | |
display: none !important | |
} | |
/* Disable saved to library (bookmarks) animation */ | |
#confirmation-hint { | |
display: none !important | |
} | |
/* other bookmarks */ | |
#BMB_unsortedBookmarks, | |
#BMB_unsortedBookmarks + #BMB_mobileBookmarks, | |
#BMB_unsortedBookmarks + #BMB_mobileBookmarks + menuseparator{ | |
display: none !important; | |
} | |
/* show all bookmarks, show bookmarks */ | |
#BMB_bookmarksShowAll, | |
#BMB_viewBookmarksSidebar { | |
display: none !important; | |
} | |
/* TreeStyle Tab | |
:root { | |
--sidebar-hover-width: 8px; | |
--sidebar-visible-width: 200px; | |
} | |
#sidebar-box { | |
position: relative !important; | |
overflow-x: hidden !important; | |
margin-right: calc(var(--sidebar-hover-width) * -1) !important; | |
left: var(--sidebar-hover-width) !important; | |
min-width: var(--sidebar-hover-width) !important; | |
max-width: var(--sidebar-hover-width) !important; | |
opacity: 0 !important; | |
} | |
#sidebar-box:hover { | |
margin-right: calc(var(--sidebar-visible-width) * -1) !important; | |
left: var(--sidebar-visible-width) !important; | |
min-width: var(--sidebar-visible-width) !important; | |
max-width: var(--sidebar-visible-width) !important; | |
opacity: 1 !important; | |
} | |
#sidebar { | |
opacity: 0 !important; | |
} | |
#sidebar:hover { | |
opacity: 1 !important; | |
} | |
#sidebar-header { | |
display: none !important; | |
} | |
#sidebar-splitter { | |
} | |
#main-window[sizemode="maximized"] #nav-bar { | |
margin-right: 138px; | |
} | |
#TabsToolbar > .toolbar-items, | |
#TabsToolbar > .titlebar-spacer{ visibility: hidden } | |
#nav-bar{ margin-top: -32px; padding: 0px 0px 0px 0px !important; } | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment