Highlight https-only config in red

This commit is contained in:
Ilya Ig. Petrov 2017-06-01 18:27:00 +05:00
parent ef75b4eace
commit 2ede6081bf

View File

@ -1,6 +1,7 @@
import Inferno, {linkEvent} from 'inferno'; import Inferno, {linkEvent} from 'inferno';
import Component from 'inferno-component'; import Component from 'inferno-component';
import createElement from 'inferno-create-element'; import createElement from 'inferno-create-element';
import css from 'csjs-inject';
import getTabPanel from './TabPanel'; import getTabPanel from './TabPanel';
import getPacChooser from './PacChooser'; import getPacChooser from './PacChooser';
@ -12,6 +13,14 @@ import getNotifications from './Notifications';
export default function getMain(theState) { export default function getMain(theState) {
const scopedCss = css`
input#ifProxyHttpsUrlsOnly:checked + div {
color: red;
}
`;
const TabPanel = getTabPanel(theState); const TabPanel = getTabPanel(theState);
const PacChooser = getPacChooser(theState); const PacChooser = getPacChooser(theState);