mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Show :
in commmand line: fix half of #559
This commit is contained in:
parent
ea2956ea14
commit
7add35714d
3 changed files with 13 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
--background: #111;
|
||||
}
|
||||
|
||||
:root.dark input {
|
||||
:root.dark input, :root.dark #command-line-holder {
|
||||
color: var(--foreground-bright);
|
||||
background: var(--background);
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue