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