updates to typebox
This commit is contained in:
parent
ece9ebceb5
commit
fcc3be798a
3 changed files with 29 additions and 10 deletions
|
@ -62,7 +62,9 @@
|
||||||
<div id="pasteimage"></div>
|
<div id="pasteimage"></div>
|
||||||
<div id="replybox" class="hideReplyBox"></div>
|
<div id="replybox" class="hideReplyBox"></div>
|
||||||
<div id="typediv">
|
<div id="typediv">
|
||||||
<div id="typebox" contentEditable="true"></div>
|
<div id="realbox">
|
||||||
|
<div id="typebox" contentEditable="true"></div>
|
||||||
|
</div>
|
||||||
<div id="typing" class="hidden">
|
<div id="typing" class="hidden">
|
||||||
<p id="typingtext">typing</p>
|
<p id="typingtext">typing</p>
|
||||||
<div class="loading-indicator">
|
<div class="loading-indicator">
|
||||||
|
|
|
@ -373,20 +373,36 @@ div {
|
||||||
|
|
||||||
#typebox {
|
#typebox {
|
||||||
font-family: "acumin-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "acumin-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
padding: 3px;
|
min-height: .4in;
|
||||||
border-radius: .25cm;
|
|
||||||
width: 100%;
|
|
||||||
min-height: .6in;
|
|
||||||
z-index: -100;
|
|
||||||
display: flex;
|
|
||||||
max-height: 1.5in;
|
max-height: 1.5in;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
flex-grow:1;
|
||||||
|
|
||||||
|
}
|
||||||
|
#realbox{
|
||||||
|
padding: .05in;
|
||||||
|
border-radius: .25cm;
|
||||||
|
z-index: -100;
|
||||||
|
width: calc(100% - .2in);
|
||||||
|
box-sizing: border-box;
|
||||||
color: var(--primary-text);
|
color: var(--primary-text);
|
||||||
background: var(--textarea-bg);
|
background: var(--textarea-bg);
|
||||||
border: 1px solid;
|
/* border: 1px solid var(--black); */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
align-items: stretch;
|
||||||
|
margin: .0in .1in .15in .1in;
|
||||||
|
box-shadow: 0 .01in .05in black;
|
||||||
|
}
|
||||||
|
#typebox:focus{
|
||||||
|
border-color: inherit;
|
||||||
|
-webkit-box-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
|
outline: none !important;
|
||||||
|
outline-offset: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
transition: background .1s ease-in-out, color .1s ease-in-out;
|
transition: background .1s ease-in-out, color .1s ease-in-out;
|
||||||
/* width: 100%; */
|
/* width: 100%; */
|
||||||
|
@ -444,6 +460,7 @@ p {
|
||||||
position: relative;
|
position: relative;
|
||||||
/* display: flex; */
|
/* display: flex; */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
hr {
|
hr {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
--quote-bg: #7a798e;
|
--quote-bg: #7a798e;
|
||||||
--button-bg: color-mix(in srgb, #303030 80%, var(--accent-color));
|
--button-bg: color-mix(in srgb, #303030 80%, var(--accent-color));
|
||||||
--button-hover: #282832;
|
--button-hover: #282832;
|
||||||
--textarea-bg: color-mix(in srgb, #272727 85%, var(--accent-color));
|
--textarea-bg: color-mix(in srgb, #484848 80%, var(--accent-color));
|
||||||
--filename: #47bbff;
|
--filename: #47bbff;
|
||||||
--mention-bg: #F00;
|
--mention-bg: #F00;
|
||||||
--pronouns: #797979;
|
--pronouns: #797979;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue