Lej77 / tab-unloader-for-tree-style-tab

19 stars 4 forks source link

Can't edit the style code #12

Closed jingofett closed 4 years ago

jingofett commented 4 years ago

I want to change the dimming code to something more drastic than 0.75 like so:

/* Dim unloaded tabs */ .tab.discarded { opacity: 0.5; }

But I cannot edit the text box

Lej77 commented 4 years ago

Custom styles are very easy to use with Tree Style Tab so I never implemented it for this addon. Instead just open Tree Style Tab's option page and in the Advanced section there is a text box with custom styles, just copy the rule there and edit it to what you prefer.

jingofett commented 4 years ago

Should I disable the option as well? I don't see any effect even after a restart.

Never mind, had to use the following snippet:

tab-item.discarded .label-content { opacity: 0.5; }

tab-item.discarded tab-favicon { opacity: 0.5 !important; }