Skip to content

Instantly share code, notes, and snippets.

@Jeffallan
Created November 16, 2017 15:57
Show Gist options
  • Save Jeffallan/75d78b4b83c6e1b765ba6c6ec395a8e8 to your computer and use it in GitHub Desktop.
Save Jeffallan/75d78b4b83c6e1b765ba6c6ec395a8e8 to your computer and use it in GitHub Desktop.
Basic Styling For Mautic Contact Form
.mauticform_wrapper {
max-width: 600px;
margin: 10px auto;
}
.mauticform-innerform {}
.mauticform-post-success {}
.mauticform-name {
font-weight: bold;
font-size: 1.5em;
margin-bottom: 3px;
}
.mauticform-description {
margin-top: 2px;
margin-bottom: 10px;
}
.mauticform-error {
margin-bottom: 10px;
color: red;
}
.mauticform-message {
margin-bottom: 10px;
color: green;
}
.mauticform-row {
display: block;
margin-bottom: 20px;
}
.mauticform-label {
font-size: 1.1em;
display: block;
font-weight: bold;
margin-bottom: 5px;
}
.mauticform-row.mauticform-required .mauticform-label:after {
color: #e32;
content: " *";
display: inline;
}
.mauticform-helpmessage {
display: block;
font-size: 0.9em;
margin-bottom: 3px;
}
.mauticform-errormsg {
display: block;
color: red;
margin-top: 2px;
}
.mauticform-selectbox,
.mauticform-input,
.mauticform-textarea {
width: 100%;
padding: 1em 1em;
border: 1px solid #CCC;
background: rgb(255, 255, 255, 0.2);
box-shadow: 0px 0px 0px #fff inset;
border-radius: 4px;
box-sizing: border-box;
}
.mauticform-checkboxgrp-row {}
.mauticform-checkboxgrp-label {
font-weight: normal;
}
.mauticform-checkboxgrp-checkbox {}
.mauticform-radiogrp-row {}
.mauticform-radiogrp-label {
font-weight: normal;
}
.mauticform-radiogrp-radio {}
.mauticform-button-wrapper .mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default {
color: #5d6c7c;
background-color: #ffffff;
border-color: #dddddd;
}
.mauticform-button-wrapper .mauticform-button,
.mauticform-pagebreak-wrapper .mauticform-pagebreak {
display: inline-block;
margin-bottom: 0;
font-weight: 600;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
padding: 6px 12px;
font-size: 13px;
line-height: 1.3856;
border-radius: 3px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.mauticform-button-wrapper .mauticform-button.btn-default[disabled],
.mauticform-pagebreak-wrapper .mauticform-pagebreak.btn-default[disabled] {
background-color: #ffffff;
border-color: #dddddd;
opacity: 0.75;
cursor: not-allowed;
}
.mauticform-pagebreak-wrapper .mauticform-button-wrapper {
display: inline;
}
.mauticform-button.btn-default {
color: white;
background-color: #6495ED;
border-color: white;
font-size: 20px;
line-height: 2;
}
input::-webkit-input-placeholder {
/* WebKit, Blink, Edge */
color: black;
font-size: 20px;
padding: 0 20px;
line-height: 2;
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
color: black;
opacity: 1;
font-size: 20px;
line-height: 2;
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
color: black;
opacity: 1;
font-size: 20px;
line-height: 2;
}
:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: black;
font-size: 20px;
line-height: 2;
}
input {
padding: 0 20px;
color: black;
line-height: 2;
font-size: 20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment