diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css index c6fb713022b65a532e02f0b4fc36279140190f4b..d99f6076af17cfa7f79ac90fb4918847d951fabe 100644 --- a/pd/nw/css/c64.css +++ b/pd/nw/css/c64.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* patch font and background color. (Note: margin needs to stay at zero.) */ @@ -272,6 +296,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css index a34617a271d46d356484c6ac2df0313e77a837e4..98c3b8fea07776e2dff7eec75cf7e6d212f00135 100644 --- a/pd/nw/css/default.css +++ b/pd/nw/css/default.css @@ -65,7 +65,8 @@ mark.console_find_highlighted { #console_find { width: 100%; height: 1em; - background: red; + padding: 0.25em; + background: silver; position: fixed; bottom: 0; left: 0; @@ -312,7 +313,8 @@ text { #canvas_find { width: 100%; height: 1em; - background: red; + padding: 3px; + background: silver; position: fixed; bottom: 0; left: 0; diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css index 41a9edfa5aacbefb3b54152fe93910e29b87eb94..4dc07119ba6c4a97a7398814ae7eb6289de716d7 100644 --- a/pd/nw/css/extended.css +++ b/pd/nw/css/extended.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* patch font and background color. (Note: margin needs to stay at zero.) */ @@ -271,6 +295,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css index 793b5db933c84a27638fb53efa54cf930df9a3fe..b7ecb9cfb4e5f1606089675ce466dd859641f840 100644 --- a/pd/nw/css/inverted.css +++ b/pd/nw/css/inverted.css @@ -48,6 +48,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* patch font and background color. (Note: margin needs to stay at zero.) */ @@ -276,6 +300,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css index 9d546e9a671a8df44ec862d490d0790bd71f0d5b..7f4ef3feb37c5a0ea15157e8a19c65b77fd1977e 100644 --- a/pd/nw/css/strongbad.css +++ b/pd/nw/css/strongbad.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* patch font and background color. (Note: margin needs to stay at zero.) */ @@ -274,6 +298,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css index 69a95925c2e3a6eec9a5aae1eb45c6aef658866b..19a3eeb6925b69cb8971f86b3dfaadd0fbd6d4dc 100644 --- a/pd/nw/css/subdued.css +++ b/pd/nw/css/subdued.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* patch font and background color. (Note: margin needs to stay at zero.) */ @@ -273,6 +297,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css index b6bba20421f67a545d601c75ccead8fb82cff61a..2291adbfc871576d3021e6fac29e04f156610871 100644 --- a/pd/nw/css/vanilla.css +++ b/pd/nw/css/vanilla.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* canvas font and background color. (Note: margin needs to stay at zero.) */ @@ -273,6 +297,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css index 981ba3f3ed7bc3f0c2b8ce2c5c8564b8b1d7f824..e491009c84dcbc79be3b58896ff8b7baba70e8c9 100644 --- a/pd/nw/css/vanilla_inverted.css +++ b/pd/nw/css/vanilla_inverted.css @@ -47,6 +47,30 @@ overflow-y: scroll; } +/* marks for matches to console_find */ +mark { + background: white; +} + +mark.console_find_current.console_find_highlighted, +mark.console_find_current { + background: yellow; +} + +mark.console_find_highlighted { + background: red; +} + +#console_find { + width: 100%; + height: 1em; + padding: 0.2em; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Pure Data Patch Window (aka canvas) */ /* canvas font and background color. (Note: margin needs to stay at zero.) */ @@ -278,6 +302,16 @@ text { -webkit-animation: fizzle 0.5s linear 1; } +#canvas_find { + width: 100%; + height: 1em; + padding: 3px; + background: silver; + position: fixed; + bottom: 0; + left: 0; +} + /* Common to all dialogs */ .submit_buttons { diff --git a/pd/nw/index.js b/pd/nw/index.js index 31a3bb36cb699dfbd0c9672918c1f5c878a4a8e3..f2976e62dbd4ccfeade5c96127107c1420954746 100644 --- a/pd/nw/index.js +++ b/pd/nw/index.js @@ -475,7 +475,7 @@ function nw_create_pd_window_menus(gui, w) { text_container = w.document.getElementById("console_bottom"), state = find_bar.style.getPropertyValue("display"); if (state === "none") { - text_container.style.setProperty("bottom", "1em"); + text_container.style.setProperty("bottom", "1.4em"); find_bar.style.setProperty("display", "inline"); find_bar.style.setProperty("height", "1em"); text_container.scrollTop = text_container.scrollHeight;