mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
fe7a894e51
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
24 lines
No EOL
458 B
Text
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;
|
|
} |