diff --git a/.eslintrc b/.eslintrc index 818be27c2..2058cb5ca 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,7 +16,8 @@ "jsPlumbUtil": false, }, "rules": { - "max-len": [1, 150, 2, {ignoreComments: true}] + "max-len": [1, 150, 2, {ignoreComments: true}], + "no-console": "off" }, "extends": ["eslint:recommended", "plugin:react/recommended"] } diff --git a/ide/static/css/searchbar_style.css b/ide/static/css/searchbar_style.css new file mode 100644 index 000000000..3a304a166 --- /dev/null +++ b/ide/static/css/searchbar_style.css @@ -0,0 +1,36 @@ +.insert-layer-title { + position: relative; + margin-top: 10px !important; + margin-bottom: 21px !important; +} + +#layer-search-icon { + position: absolute; + left: -5px; + top: 31px; +} + +#layer-search-icon:hover { + cursor: pointer; +} + +#layer-search-input { + position: absolute; + top: 36px; + left: 20px; + font-size: 15px; + background: none; + border: none; + color: rgb(69, 80, 97); + outline: none; + opacity: 1; + transition: 0.3s; +} + +.layer-search-input-selected { + opacity: 1 !important; +} + +.matched-search-char { + color: rgb(69, 80, 97); +} diff --git a/ide/static/css/style.css b/ide/static/css/style.css index ba99bd919..edbcda391 100644 --- a/ide/static/css/style.css +++ b/ide/static/css/style.css @@ -1206,4 +1206,4 @@ input[type="file"] { background: white; transform: rotate(-45deg) } -} +} \ No newline at end of file diff --git a/ide/static/js/content.js b/ide/static/js/content.js index 5de25865d..1653e6f65 100644 --- a/ide/static/js/content.js +++ b/ide/static/js/content.js @@ -1275,7 +1275,11 @@ class Content extends React.Component { />