design: mobile-friendly DeepSeek-style chat UI
This commit is contained in:
@@ -678,6 +678,8 @@
|
|||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.create-story-page {
|
.create-story-page {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
|
padding-top: max(1rem, env(safe-area-inset-top));
|
||||||
|
padding-bottom: max(1rem, env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-section {
|
.form-section {
|
||||||
@@ -705,4 +707,19 @@
|
|||||||
.language-btn {
|
.language-btn {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Temperature selector - вертикальный на мобильных */
|
||||||
|
.temperature-selector {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.temp-btn {
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.temp-label {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+181
-128
@@ -3,9 +3,8 @@
|
|||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background: #0d0d0d;
|
background: #000;
|
||||||
padding-top: env(safe-area-inset-top);
|
padding-top: env(safe-area-inset-top);
|
||||||
padding-bottom: env(safe-area-inset-bottom);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-error {
|
.game-error {
|
||||||
@@ -20,40 +19,45 @@
|
|||||||
.game-header {
|
.game-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 1rem;
|
gap: 0.75rem;
|
||||||
padding: 1rem 1.5rem;
|
padding: 0.75rem 1rem;
|
||||||
padding-left: max(1.5rem, env(safe-area-inset-left));
|
padding-left: max(1rem, env(safe-area-inset-left));
|
||||||
padding-right: max(1.5rem, env(safe-area-inset-right));
|
padding-right: max(1rem, env(safe-area-inset-right));
|
||||||
background: #1a1a1a;
|
background: #0a0a0a;
|
||||||
border-bottom: 1px solid #333;
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-btn {
|
.back-btn {
|
||||||
width: 40px;
|
width: 36px;
|
||||||
height: 40px;
|
height: 36px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background: #2a2a2a;
|
background: transparent;
|
||||||
border-radius: 10px;
|
border-radius: 50%;
|
||||||
color: #ccc;
|
color: #999;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 1.2rem;
|
font-size: 1.1rem;
|
||||||
transition: background 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.back-btn:hover {
|
.back-btn:hover {
|
||||||
background: #333;
|
background: rgba(255, 255, 255, 0.1);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-info {
|
.header-info {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-info h1 {
|
.header-info h1 {
|
||||||
font-size: 1.1rem;
|
font-size: 1rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-session {
|
.header-session {
|
||||||
@@ -61,30 +65,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.session-selector {
|
.session-selector {
|
||||||
background: rgba(102, 126, 234, 0.2);
|
background: rgba(255, 255, 255, 0.08);
|
||||||
border: 1px solid rgba(102, 126, 234, 0.3);
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||||
border-radius: 8px;
|
border-radius: 16px;
|
||||||
padding: 0.3rem 0.6rem;
|
padding: 0.35rem 0.7rem;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
color: #a0b4ff;
|
color: #999;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.session-selector:hover {
|
.session-selector:hover {
|
||||||
background: rgba(102, 126, 234, 0.3);
|
background: rgba(255, 255, 255, 0.12);
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.session-menu {
|
.session-menu {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
left: 0;
|
right: 0;
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.5rem;
|
||||||
background: #1e1e2e;
|
background: #141414;
|
||||||
border: 1px solid #333;
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
min-width: 220px;
|
min-width: 220px;
|
||||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
@@ -94,23 +99,23 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.75rem 1rem;
|
||||||
border-bottom: 1px solid #333;
|
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
font-size: 0.85rem;
|
font-size: 0.8rem;
|
||||||
color: #888;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-session-btn {
|
.new-session-btn {
|
||||||
background: rgba(80, 200, 120, 0.2);
|
background: rgba(34, 197, 94, 0.15);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 6px;
|
border-radius: 12px;
|
||||||
padding: 0.3rem 0.5rem;
|
padding: 0.3rem 0.6rem;
|
||||||
font-size: 0.9rem;
|
font-size: 0.85rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s;
|
transition: all 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-session-btn:hover {
|
.new-session-btn:hover {
|
||||||
background: rgba(80, 200, 120, 0.4);
|
background: rgba(34, 197, 94, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.session-list {
|
.session-list {
|
||||||
@@ -121,7 +126,7 @@
|
|||||||
.session-item {
|
.session-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 1px solid #2a2a3a;
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.session-item:last-child {
|
.session-item:last-child {
|
||||||
@@ -129,7 +134,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.session-item.active {
|
.session-item.active {
|
||||||
background: rgba(102, 126, 234, 0.15);
|
background: rgba(37, 99, 235, 0.12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.session-name {
|
.session-name {
|
||||||
@@ -138,11 +143,11 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
gap: 0.2rem;
|
gap: 0.2rem;
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.65rem 1rem;
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #fff;
|
color: #ddd;
|
||||||
font-size: 0.9rem;
|
font-size: 0.85rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
@@ -153,8 +158,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.session-messages {
|
.session-messages {
|
||||||
font-size: 0.75rem;
|
font-size: 0.7rem;
|
||||||
color: #666;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.delete-session-btn {
|
.delete-session-btn {
|
||||||
@@ -173,30 +178,32 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header-protagonist {
|
.header-protagonist {
|
||||||
font-size: 0.85rem;
|
font-size: 0.8rem;
|
||||||
color: #888;
|
color: #666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-stats {
|
.header-stats {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.5rem;
|
gap: 0.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-badge {
|
.stat-badge {
|
||||||
padding: 0.4rem 0.75rem;
|
padding: 0.35rem 0.65rem;
|
||||||
border-radius: 20px;
|
border-radius: 16px;
|
||||||
font-size: 0.8rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
background: rgba(255, 255, 255, 0.08);
|
||||||
|
color: #888;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-badge.health {
|
.stat-badge.health {
|
||||||
background: rgba(255, 107, 107, 0.15);
|
background: rgba(239, 68, 68, 0.12);
|
||||||
color: #ff8a8a;
|
color: #f87171;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stat-badge.location {
|
.stat-badge.location {
|
||||||
background: rgba(102, 126, 234, 0.15);
|
background: rgba(37, 99, 235, 0.12);
|
||||||
color: #a0b4ff;
|
color: #60a5fa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-content {
|
.game-content {
|
||||||
@@ -209,15 +216,17 @@
|
|||||||
.messages-container {
|
.messages-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 1.5rem;
|
padding: 1rem;
|
||||||
|
padding-left: max(1rem, env(safe-area-inset-left));
|
||||||
|
padding-right: max(1rem, env(safe-area-inset-right));
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 1rem;
|
gap: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
max-width: 85%;
|
max-width: 88%;
|
||||||
animation: fadeIn 0.3s ease;
|
animation: fadeIn 0.25s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeIn {
|
@keyframes fadeIn {
|
||||||
@@ -240,22 +249,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-content {
|
.message-content {
|
||||||
padding: 1rem 1.25rem;
|
padding: 0.875rem 1rem;
|
||||||
border-radius: 16px;
|
border-radius: 18px;
|
||||||
line-height: 1.6;
|
line-height: 1.55;
|
||||||
|
font-size: 0.95rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message.user .message-content {
|
.message.user .message-content {
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
background: #2563eb;
|
||||||
color: white;
|
color: white;
|
||||||
border-bottom-right-radius: 4px;
|
border-bottom-right-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message.assistant .message-content {
|
.message.assistant .message-content {
|
||||||
background: #1f1f1f;
|
background: #1a1a1a;
|
||||||
color: #ddd;
|
color: #e5e5e5;
|
||||||
border: 1px solid #333;
|
border: none;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-content p {
|
.message-content p {
|
||||||
@@ -288,41 +298,42 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.message-content blockquote {
|
.message-content blockquote {
|
||||||
border-left: 3px solid #667eea;
|
border-left: 2px solid #2563eb;
|
||||||
padding-left: 1rem;
|
padding-left: 0.875rem;
|
||||||
margin: 0.75rem 0;
|
margin: 0.5rem 0;
|
||||||
color: #aaa;
|
color: #999;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-content code {
|
.message-content code {
|
||||||
background: #2a2a2a;
|
background: #252525;
|
||||||
padding: 0.15rem 0.4rem;
|
padding: 0.125rem 0.35rem;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
font-size: 0.9em;
|
font-size: 0.85em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-content hr {
|
.message-content hr {
|
||||||
border: none;
|
border: none;
|
||||||
border-top: 1px solid #444;
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
margin: 1rem 0;
|
margin: 0.75rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-time {
|
.message-time {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 0.7rem;
|
font-size: 0.65rem;
|
||||||
color: #666;
|
color: #444;
|
||||||
margin-top: 0.35rem;
|
margin-top: 0.25rem;
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message.user .message-time {
|
.message.user .message-time {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
color: rgba(255, 255, 255, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.message.loading .message-content {
|
.message.loading .message-content {
|
||||||
padding: 1.25rem 1.5rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.typing-indicator {
|
.typing-indicator {
|
||||||
@@ -331,9 +342,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.typing-indicator span {
|
.typing-indicator span {
|
||||||
width: 8px;
|
width: 6px;
|
||||||
height: 8px;
|
height: 6px;
|
||||||
background: #667eea;
|
background: #2563eb;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
animation: typing 1.4s infinite ease-in-out;
|
animation: typing 1.4s infinite ease-in-out;
|
||||||
}
|
}
|
||||||
@@ -353,10 +364,10 @@
|
|||||||
60%,
|
60%,
|
||||||
100% {
|
100% {
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
opacity: 0.4;
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
30% {
|
30% {
|
||||||
transform: translateY(-8px);
|
transform: translateY(-6px);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -365,18 +376,18 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.65rem 0.875rem;
|
||||||
background: rgba(255, 107, 107, 0.1);
|
background: rgba(239, 68, 68, 0.1);
|
||||||
border: 1px solid rgba(255, 107, 107, 0.3);
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
||||||
border-radius: 10px;
|
border-radius: 12px;
|
||||||
color: #ff8a8a;
|
color: #f87171;
|
||||||
font-size: 0.9rem;
|
font-size: 0.85rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.error-message button {
|
.error-message button {
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
color: #ff8a8a;
|
color: #f87171;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
@@ -409,25 +420,26 @@
|
|||||||
|
|
||||||
.input-container {
|
.input-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: flex-end;
|
||||||
gap: 0.75rem;
|
gap: 0.5rem;
|
||||||
padding: 1rem 1.5rem;
|
padding: 0.75rem 1rem;
|
||||||
padding-left: max(1.5rem, env(safe-area-inset-left));
|
padding-left: max(1rem, env(safe-area-inset-left));
|
||||||
padding-right: max(1.5rem, env(safe-area-inset-right));
|
padding-right: max(1rem, env(safe-area-inset-right));
|
||||||
background: #131313;
|
padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
|
||||||
border-top: 1px solid #222;
|
background: #0a0a0a;
|
||||||
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-container textarea {
|
.input-container textarea {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 44px;
|
min-height: 40px;
|
||||||
max-height: 150px;
|
max-height: 120px;
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.625rem 1rem;
|
||||||
background: #1a1a1a;
|
background: #1a1a1a;
|
||||||
border: 2px solid #333;
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||||
border-radius: 12px;
|
border-radius: 20px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1rem;
|
font-size: 0.95rem;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
resize: none;
|
resize: none;
|
||||||
transition: border-color 0.2s, height 0.1s ease;
|
transition: border-color 0.2s, height 0.1s ease;
|
||||||
@@ -437,53 +449,59 @@
|
|||||||
|
|
||||||
.input-container textarea:focus {
|
.input-container textarea:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: #667eea;
|
border-color: rgba(37, 99, 235, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-container textarea::placeholder {
|
.input-container textarea::placeholder {
|
||||||
color: #666;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-btn {
|
.send-btn {
|
||||||
width: 50px;
|
width: 40px;
|
||||||
min-width: 50px;
|
min-width: 40px;
|
||||||
height: 50px;
|
height: 40px;
|
||||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
background: #2563eb;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 12px;
|
border-radius: 50%;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1.25rem;
|
font-size: 1rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition:
|
transition: all 0.2s;
|
||||||
transform 0.2s,
|
|
||||||
opacity 0.2s;
|
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-btn:hover:not(:disabled) {
|
.send-btn:hover:not(:disabled) {
|
||||||
|
background: #1d4ed8;
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.send-btn:disabled {
|
.send-btn:disabled {
|
||||||
opacity: 0.5;
|
opacity: 0.4;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stop-btn {
|
.stop-btn {
|
||||||
width: 50px;
|
width: 40px;
|
||||||
min-width: 50px;
|
min-width: 40px;
|
||||||
height: 50px;
|
height: 40px;
|
||||||
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
background: #dc2626;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 12px;
|
border-radius: 50%;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 1.25rem;
|
font-size: 1rem;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.2s;
|
transition: all 0.2s;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stop-btn:hover {
|
.stop-btn:hover {
|
||||||
|
background: #b91c1c;
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -529,7 +547,12 @@
|
|||||||
|
|
||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.game-header {
|
.game-header {
|
||||||
padding: 0.75rem 1rem;
|
padding: 0.5rem 0.75rem;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-info h1 {
|
||||||
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-stats {
|
.header-stats {
|
||||||
@@ -537,18 +560,48 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.messages-container {
|
.messages-container {
|
||||||
padding: 1rem;
|
padding: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
max-width: 95%;
|
max-width: 92%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-content {
|
||||||
|
padding: 0.75rem 0.875rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quick-actions {
|
.quick-actions {
|
||||||
padding: 0.5rem 1rem;
|
padding: 0.5rem 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-container {
|
.input-container {
|
||||||
padding: 0.75rem 1rem 1rem;
|
padding: 0.5rem 0.75rem;
|
||||||
|
padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-container textarea {
|
||||||
|
min-height: 36px;
|
||||||
|
padding: 0.5rem 0.875rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-btn,
|
||||||
|
.stop-btn {
|
||||||
|
width: 36px;
|
||||||
|
min-width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.session-selector {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
padding: 0.25rem 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.session-menu {
|
||||||
|
min-width: 200px;
|
||||||
|
right: 0;
|
||||||
|
left: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -230,3 +230,46 @@
|
|||||||
.btn-delete:hover {
|
.btn-delete:hover {
|
||||||
background: rgba(255, 107, 107, 0.2);
|
background: rgba(255, 107, 107, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 600px) {
|
||||||
|
.stories-page {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stories-header h1 {
|
||||||
|
font-size: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stories-header p {
|
||||||
|
font-size: 0.95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stories-controls {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-input {
|
||||||
|
min-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.create-btn {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.stories-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
.story-card {
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.story-info h2 {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.story-meta {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user