ciyidogan commited on
Commit
81d251e
·
verified ·
1 Parent(s): 0ceb246

Update flare-ui/src/app/components/chat/chat.component.scss

Browse files
flare-ui/src/app/components/chat/chat.component.scss CHANGED
@@ -20,6 +20,16 @@
20
  width: 100%;
21
  margin-bottom: 16px;
22
  }
 
 
 
 
 
 
 
 
 
 
23
  }
24
 
25
  .chat-card {
@@ -34,6 +44,25 @@
34
  .spacer {
35
  flex: 1;
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  }
38
  }
39
 
@@ -84,16 +113,30 @@
84
  margin-top: 4px;
85
  }
86
 
87
- .bubble {
 
 
 
88
  max-width: 70%;
89
- padding: 12px 16px;
90
- border-radius: 16px;
91
- line-height: 1.5;
92
- word-wrap: break-word;
93
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
94
-
95
- // Animation for new messages
96
- animation: slideIn 0.3s ease-out;
 
 
 
 
 
 
 
 
 
 
 
97
  }
98
  }
99
 
 
20
  width: 100%;
21
  margin-bottom: 16px;
22
  }
23
+
24
+ .tts-checkbox {
25
+ margin-bottom: 8px;
26
+ }
27
+
28
+ .tts-hint {
29
+ color: #666;
30
+ font-size: 12px;
31
+ margin-bottom: 16px;
32
+ }
33
  }
34
 
35
  .chat-card {
 
44
  .spacer {
45
  flex: 1;
46
  }
47
+
48
+ .tts-indicator {
49
+ color: #4caf50;
50
+ margin-right: 8px;
51
+ }
52
+ }
53
+ }
54
+
55
+ .waveform-container {
56
+ background-color: #f0f0f0;
57
+ padding: 8px;
58
+ display: flex;
59
+ justify-content: center;
60
+ align-items: center;
61
+ min-height: 116px;
62
+
63
+ canvas {
64
+ border-radius: 4px;
65
+ background-color: #f0f0f0;
66
  }
67
  }
68
 
 
113
  margin-top: 4px;
114
  }
115
 
116
+ .msg-content {
117
+ display: flex;
118
+ align-items: flex-start;
119
+ gap: 8px;
120
  max-width: 70%;
121
+
122
+ .bubble {
123
+ padding: 12px 16px;
124
+ border-radius: 16px;
125
+ line-height: 1.5;
126
+ word-wrap: break-word;
127
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
128
+ animation: slideIn 0.3s ease-out;
129
+ }
130
+
131
+ .play-button {
132
+ margin-top: 4px;
133
+
134
+ mat-icon {
135
+ font-size: 20px;
136
+ width: 20px;
137
+ height: 20px;
138
+ }
139
+ }
140
  }
141
  }
142