mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
303 lines
6.1 KiB
CSS
303 lines
6.1 KiB
CSS
/* ***** 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;
|
|
font: 12px Consolas, "Lucida Console", monospace;
|
|
}
|
|
|
|
.gcliterm-input-node {
|
|
padding-top: 2px;
|
|
padding-bottom: 0;
|
|
-moz-padding-start: 16px;
|
|
-moz-padding-end: 0;
|
|
}
|
|
|
|
.gcliterm-complete-node {
|
|
color: #FFF;
|
|
padding-top: 4px;
|
|
padding-bottom: 2px;
|
|
-moz-padding-start: 21px;
|
|
-moz-padding-end: 4px;
|
|
}
|
|
|
|
.gcliVALID {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.gcliINCOMPLETE {
|
|
color: #DDD;
|
|
border-bottom: 1px dotted #999;
|
|
}
|
|
|
|
.gcliERROR {
|
|
color: #DDD;
|
|
border-bottom: 1px dotted #F00;
|
|
}
|
|
|
|
.gcliCompl {
|
|
color: #999;
|
|
}
|
|
|
|
.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 threedshadow;
|
|
border-bottom: 1px solid #FFF;
|
|
border-left: 1px solid threedshadow;
|
|
border-right: 1px solid threedshadow;
|
|
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 threedshadow;
|
|
border-bottom: 1px solid threedshadow;
|
|
}
|
|
|
|
.gcliCmdHelpRight {
|
|
text-align: right;
|
|
}
|
|
|
|
.gcliterm-menu {
|
|
display: -moz-box;
|
|
-moz-box-flex: 1;
|
|
}
|
|
|
|
.gcliterm-hint-nospace {
|
|
display: none;
|
|
}
|
|
|
|
/*
|
|
* 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-pinstripe.css */
|
|
|
|
.gcliterm-complete-node {
|
|
padding-top: 6px !important;
|
|
}
|
|
|
|
/* From: $GCLI/lib/gcli/ui/arg_fetch.css */
|
|
|
|
.gcliArgFetcher {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
}
|
|
|
|
.gcliCmdDesc {
|
|
font-weight: bold;
|
|
text-align: center;
|
|
margin-bottom: 5px;
|
|
padding: 3px 10px 0;
|
|
}
|
|
|
|
.gcliParamGroup {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.gcliParamName {
|
|
text-align: right;
|
|
font-size: 90%;
|
|
}
|
|
|
|
.gcliParamError {
|
|
font-size: 80%;
|
|
color: #900;
|
|
}
|
|
|
|
.gcliParamSubmit {
|
|
text-align: right;
|
|
}
|
|
|
|
.gcliGroupSymbol {
|
|
font-size: 90%;
|
|
color: #666;
|
|
}
|
|
|
|
.gcliRequired {
|
|
font-size: 90%;
|
|
color: #f66;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.gcliParams {
|
|
padding: 0 10px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
}
|
|
|
|
.gcliField {
|
|
width: 100%;
|
|
}
|
|
|
|
/* From: $GCLI/lib/gcli/ui/menu.css */
|
|
|
|
.gcliMenu {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gcliOption {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
padding: 2px;
|
|
}
|
|
|
|
.gcliOption:hover {
|
|
background-color: rgb(230, 230, 230);
|
|
}
|
|
|
|
.gcliOptionName {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
-moz-padding-start: 10px;
|
|
-moz-padding-end: 2px;
|
|
}
|
|
|
|
.gcliOptionDesc {
|
|
font-size: 80%;
|
|
color: #999;
|
|
}
|
|
|
|
.gcliMenuError {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
padding-top: 8px;
|
|
padding-bottom: 2px;
|
|
-moz-padding-start: 10px;
|
|
-moz-padding-end: 2px;
|
|
font-size: 80%;
|
|
color: red;
|
|
}
|
|
|
|
.gcliMenuField {
|
|
border: 1px solid #aaa;
|
|
border-top: 0;
|
|
border-bottom-right-radius: 5px;
|
|
border-bottom-left-radius: 5px;
|
|
max-height: 300px;
|
|
margin: 0 3px;
|
|
padding: 0;
|
|
}
|
|
|
|
#gcliOptTempl {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
/* From: $GCLI/lib/gcli/ui/inputter.css */
|
|
|
|
.gcliCompletion {
|
|
position: absolute;
|
|
z-index: -1000;
|
|
border: 1px transparent solid;
|
|
padding: 1px 1px 1px 2px;
|
|
}
|
|
|
|
.gcliCompletion {
|
|
color: #DDD;
|
|
}
|
|
|
|
.gcliINCOMPLETE {
|
|
border-bottom: 2px dotted #999;
|
|
}
|
|
|
|
.gcliERROR {
|
|
border-bottom: 2px dotted #F00;
|
|
}
|
|
|
|
.gcliPrompt {
|
|
color: #66F;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.gcliCompl {
|
|
color: #999;
|
|
}
|
|
|
|
.gcliCloseBrace {
|
|
color: #999;
|
|
}
|