|
| 1 | +:root { |
| 2 | + --background: #ffffff; |
| 3 | + --foreground: #0a0a0a; |
| 4 | + --muted: #7F7F7F; |
| 5 | + --muted-text: #7F7F7F; |
| 6 | + --accent: #1B6081; |
| 7 | + --ios: #FD9226; |
| 8 | + --android: #51A637; |
| 9 | + --breakpoint-xs: 480px; |
| 10 | + --breakpoint-sm: 576px; |
| 11 | + --breakpoint-md: 768px; |
| 12 | + --breakpoint-lg: 992px; |
| 13 | + --breakpoint-xl: 1200px; |
| 14 | + --border-radius: 30px; |
| 15 | + --icon-color: var(--foreground); |
| 16 | + --foreground-with-opacity: rgba(0, 0, 0, 0.1); |
| 17 | +} |
| 18 | + |
| 19 | +@media (prefers-color-scheme: dark) { |
| 20 | + :root { |
| 21 | + --background: #0a0a0a; |
| 22 | + --foreground: #ffffff; |
| 23 | + --accent: #56bef3; |
| 24 | + --muted: #474747; |
| 25 | + --muted-text: #d3d3d3; |
| 26 | + --ios: #FD9226; |
| 27 | + --android: #51A637; |
| 28 | + --foreground-with-opacity: rgba(255, 255, 255, 0.1); |
| 29 | + } |
| 30 | +} |
| 31 | +html, body, .ml-form-embedWrapper{ |
| 32 | + background: var(--background)!important; |
| 33 | + color: var(--foreground)!important; |
| 34 | +} |
| 35 | +.ml-form-embedWrapper h4, |
| 36 | +.ml-form-embedWrapper p, |
| 37 | +.ml-form-embedWrapper label{ |
| 38 | + color: var(--muted-text)!important; |
| 39 | +} |
| 40 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button{ |
| 41 | + background: var(--muted)!important; |
| 42 | + color: var(--foreground)!important; |
| 43 | +} |
| 44 | + |
| 45 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover{ |
| 46 | + background: var(--muted)!important; |
| 47 | + color: var(--foreground)!important; |
| 48 | + opacity: 0.8; |
| 49 | +} |
| 50 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedContent > *, |
| 51 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-successBody .ml-form-successContent > *{ |
| 52 | + text-align: center!important; |
| 53 | +} |
| 54 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow textarea, |
| 55 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow textarea, |
| 56 | +#mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input{ |
| 57 | + background: var(--muted)!important; |
| 58 | + color: var(--foreground)!important; |
| 59 | + border: none!important; |
| 60 | +} |
| 61 | + |
| 62 | +@media (prefers-color-scheme: light) { |
| 63 | + #mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button{ |
| 64 | + background: var(--muted)!important; |
| 65 | + color: var(--background)!important; |
| 66 | + } |
| 67 | + |
| 68 | + #mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover{ |
| 69 | + background: var(--muted)!important; |
| 70 | + color: var(--background)!important; |
| 71 | + opacity: 0.8; |
| 72 | + } |
| 73 | + #mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow textarea, |
| 74 | + #mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow textarea, |
| 75 | + #mailerlite .ml-embedded .ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-fieldRow input{ |
| 76 | + background: var(--background)!important; |
| 77 | + color: var(--foreground)!important; |
| 78 | + border: 1px solid var(--muted)!important; |
| 79 | + } |
| 80 | +} |
| 81 | +body { |
| 82 | + margin: 0!important; |
| 83 | +} |
| 84 | +.ml-embedded { |
| 85 | + height: 100dvh; |
| 86 | + width: 100dvw; |
| 87 | +} |
| 88 | +.embedForm{ |
| 89 | + width: 100%!important; |
| 90 | + max-width: 100%!important; |
| 91 | +} |
| 92 | +.ml-embedded > .ml-form-embedContainer{ |
| 93 | + height: 100dvh; |
| 94 | +} |
0 commit comments