File size: 4,941 Bytes
5383ef0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | /* ββ Center (welcome) input ββββββββββββββββββββββββββββββββββββββββββββββββ */
.center-input-container {
display: flex;
flex-direction: column;
background: var(--bg-raised);
border: 1px solid var(--border-bright);
border-radius: var(--radius-xl);
padding: 12px 14px 10px;
gap: 10px;
box-shadow: var(--shadow-md);
transition: border-color var(--transition), box-shadow var(--transition);
}
.center-input-container:focus-within {
border-color: rgba(74,158,255,0.4);
box-shadow: var(--shadow-glow-blue);
}
.center-textarea {
width: 100%;
background: transparent;
border: none;
outline: none;
color: var(--text);
font-size: 16px;
line-height: 1.55;
min-height: 26px;
max-height: calc(1.55em * 6 + 24px);
overflow-y: auto;
padding: 0 4px;
}
.center-textarea::placeholder { color: var(--text-muted); }
.center-input-actions {
display: flex;
align-items: center;
gap: 4px;
}
.tool-btn {
display: flex; align-items: center; justify-content: center;
width: 30px; height: 30px;
border-radius: var(--radius-md);
color: var(--text-muted);
transition: color var(--transition), background var(--transition);
}
.tool-btn:hover { color: var(--text); background: var(--bg-hover); }
.tool-btn.active { color: var(--yellow); background: var(--yellow-glow); }
.send-btn-center {
display: flex; align-items: center; justify-content: center;
width: 34px; height: 34px; border-radius: 50%;
background: var(--yellow); color: #111;
margin-left: auto;
transition: opacity var(--transition), transform var(--transition);
flex-shrink: 0;
}
.send-btn-center:hover { opacity: 0.88; transform: scale(1.05); }
.send-btn-center:disabled { opacity: 0.4; transform: none; }
/* Attach btn beside center input */
.attach-btn-wrap {
display: flex;
align-items: flex-end;
}
.attach-btn {
display: flex; align-items: center; justify-content: center;
width: 30px; height: 30px; border-radius: 50%;
color: var(--text-muted);
border: 1px solid var(--border-bright);
transition: color var(--transition), background var(--transition);
}
.attach-btn:hover { color: var(--text); background: var(--bg-hover); }
/* ββ Bottom input bar ββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.bottom-input-bar {
flex-shrink: 0;
padding: 0 24px 16px;
}
.file-preview-row {
display: flex; flex-wrap: wrap; gap: 8px;
padding: 0 0 8px;
max-width: 760px; margin: 0 auto;
}
.bottom-input-wrap {
display: flex;
align-items: flex-end;
gap: 8px;
max-width: 760px;
margin: 0 auto;
background: var(--bg-raised);
border: 1px solid var(--border-bright);
border-radius: var(--radius-xl);
padding: 8px 10px;
box-shadow: var(--shadow-md);
transition: border-color var(--transition), box-shadow var(--transition);
}
.bottom-input-wrap:focus-within {
border-color: rgba(74,158,255,0.4);
box-shadow: var(--shadow-glow-blue);
}
.attach-btn-bottom {
flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
width: 30px; height: 30px; border-radius: 50%;
color: var(--text-muted);
margin-bottom: 4px;
transition: color var(--transition), background var(--transition);
}
.attach-btn-bottom:hover { color: var(--text); background: var(--bg-hover); }
.bottom-textarea-wrap {
flex: 1; min-width: 0;
display: flex; flex-direction: column; gap: 6px;
}
.tool-row {
display: flex; gap: 4px;
}
.tool-btn-sm {
display: inline-flex; align-items: center; gap: 5px;
padding: 3px 9px; border-radius: var(--radius-full);
font-size: 12px; color: var(--text-muted);
border: 1px solid transparent;
transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.tool-btn-sm:hover { color: var(--text); border-color: var(--border-bright); }
.tool-btn-sm.active {
color: var(--yellow);
border-color: rgba(229,200,70,0.3);
background: var(--yellow-glow);
}
.bottom-textarea {
width: 100%;
background: transparent;
border: none;
outline: none;
color: var(--text);
font-size: 15px;
line-height: 1.55;
min-height: calc(1.55em + 2px);
max-height: calc(1.55em * 6 + 2px);
overflow-y: auto;
padding: 0;
}
.bottom-textarea::placeholder { color: var(--text-muted); }
.send-btn-bottom {
flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
width: 34px; height: 34px; border-radius: 50%;
background: var(--yellow); color: #111;
margin-bottom: 2px;
transition: opacity var(--transition), transform var(--transition);
}
.send-btn-bottom:hover { opacity: 0.88; transform: scale(1.05); }
.send-btn-bottom:disabled { opacity: 0.4; transform: none; cursor: not-allowed; }
.send-btn-bottom.stop { background: var(--bg-active); color: var(--text); }
|