style: Making vertical tab width consistant with sidebar
This commit is contained in:
parent
014606d748
commit
41f7f51fe5
1 changed files with 19 additions and 2 deletions
|
@ -12,23 +12,40 @@
|
||||||
*/
|
*/
|
||||||
:root {
|
:root {
|
||||||
/* from Floorp source code, too big for me */
|
/* from Floorp source code, too big for me */
|
||||||
|
/*--default-verticaltab-width: 45px;*/
|
||||||
/*--hoverd-verticaltab-width: 20em;*/
|
/*--hoverd-verticaltab-width: 20em;*/
|
||||||
|
|
||||||
|
--default-verticaltab-width: 35px !important;
|
||||||
--hoverd-verticaltab-width: 16em;
|
--hoverd-verticaltab-width: 16em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@charset "UTF-8";
|
@charset "UTF-8";
|
||||||
@-moz-document url(chrome://browser/content/browser.xhtml) {
|
@-moz-document url(chrome://browser/content/browser.xhtml) {
|
||||||
|
.browserContainer {
|
||||||
|
border-inline-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar-select-box {
|
||||||
|
width: var(--default-verticaltab-width) !important;
|
||||||
|
min-width: var(--default-verticaltab-width) !important;
|
||||||
|
max-width: var(--default-verticaltab-width) !important;
|
||||||
|
}
|
||||||
|
|
||||||
#TabsToolbar {
|
#TabsToolbar {
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
transition: all 300ms !important;
|
transition: all 300ms !important;
|
||||||
min-width: var(--default-verticaltab-width) !important;
|
width: calc(var(--default-verticaltab-width) + 5px) !important;
|
||||||
max-width: var(--default-verticaltab-width) !important;
|
min-width: calc(var(--default-verticaltab-width) + 5px) !important;
|
||||||
|
max-width: calc(var(--default-verticaltab-width) + 5px) !important;
|
||||||
z-index: 1; /* Probably not needed, since Floorp already handle this */
|
z-index: 1; /* Probably not needed, since Floorp already handle this */
|
||||||
}
|
}
|
||||||
|
#TabsToolbar:not(:hover) {
|
||||||
|
scrollbar-width: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
#TabsToolbar:hover {
|
#TabsToolbar:hover {
|
||||||
transition: all 300ms !important;
|
transition: all 300ms !important;
|
||||||
|
width: var(--hoverd-verticaltab-width) !important;
|
||||||
min-width: var(--hoverd-verticaltab-width) !important;
|
min-width: var(--hoverd-verticaltab-width) !important;
|
||||||
max-width: var(--hoverd-verticaltab-width) !important;
|
max-width: var(--hoverd-verticaltab-width) !important;
|
||||||
z-index: 2; /* Probably not needed, since Floorp already handle this */
|
z-index: 2; /* Probably not needed, since Floorp already handle this */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue