Mailspring/internal_packages/open-tracking/stylesheets/main.less
Drew Regitsky fe7a894e51 feat(new-plugins): add open tracking and link tracking plugins
Summary:
Adds two (very similar) plugins - Open Tracking and Link Tracking.
Both can be enabled via a button in the composer. Open tracking
inserts a tracking pixel right before send, and link tracking replaces
all links with tracked redirects. Both plugins use the new Metadata
service to store their open/click counts, and have backend servers to
respectively serve the pixel image or handle the redirects. Requests
also trigger a metadata update to increment the open/click counters.

Test Plan: Manual for now

Reviewers: evan, bengotow, drew

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2583
2016-02-19 12:42:56 -08:00

24 lines
No EOL
458 B
Text

@import "ui-variables";
@import "ui-mixins";
.open-tracking-icon img.content-mask {
background-color: #AAA;
vertical-align: text-bottom;
}
.open-tracking-icon img.content-mask.unopened {
background-color: #C00;
}
.open-tracking-icon .open-count {
display: inline-block;
position: relative;
left: -16px;
text-align: center;
color: #3187e1;
font-size: 12px;
font-weight: bold;
}
.open-tracking-icon {
width: 16px;
margin-right: 4px;
}