2018-10-25 15:51:47 +02:00
|
|
|
/* Disable all the ridiculous, unnecessary animations except for the spinner */
|
|
|
|
*:not(.ant-spin-dot-spin) {
|
|
|
|
animation-duration: 0s;
|
|
|
|
transition: none !important;
|
|
|
|
}
|
|
|
|
|
2018-11-03 13:23:22 +01:00
|
|
|
body {
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
header.header {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: #eee;
|
|
|
|
margin: 30px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Helpers */
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-11-28 14:05:33 +01:00
|
|
|
.right {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
.text-tiny {
|
|
|
|
font-size: 0.65em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-small {
|
|
|
|
font-size: 0.85em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.text-grey {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
2018-11-06 04:31:24 +01:00
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-11-28 09:47:02 +01:00
|
|
|
.empty-spinner {
|
|
|
|
padding: 30px !important;
|
|
|
|
}
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
/* Layout */
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-body {
|
|
|
|
min-height: 90vh;
|
|
|
|
}
|
|
|
|
|
2018-11-06 10:44:26 +01:00
|
|
|
section.content {
|
|
|
|
padding: 24px;
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
.logo {
|
|
|
|
padding: 30px;
|
|
|
|
}
|
|
|
|
.logo a {
|
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.logo img {
|
|
|
|
width: auto;
|
2018-11-05 06:45:35 +01:00
|
|
|
height: 22px;
|
2018-10-25 15:51:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ant-layout-sider.ant-layout-sider-collapsed .logo a {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
2018-11-06 10:44:26 +01:00
|
|
|
.ant-card-head-title {
|
|
|
|
font-size: .85em !important;
|
|
|
|
color: #999 !important;
|
|
|
|
}
|
|
|
|
|
2018-11-06 04:31:24 +01:00
|
|
|
.broken {
|
|
|
|
margin: 100px;
|
2018-10-25 15:51:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-11-05 12:29:09 +01:00
|
|
|
/* Form */
|
|
|
|
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
/* Table actions */
|
|
|
|
td .actions a {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.actions {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2018-11-03 13:23:22 +01:00
|
|
|
td .ant-tag {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2018-11-30 09:19:33 +01:00
|
|
|
/* External options */
|
|
|
|
.table-options {
|
|
|
|
}
|
|
|
|
.table-options a {
|
|
|
|
margin-right: 30px;
|
|
|
|
}
|
|
|
|
|
2018-11-06 10:44:26 +01:00
|
|
|
/* Dashboard */
|
|
|
|
.dashboard {
|
|
|
|
margin: 24px;
|
|
|
|
}
|
|
|
|
.dashboard .campaign-counts .name {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
2018-10-25 15:51:47 +02:00
|
|
|
/* Templates */
|
|
|
|
.wysiwyg {
|
|
|
|
padding: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Subscribers */
|
|
|
|
.subscribers table .name {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscriber-query {
|
2018-11-30 09:19:33 +01:00
|
|
|
margin: 0 0 15px 0;
|
2018-10-25 15:51:47 +02:00
|
|
|
padding: 30px;
|
|
|
|
box-shadow: 0 1px 6px #ddd;
|
2018-11-30 09:19:33 +01:00
|
|
|
min-height: 140px;
|
2018-10-25 15:51:47 +02:00
|
|
|
}
|
2018-11-30 09:19:33 +01:00
|
|
|
.subscriber-query .advanced-query {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
2018-10-25 15:51:47 +02:00
|
|
|
.subscriber-query textarea {
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
.subscriber-query .actions {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.subscriber-modal #lists .status {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.subscriber-modal #lists .status.confirmed {
|
|
|
|
color: #52c41a;
|
|
|
|
}
|
|
|
|
.subscriber-modal #lists .status.unsubscribed {
|
|
|
|
color: #ff7875;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Import */
|
|
|
|
.import .import-container {
|
|
|
|
margin-top: 100px;
|
|
|
|
}
|
|
|
|
.import .logs,
|
|
|
|
.import .help {
|
|
|
|
max-width: 950px;
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
.import .stats .ant-progress {
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
.import .csv-example {
|
|
|
|
background: #efefef;
|
|
|
|
padding: 5px 10px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
.import .csv-example code {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.import .csv-example .csv-headers span {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Campaigns */
|
|
|
|
.campaigns table tbody td {
|
|
|
|
vertical-align: top;
|
|
|
|
border-bottom-width: 3px;
|
|
|
|
border-bottom-color: #efefef;
|
|
|
|
}
|
|
|
|
.campaigns td.status .date {
|
|
|
|
display: block;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
.campaigns td.lists .name {
|
|
|
|
margin-right: 15px;
|
|
|
|
}
|
|
|
|
.campaigns td hr {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.campaigns td.stats .ant-row {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
.campaigns td.stats .ant-row:last-child {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
.campaigns td.stats .label {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
.campaigns .duration {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.campaign .messengers {
|
|
|
|
text-transform: capitalize;
|
|
|
|
}
|
|
|
|
.campaign .content-type .actions {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
.campaign .content-actions {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* gallery */
|
|
|
|
.gallery {
|
|
|
|
display:flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-flow: wrap;
|
|
|
|
}
|
|
|
|
.gallery .image {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
min-height: 90px;
|
|
|
|
|
|
|
|
padding: 10px;
|
|
|
|
border: 1px solid #eee;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 10px;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.gallery .name {
|
|
|
|
background: rgba(255, 255, 255, 0.8);
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 3px 5px;
|
|
|
|
width: 100%;
|
|
|
|
font-size: .75em;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
.gallery .actions {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 15px;
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.gallery .actions a {
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
padding: 0 3px 3px 3px;
|
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
.gallery .image:hover .actions {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.gallery .image img {
|
|
|
|
max-width: 90px;
|
|
|
|
max-height: 90px;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* gallery icon in the wsiwyg */
|
|
|
|
.ql-gallery {
|
|
|
|
background: url('/gallery.svg');
|
|
|
|
}
|
|
|
|
|
|
|
|
/* templates */
|
|
|
|
.templates .template-body {
|
|
|
|
margin-top: 30px;
|
|
|
|
}
|
2018-10-26 07:48:17 +02:00
|
|
|
.preview-iframe-container {
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
2018-11-02 08:47:18 +01:00
|
|
|
.preview-iframe-spinner {
|
|
|
|
position: absolute !important;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
left: calc(50% - 40px);
|
|
|
|
top: calc(30%);
|
|
|
|
/* top: 15px; */
|
|
|
|
}
|
2018-10-26 07:48:17 +02:00
|
|
|
.preview-iframe {
|
2018-10-25 15:51:47 +02:00
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
2018-10-26 07:48:17 +02:00
|
|
|
.preview-modal .ant-modal-footer button:first-child {
|
2018-10-25 15:51:47 +02:00
|
|
|
display: none;
|
|
|
|
}
|