From d0adf2ca156f92c4f62e8ee5082f26e21e4fde70 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 22 Dec 2020 18:18:30 -0500 Subject: Add window settings (#1160) * Add window icon * Move some options to a new "Window" section --- ext/bg/css/settings2.css | 1 + ext/bg/settings2.html | 134 +++++++++++++++++++++++++---------------------- ext/mixed/img/window.svg | 1 + 3 files changed, 73 insertions(+), 63 deletions(-) create mode 100644 ext/mixed/img/window.svg (limited to 'ext') diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 765a9c55..80217d9b 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -317,6 +317,7 @@ h3 { .icon[data-icon=magnifying-glass] { --icon-image: url(/mixed/img/magnifying-glass.svg); } .icon[data-icon=collapse] { --icon-image: url(/mixed/img/collapse.svg); } .icon[data-icon=expand] { --icon-image: url(/mixed/img/expand.svg); } +.icon[data-icon=window] { --icon-image: url(/mixed/img/window.svg); } /* Content layout */ diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html index 2f448370..850b6794 100644 --- a/ext/bg/settings2.html +++ b/ext/bg/settings2.html @@ -28,6 +28,7 @@ Popup Appearance Position & Size + Window Audio Text Parsing Translation @@ -525,69 +526,6 @@

-
-
-
-
- Use a native browser window instead of an embedded popup - (?) -
-
-
- -
-
- -
-
-
-
-
- Open a native browser window when copying Japanese text - (?) -
-
-
- -
-
- -
-
-
-
Maximum clipboard text search length
-
Limit the number of text characters used when searching clipboard content.
-
-
- -
-
@@ -931,6 +869,76 @@
+
+
+

Window

+
+
+
+
+
+
+ Use a native browser window instead of an embedded popup + (?) +
+
+
+ +
+
+ +
+
+
+
+
+ Open a native browser window when copying Japanese text + (?) +
+
+
+ +
+
+ +
+
+
+
Maximum clipboard text search length
+
Limit the number of text characters used when searching clipboard content.
+
+
+ +
+
+
+

Audio

diff --git a/ext/mixed/img/window.svg b/ext/mixed/img/window.svg new file mode 100644 index 00000000..d0d3b0fb --- /dev/null +++ b/ext/mixed/img/window.svg @@ -0,0 +1 @@ + \ No newline at end of file -- cgit v1.2.3