mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 10:01:39 -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;
|
--background: #111;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root.dark input {
|
:root.dark input, :root.dark #command-line-holder {
|
||||||
color: var(--foreground-bright);
|
color: var(--foreground-bright);
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,17 +7,26 @@ body {
|
||||||
width: 100%;
|
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 {
|
input {
|
||||||
width: 100%;
|
width: 97%;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 9pt;
|
font-size: 9pt;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: black;
|
color: black;
|
||||||
background: white;
|
background: white;
|
||||||
border: unset;
|
border: unset;
|
||||||
|
/* reduce the padding from the colon */
|
||||||
|
margin-left: -0.25ex;
|
||||||
/* we currently have a border from the completions */
|
/* we currently have a border from the completions */
|
||||||
/* border-top: solid 1px lightgray; */
|
/* border-top: solid 1px lightgray; */
|
||||||
padding-left: 0.5ex;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* COMPLETIONS */
|
/* COMPLETIONS */
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="completions"></div>
|
<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>
|
<script src="../commandline_frame.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue