#cockpit { background: transparent; border: none; outline: none; font-family: consolas, courier, monospace; font-size: 120%; padding-left: 16px; } .cptOutput { border: 1px solid #AAA; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 10px; margin: 0 15px; background: #DDD; color: #000; overflow: auto; position: absolute; z-index: 999; display: none; } #cockpit:focus ~ .cptOutput { display: block; } .cptCompletion { color: #999; padding: 0 0 5px 2px; position: absolute; z-index: -1000; font-family: consolas, courier, monospace; font-size: 120%; } .cptHints { color: #000; position: absolute; border: 1px solid rgba(230, 230, 230, 0.8); background: rgba(250, 250, 250, 0.8); -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; z-index: 1000; padding: 8px; display: none; } .cptHints ul { margin: 0; padding: 0 15px; } #cockpit:focus ~ .cptHints { display: block; } #cockpit:focus ~ .cptHints.cptNoHints { display: none; } .cptCompletion.VALID { background: #FFF; } .cptCompletion.INCOMPLETE { background: #DDD; } .cptCompletion.INVALID { background: #DDD; } .cptCompletion span { color: #FFF; } .cptCompletion span.INCOMPLETE { color: #DDD; border-bottom: 2px dotted #F80; } .cptCompletion span.INVALID { color: #DDD; border-bottom: 2px dotted #F00; } span.cptPrompt { color: #66F; font-weight: bold; } .cptHints article { margin-left: 25px; padding: 8px; z-index: 1; color: @text; display: block; border: 2px @border_bg solid; border-bottom: 0; font-size: 90%; -moz-border-top-colors: @border_bg @border_fg; -moz-border-left-colors: @border_bg @border_fg; -moz-border-right-colors: @border_bg @bg; -moz-border-radius-topleft: 10px; -moz-border-radius-topright: 10px; border-top-left-radius: 10px; border-top-right-radius: 10px; background: @input_bg2; background: -moz-linear-gradient(top, @input_bg_light, @input_bg); background: -webkit-gradient(linear, left top, left bottom, from(@input_bg_light), to(@input_bg)); -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 3px; -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 10px 3px; max-width: 500px; } .cptHints article h1 { font-size: 110%; text-align: center; } .cptHints article h2 { font-size: 95%; } .cptHints article h3 { font-size: 90%; } .cptHints article table th, .cptHints article label { color: @hi_text; } .cptHints article h1, .cptHints article h2, .cptHints article h3 { margin: 2px 0 1px 0; color: @hi_text; } .cptHints article p, .cptHints article pre, /* Global visual styles */ .cptBrackets { color: @hi_text; } .cptGt { color: @theme_text; font-weight: bold; font-size: 120%; } /* Use absolute positioning to put all children 100%x100% */ .cptStack { position: relative; } .cptStack > * { position: absolute; top: 0; height: 100%; bottom: 0; left: 0; width: 100%; right: 0; } /* The input area */ .cptInput { border-top: 1px solid @border_bg; background: @input_bg; background: -moz-linear-gradient(top, @input_bg, @input_bg2); background: -webkit-gradient(linear, left top, left bottom, from(@input_bg), to(@input_bg2)); position: absolute; height: 25px; right: 0; bottom: 0; left: 0; } .cptKbd { position: absolute; top: 0; right: 0; bottom: 0; left: 40px; } .cptOutput input.cptCliInput { color: @hi_text; font-size: 120%; font-family: @fonts; background: transparent; outline: none; border: 0; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; padding: 4px 0 0 0; width: 100%; } .cptOutput input.cptCliInput:focus { outline: none; border: 0; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }