--- /dev/null
+/* 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/. */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/* Hide selected items by default and display them based on the page status */
+
+#warningBox:not(.private) .private,
+#warningBox:not(.normal) .normal {
+ display: none;
+}
+
+/* Pick the desired icons depending on the window's context */
+
+#warningBox.private > #warningBoxIcon {
+ list-style-image: url("chrome://global/skin/icons/information-48.png");
+ width: 48px;
+ height: 48px;
+ -moz-margin-end: 3em;
+}
+
+#warningBox.normal > #warningBoxIcon {
+ list-style-image: url("chrome://global/skin/icons/question-48.png");
+ width: 48px;
+ height: 48px;
+ -moz-margin-end: 3em;
+}
+
+#trackWarnBox {
+ margin-top: 0.6em;
+ -moz-margin-end: 7em;
+ -moz-box-align: center;
+}
+
+#trackWarnIcon {
+ list-style-image: url("chrome://global/skin/icons/warning-24.png");
+ width: 24px;
+ height: 24px;
+}
+
+/* Define additional styles to look similar to the netError/certError pages */
+
+#warningTitle {
+ font-weight: bold;
+}
+
+#warningStatus {
+ margin: 0.4em 0 1.2em 0;
+ padding-bottom: 1.2em;
+ border-bottom: 1px solid #808080;
+ font-size: 135%;
+}
+
+#warningInnerBox > button {
+ margin: 0.8em 0 1em 0;
+}
+
+#warningOuterBox > vbox > label,
+#warningInnerBox > description {
+ -moz-margin-start: 0;
+}
background-image: url("chrome://global/skin/media/noAudio.png");
}
+.muteButton[noAudio] + .volumeStack {
+ display: none;
+}
+
.fullscreenButton {
background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
}
background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 32, 16, 16);
}
-.volumeStack {
- width: 28px;
- height: 70px;
- background-color: rgba(102,102,153,0.74);
- /* use negative margin to place stack over the mute button to its left. */
- margin: -70px 3px 28px -31px;
- overflow: hidden; /* crop it when sliding down, don't grow the control bar */
- position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
- padding-top: 6px;
+.volumeControl {
+ width: 32px;
+ opacity: 0;
}
-.volumeControl {
- min-height: 64px;
+.volumeBackground,
+.volumeForeground {
+ background-repeat: no-repeat;
+ background-position: center;
+ width: 32px;
}
-/* .scale-thumb is an element inside the <scale> implementation. */
-.volumeControl .scale-thumb {
- /* Override the default thumb appearance with a custom image. */
- -moz-appearance: none;
- background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
- border: none !important;
- min-width: 20px;
- min-height: 10px;
+.volumeBackground {
+ background-image: url("chrome://global/skin/media/volume-empty.png");
}
-.volumeBackgroundBar {
- /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
- margin: 0px 10px;
- background-color: rgba(0,0,0,0.5);
+.volumeForeground {
+ background-image: url("chrome://global/skin/media/volume-full.png");
+ background-clip: content-box;
}
.durationBox {
}
/* .scale-thumb is an element inside the <scale> implementation. */
-.scrubber .scale-thumb {
+.scrubber .scale-thumb,
+.volumeControl .scale-thumb {
/* Override the default thumb appearance with a custom image. */
background: transparent;
border: none !important;
border-top: none;
}
+treechildren::-moz-tree-image(subscribed-news) {
+ -moz-margin-start: 2px;
+ -moz-margin-end: -3px;
+ list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.png");
+}
+
/* ::::: lightweight themes ::::: */
#MsgHeadersToolbar:-moz-lwtheme,
--- /dev/null
+/* 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/. */
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+
+/* Hide selected items by default and display them based on the page status */
+
+#warningBox:not(.private) .private,
+#warningBox:not(.normal) .normal {
+ display: none;
+}
+
+/* Pick the desired icons depending on the window's context */
+
+#warningBox.private > #warningBoxIcon {
+ list-style-image: url("chrome://global/skin/icons/information-48.png");
+ width: 48px;
+ height: 48px;
+ -moz-margin-end: 3em;
+}
+
+#warningBox.normal > #warningBoxIcon {
+ list-style-image: url("chrome://global/skin/icons/question-48.png");
+ width: 48px;
+ height: 48px;
+ -moz-margin-end: 3em;
+}
+
+#trackWarnBox {
+ margin-top: 0.6em;
+ -moz-margin-end: 7em;
+ -moz-box-align: center;
+}
+
+#trackWarnIcon {
+ list-style-image: url("chrome://global/skin/icons/warning-24.png");
+ width: 24px;
+ height: 24px;
+}
+
+/* Define additional styles to look similar to the netError/certError pages */
+
+#warningTitle {
+ font-weight: bold;
+}
+
+#warningStatus {
+ margin: 0.4em 0 1.2em 0;
+ padding-bottom: 1.2em;
+ border-bottom: 1px solid #9C9CFF;
+ font-size: 135%;
+}
+
+#warningInnerBox > button {
+ margin: 0.8em 0 1em 0;
+}
+
+#warningOuterBox > vbox > label,
+#warningInnerBox > description {
+ -moz-margin-start: 0;
+}
background-image: url("chrome://global/skin/media/noAudio.png");
}
+.muteButton[noAudio] + .volumeStack {
+ display: none;
+}
+
.fullscreenButton {
background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 0, 16, 16, 0);
}
background-image: -moz-image-rect(url("chrome://global/skin/media/fullscreenButton.png"), 16, 32, 32, 16);
}
-.volumeStack {
- width: 28px;
- height: 70px;
- background-color: rgba(156,156,255,0.74);
- /* use negative margin to place stack over the mute button to its left. */
- margin: -70px 3px 28px -31px;
- overflow: hidden; /* crop it when sliding down, don't grow the control bar */
- position: relative; /* Trick to work around negative margin interfering with dragging the thumb. */
- padding-top: 6px;
- border-radius: 3px 3px 0 0;
-}
-
.volumeControl {
- min-height: 64px;
+ width: 32px;
+ opacity: 0;
}
-/* .scale-thumb is an element inside the <scale> implementation. */
-.volumeControl .scale-thumb {
- /* Override the default thumb appearance with a custom image. */
- -moz-appearance: none;
- background: url("chrome://global/skin/media/volumeThumb.png") no-repeat center;
- border: none !important;
- min-width: 20px;
- min-height: 10px;
+.volumeBackground,
+.volumeForeground {
+ background-repeat: no-repeat;
+ background-position: center;
+ width: 32px;
}
-.volumeControl .scale-thumb:hover, .volumeControl .scale-thumb:active {
- background-image: url("chrome://global/skin/media/volumeThumb-hover.png");
+
+.volumeBackground {
+ background-image: url("chrome://global/skin/media/volume-empty.png");
}
-.volumeBackgroundBar {
- /* margin left/right: make bar 8px wide (control width = 28, minus 2 * 10 margin) */
- margin: 0px 10px;
- background-color: rgba(0,0,0,0.5);
- border-radius: 2.5px;
+.volumeForeground {
+ background-image: url("chrome://global/skin/media/volume-full.png");
+ background-clip: content-box;
}
.durationBox {
}
/* .scale-thumb is an element inside the <scale> implementation. */
-.scrubber .scale-thumb {
+.scrubber .scale-thumb,
+.volumeControl .scale-thumb {
/* Override the default thumb appearance with a custom image. */
background: transparent;
border: none !important;
border: none;
}
+treechildren::-moz-tree-image(subscribed-news) {
+ -moz-margin-start: 2px;
+ -moz-margin-end: -3px;
+ list-style-image: url("chrome://messenger/skin/icons/folder-newsgroup.png");
+}
+
/* ::::: lightweight themes ::::: */
#MsgHeadersToolbar:-moz-lwtheme,