Show : in commmand line: fix half of #559

This commit is contained in:
Oliver Blanthorn 2018-05-18 13:56:04 +01:00
parent ea2956ea14
commit 7add35714d
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
3 changed files with 13 additions and 4 deletions

View file

@ -4,7 +4,7 @@
--background: #111;
}
:root.dark input {
:root.dark input, :root.dark #command-line-holder {
color: var(--foreground-bright);
background: var(--background);
}

View file

@ -7,17 +7,26 @@ body {
width: 100%;
}
#command-line-holder {
background:white;
font-family: monospace;
font-size: 9pt;
/* reduce the padding added by the colon so that the command line shows up roughly where it used to be */
padding-left: 0.125ex;
}
input {
width: 100%;
width: 97%;
font-family: monospace;
font-size: 9pt;
line-height: 1.5;
color: black;
background: white;
border: unset;
/* reduce the padding from the colon */
margin-left: -0.25ex;
/* we currently have a border from the completions */
/* border-top: solid 1px lightgray; */
padding-left: 0.5ex;
}
/* COMPLETIONS */

View file

@ -7,7 +7,7 @@
</head>
<body>
<div id="completions"></div>
<input id="tridactyl-input"></input>
<div id="command-line-holder">:<input id="tridactyl-input"></input></div>
<script src="../commandline_frame.js"></script>
</body>
</html>