Skip to content

Commit

Permalink
Merge branch 'release/v3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
wpmark committed Mar 8, 2019
2 parents 8f38e75 + 15d43f9 commit 17f7066
Show file tree
Hide file tree
Showing 121 changed files with 4,476 additions and 13,252 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*~
.DS_Store
.svn
.cvs
*.bak
*.swp
127 changes: 127 additions & 0 deletions assets/css/wpbb-admin-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
.wpbb-fields [class*="wpbb-col-"] {
float: left;
padding-left: 5px;
padding-right: 5px;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.wpbb-col-1 { width: 8.333333333%; }
.wpbb-col-2 { width: 16.666666667%; }
.wpbb-col-3 { width: 25%; }
.wpbb-col-4 { width: 33.333333333%; }
.wpbb-col-5 { width: 41.666666667%; }
.wpbb-col-6 { width: 50%; }
.wpbb-col-7 { width: 58.333333333%; }
.wpbb-col-8 { width: 66.666666667%; }
.wpbb-col-9 { width: 75%; }
.wpbb-col-10 { width: 83.333333333%; }
.wpbb-col-11 { width: 91.666666667%; }
.wpbb-col-12 { width: 100%; }

.wpbb-fields__field {
margin-bottom: 16px;
border-bottom: 1px solid #EEEEEE;
padding-bottom: 16px;
}
.wpbb-fields input[type=text],
.wpbb-fields select,
.wpbb-fields textarea,
.wpbb-fields input[type=email],
.wpbb-fields input[type=number] {
width: 100%;
}
.wpbb-fields textarea {
min-height: 100px;
}
.wpbb-fields label {
margin-bottom: 16px;
display: block;
margin-top: 0;
font-weight: 700;
}
.wpbb-field-checkbox label {
display: inline;
margin-right: 8px;
vertical-align: baseline;
}
.wpbb-field__description {
margin-top: 2px;
font-style: italic;
color: #AAAAAA;
}
.wpbb-clearfix {
display: block;
clear: both;
}

.wp-broadbean_page_wpbb_settings .wpbb-settings-col,
.wp-broadbean_page_wpbb_settings .wpbb-cta-col {
float: left;
}
.wp-broadbean_page_wpbb_settings .wpbb-settings-col {
width: 55%;
margin-right: 3%;
}
.wpbb-cta-col {
width: 40% !important;
min-width: 40% !important;
}
.wpbb-cta-box__title {
border-bottom: 1px solid #eee;
font-size: 14px;
padding: 8px 12px;
margin: 0;
line-height: 1.4;
}
.wpbb-cta-box__content {
padding: 6px 10px 16px;
}
.wpbb-settings-col .description {
max-width: 60%;
}
@media all and ( max-width: 1400px ) {
.wpbb-settings-col .description {
max-width: 80%;
}
}


img.hd-logo {
margin-top: 16px;
}
.wpbb-getting-started li {
line-height: 1.4;
}
.wpbb-getting-started ul {
margin-top: 8px;
}

.wpbb-plugin-info code {
word-break: break-word;
}
.mc-field-group label {
display: block;
font-weight: 700;
margin-bottom: 8px;
}
.mc-field-group .email {
width: 98%;
}


@media all and ( max-width: 950px ) {
.wpbb-fields [class*="wpbb-col-"] {
width: 100%;
}
.wpbb-settings-col,
.wpbb-cta-col {
float: none;
width: 96% !important;
min-width: 96% !important;
margin-right: 0;
}
.wpbb-settings-col .description {
max-width: 100%;
}
}
4 changes: 4 additions & 0 deletions assets/js/jquery-validate.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions assets/js/validation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Uses jquery.validate to validate the page form
*/
jQuery(document).ready(
function($) {
// validate the application form when it is submitted
$("#wpbb-application-form").validate({
errorClass: "wpbb-field-error",
errorPlacement: function( error, element ) {
error.appendTo( element.parent().parent() );
}
});
}
);
37 changes: 0 additions & 37 deletions css/form-style.css

This file was deleted.

55 changes: 0 additions & 55 deletions functions/admin/admin-menus.php

This file was deleted.

Loading

0 comments on commit 17f7066

Please sign in to comment.