Mailspring/internal_packages/thread-list/stylesheets/thread-list.less
Ben Gotow 343e592569 feat(draft-list) Refactor thread-list, create draft-list
Summary: Adds the draft list using a refactored list-tabular class. Also fixes several draft bugs that appeared after allowing editing.

Test Plan: Run tests (need to test new ListTabular component ASAP)

Reviewers: evan

Reviewed By: evan

Differential Revision: https://review.inboxapp.com/D1272
2015-03-09 18:25:53 -07:00

86 lines
1.5 KiB
Plaintext

@import "ui-variables";
@import "ui-mixins";
*:focus, input:focus {
outline:none;
}
.thread-list {
order: 3;
flex: 1;
overflow: auto;
-webkit-user-select: none;
position: relative;
.message-count {
color: @text-color-inverse;
background: @background-tertiary;
padding: 4px 6px 2px 6px;
margin-left: 1em;
}
.participants {
font-size: @font-size-large;
font-weight: @font-weight-semi-bold;
text-overflow: ellipsis;
overflow: hidden;
}
.subject {
font-size: @font-size-small;
font-weight: @font-weight-normal;
}
.snippet, .timestamp {
font-size: @font-size-small;
font-weight: @font-weight-normal;
color: @text-color-subtle;
}
.unread:not(.selected) {
&:before {
content: "";
position: absolute;
height: 99%;
width: 5px;
top: 0;
left: 1px;
background: @unread-color;
}
.subject {
color: @unread-color;
}
}
.selected {
.participants {
color: @text-color-inverse;
}
.subject {
color: @text-color-inverse;
}
.snippet, .timestamp {
color: @text-color-inverse-subtle;
}
}
.star-button {
font-size: 16px;
.fa-star {
color: rgb(239, 209, 0);
&:hover {
cursor: pointer;
color: rgb(220,220,220);
}
}
.fa-star-o {
color: rgb(220,220,220);
&:hover {
cursor: pointer;
color: rgb(239, 209, 0);
}
}
}
}