Compare commits
504 Commits
0.0.36
...
3.0.0-beta
Author | SHA1 | Date | |
---|---|---|---|
|
96eaafe012 | ||
|
9a82e718ce | ||
|
f9e4f3f584 | ||
|
e0aeeb29d9 | ||
|
d5a9b84ca3 | ||
|
fd417d8d95 | ||
|
0291c3a9a0 | ||
|
fd6e6de547 | ||
|
bf54eeb345 | ||
|
697afcbeba | ||
|
5773fa7994 | ||
|
b59785c4b6 | ||
|
fbf9f6f902 | ||
|
adc232fc3f | ||
|
e3c1ff6c8c | ||
|
77edd93965 | ||
|
7d15c391ea | ||
|
8fb29e2418 | ||
|
b348c350c0 | ||
|
fbeddb8af2 | ||
|
54f6ab0c79 | ||
|
8c3525589c | ||
|
58f97ea43d | ||
|
8e4c3ea7ea | ||
|
3865a8e8cd | ||
|
02221f6833 | ||
|
b63ef8cca0 | ||
|
aabe71d473 | ||
|
1405249712 | ||
|
16ee5e934a | ||
|
74276b45c5 | ||
|
b046c9ea4b | ||
|
8bd7f5f169 | ||
|
ee119215c0 | ||
|
c22d3c8957 | ||
|
0dd7a3990f | ||
|
1a6b032943 | ||
|
1220f47d87 | ||
|
583b34a5c1 | ||
|
b36d13a087 | ||
|
1a3aa7a4e4 | ||
|
70a13a4774 | ||
|
6ce13df2f3 | ||
|
4eb85c5d7e | ||
|
6eb6636e8b | ||
|
9635fb5365 | ||
|
d4b39cb1f4 | ||
|
af36e7a0d9 | ||
|
1db8626e35 | ||
|
61c255564f | ||
|
7e5047d98f | ||
|
4698d5a4db | ||
|
864c9cbe95 | ||
|
011b6f9b3c | ||
|
e45fc0c0a0 | ||
|
6bebdd6e95 | ||
|
8df4da768a | ||
|
67f4c21aa8 | ||
|
5eba0e2731 | ||
|
3efa429a1b | ||
|
3a78441a83 | ||
|
c05be7d987 | ||
|
b8cb1da777 | ||
|
ac8d1d808f | ||
|
9cd7b1a204 | ||
|
0d32c09df3 | ||
|
9f288ae11a | ||
|
e87ccd6b92 | ||
|
8a2b6ac69b | ||
|
43bd2d4413 | ||
|
9fdb99a06b | ||
|
f3c69c8353 | ||
|
29a32d3da9 | ||
|
8412cc852d | ||
|
b4e4320508 | ||
|
dbd6e6f310 | ||
|
bdcb7f0e58 | ||
|
85c9b121f5 | ||
|
069bc95297 | ||
|
0b711e6341 | ||
|
2a961cca01 | ||
|
e855fdbbaf | ||
|
288464e8cb | ||
|
1331ed70f1 | ||
|
411188c345 | ||
|
ee275532b1 | ||
|
b2eef93516 | ||
|
40ca54c447 | ||
|
b65db1afbf | ||
|
c258b1c3a2 | ||
|
7a5a726400 | ||
|
e553922eca | ||
|
04e9e8a45d | ||
|
f037e1271d | ||
|
f4563e18cd | ||
|
feaac5eb54 | ||
|
a6059d5bc3 | ||
|
f2104ef30f | ||
|
e7f760328e | ||
|
c09bcd51ad | ||
|
01af4d3401 | ||
|
2ba9d95a2e | ||
|
b2d4bfc760 | ||
|
57f5f16bb6 | ||
|
7d2e13b9a3 | ||
|
6d39f9fa78 | ||
|
a4395f2350 | ||
|
411969b3eb | ||
|
1868ca3155 | ||
|
e765471f5d | ||
|
bdce7c5e5a | ||
|
773be9f5c8 | ||
|
6ae46b05e5 | ||
|
217894745d | ||
|
a03891895c | ||
|
3368e84a99 | ||
|
e90df2f08d | ||
|
2391ae1cad | ||
|
83114a8be4 | ||
|
d08d5a3b6c | ||
|
8330bfc884 | ||
|
ef21a8cca7 | ||
|
e32c46a755 | ||
|
092f69538a | ||
|
7a75367d75 | ||
|
0b2701ade2 | ||
|
1ac288d286 | ||
|
516bc73092 | ||
|
4088abef68 | ||
|
f6cefc3f5c | ||
|
202e4b90e1 | ||
|
ee89bf0722 | ||
|
876d21300a | ||
|
0ca5b7a79f | ||
|
5d0ee43921 | ||
|
cc523a3c0b | ||
|
2787998d32 | ||
|
38f6c95059 | ||
|
cc03b631ff | ||
|
a3c77fb685 | ||
|
3817e28960 | ||
|
c3a78b1ea3 | ||
|
42877236c8 | ||
|
6e87f3539c | ||
|
7704ea4b68 | ||
|
12a3931b7b | ||
|
25a55dbb67 | ||
|
6758f60a81 | ||
|
5e9e53ec41 | ||
|
1285252a8c | ||
|
98f95f72ad | ||
|
09ca788371 | ||
|
b48cc5a959 | ||
|
812d138c4e | ||
|
07bc35d4cd | ||
|
90b95a2c25 | ||
|
78c50c41e3 | ||
|
7eee7def63 | ||
|
9ba6e9806f | ||
|
8c28dc3d8a | ||
|
9197e39fb4 | ||
|
37f59814e5 | ||
|
bf894fc26f | ||
|
0b2b42cf4d | ||
|
542015a4f6 | ||
|
f5a8323f5d | ||
|
55942cd88b | ||
|
f26a2cbd26 | ||
|
4402f826c3 | ||
|
b9745b555a | ||
|
f923a8063b | ||
|
f4367b9146 | ||
|
a3395e41c9 | ||
|
be61135daf | ||
|
21b4187a11 | ||
|
1c3c1e35e7 | ||
|
ded373557e | ||
|
280c4762bb | ||
|
bbd02260be | ||
|
1b1e9abd68 | ||
|
b0ab9e0408 | ||
|
d32abff78d | ||
|
7fbf84db1f | ||
|
8c5aebc7d6 | ||
|
42202f676a | ||
|
ba6198f956 | ||
|
120af4170b | ||
|
1faa53b978 | ||
|
e565a7a234 | ||
|
90b6b57a8d | ||
|
548253d68e | ||
|
e1c5f609ff | ||
|
226befdef6 | ||
|
a9d57654b4 | ||
|
ed00ae0516 | ||
|
48d738e8c4 | ||
|
132b4ed2e8 | ||
|
9a513cb27b | ||
|
5d692c0395 | ||
|
991ab67fff | ||
|
dd00640119 | ||
|
fa04173cfb | ||
|
a328d3b48a | ||
|
d5cff4f0d3 | ||
|
52bf24b6db | ||
|
50e134d696 | ||
|
ea5c73721b | ||
|
4799882b80 | ||
|
2e4c5ca39a | ||
|
13ed3aa3b9 | ||
|
6091751a4b | ||
|
c4d9e85dff | ||
|
1a85914c1b | ||
|
0ba48234de | ||
|
1c2a532949 | ||
|
9087be6ee8 | ||
|
5b2ede8b83 | ||
|
2fa5e5ead2 | ||
|
d5107be65e | ||
|
379dfb5f6e | ||
|
8360377992 | ||
|
4538cab6c8 | ||
|
1bf0988297 | ||
|
e1caf49ea5 | ||
|
0dfae97b32 | ||
|
ef2187c175 | ||
|
6157d17c5b | ||
|
8e879047c2 | ||
|
bff6aecd0d | ||
|
a121583c2d | ||
|
e11fd66fec | ||
|
b37e85eeb5 | ||
|
f88dabffe8 | ||
|
8c436180d9 | ||
|
b834a6af4d | ||
|
1bd8aed192 | ||
|
cfdf72867e | ||
|
5888620fc1 | ||
|
55ba605eb0 | ||
|
7a73ca7d1a | ||
|
1918894c5c | ||
|
0c5589a3e3 | ||
|
d6eaa4ac8a | ||
|
b0571b97f5 | ||
|
6d51ca8011 | ||
|
d3289dfb84 | ||
|
bfffdd7274 | ||
|
c5b8b2aef0 | ||
|
d7bcf1b817 | ||
|
f30ed153ce | ||
|
f436088a16 | ||
|
db8cb7499d | ||
|
49c4adc754 | ||
|
405e743171 | ||
|
3508ac36b4 | ||
|
f17c8228cd | ||
|
3dd5ac0536 | ||
|
4ebdff49e0 | ||
|
4a72995bf4 | ||
|
ef27ac0b84 | ||
|
2b4adef6c2 | ||
|
f650455a90 | ||
|
afbe25e215 | ||
|
d93249f077 | ||
|
6223ef77d9 | ||
|
a423123b66 | ||
|
1b3d3082b0 | ||
|
fa117cc7dd | ||
|
acd407c1f1 | ||
|
9baf4b068f | ||
|
18d852e147 | ||
|
b8dc306741 | ||
|
6ea056c042 | ||
|
bcf1b37c6a | ||
|
2986cdba85 | ||
|
53a8ae74e2 | ||
|
8bab01506c | ||
|
c664045444 | ||
|
6b8149210d | ||
|
f31d30b318 | ||
|
d9fbbdc02d | ||
|
8136ee2d9b | ||
|
f7cf6e2131 | ||
|
f2d1787bd5 | ||
|
fb51765d3f | ||
|
088ad5fb42 | ||
|
2f5b3c0c0a | ||
|
04ac4d896c | ||
|
f3b96af863 | ||
|
eb42b0b98d | ||
|
304667eb49 | ||
|
dad1082cd7 | ||
|
37cf0f3d29 | ||
|
d61c6dff58 | ||
|
3734ac578d | ||
|
b3f56c9d8e | ||
|
3603eeee77 | ||
|
59d30cc139 | ||
|
6ff3bbbb72 | ||
|
a561e10156 | ||
|
99f2cf6702 | ||
|
c6b72e729b | ||
|
c5bc0f36a4 | ||
|
efc5c34bf9 | ||
|
3929efbdd9 | ||
|
0e0c41882e | ||
|
79cc708fc6 | ||
|
8fa98879b8 | ||
|
331ba385e9 | ||
|
71ce46d78d | ||
|
c493de6569 | ||
|
ff2c2ace86 | ||
|
7fa789cfd1 | ||
|
ae6269eb63 | ||
|
a8f4779bfe | ||
|
6868142e35 | ||
|
133d123919 | ||
|
05c128d12d | ||
|
bdab0c12fa | ||
|
75b94690e2 | ||
|
80fddd6c58 | ||
|
c807ead5fd | ||
|
f004bb5368 | ||
|
1d756e95a7 | ||
|
1fb0da9fda | ||
|
a0017b91ee | ||
|
444ab17342 | ||
|
44f3058326 | ||
|
ec09fbcb78 | ||
|
ed352bb1d3 | ||
|
375bbd2759 | ||
|
9fb9d25132 | ||
|
30f79aa589 | ||
|
69f8daac95 | ||
|
03f3a6080c | ||
|
44f84c6cdb | ||
|
31008a6895 | ||
|
2490d8c919 | ||
|
5886dbfd25 | ||
|
e48d55f0b1 | ||
|
42339927cf | ||
|
b492bcecc0 | ||
|
6ab7debb7b | ||
|
b76ce6c26f | ||
|
6fbc7b1593 | ||
|
69c8670b01 | ||
|
da44a87415 | ||
|
9fb17d4a6b | ||
|
16dd286f9d | ||
|
5025f10f9f | ||
|
1278d9648c | ||
|
289811a595 | ||
|
916ae97f73 | ||
|
876e386966 | ||
|
9582e58dda | ||
|
213bca8050 | ||
|
dc97d3115e | ||
|
90eb443965 | ||
|
1b40f02715 | ||
|
c5a02c6136 | ||
|
492cd8c96b | ||
|
7f091d7188 | ||
|
1c081623b9 | ||
|
87332037c2 | ||
|
62023397f4 | ||
|
37ec6dc1a6 | ||
|
81c277ca93 | ||
|
f8fea75130 | ||
|
a4457649f7 | ||
|
1d6a09f010 | ||
|
faec553521 | ||
|
37fcf3a234 | ||
|
68a56aada8 | ||
|
f744305834 | ||
|
7a9402f5b5 | ||
|
de6d7e0cae | ||
|
a3c56b84ce | ||
|
3d4defd563 | ||
|
52da08abb2 | ||
|
b9637b52e9 | ||
|
0369a23fe8 | ||
|
f690e1a095 | ||
|
22e8e34213 | ||
|
12b46736c5 | ||
|
4950e47297 | ||
|
d7c5c8c3e7 | ||
|
46b0fcf37b | ||
|
b07c4d0e6e | ||
|
eb107799a7 | ||
|
4eec0a42f9 | ||
|
9a5a3a08c6 | ||
|
151683c632 | ||
|
fd2103d1aa | ||
|
7696b6ec5d | ||
|
d972b96255 | ||
|
35ccfb8bcf | ||
|
7ff036b1e9 | ||
|
983d56c29b | ||
|
a2528939ba | ||
|
c136d91dd2 | ||
|
bf00e82596 | ||
|
0e10f6c820 | ||
|
c056e95249 | ||
|
1be7fda1cf | ||
|
0b0c0f5759 | ||
|
59a4428965 | ||
|
3f5c36d2d4 | ||
|
3cc5812c1d | ||
|
3e616201ad | ||
|
5558ebad45 | ||
|
63bd093f35 | ||
|
ec6559b8be | ||
|
3421406dc7 | ||
|
a2917c08f6 | ||
|
5fa9b5a8dd | ||
|
41ad86ba1f | ||
|
067b3ff3e6 | ||
|
9b9cb1455a | ||
|
a5569a6a55 | ||
|
71c1026729 | ||
|
f102e847bf | ||
|
3158e2c460 | ||
|
a438f13bb0 | ||
|
5ed0a5819c | ||
|
6dd3c6acda | ||
|
ca2c1c2e6f | ||
|
1305a10ee0 | ||
|
5e36eb818b | ||
|
cfde82ff5f | ||
|
af98ade650 | ||
|
598432466e | ||
|
9469ce83f1 | ||
|
5624f4c7a0 | ||
|
82a001dc05 | ||
|
a9b424fb79 | ||
|
d31af9d71c | ||
|
ff7a24590f | ||
|
ea87a7acf8 | ||
|
9d36a17261 | ||
|
9c3cb5a509 | ||
|
4dd7f32f3a | ||
|
1c6fca7f83 | ||
|
c5b376bd21 | ||
|
5d2800bc25 | ||
|
6675d5a20d | ||
|
28c39d301c | ||
|
afa0d3af63 | ||
|
b05344b1d3 | ||
|
2e88d7cce0 | ||
|
cb558ce2ab | ||
|
ed30d8f639 | ||
|
9410d4f10a | ||
|
354d249e1d | ||
|
008fdb94c5 | ||
|
d0fb94b3f8 | ||
|
a451f00ed3 | ||
|
0e0c371b28 | ||
|
2e52f3bb92 | ||
|
a3a5016278 | ||
|
cb5d7cb9a0 | ||
|
a44d4ed0b5 | ||
|
7bd23288f6 | ||
|
08c663759c | ||
|
c46ee07674 | ||
|
18398a3bfb | ||
|
88d9315f8b | ||
|
8bc95db0c9 | ||
|
c05a20cff9 | ||
|
08cb994252 | ||
|
543ad81e28 | ||
|
641ba04685 | ||
|
8e4d07c658 | ||
|
420650f37f | ||
|
775f7faee4 | ||
|
13b91ad051 | ||
|
2d3ec13473 | ||
|
3094cfc076 | ||
|
6aadd1fdc4 | ||
|
13589a4660 | ||
|
5f124659d0 | ||
|
d3ebc9706c | ||
|
e83d01ff28 | ||
|
9600e4f220 | ||
|
3e746d1545 | ||
|
3cc43aa302 | ||
|
c610d87e85 | ||
|
362ee49ce4 | ||
|
515515ba9f | ||
|
ed7da1a8fe | ||
|
12c036dbef | ||
|
1dd4ade04d | ||
|
0706450f9a | ||
|
b837a153d1 | ||
|
6d22a85fd7 | ||
|
3d706414b7 | ||
|
ef0cbb3e9f | ||
|
f5552847a3 | ||
|
101ef0cff4 | ||
|
9e70ba5e6e | ||
|
8f1a7ed3de | ||
|
6aa976ba1f | ||
|
db85604f18 | ||
|
7605fc71ac | ||
|
2c98270084 |
15
.circle_ci/apache/mailpoet.loc.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
Listen 8080
|
||||
|
||||
<VirtualHost *:8080>
|
||||
UseCanonicalName Off
|
||||
ServerName mailpoet.loc
|
||||
DocumentRoot /home/ubuntu/mailpoet/wordpress
|
||||
DirectoryIndex index.php
|
||||
LogLevel notice
|
||||
|
||||
<Directory /home/ubuntu/mailpoet/wordpress>
|
||||
AllowOverride All
|
||||
Allow from All
|
||||
</Directory>
|
||||
</VirtualHost>
|
||||
|
3
.gitignore
vendored
@@ -12,8 +12,9 @@ npm-debug.log
|
||||
/views/cache/**
|
||||
temp
|
||||
.idea
|
||||
wysija-newsletters.zip
|
||||
mailpoet.zip
|
||||
tests/javascript/testBundles
|
||||
assets/css/*.css
|
||||
assets/js/*.js
|
||||
.vagrant
|
||||
lang
|
86
RoboFile.php
@@ -3,14 +3,21 @@
|
||||
class RoboFile extends \Robo\Tasks {
|
||||
|
||||
function install() {
|
||||
$this->_exec('./composer.phar install');
|
||||
$this->_exec('npm install');
|
||||
return $this->taskExecStack()
|
||||
->stopOnFail()
|
||||
->exec('./composer.phar install')
|
||||
->exec('npm install')
|
||||
->run();
|
||||
}
|
||||
|
||||
function update() {
|
||||
$this->say(getenv('WP_TEST_URL'));
|
||||
$this->_exec('./composer.phar update');
|
||||
$this->_exec('npm update');
|
||||
|
||||
return $this->taskExecStack()
|
||||
->stopOnFail()
|
||||
->exec('./composer.phar update')
|
||||
->exec('npm update')
|
||||
->run();
|
||||
}
|
||||
|
||||
protected function rsearch($folder, $extensions = array()) {
|
||||
@@ -61,12 +68,14 @@ class RoboFile extends \Robo\Tasks {
|
||||
}
|
||||
|
||||
function compileAll() {
|
||||
$this->compileJs();
|
||||
$this->compileCss();
|
||||
$collection = $this->collection();
|
||||
$collection->add(array($this, 'compileJs'));
|
||||
$collection->add(array($this, 'compileCss'));
|
||||
return $collection->run();
|
||||
}
|
||||
|
||||
function compileJs() {
|
||||
$this->_exec('./node_modules/webpack/bin/webpack.js');
|
||||
return $this->_exec('./node_modules/webpack/bin/webpack.js --bail');
|
||||
}
|
||||
|
||||
function compileCss() {
|
||||
@@ -78,7 +87,7 @@ class RoboFile extends \Robo\Tasks {
|
||||
'assets/css/src/importExport.styl'
|
||||
);
|
||||
|
||||
$this->_exec(join(' ', array(
|
||||
return $this->_exec(join(' ', array(
|
||||
'./node_modules/stylus/bin/stylus',
|
||||
'--include ./node_modules',
|
||||
'--include-css',
|
||||
@@ -89,60 +98,89 @@ class RoboFile extends \Robo\Tasks {
|
||||
}
|
||||
|
||||
function makepot() {
|
||||
$this->_exec('./node_modules/.bin/grunt makepot'.
|
||||
return $this->_exec('./node_modules/.bin/grunt makepot'.
|
||||
' --gruntfile '.__DIR__.'/tasks/makepot/makepot.js'.
|
||||
' --base_path '.__DIR__
|
||||
);
|
||||
}
|
||||
|
||||
function pushpot() {
|
||||
$this->_exec('./node_modules/.bin/grunt pushpot'.
|
||||
return $this->_exec('./node_modules/.bin/grunt pushpot'.
|
||||
' --gruntfile '.__DIR__.'/tasks/makepot/makepot.js'.
|
||||
' --base_path '.__DIR__
|
||||
);
|
||||
}
|
||||
|
||||
function testUnit($file = null) {
|
||||
function testUnit($opts=['file' => null, 'xml' => false]) {
|
||||
$this->loadEnv();
|
||||
$this->_exec('vendor/bin/codecept build');
|
||||
$this->_exec('vendor/bin/codecept run unit -f '.(($file) ? $file : ''));
|
||||
|
||||
$command = 'vendor/bin/codecept run unit -f '.(($opts['file']) ? $opts['file'] : '');
|
||||
|
||||
if($opts['xml']) {
|
||||
$command .= ' --xml';
|
||||
}
|
||||
return $this->_exec($command);
|
||||
}
|
||||
|
||||
function testCoverage($file = null) {
|
||||
function testCoverage($opts=['file' => null, 'xml' => false]) {
|
||||
$this->loadEnv();
|
||||
$this->_exec('vendor/bin/codecept build');
|
||||
$this->_exec(join(' ', array(
|
||||
$command = join(' ', array(
|
||||
'vendor/bin/codecept run',
|
||||
(($file) ? $file : ''),
|
||||
(($opts['file']) ? $opts['file'] : ''),
|
||||
'--coverage',
|
||||
'--coverage-html'
|
||||
)));
|
||||
($opts['xml']) ? '--coverage-xml' : '--coverage-html'
|
||||
));
|
||||
|
||||
if($opts['xml']) {
|
||||
$command .= ' --xml';
|
||||
}
|
||||
return $this->_exec($command);
|
||||
}
|
||||
|
||||
function testJavascript() {
|
||||
function testJavascript($xml_output_file = null) {
|
||||
$this->compileJs();
|
||||
|
||||
$this->_exec(join(' ', array(
|
||||
$command = join(' ', array(
|
||||
'./node_modules/.bin/mocha',
|
||||
'-r tests/javascript/mochaTestHelper.js',
|
||||
'tests/javascript/testBundles/**/*.js'
|
||||
)));
|
||||
));
|
||||
|
||||
if(!empty($xml_output_file)) {
|
||||
$command .= sprintf(
|
||||
' --reporter xunit --reporter-options output="%s"',
|
||||
$xml_output_file
|
||||
);
|
||||
}
|
||||
|
||||
return $this->_exec($command);
|
||||
}
|
||||
|
||||
function testDebug() {
|
||||
$this->_exec('vendor/bin/codecept build');
|
||||
$this->loadEnv();
|
||||
$this->_exec('vendor/bin/codecept run unit --debug');
|
||||
return $this->_exec('vendor/bin/codecept run unit --debug');
|
||||
}
|
||||
|
||||
function testFailed() {
|
||||
$this->loadEnv();
|
||||
$this->_exec('vendor/bin/codecept build');
|
||||
$this->_exec('vendor/bin/codecept run -g failed');
|
||||
return $this->_exec('vendor/bin/codecept run -g failed');
|
||||
}
|
||||
|
||||
function qa() {
|
||||
$collection = $this->collection();
|
||||
$collection->add(array($this, 'qaLint'));
|
||||
$collection->add(function() {
|
||||
return $this->qaCodeSniffer('all');
|
||||
});
|
||||
return $collection->run();
|
||||
}
|
||||
|
||||
function qaLint() {
|
||||
$this->_exec('./tasks/php_lint.sh lib/ tests/');
|
||||
return $this->_exec('./tasks/php_lint.sh lib/ tests/ mailpoet.php');
|
||||
}
|
||||
|
||||
function qaCodeSniffer($severity='errors') {
|
||||
@@ -151,7 +189,7 @@ class RoboFile extends \Robo\Tasks {
|
||||
} else {
|
||||
$severityFlag = '-n';
|
||||
}
|
||||
$this->_exec(
|
||||
return $this->_exec(
|
||||
'./vendor/bin/phpcs '.
|
||||
'--standard=./tasks/code_sniffer/MailPoet '.
|
||||
'--ignore=./lib/Util/Sudzy/*,./lib/Util/CSS.php,./lib/Util/XLSXWriter.php,'.
|
||||
|
@@ -1,3 +1,15 @@
|
||||
$box-width = 425px
|
||||
$box-height = 150px
|
||||
$thumbnail-width = $box-height
|
||||
$thumbnail-height = $thumbnail-width
|
||||
$box-description-space-between-heading-and-paragraph = 5px
|
||||
$box-description-height = 110px
|
||||
$box-description-text-height = $box-description-height - $box-description-space-between-heading-and-paragraph
|
||||
$box-heading-line-height = $box-description-text-height / 4
|
||||
$box-heading-font-size = $box-heading-line-height * 5/7
|
||||
$box-description-line-height = $box-heading-line-height / 2
|
||||
$box-description-font-size = $box-description-line-height
|
||||
|
||||
.mailpoet_boxes.mailpoet_boxes_loading
|
||||
opacity: 0.2
|
||||
|
||||
@@ -6,8 +18,8 @@
|
||||
position: relative
|
||||
padding: 15px
|
||||
margin: 15px 25px 0 0
|
||||
width: 425px
|
||||
height: 150px
|
||||
width: $box-width
|
||||
height: $box-height
|
||||
border: 1px solid #dedede
|
||||
background-color: #fff
|
||||
|
||||
@@ -18,15 +30,15 @@
|
||||
background-position: center
|
||||
color: #222
|
||||
border: 1px solid #ccc
|
||||
width: 150px
|
||||
height: 150px
|
||||
width: $thumbnail-height
|
||||
height: $thumbnail-width
|
||||
margin-right: 15px
|
||||
float: left
|
||||
overflow: hidden
|
||||
position: relative
|
||||
|
||||
img
|
||||
min-width: 150px
|
||||
min-width: $thumbnail-width
|
||||
height: auto
|
||||
width: 110%
|
||||
position: relative
|
||||
@@ -60,16 +72,21 @@
|
||||
.mailpoet_boxes .mailpoet_description
|
||||
float:left
|
||||
width: 245px
|
||||
max-height: calc(110px - 2em)
|
||||
padding-bottom: 2em
|
||||
max-height: $box-description-height
|
||||
padding-bottom: 0
|
||||
overflow: hidden
|
||||
|
||||
.mailpoet_boxes .mailpoet_description h3
|
||||
margin: 0 0 1em 0
|
||||
overflow: hidden
|
||||
white-space: nowrap
|
||||
text-overflow: ellipsis
|
||||
max-width: 220px
|
||||
h3
|
||||
margin: 0 0 $box-description-space-between-heading-and-paragraph 0
|
||||
overflow: hidden
|
||||
max-width: 210px
|
||||
line-height: $box-heading-line-height
|
||||
font-size: $box-heading-font-size
|
||||
|
||||
p
|
||||
font-size: $box-description-font-size
|
||||
line-height: $box-description-line-height
|
||||
margin: 0
|
||||
|
||||
.mailpoet_boxes .mailpoet_actions
|
||||
position: absolute
|
||||
|
@@ -1,6 +1,6 @@
|
||||
$tool-inactive-color = #bbbbbb
|
||||
$tool-inactive-color = #333333
|
||||
$tool-inactive-secondary-color = #ffffff
|
||||
$tool-hover-color = #333333
|
||||
$tool-hover-color = #bbbbbb
|
||||
$tool-hover-secondary-color = #ffffff
|
||||
$tool-active-color = #d2d2d4
|
||||
$tool-active-secondary-color = #ffffff
|
||||
@@ -12,21 +12,42 @@ $master-column-tool-width = 24px
|
||||
position: absolute
|
||||
top: 0
|
||||
right: 0
|
||||
display: none
|
||||
z-index: 20
|
||||
padding: 2px
|
||||
text-align: right
|
||||
overflow: hidden
|
||||
|
||||
.mailpoet_tool_slider
|
||||
position: relative
|
||||
right: -100%
|
||||
transition: all 250ms cubic-bezier(0.420, 0.000, 0.580, 1.000)
|
||||
opacity: 0
|
||||
|
||||
&.mailpoet_display_tools
|
||||
.mailpoet_tool_slider
|
||||
right: 0
|
||||
opacity: 1
|
||||
|
||||
a
|
||||
vertical-align: top
|
||||
|
||||
.mailpoet_container_horizontal + &
|
||||
left: 100%
|
||||
right: initial
|
||||
padding-left: 5px
|
||||
|
||||
.mailpoet_tool_slider
|
||||
left: -100%
|
||||
right: initial
|
||||
|
||||
&.mailpoet_display_tools
|
||||
.mailpoet_tool_slider
|
||||
left: 0
|
||||
|
||||
.mailpoet_tool
|
||||
width: $master-column-tool-width
|
||||
height: $master-column-tool-width
|
||||
display: block
|
||||
|
||||
.mailpoet_tool_icon
|
||||
width: $master-column-tool-width
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
.mailpoet_input_title,
|
||||
.mailpoet_input_preheader
|
||||
width: 400px
|
||||
width: 500px
|
||||
padding: 3px
|
||||
line-height: normal
|
||||
|
||||
|
@@ -9,12 +9,13 @@
|
||||
background: rgba(255, 255, 255, 0)
|
||||
transition: background .15s ease-out
|
||||
|
||||
&:hover
|
||||
.mailpoet_automated_latest_content_block:hover &
|
||||
background: rgba(255, 255, 255, 0.7)
|
||||
cursor: pointer
|
||||
|
||||
.mailpoet_automated_latest_content_block_posts
|
||||
overflow: auto
|
||||
pointer-events: none
|
||||
|
||||
& > .mailpoet_block
|
||||
width: 100%
|
||||
|
@@ -5,8 +5,8 @@ $active-social-icon-set-border-color = #adadad
|
||||
$active-social-icon-set-background-color = #daebf2
|
||||
$social-icon-set-hover-border-color = $primary-active-color
|
||||
|
||||
$tool-inactive-color = #bbbbbb
|
||||
$tool-hover-color = #333333
|
||||
$tool-inactive-color = #333333
|
||||
$tool-hover-color = #bbbbbb
|
||||
$tool-active-color = #d2d2d4
|
||||
|
||||
$tool-width = 16px
|
||||
|
@@ -1,12 +1,12 @@
|
||||
animation-slide-open-downwards()
|
||||
animation-slide-open-downwards($max-height = 2000px)
|
||||
transition: all 250ms cubic-bezier(0.420, 0.000, 0.580, 1.000) /* ease-in-out */
|
||||
max-height: 2000px
|
||||
max-height: $max-height
|
||||
opacity: 1
|
||||
overflow-y: hidden
|
||||
|
||||
&.mailpoet_closed
|
||||
max-height: 0
|
||||
max-height: 0px
|
||||
opacity: 0
|
||||
overflow-y: hidden
|
||||
|
||||
animation-background-color()
|
||||
transition: background 250ms cubic-bezier(0.420, 0.000, 0.580, 1.000) /* ease-in-out */
|
||||
|
BIN
assets/img/blank_templates/fake-logo.png
Normal file
After Width: | Height: | Size: 779 B |
BIN
assets/img/datepicker/animated-overlay.gif
Executable file → Normal file
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 985 B |
BIN
assets/img/datepicker/ui-bg_diagonals-thick_18_b81900_40x40.png
Executable file → Normal file
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 140 B |
BIN
assets/img/datepicker/ui-bg_diagonals-thick_20_666666_40x40.png
Executable file → Normal file
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 140 B |
BIN
assets/img/datepicker/ui-bg_flat_10_000000_40x100.png
Executable file → Normal file
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 83 B |
BIN
assets/img/datepicker/ui-bg_glass_100_f6f6f6_1x400.png
Executable file → Normal file
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 85 B |
BIN
assets/img/datepicker/ui-bg_glass_100_fdf5ce_1x400.png
Executable file → Normal file
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 139 B |
BIN
assets/img/datepicker/ui-bg_glass_65_ffffff_1x400.png
Executable file → Normal file
Before Width: | Height: | Size: 207 B After Width: | Height: | Size: 74 B |
BIN
assets/img/datepicker/ui-bg_gloss-wave_35_f6a828_500x100.png
Executable file → Normal file
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
assets/img/datepicker/ui-bg_highlight-soft_100_eeeeee_1x100.png
Executable file → Normal file
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 79 B |
BIN
assets/img/datepicker/ui-bg_highlight-soft_75_ffe45c_1x100.png
Executable file → Normal file
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 161 B |
BIN
assets/img/datepicker/ui-icons_222222_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
assets/img/datepicker/ui-icons_228ef1_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
assets/img/datepicker/ui-icons_454545_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
assets/img/datepicker/ui-icons_ef8c08_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
assets/img/datepicker/ui-icons_ffd27a_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
assets/img/datepicker/ui-icons_ffffff_256x240.png
Executable file → Normal file
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 767 B After Width: | Height: | Size: 423 B |
Before Width: | Height: | Size: 397 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 735 B |
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 389 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 709 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 835 B |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 733 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 832 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 554 B |
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 460 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 687 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 527 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 687 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 618 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 718 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 566 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 662 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 248 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 471 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 335 B |
BIN
assets/img/post_notifications_template/ALC-widget-icon.png
Executable file → Normal file
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
assets/img/post_notifications_template/settings-icon-highlight.png
Executable file → Normal file
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 178 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 63 KiB |
BIN
assets/img/sample_templates/coffee/coffee-grain.jpg
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
assets/img/sample_templates/coffee/header-v2.jpg
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
assets/img/sample_templates/coffee/map-v2.jpg
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
assets/img/sample_templates/coffee/sandwich.jpg
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
assets/img/sample_templates/discount/bicycle-header2.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
assets/img/sample_templates/discount/bicycle-header3.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
assets/img/sample_templates/discount/orange-bicycle.jpg
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
assets/img/sample_templates/discount/red-icycle.jpg
Normal file
After Width: | Height: | Size: 68 KiB |