File size: 3,093 Bytes
6efa67a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.file_attached {
    display: flex;
    min-width: 150px;
    max-width: calc(var(--sheldWidth) * 0.9);
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin: 0.25em auto;
    padding: 0 0.75em;
    border: 2px solid var(--SmartThemeBorderColor);
    border-radius: 15px;
    background-color: var(--white20a);
}

.mes_file_container {
    cursor: default;
    display: flex;
    gap: 15px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    background-color: var(--white20a);
    border: 2px solid var(--SmartThemeBorderColor);
    padding: 0.5em 1em;
    border-radius: 15px;
}

.mes .mes_file_wrapper:empty {
    display: none;
}

.mes .mes_file_wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-right: var(--mes-right-spacing);
}

.mes_file_container .right_menu_button {
    padding-right: 0;
}

.mes_file_container .mes_file_size,
.file_attached .file_size {
    font-size: 0.9em;
    color: var(--SmartThemeQuoteColor);
}

.file_attached .file_name,
.mes_file_container .mes_file_name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#file_form {
    display: flex;
    width: 100%;
}

.file_modal {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    text-align: left;
}

/* Audio Player Styles */
.mes_audio_container {
    cursor: default;
    display: flex;
    width: fit-content;
    min-width: min(350px, 100%);
    max-width: 100%;
    background-color: var(--white20a);
    border: 2px solid var(--SmartThemeBorderColor);
    padding: 0.5em 1em;
    border-radius: 15px;
}

.mes_audio_container .mes_img_swipes {
    position: unset;
    opacity: unset;
    background: none;
    padding: 0;
}

.mes_audio_container .mes_img_swipes .right_menu_button {
    filter: brightness(75%);
    text-shadow: none;
}

.mes_audio_container .mes_img_swipes .mes_img_swipe_counter {
    filter: none;
    text-shadow: none;
}

.audio-player {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.audio-player-header {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
}

.audio-player-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audio-player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-player-play-pause,
.audio-player-volume {
    background: none;
    border: none;
}

.audio-player-time-separator {
    font-size: 0.9em;
    text-align: center;
}

.audio-player-current-time,
.audio-player-total-time {
    font-size: 0.9em;
    color: var(--SmartThemeQuoteColor);
    min-width: 40px;
    text-align: center;
}

.audio-player-progress {
    flex: 1;
    height: 6px;
    background-color: var(--black30a);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-player-progress-bar {
    height: 100%;
    background-color: var(--SmartThemeEmColor);
    border-radius: 3px;
    transition: width 0.1s linear;
    width: 0%;
}