.root { width: 350px; } .inputArea { display: table; width: 100%; border: 1px solid #ddd; border-radius: 3px; box-shadow: inset 0 1px 2px rgba(0,0,0,0.075); } .inputScope { display: table-cell; width: 1%; padding-right: 6px; padding-left: 8px; color: #767676; white-space: nowrap; vertical-align: middle; border-right: 1px solid #eee; border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .inputField { display: table-cell; width: 99%; background: none transparent; border: 0 none; box-shadow: none; outline: none; font-size: inherit; } .menu { border-radius: 3px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.9); padding: 2px 0; width: 350px; height: 100%; } .command { padding: 2px 6px; cursor: default; } .command .faded { font-style: italic; font-weight: lighter; color: #555; } .highlightedCommand { color: white; background: hsl(200, 50%, 50%); padding: 2px 6px; cursor: default; } .highlightedCommand .faded { font-style: italic; font-weight: lighter; color: #ddd; }