Mailspring/internal_packages/message-list/stylesheets/message-list.less
Ben Gotow 0468cb4b39 feat(drafts) Reply to draft and minor fixes
Summary:
Initial hooks for reply to message

Per-message actions and reply to message!

Always commit changes before openinig popout composer

Flip message display - newest at bottom like Gmail

WIP specs

New activity bar inspector for deltas

Don't allow long polling connection to restart after end() called

A bit of activity bar refactoring and filter options, clear

Include "On ... someone wrote" in replies / fw

Slightly more robust quoted text removal, detects "On..."

Abort request to really end it

Additional specs for draft store

Test Plan: Run 20 new tests!

Reviewers: evan

Reviewed By: evan

Differential Revision: https://review.inboxapp.com/D1230
2015-02-24 16:19:47 -08:00

165 lines
3.2 KiB
Plaintext

@import "ui-variables";
@import "ui-mixins";
#message-list {
height: 100%;
width: 100%;
position: relative;
padding: 0;
order: 2;
-webkit-user-select: none;
.message-list-headers {
text-align: left;
margin: 15px;
margin-top: 24px;
margin-bottom: 24px;
h2 {
margin: 0;
padding-bottom: 5px;
font-size: 26px;
line-height: 1.2;
-webkit-user-select: text;
}
.participants {
.contact-chip {
display:inline-block;
}
}
}
.message-list-primary-actions {
z-index: 2;
-webkit-user-select: none;
padding-top: 6px;
padding-bottom: 5px;
padding-left:13px;
background-color: @background-color;
border-bottom:1px solid @border-color;
.primary-actions-bar {
width: 100%;
font-size: 21px;
line-height: 2;
.btn-icon {
padding-top: 0;
padding-bottom: 0;
}
.btn {
margin-left: 4px;
}
}
}
.messages-wrap {
position: relative;
height: 100%;
}
.title-and-messages {
height: calc(~"100% - 56px");
min-width: 600px;
overflow: auto;
z-index: 1;
position: relative;
}
.message-item-wrap {
&:first-child {
margin-top: 0;
}
&.collapsed {
margin-top:0;
margin-bottom:0;
border-bottom:0;
&:last-child {
margin-bottom:15px;
border-bottom: 1px solid darken(@border-color, 5%);
}
.message-header {
border-bottom:0;
}
}
position: relative;
background: @background-color;
margin: 15px;
border-top: 1px solid darken(@border-color, 2%);
border-left: 1px solid darken(@border-color, 2%);
border-right: 1px solid darken(@border-color, 5%);
border-bottom: 1px solid darken(@border-color, 5%);
border-radius: 2px;
.message-header {
padding: 5px 15px;
border-bottom: 1px solid @border-color;
-webkit-user-select: text;
.message-actions {
float:right;
padding-right:15px;
.btn-icon {
font-size:16px;
color:rgba(35, 31, 32, 0.1);
&:hover {
color:rgba(35, 31, 32, 0.5);
}
}
}
}
.message-time, .message-indicator {
font-size: @minor-font-size;
color: @text-color-subtle;
margin-top: 3px;
float: right;
}
.message-indicator {
margin-right: 4px;
}
.to-label, .to-everyone, .cc-label, .cc-contact, .to-label, .to-contact {
position: relative;
top: -1px;
}
.from-label {
display: none;
}
.from-contact {
.bold;
color: @text-color;
font-size: @major-font-size;
margin-right: 15px;
}
.to-label, .cc-label {
font-size: @minor-font-size;
color: @text-color;
}
.cc-label {
margin-left: 15px;
}
.to-contact, .cc-contact, .to-everyone {
font-size: @minor-font-size;
color: @text-color-subtle;
}
iframe {
width: 100%;
border: 0;
padding: 0 15px;
margin: 1em 0;
overflow: auto;
}
}
}
.attachments-area {
border-bottom: 1px solid @border-color;
padding: 5px 15px 0px 15px;
}