summaryrefslogtreecommitdiffstats
path: root/devtools/docs/user/eyedropper
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /devtools/docs/user/eyedropper
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/docs/user/eyedropper')
-rw-r--r--devtools/docs/user/eyedropper/eyedropper.pngbin0 -> 11536 bytes
-rw-r--r--devtools/docs/user/eyedropper/index.rst47
2 files changed, 47 insertions, 0 deletions
diff --git a/devtools/docs/user/eyedropper/eyedropper.png b/devtools/docs/user/eyedropper/eyedropper.png
new file mode 100644
index 0000000000..cad092141b
--- /dev/null
+++ b/devtools/docs/user/eyedropper/eyedropper.png
Binary files differ
diff --git a/devtools/docs/user/eyedropper/index.rst b/devtools/docs/user/eyedropper/index.rst
new file mode 100644
index 0000000000..672c81ad23
--- /dev/null
+++ b/devtools/docs/user/eyedropper/index.rst
@@ -0,0 +1,47 @@
+==========
+Eyedropper
+==========
+
+The Eyedropper tool enables you to select colors in the current page. It works like a magnifying glass over the page, enabling you to select with pixel precision. Underneath the magnifying glass it shows the color value for the current pixel using whichever scheme you've selected in :ref:`Settings > Inspector <settings-inspector>` > Default color unit:
+
+.. image:: eyedropper.png
+
+You can use it in one of two ways:
+
+- to select a color from the page and copy it to the clipboard
+- to change a color value in the Inspector's Rules view to a color you've selected from the page
+
+Copying a color to the clipboard
+********************************
+
+Open the Eyedropper in one of these two ways:
+
+- select "Eyedropper" under the "Browser Tools" menu
+- open the :doc:`Page Inspector <../page_inspector/index>` tab and click the eyedropper button in its toolbar
+
+As you move the mouse around the page you'll see the current color value in the Eyedropper change. Clicking copies the current color value to the clipboard.
+
+.. raw:: html
+
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/xf2uk6UyRB8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+ <br/>
+ <br/>
+
+Changing a color value in the Rules view
+****************************************
+
+Color values appearing in the Inspector's Rules view have color samples next to them: clicking the sample shows a :doc:`color picker popup <../page_inspector/how_to/inspect_and_select_colors/index>`. From Firefox 31, the popup contains an eyedropper icon: click this icon to activate the Eyedropper.
+
+Now, when you click the Eyedropper, the color in the Rules view is set to the color you selected.
+
+.. raw:: html
+
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/0Zx1TN21QOo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
+ <br/>
+ <br/>
+
+
+Keyboard shortcuts
+******************
+
+See :ref:`All keyboard shortcuts > Eyedropper <keyboard-shortcuts-eyedropper>`.