frontpage/styles/REPL/REPLInput.module.css

66 lines
1.1 KiB
CSS
Raw Normal View History

2021-12-14 23:08:18 +01:00
.wrapper > input, .wrapper > span {
2021-12-16 01:03:54 +01:00
padding: .125rem 0;
2021-12-14 23:08:18 +01:00
font-size: 1.25rem;
2021-12-16 01:03:54 +01:00
font-family: "CascadiaCode", monospace;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
color: var(--repl-color);
2021-12-14 23:08:18 +01:00
}
.wrapper {
position: relative;
2021-12-16 01:03:54 +01:00
flex-grow: 2;
display: block;
}
.wrapperwrapper {
display: flex;
width: 100%;
flex-direction: row;
flex-wrap: nowrap;
}
.inputstart {
padding: .125rem 0;
font-size: 1.25rem;
font-family: "CascadiaCode", monospace;
2021-12-14 23:08:18 +01:00
}
2021-12-16 14:56:25 +01:00
.in {
2021-12-14 23:08:18 +01:00
border: 0;
2021-12-16 01:03:54 +01:00
background: transparent;
2021-12-16 14:56:25 +01:00
width: 100%;
appearance: none !important;
caret-color: var(--repl-color);
outline: none;
}
.in::-moz-focus-outer, .in::-moz-focus-inner, .in:focus, .in:focus *, .in:-moz-focusring, .in:-moz-focusring * {
border: none !important;
outline: none !important;
box-shadow: none !important;
2021-12-14 23:08:18 +01:00
}
.completionWrapper {
position: absolute;
pointer-events: none;
left: 0;
top: 0;
width: min-content;
}
.completionWrapper span {
padding: 0;
margin: 0;
display: inline-block;
}
.typed {
opacity: 0;
}
.completion {
2021-12-16 01:03:54 +01:00
color: var(--repl-color-hint);
2021-12-14 23:08:18 +01:00
}