mirror of
https://github.com/CaptaiNiveau/FirefoxSidebar.git
synced 2025-06-01 14:06:17 +02:00
Increased width and added fix to prevent flash
This commit is contained in:
parent
fe3cc57349
commit
41caa0524b
2 changed files with 16 additions and 7 deletions
|
@ -14,6 +14,14 @@
|
||||||
padding-top: 2px !important;
|
padding-top: 2px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Prevent white new tab flash - see alternative solution in userContent */
|
||||||
|
#tabbrowser-tabpanels {
|
||||||
|
background-color: #404040 !important;
|
||||||
|
}
|
||||||
|
#browser {
|
||||||
|
background-color: #404040 !important;
|
||||||
|
}
|
||||||
|
|
||||||
/* #main-window {
|
/* #main-window {
|
||||||
background-color: rgba(0,0,0,0.45) !important;
|
background-color: rgba(0,0,0,0.45) !important;
|
||||||
background: linear-gradient(8deg, rgba(0,0,0,0.4) 96%, #000) !important; /* gradient to hide the required windows control buttons in bg
|
background: linear-gradient(8deg, rgba(0,0,0,0.4) 96%, #000) !important; /* gradient to hide the required windows control buttons in bg
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
margin-top: var(--menubar-height) !important;
|
margin-top: var(--menubar-height) !important;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
transition: 0.25s !important;
|
transition: 0.2s !important;
|
||||||
|
|
||||||
/* lock sidebar to specified width */
|
/* lock sidebar to specified width */
|
||||||
min-width: var(--sidebar-width) !important;
|
min-width: var(--sidebar-width) !important;
|
||||||
|
@ -64,23 +64,24 @@
|
||||||
top: 42px;
|
top: 42px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*All other sidebar-boxes should be larger on hover*/
|
All other sidebar-boxes should be larger on hover
|
||||||
#sidebar-box:hover, #sidebar-box #sidebar:hover {
|
#sidebar-box:hover, #sidebar-box #sidebar:hover {
|
||||||
min-width: 350px !important;
|
min-width: 350px !important;
|
||||||
max-width: 350px !important;
|
max-width: 350px !important;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
margin-right: -300px !important;
|
margin-right: -300px !important;
|
||||||
a
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*Tree Style Tabs && Sideberry specific sidebar width and size*/
|
/*Tree Style Tabs && Sideberry specific sidebar width and size*/
|
||||||
|
|
||||||
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover,
|
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover,
|
||||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover,
|
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover,
|
||||||
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover {
|
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover .child-element[data-selected="true"],
|
||||||
min-width: 260px !important;
|
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover
|
||||||
max-width: 260px !important;
|
#sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] #sidebar:hover .child-element[data-selected="true"] {
|
||||||
margin-right: -210px !important;
|
min-width: 350px !important;
|
||||||
|
max-width: 350px !important;
|
||||||
|
margin-right: -300px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar-header {
|
#sidebar-header {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue