Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

remove icheck

Ed Plato85edf2a902ed
diff --git a/package-lock.json b/package-lock.json
index 7d78a24a1..7dc7b0512 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10242,11 +10242,6 @@
"integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
"dev": true
},
- "icheck": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/icheck/-/icheck-1.0.2.tgz",
- "integrity": "sha1-BtCNo9R65EjBU7Jjm4bprX/fcSg="
- },
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
diff --git a/package.json b/package.json
index 8688d4782..1727ca6a1 100644
--- a/package.json
+++ b/package.json
@@ -168,7 +168,6 @@
"file-saver": "^2.0.2",
"geographiclib": "^1.50.0",
"history": "^4.7.2",
- "icheck": "^1.0.2",
"immutability-helper": "^3.0.1",
"jquery": "^3.0.0",
"jquery-ui-bundle": "1.12.1-migrate",
diff --git a/web/css/jquery-ui-override.css b/web/css/jquery-ui-override.css
index 9fbe11a31..95c19663f 100644
--- a/web/css/jquery-ui-override.css
+++ b/web/css/jquery-ui-override.css
@@ -151,15 +151,6 @@ a:hover {
font-size: 13px;
}
-.iCheck-checkbox {
- margin: 0 10px;
- background-position: -24px 0;
-}
-
-.iCheck-radio {
- background-position: -144px 0;
-}
-
label {
-webkit-user-select: none;
-moz-user-select: none;
diff --git a/web/css/layers.css b/web/css/layers.css
index d5ef39fe7..ac92c0f76 100644
--- a/web/css/layers.css
+++ b/web/css/layers.css
@@ -594,11 +594,6 @@
}
}
-.layers-all .iCheck-checkbox {
- float: right;
- margin-top: 0.5em;
-}
-
.layer-info-settings-modal {
margin-left: auto;
margin-right: auto;
diff --git a/web/js/app.js b/web/js/app.js
index c715bbb6c..baee77e9d 100644
--- a/web/js/app.js
+++ b/web/js/app.js
@@ -29,9 +29,6 @@ import Debug from './components/util/debug';
import '../../node_modules/bootstrap/dist/css/bootstrap.min.css';
import '../../node_modules/jquery-ui-bundle/jquery-ui.structure.min.css';
import '../../node_modules/jquery-ui-bundle/jquery-ui.theme.min.css';
-import '../../node_modules/icheck/skins/square/grey.css';
-import '../../node_modules/icheck/skins/square/red.css';
-import '../../node_modules/icheck/skins/line/red.css';
import '../../node_modules/ol/ol.css';
import '../../node_modules/rc-slider/dist/rc-slider.min.css';
import '../../node_modules/simplebar/dist/simplebar.min.css';
diff --git a/web/js/components/util/list.js b/web/js/components/util/list.js
index 9c38beeb7..34b282941 100644
--- a/web/js/components/util/list.js
+++ b/web/js/components/util/list.js
@@ -22,20 +22,20 @@ import {
// icons used with List by passing string as prop iconClass
const listIcons = {
- faArrowCircleDown: faArrowCircleDown,
- faArrowCircleUp: faArrowCircleUp,
- faBolt: faBolt,
- faCircle: faCircle,
- faCode: faCode,
- faEnvelope: faEnvelope,
- faExclamationCircle: faExclamationCircle,
- faFile: faFile,
- faFlag: faFlag,
- faGift: faGift,
- faRuler: faRuler,
- faRulerCombined: faRulerCombined,
- faTrash: faTrash,
- faTruck: faTruck
+ faArrowCircleDown,
+ faArrowCircleUp,
+ faBolt,
+ faCircle,
+ faCode,
+ faEnvelope,
+ faExclamationCircle,
+ faFile,
+ faFlag,
+ faGift,
+ faRuler,
+ faRulerCombined,
+ faTrash,
+ faTruck
};
/*