Commit Graph

92 Commits

Author SHA1 Message Date
cfbe662e19 Update CustomFonts.php
WordPress automatically appends -css to the handle, so at the moment it's being output like this: 

`<link rel='stylesheet' id='mailpoet_custom_fonts_css-css'`
2021-03-03 15:29:56 +01:00
7da2304c4d Prevent form rendering when form settings data are corrupted
[MAILPOET-3294]
2020-11-19 09:55:28 +01:00
203c6c43ea Remove bottom padding from class .mailpoet_message
[MAILPOET-3306]
2020-11-17 12:20:53 +01:00
efee40b788 Add padding for messages in form
[MAILPOET-3195]
2020-11-12 09:24:58 +01:00
f35c8eb72b Add margins reset for form messages wrapper.
[MAILPOET-3190]
2020-10-05 17:24:33 +02:00
0f0472975d Refactor default form custom css to constant
[MAILPOET-3076]
2020-09-14 14:22:11 +02:00
2697bbc9fe Fix too much space at the end of form
[MAILPOET-3090]
2020-09-09 11:11:50 +02:00
401b780dce Use refactored in form displaying
[MAILPOET-3072]
2020-09-02 13:17:44 +02:00
29535f6e9b Fix incorrect form media styles
[MAILPOET-3024]
2020-07-08 14:22:22 +02:00
f96749858c Refactor front end mobile styles generating in separate method
[MAILPOET-3024]
2020-07-08 12:19:12 +02:00
c6873c5d75 Refactor form background style to allow multiple backgrounds
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
56be474bb1 Render form gradient on front end
[MAILPOET-3005]
2020-07-07 09:18:31 +02:00
a45a66b9d0 Move form templates data into subdirectory
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
57ff83441f Use Initial form styles as default styles
[MAILPOET-2985]
2020-07-06 15:18:23 +02:00
0fa4ebfe47 Add padding for mobile forms
[MAILPOET-2964]
2020-06-16 09:38:19 +02:00
c4cea7335b Move last paragraph styles to be more specific
[MAILPOET-2964]
2020-06-16 09:38:19 +02:00
b1f52bc069 Add hook for removing display custom fonts
[MAILPOET-2911]
2020-06-11 14:45:24 +02:00
edd3e7da79 Remove padding on mobile
[MAILPOET-2924]
2020-06-08 13:25:25 +02:00
6544d86616 Make sure the preview displays correct width
[MAILPOET-2924]
2020-06-08 13:25:25 +02:00
ed2bd30977 Update form responsiveness
[MAILPOET-2924]
2020-06-08 13:25:25 +02:00
338e223213 Remove fonts duplication
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
27e0f16467 Enqueue google fonts
[MAILPOET-2849]
2020-06-08 09:38:31 +02:00
419a50e10a Render only one corner with border radius for slide in
[MAILPOET-2912]
2020-06-01 15:31:07 +02:00
d487c1644d Render success and error messages colours
[MAILPOET-2909]
2020-06-01 12:23:05 +02:00
9ebd96fb6a Render form width on FE from settings
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
63a972db4a Move inlined form styles to form styles in style element
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2eabab4150 Move form styles rendering methods to style utils
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
2c53507a4e Update form style utils method names
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
wxa
e9bbfbee46 Remove unnecessary custom CSS, change defualt form padding [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
9604172cbd Apply bottom padding fix in public CSS with some restrictions [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
90e73982f7 Limit slide-in width in public CSS [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
849e62521d Apply image margin only to the last item in stacked columns [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
b04009687d Set default max-width for slide-in form [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
8403336e31 Add botton padding to images [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
wxa
f3ec66346d Change default form padding, reduce bottom padding [MAILPOET-2869] 2020-05-21 09:30:51 +02:00
e1df5eee97 Remove form padding from custom CSS
[MAILPOET-2982]
2020-05-13 13:59:00 +02:00
b70884ecaa Return original default input width to form custom CSS
[MAILPOET-2599]
2020-03-19 14:19:06 +01:00
772df80f01 Change class name for columns with background
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
23a8a46858 Move column spacing styles to Custom CSS
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
d9d1f05119 Change form input wrappers to form p to div
[MAILPOET-2609]
2020-03-06 14:15:14 +01:00
ec8adcae73 Move form wrapping to widget
[MAILPOET-2600]
2020-03-02 20:52:38 +00:00
c9c1b1fa92 Remove input because it would never apply
Renderer adds the class directly to the input element
and the css would never apply.

[MAILPOET-2601]
2020-02-27 18:49:59 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
d5bf33c49a Move dateConverter to common utils namespace
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
f959be13dd Add typehints to form block renderers
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
d0acad5c3b Inject WPFunctions to FieldNameObfuscator using DI
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
7d596e3407 Extract unrelated date conversion functionality from date block
[MAILPOET-2665]
2020-02-13 18:42:55 +00:00
447e01b0aa Remove new form editor feature flag
[MAILPOET-2549]
2020-01-27 10:08:31 +00:00
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00