mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +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
47 lines
No EOL
828 B
Text
47 lines
No EOL
828 B
Text
@import "ui-variables";
|
|
@import "ui-mixins";
|
|
|
|
|
|
.link-tracking-icon img.content-mask {
|
|
background-color: #AAA;
|
|
vertical-align: text-bottom;
|
|
}
|
|
.link-tracking-icon img.content-mask.clicked {
|
|
background-color: #CCC;
|
|
}
|
|
.link-tracking-icon .link-click-count {
|
|
display: inline-block;
|
|
position: relative;
|
|
left: -16px;
|
|
text-align: center;
|
|
|
|
color: #3187e1;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
.link-tracking-icon {
|
|
width: 16px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
|
|
.link-tracking-panel {
|
|
background: #DDF6FF;
|
|
border: 1px solid #ACD;
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.link-tracking-panel h4{
|
|
text-align: center;
|
|
margin-top: 0;
|
|
}
|
|
.link-tracking-panel table{
|
|
width: 100%;
|
|
}
|
|
.link-tracking-panel td {
|
|
border-bottom: 1px solid #D5EAF5;
|
|
border-top: 1px solid #D5EAF5;
|
|
padding: 0 10px;
|
|
text-align: left;
|
|
} |