Skip to content

Instantly share code, notes, and snippets.

@mathvp
Last active August 5, 2022 03:30
Show Gist options
  • Save mathvp/f9cf6eb2f8b2e37679b0ebdc0de09c51 to your computer and use it in GitHub Desktop.
Save mathvp/f9cf6eb2f8b2e37679b0ebdc0de09c51 to your computer and use it in GitHub Desktop.
Wordpress Paid Membership Pro custom css style
label {
cursor: pointer;
}
hr {
border-top: 1px solid #cccccc;
}
.pmpro_login_wrap, .pmpro_lost_password_wrap, .pmpro_reset_password_wrap {
margin: 0 auto;
width: 100%;
max-width: 300px;
}
.pmpro_login_wrap input, .pmpro_lost_password_wrap input, .pmpro_reset_password_wrap input {
width: 100% !important;
max-width: 100% !important;
}
.pmpro_login_wrap input[type="checkbox"] {
width: auto !important;
max-width: auto !important;
}
#lostpasswordform {
width: 100%;
}
.pmpro_cancel_wrap h2,
.job-manager-form h2,
#pmpro_pricing_fields h3, .pmpro_checkout h3, #pmpro_account .pmpro_box h3 {
margin-bottom: 1rem;
font-weight: 700;
}
.job_listing_preview h1, .job_listing_preview_title h2 {
font-weight: 700;
padding: 0;
line-height: 40px;
}
#pmpro_account .pmpro_box {
border-top: none;
}
.job_listing_preview_title, .entry-content .job_listing_preview_title {
padding: 1rem 1rem 0.8rem;
border-radius: 7px 7px 0 0;
}
.job_listing_preview {
padding: 1.5rem 1em 0 1em;
}
table.pmpro_table {
overflow: hidden;
border-collapse: collapse;
border-radius: 7px;
border-style: hidden;
box-shadow: 0 0 0 1px #ccc;
}
table.pmpro_table thead {
background-color: #f3f3f3;
color: #000;
}
table.pmpro_table tr th {
color: #000;
}
table.pmpro_table tr td {
border-top: 1px solid #ccc;
color: #000;
}
.pmpro_actionlinks {
color: #fff;
}
.pmpro_actionlinks a,
.button.job-manager-button-edit-listing, .job-manager-button-submit-listing {
padding: 7px 1.5rem;
background-color: #727272;
border-radius: 7px;
color: #fff;
transition: all .3s;
border: none;
cursor: pointer;
font-size: 1rem;
margin: 0.5rem 0;
}
.job-manager-button-submit-listing {
background-color: #225089;
}
.button.job-manager-button-edit-listing:hover,
.job-manager-button-submit-listing:hover,
.pmpro_actionlinks a:hover{
background-color: #225089;
border-color: #d7e7ff;
box-shadow: 0 0 10px #0066ff4f;
}
.job-manager-button-submit-listing:hover {
background-color: #105bb9;
}
#loginform input[type="text"], #loginform input[type="password"], #loginform input[type="email"],
.job-manager-form select,
.job-manager-form input[type="text"],
.job-manager-form input[type="password"],
.job-manager-form textarea,
.job-manager-form input[type="number"], .job-manager-form input[type="url"],
.job-manager-form input[type="email"],
.pmpro_form input:-internal-autofill-selected, .pmpro_form select,
.pmpro_form input[type="text"],
.pmpro_form input[type="password"],
.pmpro_form textarea,
.pmpro_form input[type="number"], .pmpro_form input[type="url"],
.pmpro_form input[type="email"] {
background-color: #fff;
border: 1px solid #ccc;
padding: 10px;
color: #4e4e4e;
border-radius: 5px;
font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
font-size: 1rem;
}
#loginform input[type="text"]:focus, #loginform input[type="password"]:focus, #loginform input[type="email"]:focus,
.pmpro_form input[type="text"]:focus, .pmpro_form select:focus,
.pmpro_form input[type="password"]:focus,
.pmpro_form textarea,
.pmpro_form input[type="number"]:focus, .pmpro_form input[type="url"]:focus,
.pmpro_form input[type="email"]:focus {
border-color: #a7b9d3;
box-shadow: 0 0 10px #0066ff29;
}
.pmpro_form select {
max-width: 270px;
}
form.pmpro_form {
max-width: 100%;
}
form.pmpro_form .pmpro_asterisk abbr {
color: #c30000;
}
.pmpro_btn-submit,
#loginform input[type="submit"],
.job-manager-form input[type="submit"],
#pmpro_btn-submit {
background-color: #225089;
border-color: #d7e7ff;
box-shadow: 0 0 10px #0066ff4f;
color: #fff;
padding: 0.8rem 2rem;
border-radius: 7px;
transition: all .3s;
font-size: 1rem;
outline: none;
border: none;
}
.pmpro_btn-submit:hover,
#loginform input[type="submit"]:hover,
.job-manager-form input[type="submit"],
#pmpro_btn-submit:hover {
background-color: #105bb9;
cursor: pointer;
}
.job-manager-form fieldset div.field:not(.full-line-checkbox-field) {
width: 80%;
}
.job-manager-form fieldset label {
width: 19% !important;
line-height: 42px;
}
.full-line-checkbox-field label {
width: 100% !important;
}
.job-manager-form {
color: #000;
}
.job-manager-form fieldset .account-sign-in .button::before {
display: none;
}
.job-manager-message.job-manager-message, .job-manager-error.job-manager-message, .job-manager-info.job-manager-message {
background-color: #f2fbd0;
color: #0c6e00;
border: 1px solid #8fae1b;
border-top-width: 5px;
border-radius: 5px;
font-size: 1rem;
}
.single_job_listing .meta li.location {
display:none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment