* Dão Gottwald (dao@mozilla.com)
* Jim Mathies (jmathies@mozilla.com)
* Drew Willcoxon (adw@mozilla.com)
+ * Paul Rouget (paul@mozilla.com)
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
/* ::::: app menu button ::::: */
-.tab-drag-preview::before,
#appmenu-button {
background-color: #FF9F00;
background-clip: padding-box;
border-right: none;
}
-#main-window[privatebrowsingmode=temporary] .tab-drag-preview::before,
#main-window[privatebrowsingmode=temporary] #appmenu-button {
background-color: #6000CF;
color: #FFCF00;
list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
}
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-button > #forward-button {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ -moz-margin-end: 0;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-button:not([switchingtabs]) > #forward-button {
+ -moz-transition: opacity 150ms ease-out;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
+ opacity: 0;
+}
+
/* stop button */
#stop-button {
color: black; */
}
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container {
+ padding-left: 27px;
+ -moz-margin-start: -27px;
+ position: relative;
+ pointer-events: none;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container > #urlbar {
+ -moz-border-start: none;
+ margin-left: 0;
+ pointer-events: all;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox:not([switchingtabs]) + #urlbar-container > #urlbar {
+ -moz-transition: margin-left 150ms ease-out;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled] + #urlbar-container {
+ mask: url("chrome://browser/content/browser.xul#winstripe-urlbar-back-button-mask");
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled] + #urlbar-container > #urlbar {
+ margin-left: -27px;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
+ /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
+ -moz-transition-delay: 100s;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
+ /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
+ margin-left: -27.01px;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container:-moz-locale-dir(rtl),
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
+ /* let winstripe-urlbar-back-button-mask clip the urlbar's right side for RTL */
+ -moz-transform: scaleX(-1);
+}
+
html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
color: #E7ADE7;
border-radius: 2px;
}
+#notification-popup-box:not([hidden]) + #identity-box {
+ -moz-padding-start: 10px;
+ border-radius: 0;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox + #urlbar-container > #urlbar > #identity-box {
+ border-radius: 0;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
+ padding-left: 5px;
+ -moz-transition: padding-left;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
+ padding-right: 5px;
+ -moz-transition: padding-right;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
+ /* forward button hiding is delayed when hovered */
+ -moz-transition-delay: 100s;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
+ /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
+ padding-left: 5.01px;
+}
+
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
+ /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
+ padding-right: 5.01px;
+}
+
#identity-box:hover {
background-color: #9C9CFF;
color: #000000;
outline: 1px dotted;
}
-/* Tab drag and drop */
-.tab-drag-panel {
- border: 0 !important;
-}
-
-.tab-drag-label {
- margin: 0 !important;
- padding: 5px;
- border: 1px solid #8050B0;
-}
-
-.tab-drag-panel:not([target]) > .tab-drag-label {
- display: none;
-}
-
-.tab-drag-preview {
- border: 1px solid #9C9CFF;
-}
-
+/* Tab DnD indicator */
.tab-drop-indicator {
list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
margin-bottom: -11px;
-moz-margin-end: -8px;
}
-#notification-popup-box:not([hidden]) + #identity-box {
- -moz-padding-start: 10px;
+window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
+ :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
+ #unified-back-forward-buttonbox[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
+ padding-left: 5px;
}
#notification-popup-box:-moz-locale-dir(rtl),
background-color: rgba(0, 0, 0, 0.5);
}
-#highlighter-close-button {
- list-style-image: url("chrome://browser/skin/KUI-close.png");
- top: 12px;
- right: 12px;
- cursor: pointer;
+#highlighter-closebutton {
+ list-style-image: url("chrome://global/skin/icons/close-button.gif");
}
-#highlighter-close-button:-moz-locale-dir(rtl) {
- right: auto;
- left: 12px;
+#highlighter-closebutton:hover,
+#highlighter-closebutton:hover:active {
+ list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
}
highlighter-veil-transparentbox {
outline-color: white;
}
-/*
- * need a "bumpy" background image for this!
- */
-#inspector-horizontal-splitter {
- background: none !important;
+/* Highlighter toolbar */
+
+#inspector-toolbar {
+ border-top: 3px solid #000000;
+ border-bottom: none;
+}
+
+#inspector-toolbar[treepanel-open] {
+ padding-top: 0;
+ -moz-padding-end: 0;
+}
+
+#inspector-tools {
+ -moz-padding-start: 2px;
+ -moz-padding-end: 2px;
+ border-left: 3px solid #000000;
+ border-right: 3px solid #000000;
+ -moz-margin-start: 2px;
+ -moz-margin-end: 2px;
+}
+
+/* Highlighter - toolbar resizers */
+
+.inspector-resizer {
-moz-appearance: none;
cursor: n-resize;
}
+
+#inspector-top-resizer {
+ background: none;
+ height: 4px;
+}
+
+#inspector-end-resizer {
+ width: 12px;
+ height: 8px;
+ border-width: 1px 1px 0;
+ border-style: solid;
+ border-color: #008484;
+ margin: 7px 7px 8px;
+}
+
+/* Highlighter - Node Infobar */
+
+/* Highlighter - Node Infobar - text */
+
+#highlighter-nodeinfobar-tagname {
+ color: #FFCF00;
+}
+
+#highlighter-nodeinfobar-id {
+ color: #9C9CFF;
+}
+
+.highlighter-nodeinfobar-class {
+ color: #FF9F00;
+}
+
+/* Highlighter - Node Infobar - box & arrow */
+
+#highlighter-nodeinfobar {
+ border: 1px solid rgba(156, 156, 255, .5);
+ border-radius: 3px;
+ padding: 8px 16px;
+ background: #000000 padding-box;
+}
+
+.highlighter-nodeinfobar-arrow {
+ width: 14px;
+ height: 14px;
+ -moz-margin-start: -moz-calc(50% - 7px);
+ -moz-transform: rotate(-45deg);
+ border: 1px solid transparent;
+ background-clip: padding-box;
+ background-repeat: no-repeat;
+}
+
+#highlighter-nodeinfobar-arrow-top {
+ margin-bottom: -8px;
+ margin-top: 8px;
+ border-right-color: rgba(0, 132, 132, .5);
+ border-top-color: rgba(0, 132, 132, .5);
+ background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
+}
+
+#highlighter-nodeinfobar-arrow-bottom {
+ margin-top: -8px;
+ margin-bottom: 8px;
+ border-left-color: rgba(0, 132, 132, .5);
+ border-bottom-color: rgba(0, 132, 132, .5);
+ background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
+}
+
+#highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
+#highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
+ box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
+}
+
+#highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
+ margin: 7px 0;
+}
+
+#full-screen-warning-message {
+ background-color: #000000;
+ color: #FF9F00;
+ font-size: 32px;
+ border-radius: 8px;
+ margin-top: 30px;
+ padding: 30px 50px;
+ box-shadow: 0 0 2px #9C9CFF;
+}
+
+#full-screen-warning-container[obscure-browser] {
+ background-color: rgba(0,0,0,0.75);
+}
+
+#full-screen-warning-container[stop-obscuring-browser] {
+ -moz-transition-property: background-color;
+ -moz-transition-duration: 500ms;
+ background-color: rgba(0,0,0,0);
+}
+
+/* Highlighter toolbar - breadcrumbs */
+
+#inspector-breadcrumbs {
+ padding: 0 6px;
+}
+
+.inspector-breadcrumbs-button {
+ -moz-appearance: none;
+ border-width: 1px 13px 2px 13px;
+ /* color: hsl(210,30%,85%); */
+ max-width: 85px;
+ /* The content of the button can be larger than the button */
+ overflow: hidden;
+ min-height: 25px;
+
+ margin: 0 -11px 0 0;
+ padding: 0 9px;
+}
+
+.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
+ /*color: hsl(208,100%,60%); */
+}
+
+.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
+ /*color: hsl(205,100%,70%); */
+}
+
+.inspector-breadcrumbs-id,
+.inspector-breadcrumbs-classes {
+ /*color: #8d99a6; */
+}
+
+/* Highlighter toolbar - breadcrumbs - LTR */
+
+.inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
+ margin-left: 0;
+}
+
+.inspector-breadcrumbs-button {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
+.inspector-breadcrumbs-button:not([checked]):hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[checked] {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[checked][siblings-menu-open],
+.inspector-breadcrumbs-button[checked]:hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:first-of-type {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
+.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:first-of-type[checked] {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
+.inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:last-of-type {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
+.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:last-of-type[checked] {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
+.inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 1 13 2 13 stretch;
+}
+
+/* Highlighter toolbar - breadcrumbs - RTL */
+
+.inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
+ margin-right: 0;
+}
+
+.inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 1 13 2 13 stretch;
+}
+
+.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
+.inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
+ -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 1 13 2 13 stretch;
+}
--- /dev/null
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is the GCLI.
+ *
+ * The Initial Developer of the Original Code is
+ * The Mozilla Foundation.
+ * Portions created by the Initial Developer are Copyright (C) 2011
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ * Joe Walker <jwalker@mozilla.com> (original author)
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either the GNU General Public License Version 2 or later (the "GPL"), or
+ * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
+ * in which case the provisions of the GPL or the LGPL are applicable instead
+ * of those above. If you wish to allow use of your version of this file only
+ * under the terms of either the GPL or the LGPL, and not to allow others to
+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the notice
+ * and other provisions required by the GPL or the LGPL. If you do not delete
+ * the provisions above, a recipient may use your version of this file under
+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+/* From: $GCLI/mozilla/gcli/ui/gcliterm.css */
+
+/* Bug 678152 calls for UX review which will fix the color names */
+
+.gcliterm-input-node,
+.gcliterm-complete-node {
+ border: none;
+ -moz-appearance: none;
+ height: 100%;
+ vertical-align: middle;
+ background-color: transparent;
+}
+
+.gcliterm-input-node {
+ padding-top: 2px;
+ padding-bottom: 0;
+ -moz-padding-start: 16px;
+ -moz-padding-end: 0;
+}
+
+.gcliterm-complete-node {
+ color: #E7ADE7;
+ padding-top: 4px;
+ padding-bottom: 2px;
+ -moz-padding-start: 21px;
+ -moz-padding-end: 4px;
+}
+
+.gcliterm-stack-node {
+ background: url("chrome://global/skin/icons/commandline.png") 4px center no-repeat;
+ width: 100%;
+}
+
+.gcliterm-argfetcher {
+ display: -moz-box;
+ -moz-box-flex: 1;
+}
+
+.gcliterm-hint-node {
+ border-top: 1px solid #9C9CFF;
+ border-bottom: 1px solid #E7ADE7;
+ border-left: 1px solid #9C9CFF;
+ border-right: 1px solid #9C9CFF;
+ border-top-right-radius: 5px;
+ border-top-left-radius: 5px;
+ margin-bottom: -1px;
+}
+
+.gcliterm-hint-parent {
+ width: 300px;
+ padding: 10px 10px 0;
+ border-top: 1px solid #9C9CFF;
+ border-bottom: 1px solid #9C9CFF;
+}
+
+.gcliterm-menu {
+ display: -moz-box;
+ -moz-box-flex: 1;
+ border-bottom-color: #E7ADE7;
+}
+
+.gcliterm-hint-scroll {
+ overflow-y: scroll;
+ border-bottom-color: #9C9CFF;
+}
+
+.gcliterm-hint-nospace {
+ display: none;
+}
+
+.gcliterm-msg-body {
+ margin-top: 0;
+ margin-bottom: 3px;
+ -moz-margin-start: 3px;
+ -moz-margin-end: 6px;
+}
+
+/* Extract from display.css, we only want these 2 rules */
+
+.gcli-out-shortcut {
+ border: 1px solid #8050B0;
+ border-radius: 3px;
+ padding: 0 4px;
+ margin: 0 4px;
+ font-size: 70%;
+ color: #FF9F00;
+ cursor: pointer;
+ vertical-align: bottom;
+}
+
+.gcli-out-shortcut:before {
+ color: #FFCF00;
+ content: '\bb';
+ padding: 0 2px;
+}
+
+/*
+ * The language of a console is not en_US or any other common language
+ * (i.e we don't attempt to translate 'console.log(x)')
+ * So we fix .gcliterm-input-node/.gcliterm-complete-node elements to be ltr.
+ * As a result we also want the hints to pop up on the left (above the prompt)
+ */
+.gcliterm-input-node,
+.gcliterm-complete-node,
+.gcliterm-display {
+ direction: ltr;
+}
+
+/*
+ * We want the stuff under .gcliterm-display to obey normal direction rules
+ * so we need to swap back when the document is in rtl mode.
+ * The selectors below are faster, but equivalent to:
+ * .gcliterm-display > *:-moz-locale-dir(rtl) {
+ * direction: rtl;
+ * }
+ * In non-performance critical situations the above is preferred due to it's
+ * greater resilience to refactoring
+ */
+.gcliterm-hint-parent:-moz-locale-dir(rtl),
+.hud-output-node:-moz-locale-dir(rtl) {
+ direction: rtl;
+}
+
+/* From: $GCLI/mozilla/gcli/ui/gcliterm-winstripe.css */
+
+.gcliterm-input-node,
+.gcliterm-complete-node {
+ font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
+}
+
+.gcli-out-shortcut {
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
+}
+
+/* From: $GCLI/lib/gcli/ui/arg_fetch.css */
+
+.gcli-argfetch {
+ width: 100%;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+}
+
+.gcli-af-cmddesc {
+ font-weight: bold;
+ text-align: center;
+ margin-bottom: 5px;
+ padding: 3px 10px 0;
+}
+
+.gcli-af-params {
+ padding: 0 10px;
+ width: 100%;
+ box-sizing: border-box;
+ -moz-box-sizing: border-box;
+}
+
+.gcli-af-paramname {
+ text-align: right;
+ font-size: 90%;
+}
+
+.gcli-af-required {
+ font-size: 90%;
+ color: #FF0000;
+ -moz-padding-start: 5px;
+}
+
+.gcli-af-error {
+ font-size: 80%;
+ color: #FF9F00;
+}
+
+.gcli-af-submit {
+ text-align: right;
+}
+
+.gcli-field {
+ width: 100%;
+}
+
+.gcli-field-javascript {
+ margin-bottom: 0;
+}
+
+/* From: $GCLI/lib/gcli/ui/menu.css */
+
+.gcli-menu {
+ width: 100%;
+ overflow: hidden;
+}
+
+.gcli-menu-field {
+ border: 1px solid #9C9CFF;
+ border-top: 0;
+ border-bottom-right-radius: 5px;
+ border-bottom-left-radius: 5px;
+ max-height: 300px;
+ margin: 0 3px;
+ padding: 0;
+}
+
+.gcli-menu-template {
+ border-collapse: collapse;
+ width: 100%;
+ margin: 10px 0;
+}
+
+.gcli-menu-option {
+ overflow: hidden;
+ white-space: nowrap;
+ cursor: pointer;
+ padding: 2px;
+}
+
+.gcli-menu-option:hover {
+ background-color: #FFCF00;
+ color: #000000;
+}
+
+.gcli-menu-name {
+ padding-top: 0;
+ padding-bottom: 0;
+ -moz-padding-start: 10px;
+ -moz-padding-end: 2px;
+}
+
+.gcli-menu-desc {
+ font-size: 80%;
+ color: #FF9F00;
+}
+
+.gcli-menu-error {
+ overflow: hidden;
+ white-space: nowrap;
+ padding-top: 8px;
+ padding-bottom: 2px;
+ -moz-padding-start: 10px;
+ -moz-padding-end: 2px;
+ font-size: 80%;
+ color: #FF0000;
+}
+
+/* From: $GCLI/lib/gcli/ui/inputter.css */
+
+.gcli-in-complete {
+ position: absolute;
+ z-index: -1000;
+ border: 1px transparent solid;
+ padding: 1px 1px 1px 2px;
+ color: #008484;
+}
+
+.gcli-in-incomplete {
+ border-bottom: 2px dotted #9C9CFF;
+}
+
+.gcli-in-error {
+ border-bottom: 2px dotted #FF0000;
+}
+
+.gcli-in-ontab {
+ color: #9C9CFF;
+}
+
+.gcli-in-closebrace {
+ color: #9C9CFF;
+}
+
+.gcli-prompt {
+ color: #E7ADE7;
+ font-weight: bold;
+}
+
+/* From: $GCLI/lib/gcli/commands/help.css */
+
+.gcli-help-name {
+ text-align: end;
+}
+
+.gcli-help-arrow {
+ font-size: 70%;
+ color: #008484;
+}
+
+.gcli-help-synopsis {
+ font-family: "Liberation Mono", Consolas, "Courier New", monospace;
+ font-weight: normal;
+ padding: 0 3px;
+ margin: 0 10px;
+ border: 1px solid #9C9CFF;
+ border-radius: 3px;
+ color: #FF9F00;
+ cursor: pointer;
+ display: inline-block;
+}
+
+.gcli-help-synopsis:before {
+ color: #FFCF00;
+ content: '\bb';
+}
+
+.gcli-help-description {
+ margin: 0 20px;
+ padding: 0;
+}
+
+.gcli-help-parameter {
+ margin: 0 30px;
+ padding: 0;
+}
+
+.gcli-help-header {
+ margin: 10px 0 6px;
+}