diff --git a/editor.css b/editor.css index 6ca7b09..b149f34 100644 --- a/editor.css +++ b/editor.css @@ -19,7 +19,7 @@ body { width: 100%; position: fixed; padding-left: 10px; - z-index: 5; + z-index: 11; float: left; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); @@ -55,16 +55,14 @@ body { color: rgb(75, 151, 151); } -#searchmenu { - width: 400px; - overflow: hidden; -} -#searchmenu #search-container { - /* position: fixed; + +.menuitem #search-container { + position: fixed; top: 0px; - bottom: 0px; */ - padding: 5 5 5 5; + bottom: 0px; + width: 400px; + padding: 2 2 2 2; background-color: transparent; border-top: 4px solid transparent; border-bottom: 4px solid transparent; @@ -74,27 +72,27 @@ body { } #search-container input { - /* height: 100%; */ - height: 40px; + height: 100%; + /* height: 40px; */ width: 100%; - border-radius: 15px; - border: 1px solid rgb(117, 117, 117); - padding-left: 10px; - padding-right: 38px; + border-radius: 10px; + border: .5px solid rgba(0, 0, 0, 0.123); + padding-left: 38px; + padding-right: 10px; outline: none; transition: all 100ms ease-out 50ms; } #search-container:hover input, #search-container input:active, #search-container input:focus { - border: 2px solid rgb(117, 117, 117); - /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); */ - padding-left: 9px; - padding-right: 37px; + /* border: 2px solid rgb(117, 117, 117); */ + box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.12); + /* padding-left: 9px; + padding-right: 37px; */ } #search-container input:focus { - box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12); - transform: scale(1.02); + box-shadow: 0 0px 10px 0 rgba(0, 0, 0, 0.24); + /* transform: scale(1.02); */ } ::selection { @@ -111,29 +109,33 @@ body { align-items: center; position: absolute; cursor: pointer; - top: 10; - right: 10; + top: 7; + left: 7; background-color: transparent; transition: all 100ms ease-out 50ms; /* background-color: rgb(120, 120, 120); */ } -#search-container .search-button:hover { - transform: scale(1.1); -} #search-container .search-button svg { stroke: rgb(117, 117, 117); } #search-results { - display: none; - position: relative; - padding: 20 20 20 20; + width: 400px; + overflow: hidden; +} + +#search-options { + padding: 15px; + width: 100%; +} + +#search-result-list { overflow-y: auto; overflow-x: hidden; } -#search-results div { +#search-result-list div { line-height: 2; padding-top: 5px; padding-bottom: 5px; @@ -143,15 +145,27 @@ body { transition: all 100ms ease-out 50ms; } -#search-results div:hover { +#search-result-list div:hover { font-weight: 500; color: rgb(75, 151, 151); } -#search-results div:active { +#search-result-list div:active { font-weight: 600; } +.checkbox { + /* position: relative; + display: block; */ + padding-right: 10px; + cursor: pointer; +} + + +.checkbox input { + cursor: pointer; +} + .submenu { font-family: 'Inter'; width: fit-content; diff --git a/editor.html b/editor.html index 58638d5..a320eaf 100644 --- a/editor.html +++ b/editor.html @@ -126,18 +126,31 @@