Mailspring/internal_packages/message-autoload-images/stylesheets/message-autoload-images.less
Ben Gotow f152cca4d6 feat(reading): Disable autoloading of images, opt-in one by one
Summary: This diff implements Gmails "load images, always load images from bengotow@gmail.com" option. Someone asked for it late last night and I figured it'd be fun to add. We also needed to refactor the MessageItem to allow for a GPG plugin - MessageItems now subscribe to the body of the message from the messageBodyProcessor, so in the event that processing rules change, someone can invalidate the processor cache by calling `resetCache()`, and then it recomputes bodies and triggers a refresh of each message body.

Test Plan: Updated existing tests, no new tests for this plugin just yet.

Reviewers: evan, juan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2235
2015-11-06 15:53:21 -08:00

16 lines
480 B
Text

@import "ui-variables";
.autoload-images-header {
background-color: mix(@background-primary, #FFCC11, 80%);
border: 1px solid darken(mix(@background-primary, #FFCC11, 50%), 25%);
color: mix(@text-color-subtle, #FFCC11, 40%);
margin: @padding-base-vertical 0;
padding: @padding-base-vertical @padding-base-horizontal;
.option {
color: fade(mix(@text-color-subtle, #FFCC11, 80%), 70%);
}
.option:hover {
color: mix(@text-color-subtle, #FFCC11, 80%);
}
}