Style the ConversationViewer user message with CSS rather than a class.
This commit is contained in:
parent
d0dc003772
commit
89a1dc8c88
2 changed files with 10 additions and 5 deletions
|
|
@ -3,11 +3,13 @@
|
|||
<interface>
|
||||
<requires lib="gtk+" version="3.10"/>
|
||||
<template class="ConversationViewer" parent="GtkStack">
|
||||
<property name="name">conversation_viewer</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="transition_type">crossfade</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="splash_page">
|
||||
<property name="name">splash_page</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="pixel_size">256</property>
|
||||
|
|
@ -64,16 +66,12 @@
|
|||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="user_message_label">
|
||||
<property name="name">100</property>
|
||||
<property name="name">user_message</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="xpad">18</property>
|
||||
<property name="ypad">18</property>
|
||||
<property name="label">🎔</property>
|
||||
<style>
|
||||
<class name="frame"/>
|
||||
<class name="view"/>
|
||||
</style>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
|
|
|
|||
|
|
@ -97,3 +97,10 @@ row.geary-folder-popover-list-row > label {
|
|||
#composer_embed headerbar {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
#user_message {
|
||||
border: 1px solid @borders;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
background: @theme_base_color;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue