aboutsummaryrefslogtreecommitdiff
path: root/arc-firefox-theme/chrome/global
diff options
context:
space:
mode:
Diffstat (limited to 'arc-firefox-theme/chrome/global')
-rw-r--r--arc-firefox-theme/chrome/global/aboutReaderControls.css8
-rw-r--r--arc-firefox-theme/chrome/global/in-content/common.css11
-rw-r--r--arc-firefox-theme/chrome/global/notification.css1
-rw-r--r--arc-firefox-theme/chrome/global/reader/pocket.svg22
-rw-r--r--arc-firefox-theme/chrome/global/scrollbars.css17
5 files changed, 23 insertions, 36 deletions
diff --git a/arc-firefox-theme/chrome/global/aboutReaderControls.css b/arc-firefox-theme/chrome/global/aboutReaderControls.css
index 838f644..2af3bef 100644
--- a/arc-firefox-theme/chrome/global/aboutReaderControls.css
+++ b/arc-firefox-theme/chrome/global/aboutReaderControls.css
@@ -353,14 +353,6 @@
background-image: url("chrome://global/skin/reader/RM-Plus-24x24.svg");
}
-#pocket-button {
- background-image: url("chrome://global/skin/reader/pocket.svg#pocket-mark");
-}
-
-#pocket-button:hover:active {
- background-image: url("chrome://global/skin/reader/pocket.svg#pocket-mark-added");
-}
-
@media print {
.toolbar {
display: none !important;
diff --git a/arc-firefox-theme/chrome/global/in-content/common.css b/arc-firefox-theme/chrome/global/in-content/common.css
index b343e18..c78132c 100644
--- a/arc-firefox-theme/chrome/global/in-content/common.css
+++ b/arc-firefox-theme/chrome/global/in-content/common.css
@@ -474,7 +474,9 @@ html|a:hover:active,
/* Hide the actual checkbox */
html|input[type="checkbox"] {
- visibility: hidden;
+ opacity: 0;
+ width: 0;
+ pointer-events: none;
position: absolute;
}
@@ -873,6 +875,13 @@ xul|*.inline-link:-moz-focusring {
border: 1px dotted -moz-DialogText;
}
+xul|menulist:-moz-focusring > xul|*.menulist-label-box,
+xul|radio[focused="true"] > xul|*.radio-label-box,
+html|input[type="checkbox"]:-moz-focusring + html|label:before,
+xul|checkbox:-moz-focusring > xul|*.checkbox-label-box {
+ outline: 1px dotted;
+}
+
xul|spinbuttons {
-moz-appearance: none;
}
diff --git a/arc-firefox-theme/chrome/global/notification.css b/arc-firefox-theme/chrome/global/notification.css
index 125f060..ffa0607 100644
--- a/arc-firefox-theme/chrome/global/notification.css
+++ b/arc-firefox-theme/chrome/global/notification.css
@@ -7,7 +7,6 @@
notification {
color: -moz-gtk-info-bar-text;
-moz-appearance: -moz-gtk-info-bar;
- background-color: InfoBackground;
text-shadow: none;
}
diff --git a/arc-firefox-theme/chrome/global/reader/pocket.svg b/arc-firefox-theme/chrome/global/reader/pocket.svg
deleted file mode 100644
index d93fd6a..0000000
--- a/arc-firefox-theme/chrome/global/reader/pocket.svg
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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 24 24">
- <style>
- use:not(:target) {
- display: none;
- }
- use {
- fill: #808080;
- }
- use[id$="-added"] {
- fill: #ee4056;
- }
- </style>
- <defs>
- <path id="pocket-mark-shape" d="M21.901,4.204C21.642,3.484,20.956,3,20.196,3h-0.01h-1.721H3.814C3.067,3,2.385,3.474,2.119,4.179 C2.04,4.388,2,4.606,2,4.828v6.082l0.069,1.21c0.29,2.751,1.707,5.155,3.899,6.832c0.039,0.03,0.079,0.06,0.119,0.089l0.025,0.018 c1.175,0.866,2.491,1.452,3.91,1.741C10.677,20.932,11.347,21,12.013,21c0.615,0,1.232-0.057,1.839-0.171 c0.073-0.014,0.145-0.028,0.219-0.044c0.02-0.004,0.042-0.012,0.064-0.023c1.359-0.299,2.621-0.87,3.753-1.704l0.025-0.018 c0.04-0.029,0.08-0.059,0.119-0.089c2.192-1.677,3.609-4.08,3.898-6.832L22,10.91V4.828C22,4.618,21.975,4.409,21.901,4.204z M17.667,10.539l-4.704,4.547c-0.266,0.256-0.608,0.385-0.949,0.385c-0.342,0-0.684-0.129-0.949-0.385l-4.705-4.547 c-0.547-0.528-0.565-1.403-0.04-1.954c0.524-0.551,1.392-0.569,1.939-0.041l3.756,3.63l3.755-3.63 c0.547-0.528,1.415-0.51,1.939,0.04C18.231,9.136,18.213,10.011,17.667,10.539z"/>
- </defs>
- <use id="pocket-mark" xlink:href="#pocket-mark-shape"/>
- <use id="pocket-mark-added" xlink:href="#pocket-mark-shape"/>
-</svg>
diff --git a/arc-firefox-theme/chrome/global/scrollbars.css b/arc-firefox-theme/chrome/global/scrollbars.css
index 5eba1e3..e05aabc 100644
--- a/arc-firefox-theme/chrome/global/scrollbars.css
+++ b/arc-firefox-theme/chrome/global/scrollbars.css
@@ -12,7 +12,7 @@
/* ::::: scrollbar ::::: */
scrollbar {
- -moz-appearance: scrollbartrack-horizontal;
+ -moz-appearance: scrollbar-horizontal;
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
cursor: default;
background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
@@ -33,7 +33,7 @@ scrollbar {
scrollbar[orient="vertical"]
{
- -moz-appearance: scrollbartrack-vertical;
+ -moz-appearance: scrollbar-vertical;
}
/* ::::: borders for thumb and buttons ::::: */
@@ -48,6 +48,15 @@ scrollbarbutton {
background-color: -moz-Dialog;
}
+/* ::::: slider - a thumb is inside ::::: */
+slider {
+ -moz-appearance: scrollbartrack-horizontal;
+}
+
+slider[orient="vertical"] {
+ -moz-appearance: scrollbartrack-vertical;
+}
+
/* ::::: thumb (horizontal) ::::: */
thumb {
@@ -133,7 +142,7 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
/* ::::: scrollbar ::::: */
html|div scrollbar {
- -moz-appearance: scrollbartrack-horizontal;
+ -moz-appearance: scrollbar-horizontal;
-moz-binding: url("chrome://global/content/bindings/scrollbar.xml#scrollbar");
cursor: default;
background: url("chrome://global/skin/scrollbar/slider.gif") scrollbar;
@@ -141,7 +150,7 @@ scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"][disabled="true"
html|div scrollbar[orient="vertical"]
{
- -moz-appearance: scrollbartrack-vertical;
+ -moz-appearance: scrollbar-vertical;
}
/* ::::: borders for thumb and buttons ::::: */