FirefoxSidebar/firefox/userChrome.css

233 lines
11 KiB
CSS
Raw Normal View History

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.
*/
/* Hide .twisty and adjust margins so favicons have 7px on left. */
.tab .twisty {
visibility: hidden;
margin-left: -8px;
display: none;
}
2021-03-03 04:58:13 +00:00
/* Push tab labels slightly to the right so they're completely hidden in collapsed state */
.tab .label {
font-size: 13px;
padding-left: 7.5px;
}
2021-03-03 04:58:13 +00:00
.tab:not(:hover) > .closebox {
display: none;
}
2021-03-03 04:58:13 +00:00
tab-item:hover {
background: var(--in-content-box-background-hover) !important;
opacity: 1;
}
2021-03-03 04:58:13 +00:00
.closebox:hover {
font-weight: 900;
}
2021-03-03 04:58:13 +00:00
.tab, .tabs, body, #background {
/* #F5F6F7; */
background: transparent;
2021-03-03 03:28:27 +00:00
}
2021-03-03 04:58:13 +00:00
.favicon {
--favicon-size: 17px !important;
margin: 0;
padding: 0 !important;
--svg-small-icon-size: var(--favicon-size);
/*! text-align: center; */
margin-left: .5px;
display: inline;
vertical-align: middle;
2021-03-03 03:28:27 +00:00
}
2021-03-03 04:58:13 +00:00
tab-item {
border: 1px solid transparent !important;
height: auto !important;
position: relative !important;
font-size: 13px;
background: none !important;
box-shadow: none !important;
border-radius: 5px;
padding: 5px !important;
margin: 7.5px 10px !Important;
transition: 0 !Important;
text-align: left !important;
transition: width 0.1s !Important;
2021-03-03 03:28:27 +00:00
}
2021-03-03 04:58:13 +00:00
#tabbar-container{
/*! width: 50px; */
/*! margin: 2px; */
transition: none;
}
2021-03-03 04:58:13 +00:00
tab-item:not(.faviconized) .contextual-identity-marker {
--contextual-identity-marker-margin: min(calc((var(--tab-current-size) - var(--favicon-size)) / 2), calc(var(--tab-current-size) * 0));
left: -11px !important;
--contextual-identity-marker-width: 3.5px;
z-index: 9999;
}
2021-03-03 04:58:13 +00:00
#all-tabs {
}
2021-03-03 04:58:13 +00:00
:root.left #tabbar {
box-shadow: none !important;
border: none !important;
margin-top: -5px;
}
2021-03-03 04:58:13 +00:00
#tabbar tab-item {
text-align: center;
/*! width: 100%; */
overflow: hidden !Important;
}
tab-item:not(:hover) {
}
tab-item .label, tab-item .highlighter, tab-item .contextual-identity-marker, tab-item .extra-items-container, tab-item .counter {
2021-03-03 03:28:27 +00:00
/*! display: none; */
2021-03-03 04:58:13 +00:00
/*! margin: 0px !Important; */
}
tab-item.active {
background-color: var(--in-content-box-background) !important;
box-shadow: 0px 5px 10px var(--in-content-box-background-active) !important;
}
2021-03-03 04:58:13 +00:00
:root .tab .highlighter::before {
display: none;
}
2021-03-03 04:58:13 +00:00
.after-tabs button {
border: none;
box-shadow: none;
padding: 5px;
margin: 11px;
text-align: left;
background: none;
}
2021-03-03 04:58:13 +00:00
.after-tabs button:hover {
background: var(--in-content-box-background-hover) !important;
opacity: 1;
border-radius: 5px;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level] {
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="1"] {
margin-left: 20px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="2"] {
margin-left: 30px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="3"] {
margin-left: 40px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="4"] {
margin-left: 50px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="5"] {
margin-left: 60px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="6"] {
margin-left: 70px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="7"] {
margin-left: 80px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar [data-level="8"] {
margin-left: 90px !important;
}
2021-03-03 04:58:13 +00:00
#tabbar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VA0DxjWOJltINOENBoCVnflF67qkFQF3hTKDVEfzEYF28YPEZYPEJ0JV61tRSoVy6Aec4xBvW6lJ68akGQLg5LN2ACF6xVlO2ykVqARCOXnZ8vpZuQASbWGmpJqV00moB0FnpKnuILpK6iL9aqkdpkZtaAFxuSaWqeYfX47ztP5ZuWhTvWaqnudHz06PYJz7aX8IIADrx14tODN4TgpmAaL6yZBVLCTrrJXBIs1mpZHhEe65nSdT//kba3xfxF0t2CbbPKWGyxe//i3vW3z+Xn+BgCJOq/9SSXSwtfukp7P4S2sRoVV1+xgE8Y1kCg3CzJcv8kx11bhEOgPjHQTXlPmlfx6SNJcvc6b9pKt2lpsLm3Bj3f47wunDbYrOPEiv1KKx7VgkA6WHgk8L1+8fjgJV6FDyjEgD+s+roJUO4fhWOWqmljv9LVALA2nBDHJTGvIWx8wqwFADSwyw9hesPLwpL0FScWSGsZo7wucQq2Ok3KXhGJQDkZ9t/JN0A39gJAAXPqATAKSvKVMW/ifdD/GInibaCZ1QC4IQVZaoim3+VboIv6lgaO1HwjEoAHLeiTNU8TQvpJvigpaWOs4JnVBp2xIoyVdPC4lKr4HSwVM8R/5fU1ACA4TpSJVsix1I9CmshVQLgG0vqVMdzNeZA9ass1aMw4KwSAMdC0A083faZ3CHdiISwk8XruK0+AOyzolD11OVv3CPdiARQ3LjpEyWvqAVAvhWFEiGNqUwMQ8bsKmhnafZCyStqARCG8zLO8zgf0166EVXQ11I9uSoXqd07YTlJ+yw3sZ6xvOJrLDyL6+lKNpk0AIrZw3ZWs9LAvJ2t492+tlQPMEp4UVhsWZ2QqdO5nVfYGaeMYt5mqNZh
background-size: contain;
background-repeat: no-repeat;
margin-top: 16px;
margin-bottom: 3px;
text-align: right;
margin-right: -12.5px !important;
opacity: 0.65;
width: 100%;
display: none;
}
2021-03-03 04:58:13 +00:00
.newtab-button {
/*! text-align: left; */
/*! margin: 8px !important; */
}
2021-03-03 04:58:13 +00:00
.newtab-button::after {
content: "New Tab";
font-size: 13px;
padding-left: 12px;
margin-top: -2px;
position: absolute;
opacity: 0.85;
display: none;
}
2021-03-03 04:58:13 +00:00
.after-tabs {
border-top: 1px solid var(--in-content-border-color);
margin-top: 6px;
}
2021-03-03 04:58:13 +00:00
#tabbar-container .newtab-button::after {
display: inline-block;
}
2021-03-03 04:58:13 +00:00
#tabbar-container {
background: var(--theme-colors-toolbar);
}
2021-03-03 03:28:27 +00:00
2021-03-03 04:58:13 +00:00
.newtab-button::before {
padding-left: 1.5px;
2021-03-03 03:28:27 +00:00
}
2021-03-03 04:58:13 +00:00
@media screen and (max-width: 51px) {
tab-item {
max-width: 30px !important;
}
#tabbar [data-level] {
margin-left: auto !important;
}
#tabbar {
max-width: 100%;
}
.tab > .closebox {
display: none;
}
#tabbar-container .newtab-button::after {
display: none;
}
2021-03-03 03:28:27 +00:00
}