aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/global/in-content
diff options
context:
space:
mode:
Diffstat (limited to 'arc-firefox-theme/chrome/global/in-content')
-rw-r--r--arc-firefox-theme/chrome/global/in-content/common.css24
-rw-r--r--arc-firefox-theme/chrome/global/in-content/help-glyph.svg27
-rw-r--r--arc-firefox-theme/chrome/global/in-content/info-pages.css2
3 files changed, 37 insertions, 16 deletions
diff --git a/arc-firefox-theme/chrome/global/in-content/common.css b/arc-firefox-theme/chrome/global/in-content/common.css
index 575cc32..b343e18 100644
--- a/arc-firefox-theme/chrome/global/in-content/common.css
+++ b/arc-firefox-theme/chrome/global/in-content/common.css
@@ -37,9 +37,6 @@
--in-content-primary-button-background-active: #006b9d;
--in-content-table-border-dark-color: #d1d1d1;
--in-content-table-header-background: #0095dd;
- --in-content-help-button-background: #ffcb00;
- --in-content-help-button-background-hover: #f4c200;
- --in-content-help-button-background-active: #eaba00;
}
html|html,
@@ -209,7 +206,6 @@ html|button:disabled,
xul|button[disabled="true"],
xul|colorpicker[type="button"][disabled="true"],
xul|menulist[disabled="true"] {
- cursor: not-allowed;
opacity: 0.5;
}
@@ -257,23 +253,26 @@ xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
}
xul|*.help-button {
- min-width: 30px;
- border-radius: 2px;
+ min-width: 16px;
+ -moz-margin-end: 0;
border-width: 0;
- background-color: var(--in-content-help-button-background);
background-image: none;
box-shadow: none;
- list-style-image: url("chrome://global/skin/in-content/help-glyph.svg");
+ list-style-image: url("chrome://global/skin/in-content/help-glyph.svg#help");
}
xul|*.help-button:not([disabled="true"]):hover {
- background-color: var(--in-content-help-button-background-hover);
background-image: none;
+ /* Override default button background */
+ background-color: transparent;
+ list-style-image: url("chrome://global/skin/in-content/help-glyph.svg#help-hover");
}
xul|*.help-button:not([disabled="true"]):hover:active {
- background-color: var(--in-content-help-button-background-active);
background-image: none;
+ /* Override default button background */
+ background-color: transparent;
+ list-style-image: url("chrome://global/skin/in-content/help-glyph.svg#help-pressed");
}
xul|*.close-icon > xul|*.button-box,
@@ -285,8 +284,8 @@ xul|*.help-button > xul|*.button-box {
}
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
- width: 18px;
- height: 18px;
+ width: 16px;
+ height: 16px;
}
xul|*.help-button > xul|*.button-box > xul|*.button-text {
@@ -628,6 +627,7 @@ xul|*.radio-label-box {
-moz-margin-end: 4px; /* add the 4px end-margin of other elements */
margin-bottom: 15px;
padding-bottom: 15px;
+ -moz-box-align: baseline;
}
*|*.header-name {
diff --git a/arc-firefox-theme/chrome/global/in-content/help-glyph.svg b/arc-firefox-theme/chrome/global/in-content/help-glyph.svg
index 012bef4..5dc3af4 100644
--- a/arc-firefox-theme/chrome/global/in-content/help-glyph.svg
+++ b/arc-firefox-theme/chrome/global/in-content/help-glyph.svg
@@ -1,7 +1,28 @@
-<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
- <path fill="-moz-dialogText" d="M11.625,4.854c0,2.593-2.881,2.417-2.881,4.21v0.399H6.439V8.968c0-2.769,2.545-2.577,2.545-3.89 c0-0.576-0.416-0.912-1.121-0.912c-0.656,0-1.296,0.32-1.873,0.977L4.375,3.894C5.287,2.821,6.471,2.182,8.12,2.182 C10.457,2.182,11.625,3.43,11.625,4.854z M9.064,12.361c0,0.801-0.64,1.457-1.44,1.457c-0.801,0-1.441-0.656-1.441-1.457 c0-0.784,0.64-1.44,1.441-1.44C8.424,10.921,9.064,11.577,9.064,12.361z"/>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
+ <style>
+ use:not(:target) { display: none; }
+
+ path { fill: #999; }
+ circle { fill: none; stroke: #999; stroke-width: 2; }
+
+ #help-hover path { fill: #fff; }
+ #help-hover circle { fill: #808080; stroke: #808080; }
+
+ #help-pressed path { fill: #fff; }
+ #help-pressed circle { fill: #666; stroke: #666; }
+ </style>
+
+ <defs>
+ <g id="help-shape">
+ <circle cx="12" cy="12" r="11" />
+ <path d="M12.2,4.9c-1.6,0-2.9,0.4-3.8,0.8L9.2,8c0.6-0.4,1.5-0.6,2.2-0.6c1.1,0,1.6,0.5,1.6,1.2 c0,0.7-0.6,1.3-1.3,2.1c-1,1.1-1.4,2.1-1.3,3.2l0,0.5h3V14c0-0.9,0.3-1.7,1.2-2.5c0.9-0.9,1.9-1.9,1.9-3.4 C16.6,6.4,15.2,4.9,12.2,4.9z M12,16.1c-1.1,0-1.9,0.8-1.9,1.9c0,1.1,0.8,1.9,1.9,1.9c1.2,0,1.9-0.8,1.9-1.9 C13.9,16.9,13.1,16.1,12,16.1z"/>
+ </g>
+ </defs>
+
+ <use id="help" xlink:href="#help-shape" />
+ <use id="help-hover" xlink:href="#help-shape" />
+ <use id="help-pressed" xlink:href="#help-shape" />
</svg>
diff --git a/arc-firefox-theme/chrome/global/in-content/info-pages.css b/arc-firefox-theme/chrome/global/in-content/info-pages.css
index fcecbd8..54b1be8 100644
--- a/arc-firefox-theme/chrome/global/in-content/info-pages.css
+++ b/arc-firefox-theme/chrome/global/in-content/info-pages.css
@@ -28,7 +28,7 @@ body {
/* Typography */
.title {
- background-image: url("chrome://browser/skin/aboutNetError_info.svg");
+ background-image: url("chrome://global/skin/icons/info.svg");
background-position: left 0;
background-repeat: no-repeat;
background-size: 1.6em;