waveterm/frontend/app/modals/userinputmodal.less
Sylvie Crowe 11e4f6074d
Input Modal Fixes (#336)
A couple small things:
- make the timer more robust in case of a timing issue where the timer
skips 0
- make the x button in the corner work
- style the title to stand out

The title will need more styling in the future, but this is still an
improvement.
2024-09-06 04:15:42 -07:00

46 lines
886 B
Plaintext

// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.userinput-header {
font-weight: bold;
color: var(--main-text-color);
padding-bottom: 10px;
}
.userinput-body {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 1rem;
margin: 0 1rem 1rem 1rem;
font: var(--fixed-font);
color: var(--main-text-color);
.userinput-markdown {
color: inherit;
}
.userinput-text {
}
.userinput-inputbox {
resize: none;
background-color: var(--panel-bg-color);
border-radius: 6px;
margin: 0;
border: var(--border-color);
padding: 5px 0 5px 16px;
min-height: 30px;
color: inherit;
&:hover {
cursor: text;
}
&:focus {
outline-color: var(--accent-color);
}
}
}