mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-07 03:57:09 +03:00
Change opacity for disabled options
This commit is contained in:
@@ -321,7 +321,8 @@ input[type='number'] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
tr.disabled {
|
||||
/* To hide everything except upsell button */
|
||||
.disabled td:not(.skipOption), .disabled td.skipOption > :not(.upsellButton) {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ class CategorySkipOptionsComponent extends React.Component<CategorySkipOptionsPr
|
||||
<LockSvg className="upsellButton" onClick={() => chrome.tabs.create({url: chrome.runtime.getURL('upsell/index.html')})}/>
|
||||
}
|
||||
</td>
|
||||
|
||||
|
||||
{this.props.category !== "chapter" &&
|
||||
<td id={this.props.category + "ColorOption"}
|
||||
className="colorOption">
|
||||
|
||||
Reference in New Issue
Block a user