File size: 2,823 Bytes
c8d94c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Custom CSS for Will's AAC Communication Aid */

/* Main container styling */
.gradio-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Emoji response options */
.emoji-response-options .gr-form {
    margin-top: 10px;
}

/* Direct emoji labels for radio buttons */
.emoji-response-options label[for$="model"] span:first-child::before {
    content: "πŸ€– ";
}

.emoji-response-options label[for$="auto_detect"] span:first-child::before {
    content: "πŸ” ";
}

.emoji-response-options label[for$="common_phrases"] span:first-child::before {
    content: "πŸ’¬ ";
}

.emoji-response-options label[for$="greetings"] span:first-child::before {
    content: "πŸ‘‹ ";
}

.emoji-response-options label[for$="needs"] span:first-child::before {
    content: "πŸ†˜ ";
}

.emoji-response-options label[for$="emotions"] span:first-child::before {
    content: "😊 ";
}

.emoji-response-options label[for$="questions"] span:first-child::before {
    content: "❓ ";
}

.emoji-response-options label[for$="tech_talk"] span:first-child::before {
    content: "πŸ’» ";
}

.emoji-response-options label[for$="reminiscing"] span:first-child::before {
    content: "πŸ”™ ";
}

.emoji-response-options label[for$="organization"] span:first-child::before {
    content: "πŸ“… ";
}

/* Mood slider styling */
.mood-slider-container {
    margin-bottom: 20px;
    position: relative;
}

.mood-slider .gr-slider {
    height: 20px;
    border-radius: 10px;
}

.mood-slider .gr-slider-value {
    font-weight: bold;
}

/* Add emoji indicators to the ends of the slider */
.mood-slider::before {
    content: "😒";
    position: absolute;
    left: 0;
    bottom: 5px;
    font-size: 24px;
}

.mood-slider::after {
    content: "πŸ˜„";
    position: absolute;
    right: 0;
    bottom: 5px;
    font-size: 24px;
}

/* Style for audio recorder */
.audio-recorder-container {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    padding: 10px;
    background-color: rgba(37, 99, 235, 0.05);
}

.audio-recorder-container h3 {
    margin-top: 0;
    color: #2563eb;
}

.audio-recorder {
    margin: 10px 0;
}

.audio-recorder .mic-icon {
    color: #2563eb;
    font-size: 24px;
}

.auto-transcribe-hint {
    font-size: 12px;
    color: #666;
    margin-top: 0;
    text-align: center;
}

/* Improve button styling */
.gr-button-primary {
    background-color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gr-button-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Improve markdown output */
#suggestions_output {
    border-radius: 8px;
    padding: 15px;
    background-color: #f8fafc;
    border-left: 4px solid #2563eb;
}