1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* From: $GCLI/mozilla/gcli/ui/gcliterm.css */
7 /* Bug 678152 calls for UX review which will fix the color names */
10 .gcliterm-complete-node {
12 -moz-appearance: none;
14 vertical-align: middle;
15 background-color: transparent;
18 .gcliterm-input-node {
21 -moz-padding-start: 16px;
25 .gcliterm-complete-node {
29 -moz-padding-start: 21px;
30 -moz-padding-end: 4px;
33 .gcliterm-stack-node {
34 background: url("chrome://global/skin/icons/commandline.png") 4px center no-repeat;
38 .gcliterm-argfetcher {
44 border-top: 1px solid #9C9CFF;
45 border-bottom: 1px solid #E7ADE7;
46 border-left: 1px solid #9C9CFF;
47 border-right: 1px solid #9C9CFF;
48 border-top-right-radius: 5px;
49 border-top-left-radius: 5px;
53 .gcliterm-hint-parent {
56 border-top: 1px solid #9C9CFF;
57 border-bottom: 1px solid #9C9CFF;
63 border-bottom-color: #E7ADE7;
66 .gcliterm-hint-scroll {
68 border-bottom-color: #9C9CFF;
71 .gcliterm-hint-nospace {
78 -moz-margin-start: 3px;
80 list-style-image: none;
83 /* Extract from display.css, we only want these 2 rules */
86 border: 1px solid #8050B0;
93 vertical-align: bottom;
96 .gcli-out-shortcut:before {
103 * The language of a console is not en_US or any other common language
104 * (i.e we don't attempt to translate 'console.log(x)')
105 * So we fix .gcliterm-input-node/.gcliterm-complete-node elements to be ltr.
106 * As a result we also want the hints to pop up on the left (above the prompt)
108 .gcliterm-input-node,
109 .gcliterm-complete-node,
115 * We want the stuff under .gcliterm-display to obey normal direction rules
116 * so we need to swap back when the document is in rtl mode.
117 * The selectors below are faster, but equivalent to:
118 * .gcliterm-display > *:-moz-locale-dir(rtl) {
121 * In non-performance critical situations the above is preferred due to it's
122 * greater resilience to refactoring
124 .gcliterm-hint-parent:-moz-locale-dir(rtl),
125 .hud-output-node:-moz-locale-dir(rtl) {
129 /* From: $GCLI/mozilla/gcli/ui/gcliterm-winstripe.css */
131 .gcliterm-input-node,
132 .gcliterm-complete-node {
133 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
137 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
140 /* From: $GCLI/lib/gcli/ui/arg_fetch.css */
144 -moz-box-sizing: border-box;
157 -moz-box-sizing: border-box;
168 -moz-padding-start: 5px;
184 .gcli-field-javascript {
188 /* From: $GCLI/lib/gcli/ui/menu.css */
196 border: 1px solid #9C9CFF;
198 border-bottom-right-radius: 5px;
199 border-bottom-left-radius: 5px;
205 .gcli-menu-template {
206 border-collapse: collapse;
218 .gcli-menu-option:hover {
219 background-color: #FFCF00;
226 -moz-padding-start: 10px;
227 -moz-padding-end: 2px;
240 -moz-padding-start: 10px;
241 -moz-padding-end: 2px;
246 /* From: $GCLI/lib/gcli/ui/inputter.css */
251 border: 1px transparent solid;
252 padding: 1px 1px 1px 2px;
256 .gcli-in-incomplete {
257 border-bottom: 2px dotted #9C9CFF;
261 border-bottom: 2px dotted #FF0000;
268 .gcli-in-closebrace {
277 .gcli-in-scratchlink {
284 /* From: $GCLI/lib/gcli/commands/help.css */
295 .gcli-help-synopsis {
296 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
300 border: 1px solid #9C9CFF;
304 display: inline-block;
307 .gcli-help-synopsis:before {
312 .gcli-help-description {
317 .gcli-help-parameter {