Mailspring/internal_packages/link-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

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;
}