2018-12-02 03:07:43 +00:00
|
|
|
/* Makes tabs toolbar items zero-height initially and sets enlarge them to fill up space equal to tab-min-height set on tabs */
|
|
|
|
/* Firefox 65+ only */
|
2019-02-09 10:45:52 +00:00
|
|
|
|
2018-12-02 03:30:59 +00:00
|
|
|
|
2019-02-08 22:03:13 +00:00
|
|
|
:root[sizemode="normal"] #nav-bar{ --uc-window-drag-space-width: 20px }
|
2018-12-02 03:30:59 +00:00
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
#titlebar{ -moz-appearance: none !important; }
|
2019-02-08 22:03:13 +00:00
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox{ min-height: 0 !important; }
|
2019-02-08 22:03:13 +00:00
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
:root:not([customizing]) #tabbrowser-tabs .tabs-newtab-button,
|
2019-09-01 14:25:56 +00:00
|
|
|
:root:not([customizing]) #tabs-newtab-button,
|
2020-01-09 22:19:05 +00:00
|
|
|
:root:not([customizing]) #TabsToolbar-customization-target > .toolbarbutton-1,
|
2018-12-02 03:07:43 +00:00
|
|
|
:root:not([customizing]) #TabsToolbar .titlebar-button{
|
|
|
|
-moz-appearance: none !important;
|
|
|
|
height: 0px;
|
|
|
|
padding-top: 0px !important;
|
|
|
|
padding-bottom: 0px !important;
|
|
|
|
-moz-box-align: stretch;
|
|
|
|
margin: 0 !important;
|
|
|
|
}
|
2020-01-09 22:19:05 +00:00
|
|
|
|
|
|
|
:root:not([customizing]) #TabsToolbar-customization-target > .toolbarbutton-1 > .toolbarbutton-icon{
|
|
|
|
padding-block: 0px !important;
|
|
|
|
max-height: 28px;
|
|
|
|
height: 20px !important
|
|
|
|
}
|
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
#tabbrowser-tabs .tabbrowser-tab{ height: var(--tab-min-height) }
|
2019-02-08 22:03:13 +00:00
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
#tabbrowser-tabs .tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
|
|
|
|
visibility: collapse !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Button re-styling */
|
2019-09-01 14:25:56 +00:00
|
|
|
#tabs-newtab-button:hover,
|
2018-12-02 03:07:43 +00:00
|
|
|
#tabbrowser-tabs .tabs-newtab-button:hover{ background-color: var(--toolbarbutton-hover-background) }
|
2019-02-08 22:03:13 +00:00
|
|
|
|
2019-09-01 14:25:56 +00:00
|
|
|
#tabs-newtab-button > .toolbarbutton-icon,
|
2018-12-02 03:07:43 +00:00
|
|
|
#tabbrowser-tabs .tabs-newtab-button > .toolbarbutton-icon{
|
|
|
|
padding: 0 !important;
|
|
|
|
transform: scale(0.6);
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
/* Extra top padding in maximized window */
|
2019-11-11 15:23:33 +00:00
|
|
|
:root[sizemode="maximized"] #navigator-toolbox{ padding-top:7px !important; }
|
2019-02-08 22:03:13 +00:00
|
|
|
|
2018-12-02 03:07:43 +00:00
|
|
|
/* Fix window controls not being clickable */
|
2019-10-12 20:52:39 +00:00
|
|
|
:root[tabsintitlebar] #toolbar-menubar[autohide="true"][inactive]{
|
|
|
|
transition: height 0ms steps(1) 80ms;
|
2018-12-02 03:30:59 +00:00
|
|
|
}
|
2019-12-06 08:29:44 +00:00
|
|
|
#nav-bar{
|
|
|
|
border-inline: var(--uc-window-drag-space-width) solid var(--toolbar-bgcolor);
|
2020-01-09 22:19:05 +00:00
|
|
|
}
|