comparison libervia/desktop_kivy/plugins/plugin_wid_chat.kv @ 518:196483685a63 default tip

Use Font-Awesome instead of Fontello, following change in Libervia Media.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:44:37 +0200
parents b3cedbee561d
children
comparison
equal deleted inserted replaced
517:f316c7f19909 518:196483685a63
141 text: u"[b]{}[/b], {}".format(escape(root.nick), root.time_text) 141 text: u"[b]{}[/b], {}".format(escape(root.nick), root.time_text)
142 Symbol: 142 Symbol:
143 size_hint_x: None 143 size_hint_x: None
144 width: self.height 144 width: self.height
145 id: encrypted 145 id: encrypted
146 symbol: 'lock-filled' if root.mess_data.encrypted else 'lock-open' 146 symbol: 'lock' if root.mess_data.encrypted else 'unlock'
147 font_size: self.height - dp(3) 147 font_size: self.height - dp(3)
148 color: (1, 0, 0, 1) if not root.mess_data.encrypted and root.chat.encrypted else (0.55,0.55,0.55,1) 148 color: (1, 0, 0, 1) if not root.mess_data.encrypted and root.chat.encrypted else (0.55,0.55,0.55,1)
149 Label: 149 Label:
150 id: delivery 150 id: delivery
151 color: C.COLOR_BTN_LIGHT 151 color: C.COLOR_BTN_LIGHT
171 171
172 <AttachmentToSendItem>: 172 <AttachmentToSendItem>:
173 SymbolButton: 173 SymbolButton:
174 opacity: 0 if root.sending else 1 174 opacity: 0 if root.sending else 1
175 size_hint: None, 1 175 size_hint: None, 1
176 symbol: "cancel-circled" 176 symbol: "circle-xmark"
177 on_press: root.parent.remove_widget(root) 177 on_press: root.parent.remove_widget(root)
178 178
179 179
180 <AttachmentsToSend>: 180 <AttachmentsToSend>:
181 attachments: attachments_layout.attachments 181 attachments: attachments_layout.attachments
255 multiline: True 255 multiline: True
256 hint_text: _(u"Enter your message here") 256 hint_text: _(u"Enter your message here")
257 on_text_validate: root.on_send(args[0]) 257 on_text_validate: root.on_send(args[0])
258 SymbolButton: 258 SymbolButton:
259 # "send" button, permanent visibility depends on platform 259 # "send" button, permanent visibility depends on platform
260 symbol: "forward" 260 symbol: "share"
261 size_hint: None, 1 261 size_hint: None, 1
262 width: dp(30) if root.send_button_visible else 0 262 width: dp(30) if root.send_button_visible else 0
263 opacity: 1 if root.send_button_visible else 0 263 opacity: 1 if root.send_button_visible else 0
264 font_size: dp(25) 264 font_size: dp(25)
265 on_release: self.parent.send_text() 265 on_release: self.parent.send_text()
267 267
268 # Buttons added in header 268 # Buttons added in header
269 269
270 <TransferButton>: 270 <TransferButton>:
271 size_hint: None, 1 271 size_hint: None, 1
272 symbol: "plus-circled" 272 symbol: "circle-plus"
273 width: dp(30) 273 width: dp(30)
274 font_size: dp(25) 274 font_size: dp(25)
275 color: 0.4, 0.4, 0.4, 1 275 color: 0.4, 0.4, 0.4, 1
276 276
277 <MenuButton@Button> 277 <MenuButton@Button>
288 text: _("close") 288 text: _("close")
289 on_release: root.select("close") 289 on_release: root.select("close")
290 290
291 <ExtraButton>: 291 <ExtraButton>:
292 size_hint: None, 1 292 size_hint: None, 1
293 symbol: "dot-3-vert" 293 symbol: "ellipsis-vertical"
294 width: dp(30) 294 width: dp(30)
295 font_size: dp(25) 295 font_size: dp(25)
296 color: 0.4, 0.4, 0.4, 1 296 color: 0.4, 0.4, 0.4, 1
297 on_release: self.chat.extra_menu.open(self) 297 on_release: self.chat.extra_menu.open(self)
298 298
301 width: dp(30) 301 width: dp(30)
302 color: self.get_color() 302 color: self.get_color()
303 symbol: self.get_symbol() 303 symbol: self.get_symbol()
304 304
305 <TrustManagementButton>: 305 <TrustManagementButton>:
306 symbol: "shield" 306 symbol: "shield-halved"
307 padding: dp(5), dp(10) 307 padding: dp(5), dp(10)
308 bg_color: app.c_prim_dark 308 bg_color: app.c_prim_dark
309 size_hint: None, 1 309 size_hint: None, 1
310 width: dp(30) 310 width: dp(30)
311 on_release: self.parent.dispatch("on_trust_release") 311 on_release: self.parent.dispatch("on_trust_release")