Skip to content

Commit

Permalink
Fix tabs in Firefox 58+
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasGollenstede committed Dec 17, 2017
1 parent 36f345e commit 4381081
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
22 changes: 13 additions & 9 deletions developer-edition-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
{ margin-top: 1px; }
window[uidensity=compact]
{ --tab-min-height: 31px; }

#TabsToolbar {
margin-bottom: 0px;
}

tab[pending] {
opacity: 0.6;
Expand All @@ -88,32 +92,31 @@
tab[selected] .tab-background {
border-style: solid;
border-width: 0 1px;
border-image: linear-gradient(to bottom, #C75600 3px, #777 3px, #777 90%, transparent 90%) 1 100%;
border-image: linear-gradient(to bottom, #C75600 3px, #777 3px, #777 100%, transparent 100%) 1 100%;
}

tab:not([pinned]) {
transition: none;
}
tab[selected]:not([pinned]) {
min-width: 200px;
}

tab[pinned] .tab-content {
padding: 0 2px 0 10px;
}
tab[pinned]:not([selected]) .tab-background {
border-image: linear-gradient(to bottom, #7777 90%, transparent 90%) 1 100%;
border-right: 1px solid;
border-left: 1px solid;
tab[pinned][busy] .tab-content {
padding: 0 9px 0 10px;
}
tab[pinned]::before { /*left border */
display: none;
}

.tab-line
{ height: 1.7px; }
{ height: 2px; }

.tab-bottom-line
{ transform: translateY(-2px); }
tab[selected] .tab-bottom-line
{ transform: translateY(-1px); }
{ transform: translateY(-.5px); }

.tab-icon-image {
padding: 5px;
Expand Down Expand Up @@ -149,6 +152,7 @@
.mail-toolbox {
border-top: 1px solid #777;
margin-top: -1px;
box-shadow: none;
}

.searchbar-textbox,
Expand Down
2 changes: 1 addition & 1 deletion extensions-inverted.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

@-moz-document
regexp("moz-extension://[\w-]+/(crxviewer).html\\b.*"), /* crxviewer */
regexp("moz-extension://[\w-]+/(dashboard|logger-ui|1p-filters|3p-filters|advanced-settings|asset-viewer|background|cloud-ui|dashboard|document-blocked|dyna-rules|epicker|logger-ui|whitelist).html\\b.*"), /* uBlock + uMatrix */
regexp("moz-extension://[\w-]+/(1p-filters|3p-filters|advanced-settings|asset-viewer|background|cloud-ui|dashboard|document-blocked|dyna-rules|epicker|hosts-files|logger-ui|user-rules|whitelist).html\\b.*"), /* uBlock + uMatrix */
regexp("moz-extension://[\w-]+/(about|settings).html\\b.*") /* general */
{

Expand Down

0 comments on commit 4381081

Please sign in to comment.