2021-12-22 18:54:43 +00:00
|
|
|
|
|
|
|
/*
|
2021-03-03 04:58:13 +00:00
|
|
|
Title: Drannex42's Personal userChrome.css for Firefox
|
|
|
|
Description: This is my personal userChrome for Firefox, I specifically clean up the interface, change the folder icon to Vivaldi's (much better) and reduce padding in some areas, and add some in others. This overall creates a much more streamlined interface.
|
|
|
|
Features: Streamlines interface, folder icon replacement, works best with my custom Tree Style Tabs interface (check it out! treestyletabs.css in the /firefox/ directory), removes tab bar.
|
2022-01-12 02:28:47 +00:00
|
|
|
Version: 12022.01.11 :: Fixed sidebar header, improved borders, improved variables, increased padding for alignment. This pares with the same version sideberry update.
|
2021-03-03 04:58:13 +00:00
|
|
|
*/
|
2021-03-03 05:06:19 +00:00
|
|
|
|
2021-12-22 18:54:43 +00:00
|
|
|
:root {
|
|
|
|
--sidebar-width: 50px;
|
|
|
|
--toolbar-height: -50px;
|
2022-01-12 02:28:47 +00:00
|
|
|
--menubar-height: -74px;
|
2021-12-22 18:54:43 +00:00
|
|
|
--sidebar-padding: calc(var(--sidebar-width) + 5px);
|
|
|
|
--toolbar-start-end-padding: 5px !important;
|
|
|
|
--toolbar-start-end-padding: 5px !important;
|
2022-01-12 02:28:47 +00:00
|
|
|
|
|
|
|
/* Enable this (remove the comment surrounding) if you want a custom sidebar header color, this shouldn't be needed anymore but might be! */
|
|
|
|
/* --custom-sidebar-bg: #000 !important; */
|
2021-12-22 18:54:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
#main-window #TabsToolbar {
|
|
|
|
visibility: collapse;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
#sidebar-box > #browser,
|
|
|
|
#webextpanels-window{ background: transparent !important }
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
|
|
|
|
/*! display: none; */
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/*Collapse in default state and add transition*/
|
2021-12-22 18:54:43 +00:00
|
|
|
#sidebar-box #sidebar:hover {
|
2021-03-03 05:03:35 +00:00
|
|
|
/*! overflow: visible !important; */
|
|
|
|
min-width: 40px;
|
|
|
|
max-width: 40px;
|
2022-01-12 02:28:47 +00:00
|
|
|
border-right: none !Important /* border-right: 1px solid var(--sidebar-border-color) !important; */
|
2021-03-03 05:03:35 +00:00
|
|
|
z-index: 2;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/*All other sidebar-boxes should be larger on hover*/
|
2021-12-22 18:54:43 +00:00
|
|
|
#sidebar-box:hover {
|
2021-03-03 05:03:35 +00:00
|
|
|
min-width: 350px !important;
|
|
|
|
max-width: 350px !important;
|
|
|
|
z-index: 1;
|
2021-03-03 05:06:19 +00:00
|
|
|
margin-right: -300px !important;
|
2021-03-03 03:28:27 +00:00
|
|
|
}
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
/*Tree Style Tabs && Sideberry specific sidebar width and size*/
|
2021-03-03 03:28:27 +00:00
|
|
|
|
2021-06-14 23:26:30 +00:00
|
|
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover,
|
|
|
|
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover {
|
2021-03-03 05:03:35 +00:00
|
|
|
min-width: 260px !important;
|
|
|
|
max-width: 260px !important;
|
|
|
|
z-index: 1;
|
|
|
|
margin-right: -210px !important;
|
2021-03-03 03:28:27 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#sidebar-header {
|
|
|
|
border: none !important;
|
2022-01-12 02:28:47 +00:00
|
|
|
border-right: 1px solid var(--sidebar-border-color);
|
|
|
|
background: var(--custom-sidebar-bg, --sidebar-background-color) !important;
|
|
|
|
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#sidebar-close, #sidebar-title, #sidebar-switcher-arrow {
|
|
|
|
display: none;
|
|
|
|
border: none;
|
|
|
|
}
|
2021-03-01 00:39:39 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#sidebar-switcher-target {
|
|
|
|
border: none !important;
|
|
|
|
margin-left: 4.5px !important;
|
2021-12-22 18:54:43 +00:00
|
|
|
padding-top: 4px !important;
|
2022-01-12 02:28:47 +00:00
|
|
|
padding-bottom: 6px !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#sidebar-switcher-target:focus-visible:not(:hover, [open]), #sidebar-close:focus-visible:not(:hover, [open]) {
|
|
|
|
outline: none !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
|
|
|
|
/* lock sidebar to height by doing the inverse margin of the toolbar element */
|
|
|
|
#sidebar-box {
|
2022-01-12 02:28:47 +00:00
|
|
|
background: var(--custom-sidebar-bg) !important;
|
2021-03-03 05:03:35 +00:00
|
|
|
z-index: 1000 !important;
|
2021-09-07 19:00:03 +00:00
|
|
|
position: relative !important;
|
2021-03-03 05:03:35 +00:00
|
|
|
margin-top: var(--menubar-height) !important;
|
2022-01-12 02:28:47 +00:00
|
|
|
border-right: none;
|
2021-03-03 05:03:35 +00:00
|
|
|
transition: none !important;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-01 00:39:39 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/* lock sidebar to specified width */
|
2021-03-07 02:22:02 +00:00
|
|
|
#sidebar-box {
|
2021-03-03 05:03:35 +00:00
|
|
|
min-width: var(--sidebar-width) !important;
|
|
|
|
max-width: var(--sidebar-width) !important;
|
|
|
|
overflow: hidden !important;
|
2021-06-08 20:41:26 +00:00
|
|
|
transition-property: width;
|
|
|
|
transition-duration: .25s;
|
|
|
|
transition-delay: .25s;
|
|
|
|
transition-timing-function: ease-in;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-01 00:39:39 +00:00
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
|
|
|
|
#sidebar-box::after {
|
|
|
|
background: var(--sidebar-border-color) !important;
|
|
|
|
margin-left: 207px;
|
|
|
|
z-index: 9999999;
|
|
|
|
position: absolute;
|
|
|
|
content: " ";
|
|
|
|
width: 1px;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 999999999;
|
|
|
|
top: 0;
|
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar-box:hover:after {
|
|
|
|
top: 42px;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
.sidebar-splitter {
|
|
|
|
opacity: 0 !important;
|
|
|
|
width: 0px !important;
|
|
|
|
border: none !Important;
|
|
|
|
--avatar-image-url: none !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
2021-03-03 04:58:13 +00:00
|
|
|
|
2021-03-07 01:38:28 +00:00
|
|
|
#sidebarMenu-popup .subviewbutton {
|
|
|
|
min-width: 0px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 !Important;
|
|
|
|
}
|
|
|
|
|
|
|
|
toolbarseparator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
#sidebar { border-right: none !important; overflow: hidden;width: 50px !important;min-width: 50px !important;width: 100% !important;}
|
2021-03-10 00:04:31 +00:00
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
#nav-bar-customization-target {
|
|
|
|
z-index: 99999;
|
|
|
|
position: relative;
|
|
|
|
}
|
2021-03-10 00:04:31 +00:00
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
.browser-toolbar {
|
|
|
|
padding-left: var(--sidebar-width) !important;
|
|
|
|
position: relative !important;
|
|
|
|
}
|
2021-03-07 01:38:28 +00:00
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
#PersonalToolbar {
|
|
|
|
padding: 2px 5px !important;
|
|
|
|
padding-top: 0px !important;
|
|
|
|
margin-top: 0px !important;
|
|
|
|
padding-left: calc(var(--sidebar-width) + 6px) !important;
|
|
|
|
}
|
2021-03-07 01:38:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-12 02:28:47 +00:00
|
|
|
|
|
|
|
/* OTHER CUSTOM OPTIONS */
|
|
|
|
|
|
|
|
|
|
|
|
/* hide normal horizontal tab bar */
|
2021-03-03 04:58:13 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/* --- Prevent enlargement */
|
|
|
|
#urlbar[breakout-extend] {
|
|
|
|
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
|
|
|
|
left: 0 !important;
|
|
|
|
width: 100% !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
#urlbar[breakout-extend] #urlbar-input-container {
|
|
|
|
height: var(--urlbar-height) !important;
|
|
|
|
/*padding: 0px !important;*/
|
|
|
|
padding-block: 0px !important;
|
|
|
|
padding-inline: 0px !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
.urlbarView-row {
|
|
|
|
padding: 0px 2px 0px 2px;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
/* END Prevent enlargement --- */
|
2021-03-03 04:58:13 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/*/* --- Reduce row paddings to make them more compact */
|
|
|
|
.urlbarView-row {
|
|
|
|
padding: 2px 0px !important;
|
|
|
|
line-height: 1.2em !imortant;
|
|
|
|
margin: -1px;
|
|
|
|
margin-bottom:0px;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
.urlbarView-row-inner {
|
|
|
|
padding-bottom: 6px !important;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
.urlbarView {
|
|
|
|
margin: 0px !important;
|
|
|
|
width: 100% !important;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
/* END Reduce row paddings to make them more compact --- */
|
2021-03-01 00:39:39 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/* Disable Urlbar Animation */
|
|
|
|
#urlbar[breakout][breakout-extend][breakout-extend-animate] > #urlbar-background {
|
|
|
|
animation-name: none !important;
|
|
|
|
animation: none !important;
|
2021-03-01 00:39:39 +00:00
|
|
|
}
|
2021-03-03 03:28:27 +00:00
|
|
|
|
2021-03-03 05:03:35 +00:00
|
|
|
/* --- More compact "Search with Google" rows */
|
|
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"] > .urlbarView-row-inner {
|
|
|
|
min-height: auto !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
.urlbarView-row[dynamicType="onboardTabToSearch"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-favicon {
|
|
|
|
margin-bottom: -1px;
|
2021-03-03 03:28:27 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
/* END More compact "Search with Google" rows --- */
|
2021-03-03 03:28:27 +00:00
|
|
|
|
2021-03-10 00:04:31 +00:00
|
|
|
/* Remove active border on the addressbar when in focus */
|
2021-03-03 05:03:35 +00:00
|
|
|
#nav-bar{ --toolbar-field-focus-border-color: #ccc }
|
2021-03-03 04:58:13 +00:00
|
|
|
|
2021-03-10 00:04:31 +00:00
|
|
|
/* Remove box shadow on address bar */
|
|
|
|
#urlbar-background, #searchbar {
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Change Bookmark Folder Icon to the one Vivialdi uses */
|
2021-03-03 05:03:35 +00:00
|
|
|
.bookmark-item[container] {
|
|
|
|
list-style-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMi4zNTcxNyAzLjM2MDc1QzIuMTMzMjMgMy41ODY5MyAyLjAwNTE1IDMuODkyMjEgMiA0LjIxMjAzVjExLjc4NzJDMS45OTQ0MSAxMS45NDc5IDIuMDIxNjMgMTIuMTA4MSAyLjA3OTk2IDEyLjI1NzdDMi4xMzgyOCAxMi40MDczIDIuMjI2NDggMTIuNTQzMSAyLjMzOTA0IDEyLjY1NjhDMi40NTE2IDEyLjc3MDUgMi41ODYxMyAxMi44NTk2IDIuNzM0MjUgMTIuOTE4NUMyLjg4MjM3IDEyLjk3NzQgMy4wNDA5MSAxMy4wMDQ5IDMuMiAxMi45OTkzSDEyLjhDMTMuMTE2NyAxMi45OTQxIDEzLjQxODkgMTIuODY0NyAxMy42NDI4IDEyLjYzODVDMTMuODY2OCAxMi40MTIzIDEzLjk5NDggMTIuMTA3MSAxNCAxMS43ODcyTDE0IDZDMTQgNS41IDEzLjUgNSAxMyA1SDhMNi44IDNIMy4yQzIuODgzMzQgMy4wMDUyIDIuNTgxMSAzLjEzNDU3IDIuMzU3MTcgMy4zNjA3NVpNMi45OTkzOSAxMS44MjJMMyAxMS44MDQ2VjQuMjIzMThDMy4wMDIyMyA0LjE2MTcxIDMuMDI3NDEgNC4xMDUxMSAzLjA2Nzc5IDQuMDY0MzJDMy4xMDc3MyA0LjAyMzk4IDMuMTU5MjkgNC4wMDIwOCAzLjIxMTYxIDRINi4yNDU4OUw3LjUgNkgxMi44QzEyLjkxMDUgNiAxMyA2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jU2NyAxMS45Njk0IDMuMDQ5NjcgMTEuOTUzM0MzLjAzMzY0IDExLjkzNzEgMy4wMjA1MSAxMS45MTcxIDMuMDExNjUgMTEuODk0NEMzLjAwMjc4IDExLjg3MTcgMi45OTg1MyAxMS44NDcgMi45OTkzOSAxMS44MjJaIiBmaWxsLW9wYWNpdHk9IjAuMSI+PC9wYXRoPgo8L3N2Zz4=") !important;
|
|
|
|
padding-right: 15px !important;
|
|
|
|
margin-right: -1px !important;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
|
|
|
|
|
2021-03-10 00:04:31 +00:00
|
|
|
/* Add down arrow to folders on the bookmark bar */
|
2021-03-03 05:03:35 +00:00
|
|
|
.bookmark-item[container]::after {
|
2021-06-08 20:41:26 +00:00
|
|
|
content: "ˇ";
|
2021-08-17 22:36:09 +00:00
|
|
|
opacity: 0.55;
|
|
|
|
padding-left: 3.5px;
|
|
|
|
font-size: 23px;
|
2021-06-08 20:41:26 +00:00
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2021-08-17 22:36:09 +00:00
|
|
|
top: 6.9px;
|
2021-03-03 04:58:13 +00:00
|
|
|
}
|
2021-03-03 05:03:35 +00:00
|
|
|
|
2021-03-10 00:04:31 +00:00
|
|
|
/* Change the Avatar size for the Firefox Account to what makes sense */
|
|
|
|
[label="Firefox Account"] #fxa-avatar-image {
|
|
|
|
scale: 1.175;
|
|
|
|
}
|
|
|
|
|