From 2ede6081bf5b70d741c122b85880be1857f6a1c0 Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Thu, 1 Jun 2017 18:27:00 +0500 Subject: [PATCH] Highlight https-only config in red --- .../pages/options/src/components/Main.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js index 070c5b0..8ae6249 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/Main.js @@ -1,6 +1,7 @@ import Inferno, {linkEvent} from 'inferno'; import Component from 'inferno-component'; import createElement from 'inferno-create-element'; +import css from 'csjs-inject'; import getTabPanel from './TabPanel'; import getPacChooser from './PacChooser'; @@ -12,6 +13,14 @@ import getNotifications from './Notifications'; export default function getMain(theState) { + const scopedCss = css` + + input#ifProxyHttpsUrlsOnly:checked + div { + color: red; + } + + `; + const TabPanel = getTabPanel(theState); const PacChooser = getPacChooser(theState);