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 + resources/icons.svg | 18 +++++-- 4 files changed, 87 insertions(+), 67 deletions(-) create mode 100644 ext/mixed/img/window.svg 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 diff --git a/resources/icons.svg b/resources/icons.svg index cd188ad6..7cfc4103 100644 --- a/resources/icons.svg +++ b/resources/icons.svg @@ -28,10 +28,10 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="22.627417" - inkscape:cx="3.1138994" - inkscape:cy="7.3363221" + inkscape:cx="14.845666" + inkscape:cy="-0.0071760774" inkscape:document-units="px" - inkscape:current-layer="layer46" + inkscape:current-layer="layer47" showgrid="true" units="px" inkscape:snap-center="true" @@ -1494,11 +1494,21 @@ inkscape:label="Collapse" id="g1073" inkscape:groupmode="layer" - style="display:inline"> + style="display:none"> + + + -- cgit v1.2.3