Update conversation address labels to indicate interactivity. Bug 765516.

* src/client/conversation-viewer/conversation-message.vala
  (AddressFlowBoxChild::AddressFlowBoxChild): Check for enter and leave
  events, update the prelight state of the flowbox child accordingly.
  (ConversationMessage::on_address_box_child_activated): Update the
  active state of the flowbox child appropriately when the popover
  active.

* ui/geary.css: Style the active and hover states of the flowboxes.
This commit is contained in:
Michael James Gratton 2016-10-08 17:32:40 +11:00
parent dfe9e3d43a
commit 65e0df7aca
2 changed files with 39 additions and 1 deletions

View file

@ -122,6 +122,18 @@ row.geary-folder-popover-list-row > label {
font-weight: bold;
}
.geary-header-value flowboxchild:active {
background: mix(@theme_base_color, @theme_bg_color, 0.5);
}
.geary-header-value flowboxchild:hover {
background: @theme_base_color;
}
.geary-header-value flowboxchild label:not(.geary-primary) {
margin-left: 6px;
}
.geary-submessages .geary-message {
background-image: linear-gradient(rgba(0,0,0,0.2), @bg_color 6px);
}