Skip to content

Commit

Permalink
Draw a border when hiding the tab bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lootyhoof committed Mar 20, 2019
1 parent 861d4ea commit 5ebabbc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/chrome/application/basilisk/browser.css
Expand Up @@ -209,6 +209,10 @@ toolbar[brighttext] {
color: var(--toolbar-color);
}

#navigator-toolbox[tabsontop="false"] {
margin-bottom: -1px;
}

@media not all and (-moz-windows-compositor),
not all and (-moz-windows-default-theme) {
/* Please keep the menu text colors in this media block in sync with
Expand Down Expand Up @@ -2249,6 +2253,17 @@ html|span.ac-emphasize-text-url {
background: transparent;
}

/* When the tab bar is collapsed and on bottom (CTR), show a 1px border in its place. */
#TabsToolbar[tabsontop="false"][style="visibility: collapse;"] {
visibility: visible !important;
height: 1px;
overflow: hidden;
}

#TabsToolbar[tabsontop="false"][style="visibility: collapse;"] .tabbrowser-tab {
display: none;
}

#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
Expand Down
11 changes: 11 additions & 0 deletions src/chrome/application/palemoon/browser.css
Expand Up @@ -1644,6 +1644,17 @@ richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-
background: transparent;
}

/* When the tab bar is collapsed, show a 1px border in its place. */
#TabsToolbar[collapsed="true"] {
visibility: visible;
height: 1px;
overflow: hidden;
}

#TabsToolbar[collapsed="true"] .tabbrowser-tab {
display: none;
}

#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
Expand Down

0 comments on commit 5ebabbc

Please sign in to comment.