@@ -70,20 +73,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -191,7 +180,6 @@
-
diff --git a/popup/popup.css b/popup/popup.css
index 7936ee02..883ac56c 100644
--- a/popup/popup.css
+++ b/popup/popup.css
@@ -4,11 +4,6 @@
--hotkey-margin: 16px;
}
-.has-sliders {
- --inner-padding: 20px;
- --slider-width: 18px;
-}
-
html, body {
height: min-content;
max-height: 600px;
@@ -246,16 +241,6 @@ html[style] .entry-content {
padding-right: 5px;
}
-.entry .onoffswitch {
- padding: 0 0 0 6px;
-}
-.entry .onoffswitch input {
- pointer-events: none;
-}
-.style-name:hover .onoffswitch span {
- box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .8);
-}
-
.entry:nth-child(even) {
background-color: rgba(0, 0, 0, 0.05);
}
diff --git a/popup/popup.js b/popup/popup.js
index 96326f00..ef717533 100644
--- a/popup/popup.js
+++ b/popup/popup.js
@@ -23,7 +23,6 @@ const $entry = styleOrId => $(`#${ENTRY_ID_PREFIX_RAW}${styleOrId.id || styleOrI
preinit.then(({frames, styles, url}) => {
tabURL = url;
- toggleUiSliders();
initPopup(frames);
if (styles[0]) {
showStyles(styles);
@@ -80,14 +79,6 @@ function toggleSideBorders(_key, state) {
}
}
-function toggleUiSliders() {
- const sliders = prefs.get('ui.sliders');
- const slot = $('toggle', t.template.style);
- const toggle = t.template[sliders ? 'toggleSlider' : 'toggleChecker'];
- slot.parentElement.replaceChild(toggle.cloneNode(true), slot);
- document.body.classList.toggle('has-sliders', sliders);
-}
-
/** @param {chrome.webNavigation.GetAllFrameResultDetails[]} frames */
async function initPopup(frames) {
prefs.subscribe('popupWidth', setPopupWidth, {runNow: true});