Skip to content

Commit

Permalink
Fixed: Discarded tabs styles
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed May 2, 2021
1 parent 784589f commit 0566d0e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
9 changes: 6 additions & 3 deletions src/styles/themes/default/pinned-tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@
border: var(--tabs-selected-border)
box-shadow: var(--tabs-selected-shadow)

&[data-discarded]
opacity: .5

&[data-discarded] > .fav
&[data-discarded]:hover > .fav
&[data-discarded] > .title
&[data-discarded] > .ctx
opacity: .56

&[data-loading="true"]
cursor: progress

Expand Down
7 changes: 5 additions & 2 deletions src/styles/themes/tactile/pinned-tab.styl
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@
z-index: 10
background-color: var(--tabs-selected-bg)

&[data-discarded]
opacity: .5
&[data-discarded] > .fav
&[data-discarded]:hover > .fav
&[data-discarded] > .title
&[data-discarded] > .ctx
opacity: .56

&[data-loading="true"]
cursor: progress
Expand Down

0 comments on commit 0566d0e

Please sign in to comment.