Change opacity for disabled options

This commit is contained in:
Ajay
2022-09-16 18:20:34 -04:00
parent b7d85ca3c7
commit 54a2d97f70
2 changed files with 3 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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">